Android app with Gradle in Eclipse - IDEs, Libraries, & Programming Tools

Greetings!
I just started my internship in a company that develops android applications., but i have a problem. My boss insists that i work in Eclipse, but I'm unable to follow instructions from android developers site because my eclipse app doesnt have gradle.
To be precise, my job is to implement push messages into existing app but I'm stuck at these lines:
Add the dependency to your project-level build.gradle:
classpath 'com.google.gms:google-services:1.5.0-beta2'
Add the plugin to your app-level build.gradle:
apply plugin: 'com.google.gms.google-services'
dependencies {
compile "com.google.android.gmslay-services:8.4.0"
}
Is there a way to work around using gradle, and do this other way, or alternatively is there a way to add build.gradle files to my project.
I'm pretty worried because this is my first job, and I'd like to do and learn as much as possible but I'm just stuck. If someone could explain to me step by step what to do when i stumble upon a gradle, would appreciate it immensely.
Thanks

You can try to use Gradle (STS) Integration for Eclipse, but it's very hard

If you need to use Eclipse for Android development it is highly recommended to use ADT plugin: http://developer.android.com/tools/sdk/eclipse-adt.html
It is developed by Google for Android development and was the only choice few years ago. Now they support only Android Studio but you can of course use Eclipse. You may find an Eclipse ADT bundle as well somewhere which is an eclipse integrated with ADT. If I remember well it do have a Gradle plugin but if not then use Gradle STS from Eclipse marketplace

why dont you use Android studio?

Related

Programming Environment Please

Hi folks.
I'm a VB6 programmer and I have to develop an app for the XDA as part of a large project in which I am involved. I have read that embedded vb is available but could do with step by step directions to the essential tools necessary to allow vb6 development for this.
I can not seem to find a microsoft download for embedded VB6 though the C++ one is readily available and I have downloaded the pocket pc sdk. A little guidance would be most appreciated.
Many thanks

Android programmer newbie needs to know basics

Hi, so tomorrow is Sunday and I am in the mood to write some cool programs for android devices. Please tell me all the tools I require and some reverse engineering ones too for copy pasting some cool things thx.
Here's a google doc a user called autom8r from reddit posted.
It's pretty useful and he goes through why he used everything. Credits to him not me.
URL
EDIT: Well seen as I have less than 10 posts I can't post the link...
EDIT: Here's the link all truncated: ht[REMOVETHIS]tps://[REMOVETHIS]docs.google.co[ANDALSOREMOVETHIS]m/spreadsheet/pub?key=0Aiakq5EFgZZTdGlmblFNMFZLN3huRnNUNzdkWDRoekE&output=html
Too many things to download ><" jdk eclipse adt blah blah no longer interested in android development
You just need Eclipse for JAVA developers, and Android SDK with ADT plugin. And if it you first application you must read the book like "Android development for 24 hours".
Can u please provide direct download links to those files. This eclipse has like 2820207328282626 versions and I get confused
On Android Developers there is a bundle package which contain sdk/eclipse/adt.
http://developer.android.com/sdk/index.html
I Would not recommend you copying and pasting parts of other people's software. You will learn much more if you try to write it yourself.
For a lot of Android features there are open source libraries. Try them out, they may help you developing your app.
http://www.theultimateandroidlibrary.com/
http://www.androidviews.net/
Hey thanks that was exactly what I needed to start. I love you :*
8)

[Question] How to add a library to android studio

I am having trouble in adding sliding-menu project library to my app in Android Studio, I was able to add it in Eclipse.
But Studio doesn't work well, it couldn't find the directory to compile according to my build.gradle.

Softwares required for Android App Development

Hi All,
I am a Software developer(Database Developer) and now i want to dabble in Android app making.
What are the necessary softwares required and programming language.
Please provide me the links for download too.I am on windows 8 pc 32 bit.
PS:I know the basics of Core Java with syntax and can write small programmes like Add,Subtract,Etc:laugh:
There are active threads about IDEs in this subforum ("IDE of choice for newcommers" for instance). I would recommend downloading Eclipse with the Android Development Tools directly from
developer.android.com/sdk/index.html
This package comes with a full Eclipse IDE, which provides the Android SDK including the build tools for Android. For me that has been everything necessary for developing for Android.
I suggest to you to use Android Studio, it is getting an Android Standard.
If you are more familiar with Eclipse you can start with it, but then you should move to Android Studio.
As AVD (Android Emulator) you can use the integrated emulator or use genymotion, that is much faster!
Just download the ADT from Google, it has the SDK and Eclipse in one package.
Hi for a pretty simple way to query databases and display you could have a look at GoAppzone, using the developer notes you can write a functioning app that can query write and delete, to Oracle, MySQL, SQL and OBDC databases,
You can test it out on your phone using Go Appzone showtime. Only downside is you have to pay for the ability to publish apps, The upside is that you can deploy them on all the major phone operating systems, without having to alter your code.
You can also try Unity3D - for a trial run. Unity has the possibility to publish your apps to Android, iOS, etc
raydekk said:
You can also try Unity3D - for a trial run. Unity has the possibility to publish your apps to Android, iOS, etc
Click to expand...
Click to collapse
Yep, Unity3d for Mobile is Free, you can publish on every mobile OS out there.
rahulraj.1 said:
Hi All,
I am a Software developer(Database Developer) and now i want to dabble in Android app making.
What are the necessary softwares required and programming language.
Please provide me the links for download too.I am on windows 8 pc 32 bit.
PS:I know the basics of Core Java with syntax and can write small programmes like Add,Subtract,Etc:laugh:
Click to expand...
Click to collapse
In my case I use Android Studio for Apps Development .It is very good as easy to use.You should download it from http://tools.android.com instead of http://developers.android.com. Current Release is 1.0 RC2 in canary channel. It also have SDK inbuilt. You should have JDK installed and JAVA_HOME defined.
Basic Java and Android Documentation is enough but if you want to use native code you may install NDK.
Unity is only needed for Game Development I use Unity free and my basic knowledge of C# for game development.
---------- Post added at 04:59 AM ---------- Previous post was at 04:51 AM ----------
Crichton333 said:
Just download the ADT from Google, it has the SDK and Eclipse in one package.
Click to expand...
Click to collapse
With release of Android Studio RC2 I don't think ADT will be preferred.Google itself is promoting Android Studio and now it have offline maven repository.Gradle plugin is 1.0 RC1 and studio is very stable now.
---------- Post added at 05:05 AM ---------- Previous post was at 04:59 AM ----------
raydekk said:
You can also try Unity3D - for a trial run. Unity has the possibility to publish your apps to Android, iOS, etc
Click to expand...
Click to collapse
He is asking for Apps Development and Unity is a game engine and only needed for game development.Anyway Unity free is enough for learning as a beginner is not going to use its pro functions like linear lighting.
just SDK(has Eclipse) and NDK from android official site and Java sdk(jre)
Hello
Necessary IDE are Android Studio or Eclipse (with Android SDK). Language (native) is java.
Just download the Android Studio bundle from Google. You will get the IDE and the latest SDK you need to start off. You also need to download the latest JDK as the native language to code is Java here.
You may need to use Adobe Photoshop or Illustrator to design icons or other app graphics as needed.
If you have to develop a videogame, use ide like Unity, it is the best way to begin

Doubts with Using Xamarin to develop Android App

Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Sorry in advance if these questions are naive....
Questions:
1 > I am using Windows. To generate the *.so what is the suitable IDE? Can the windows be used to generate *.so(static object)?
2> If I were to go with Eclipse , Do I need to install the plugins like SDK ,NDK etc...?
3> Do I need to care for processor architecture's , If need to compile the source?....I mean cross compilation
Thanks
sanddune008 said:
Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Click to expand...
Click to collapse
I'm not sure if I understand you question but I assume you want to extend an existing app -build in C# using Xamarin- with native android Java?
I'm not sure that's even possible. Xamarin is utilizing mono for android to create android (Linux) executable files. When decompiling my own Xamarin build apk with APK Studio I did see the mono .so libraries, but my own code was compiled. Referenced .Net (Windows!) dll's where added to the apk. I assume the mono libraries deal with how they are used in the compiled C# code.
Since there's no quick conversion I see a few options:
A - Change the Xamarin/C# android project to a library project (dll). Compile it using Xamarin and find out (google) how to utilize this dll using mono for android in your Java development environment (eclipse). There are mono .so files...
B - Convert the Xamarin/C# source to java source code. There are some commercial tools which claim to be able to convert C# to Java. Go java all the way.
C - Stick to Xamarin/C#
I think option A will lead to lots of headache assuming you referenced some .Net assemblies in your C# source. However it might be worth a try. Though keep in mind that if you keep using the Xamarin/C# part, you keep needing the Xamarin license to upgrade/update code in the future.
I would go for either B or C depending on the codebase. If it's a lot of code a Xamarin license renewal might be cheaper then a rewrite (conversion). In my experience code converters are reasonable tools, but I've never saw a one-click conversion happen. There's always extra work to make the converted code even compile.
In conclusion: Mixing Xamarin/C# and native Java code might be technically possible, I would rather make a choice for either one of them.
I can't answer your questions about eclipse and required libraries, but I hope my answer is of some use.
Regards,
Alex

Categories

Resources