Hi,
I'm interested in starting av test-driven Android project. Most of the info i found on Google was from 2011 and 2012, so I though I'd ask here for some up-to-date info. First, should I set up my project using Roboelectric as many results on Google seem to recommend, or are there more current frameworks I should be using?
I'll be using the Eclipse ADT bundle during the development process.
Best regards,
kenneho
Related
hello,
I am a student currently studying java programming
i have a java code that implements a program that i made using eclipse, and what i want to know is how to turn it into an android app. ?
the program takes a string input and returns another string using one main methods and many other methods they all process strings.
i have the android sdk and eclipse plugins but i have no idea where to put the code and how to sit the UI.
thanks.
i am sorry if my question is in the wrong place please tell me where should i post my question.
peace
You'll need basic knowledge about Android Development, search for tutorials, there are many of them, like this (I think that tutorial is all you need).
To can compile the code shown, basically you need:
Android SDK and ADT Plugin for Eclipse.
Open SDK Manager, located where you installed Android SDK. Download the packets of the platform which you desire as target (Android 2.2 or 2.3 is recomended, in order to achieve a high compatibility. Remember: Android is retrocompatible).
Now, you can start an Android project from Eclipse and compile that code. The Java methods that you already developed, should works fine on Android, don't worry about that
If you need more help, feel free to send me a MP, or post your question here. I'm not a developer, but I can understand the necessary things to achieve a basic Android app
Hi there XDA! I'm an experienced programmer and android user. I'm following a guide for creating the android project in eclipse from the android developer site, and I've followed every step up to creating the project, and the ADT plugin has been correctly installed and configured. The problem: Under the android tab in the new project wizard there is no option for android project. There are various other android options like Android Activity, Android Application Project, Android Icon Set, etc. Does anybody know how I can enable the option for Android Project? I attached a picture of the problem. Thank you!
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
You say it is correctly installed and configured, but that does not seem like the case.
Try starting fresh by going to the eclipse site and downloading the latest version of eclipse(Juno) classic. Then head to the android developers site and install the adt plugin from that guide. Point it to your sdk install; and you should the option to create an Android Application Project under Android in the New Project wizzard.
L0rdWaffles said:
You say it is correctly installed and configured, but that does not seem like the case.
Try starting fresh by going to the eclipse site and downloading the latest version of eclipse(Juno) classic. Then head to the android developers site and install the adt plugin from that guide. Point it to your sdk install; and you should the option to create an Android Application Project under Android in the New Project wizzard.
Click to expand...
Click to collapse
Thanks, but I already have completely uninstalled and reinstalled eclipse and the plugin from the site. It is also pointing to my SDK folder correctly. I've followed all of the advice for every thread I found related to this issue, but nothing seems to help.
I have also tried manually downloading and installing the plugin, and I still had the same problem...
Okay, so the problem was that the tutorial was not up to date with the newest version of the plugin. Android Application Project is the equivilent of an Android Project. http://stackoverflow.com/questions/11302175/no-android-project-option-in-eclipse-with-adt-plugin
Me too
Ifnumkey - you're not alone!
I had exactly the same problem, no 'Android Project'. Eclipse Juno coupled with the latest SDK/ADT has 'Android Application Project'. Hopefully the folks at StackOverFlow are right and they are one and the same thing. But its kind of unerving that the very first step isn't exactly as per the tutorial - I'm new to Android but not development and I kind of wonder if somewhere down the road I'l discover that there's some subtle but important difference between the two.
Google need to update their 'Creating an Android Project' tutorial or, in enterprise speak, modify the workflow so that they update the documentation BEFORE rolling out the changes!!
EDIT: Found this blog page which walks through the new screens in SDK Tools revision 20;
android-sdk-tools-revision-20-now.html (from android-er.blogspot.fr)
(Sorry can't post as proper link as I have under 10 posts
Resolve Problem
Hi. Because you copy eclipse to unpermitted place so it's unable to run ADT installation successfully. so you most copy it to your User Folder or other drives like D: then install ADT Plugin.
lfnunley said:
Hi there XDA! I'm an experienced programmer and android user. I'm following a guide for creating the android project in eclipse from the android developer site, and I've followed every step up to creating the project, and the ADT plugin has been correctly installed and configured. The problem: Under the android tab in the new project wizard there is no option for android project. There are various other android options like Android Activity, Android Application Project, Android Icon Set, etc. Does anybody know how I can enable the option for Android Project? I attached a picture of the problem. Thank you!
Click to expand...
Click to collapse
Go to File>New>Project
a window will open then select android
how am I going to build some apps in the android?is there any tools like visual basic or what? help me plz....
-----------------------------------------
[COLOR="Red"[SIZE="5"]]SK17i Mango[/SIZE][/COLOR]
Real ICS 6.0
For the one gazillionth time !! Please use google search!!! There are more than a million guides out there explaining how to use IDE's to develope android apps using ADT plugin! Go to developer.android.com they have a very clearly documented procedure how to learn to develope android apps . As far as I know you can't use visual basic, you should use JDK because android apps are written in pure java api's and converted into dalvik executable using Google's dx tool and the process is automated via Google's ADT plugin in IDE's.
.:.pitchblack5691.:.
Hi.
I'm a java developer who wants to start to develop and learn cyanongenMod and AOSP. Start by saying that I have a good knowledge of Java and Android development but little knowledge of programming and debugging in C / C ++
I have readed all the documents from AOSP sites and following the guide found on source.android.com.I was able to setup Eclipse for all the Java applications
Pros: I can study the whole Java nature of Android and Cyanogenmod, using eclipse as a "code browser"
Cons; unable to edit the layout.xml (for example) and unable to use the Android feature of an eclipse project
It could be nice for Java developing, but for the others projects and OS parts there isn't a "IDE setup guide". I am a little bit confused about how the general development workflow goes. The build procedures for every device found at CM wiki are great but...after that?
How to develop, modify and debug a single Java Application on a real device?
How to develop, modify and debug a c/c++ driver or patch for a real device?
If I want to work only on a single Java application, I can't import it in Eclipse. If I want to debug on a real device (for example, the photosphere feature in Samsung Galaxy Tab 10.1 does not work), I can't setup a debug environment.
Where I can find a good guide-site-tutorial ?
I use this link whenever I get a new computer etc. This not only explains what to do but has all the download links and more. Good luck!
http://www.makeuseof.com/tag/write-google-android-application/
Sent from my Nexus 4 using xda premium
mellowdev said:
I use this link whenever I get a new computer etc. This not only explains what to do but has all the download links and more. Good luck!
Click to expand...
Click to collapse
My question is not about developing android application, but about developing android operating system. I find a lot of articles on makeuseof.org about installing cyanogenmod, for example. But no articles about developing cyanogenmod
sarbyn said:
My question is not about developing android application, but about developing android operating system. I find a lot of articles on makeuseof.org about installing cyanogenmod, for example. But no articles about developing cyanogenmod
Click to expand...
Click to collapse
Sorry but I think that is impossible that no CyanogenMod dev reads XDA forum.
If a noob want to find guide and tutorial and start develop for AOSP o CyanogenMod, where he can ask for help?
Ask from a dev in free xperia project. They develop cyanogenmod
Is there any tutorial/guide for creating a watchface,
but with the power of java and Android Studio?
The only available sources i know, are located in github here and you can read about them in this topic. However these sources do not work out of the box anymore (because of the updates).
There are some other apks here from Marco Fregapane. I believe his work was based on the previous mentioned dev, malvarez. I asked him and he is not willing to release any sources... Not that is so important, since malvarez has done all the basic work
Anyway, you should first start from extracting the need libraries (read here), and read the XDA topic too