Hi,
R.java is generated automatically during build.
Have you set up Eclipse for Android development as described here?
http://developer.android.com/sdk/index.html
If not, you should go through it, and work through the example on that
page, just to get started, before importing another project
-- Kostya Vasilyev
01.06.2010 19:24, [email protected] пишет:
It helps, but still some parts are missing, i.e. R.java for example, or maybe I
have done something wrong... which are the correct steps to get this program
into eclipse?
Tnxs
----Messaggio originale----
Da: [email protected]
Data: 01/06/2010 15.28
A:<[email protected]>
Ogg: Re: [android-developers] How to build calculator?
[email protected] wrote:
I'd like to build the calculator2 app supplied with android as a starting
point for some mods I'm thinking about.
How can I build it in eclipse?
The built-in Android applications are not designed to be built
independently of the firmware. You may encounter many dependencies on
Java classes or resources that are not part of the SDK, for example.
Also, it will not have its own Eclipse project file -- you will need to
import the sources into your own project.
In the android source I've found only the .java files, but not the .xml
like
manifest, main and so on.
Here is the project tree for the Calculator app, complete with resources
and manifest:
http://android.git.kernel.org/?p=platform/packages/apps/Calculator.git;a=tree
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, One Low Price!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en