What is the initial step to start with android? How does java programming help? [closed]
I am a Java professional. Now I'd like to write an application for the Android platform.
- What is the initial step I need to take?
- How does my Java programming experience help in this case?
Asked by: Max777 | Posted: 25-01-2022
Answer 1
Android applications are written in the Java language but does not use the JVM - instead it runs on the Dalvik.
Download the Android SDK - it has examples and an emulator.
Answered by: Sophia890 | Posted: 26-02-2022Answer 2
Android Resources help me a lot to learn android programming.
Answered by: Briony460 | Posted: 26-02-2022Answer 3
android dev forum has detailed instructions on how you can start with it. Download eclipse and android forum gives instructions on how to set it up with its plugins. The plugin includes an emulator and is very easy to use. Try it out!
Answered by: Vivian964 | Posted: 26-02-2022Answer 4
Dev Environment
Sitting up a dev environment goes something like this:
- Download the Android SDK and unzip it
- Download Eclipse (There are several downloads on the Eclipse site. I think I downloaded the one called "Eclipse IDE for Java Developers")
- Install Eclipse (basically just unzipping it)
- From within Eclipse, install the Android Plugin
- Tell Eclipse where the Android SDK is
- Setup an emulator image (AVD)
- To start a new Android Project, go to File/New/Android Project
You can find the details here: http://developer.android.com/guide/developing/eclipse-adt.html
Websites
There are several websites including:
- developer.android.com -- official reference and tutorials.
- anddev.org -- has forums and tutorials
Books
- Anddev.org is working on “a non-commercial book to learn programming for Google’s Android” called andbook.
- Worx has a book called Professional Android Development. You can download the first chapter for free from their website.
Videos
- One thing that helped me understand Android conceptually was the Androidology videos that Google produced.
- There are several videos on the Android developers site and also on YouTube
Answer 5
What is the initial step I need to take?
Covered nicely in other posts.
How does my Java programming experience help in this case?
Your Java experience will mean you can focus on the Android framework and how to do things the Android way without getting confused about what is the framework and what is Java. I have worked with people who started with Android w/o experience with Java and they were forever trying to tell them apart. "Is this a Java thing or an Android thing?" was a common question. You will be a step ahead of them.
Answered by: Michael444 | Posted: 26-02-2022Answer 6
Take a look at developer.android.com from there you can download and install the sdk (detailed instructions to do so here) they recommend using eclipse for your IDE. I used it this summer and was very impressed. Take a look at the dev guide there is a lot of stuff that can get you up and running.
Answered by: Emma872 | Posted: 26-02-2022Similar questions
java - Do I need to specify the initial size of Lists when programming for Android?
For Android programming, if I'm creating an ArrayList in a method and know how big the list is going to be when I return it from the method, should I specify the initial size of the list when I'm creating it?
I'm asking because typically we don't bother specifying an initial size, but maybe it makes a difference when programming for mobile.
Thanks.
Edit
I'm talking about the...
java - error while programming for a button in initial level
I am new in android programming, having error in the given code which are: Multiple markers at this line
-Button1 cannot be resolved to a variable
-Syntax error on token "@", class expected
-id cannot be resolved to a variable
-Line breakpoint:MainActivity [line: 22] - onCreate(Bundle)
public class MainActivity extends Activity {
...
android - What Programming Language is Google's Nexus One Using?
Android: How to edit specific record from database in Android Programming (Using Ruby on rails)
At first,I have a database created by using Ruby on rails.
I just already implement insert function(HTTPPost) in my Android Application and it's work.
But I don't know how to retrieve specific record from my databases and insert it back to specific record in Android (Like edit function in RoR)
This is my insert code :
private void insertComment() {
DefaultHttpClient client = new DefaultHttpClient();...
Android Programming Tutorials: #6
I started working through the tutorials in Mark L Murphy's book "Android Programming Tutorials". In Tutorial #6, they are starting to work with tabs. I copied the code:
TabHost.TabSpec spec=getTabHost().newTabSpec("tag1");
spec.setContent(R.id.restaurants);
spec.setIndicator("List", getResources()
.getDrawable(R.drawable.list));
getTabHost().addTab(spec);
spec=getTabHost().newTabSp...
Android programming - screen resolution
I'm new to Android programming.
I've seen different phones with different screen resolutions that run on Android.
How can I create an application that works on all android devices with out any distortion in my application views.....
email - Android Programming - Send mail
I'm using the following piece of code in Android to send a mail:
Intent emailIntent = new Intent(Intent.ACTION_SEND);
emailIntent.setType("text/html");
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,sendTo );
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "test" );
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "msg" );
When code is compiled and run, its...
game programming iphone osx android 1.6 shared codebase
im planning to develop a game for iphone and android. what programming language can i use to create a shared codebase between the two platform. i understand that there are some parts which are device specific.
How to approach socket programming between C# -> Java (Android)
I've recently knocked up a server/client app for Windows & Android that allows one to send a file from Windows to an android phone over a socket connection.
It works great for a single file but trying to send multiple files over in a single stream is causing me problems. I've also realised that aside from the binary data, I will need to send messages over the socket to indicate error states and other applicati...
android - Some questions about using NDK for faster programming results
I have the following questions, please if you know the answers share it with me.
How can I transform my working Java code to NDK? (it's an algoritm not activity)
I am able to access the database from NDK?
Will a backtracking algorithm with 10 millions of iterations run faster if was written with NDK?
How much Java should I have learnt before trying Android programming?
Closed. This question is opinion-based. It is not c...
How to start Android Kernel programming?
I have 6 months experience with Android, developing simple UI-based applications. Now I want to write applications targeting the Android core Kernel. For example, I want to develop a framework which is not present in Android. To achieve that, we have to write the code for the Kernel. I don't know where and how to start Android Kernel programming.
If anybody knows the way to start it please help me.
Still can't find your answer? Check out these communities...
Android Google Support | Android Community | Android Community (Facebook) | Dev.io Android