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
Related
To all the wise self taught know how to get it done programmers out there, if you had to tell someone how to start with no base knowledge or computer science classes how to learn to build roms and apps for android where would you direct them..is there a list of books or what can i study to help me. Ive unrooted a few phones and done a few things with the help of well written guides and great forums, but im done not understanding how these process work , please point me in whatever direction i need to start for building my base understanding so i can build for android in the future....help me obi-wan...
http://forum.xda-developers.com/showthread.php?t=1415284
If you want to develop apps you must learn programming, object oriented concepts and software design/architecture. The general concepts can be learned with every language but for Android is Java a good start.
For the technical stuff you should know general Linux stuff at first, development of drivers, how compilers work...
My ToDo list would look like this:
1. Learn general programming in Java: address book app,
2. Use the Eclipse IDE, SVN usage, code styles, design patterns
3. Understand the architecture of Android and the Android SDK: App Lifecycle?
4. Play with the Android Samples; write simple apps
5. Look into the Android source and try to tweak/modify some OS related parts
6. There are also open source custom roms you can take as reference
1. Learn some Linux stuff; shell commands;
2. Hardware related topics...(not my world either
All in all it's just a lot of experimenting and learning by doing, but always do small steps in your development process and don't expect miracles.
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
How to learn Android Development?
I want to be an android developer, Which is the best way to learn Android Development and how long would it take?
You can download Eclipse and the Android SDK at the same time and all set up, using the ADT bundle thing on the homepage. You can also do this separately as well. All instructions are on the Android SDK pages. Android is a Java framework, a collection of libraries that are made in Java that the Android devices are capable of. So you use the Android SDK to program Java for Androids, if that makes sense. Java is still Java and you will have to learn it. You can jump into Android development and learn Java that way, but it might be a hindrance.
Java fundamentals
You can start by learning the Java fundamentals
This is where I started:
https://thenewcircle.com/bookshelf/java_fundamentals_tutorial/index.html
Good luck :good:
I'm taking an online course on writing Android apps and the instructor uses Eclipse with jre 6.
But the urls he sends us to downloads and installs jre 7.5 and Studio. The Studio interface is very different so for a novice like me it is very confusing.
Is Eclipse and jre 6 still available for download? Where?
Thank you.
Anderson2 said:
I'm taking an online course on writing Android apps and the instructor uses Eclipse with jre 6.
But the urls he sends us to downloads and installs jre 7.5 and Studio. The Studio interface is very different so for a novice like me it is very confusing.
Is Eclipse and jre 6 still available for download? Where?
Thank you.
Click to expand...
Click to collapse
Hi there,
Short answer:
I believe you could use either.
Longer answer:
As your instructor uses Eclipse - use Eclipse too. This way you will follow the course flawlessly. Eclipse is an open source project, well supported with huge community behind. You can download it from eclipse.org/downloads
Which version? I'd say the basic one is enough, e.g. Eclipse IDE for Java Developers, you'll need to install ADT (Android Dev. Tools) plugins, but I presume the instructor in the course made a topic on that. More discussion on that here: stackoverflow.com/questions/16657729/what-version-of-eclipse-do-i-use-for-android
As for JRE...
JRE (Java Runtime Environment) is required to run java programs on a machine. If you're developing programs, you'll need JDK - Java Development Kit. They're updated the same way any other programs are, hence you'll see different version numbers. Find them here: oracle.com/technetwork/java/javase/downloads/index.html
Good luck!
ps.
I'm not an Android developer, but did some java programming.