[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-14 Thread Binggrae
Dear mani Do you develop your application in Eclipse SDK? If so, you need to add .jar that you want under out\target\common\obj\JAVA_LIBRARIES\framework_intermediates\ to your Eclipse project. I guess that com.android.internal.R.class is not include in android.jar released by Google You may make

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-13 Thread mani
Thanks Binggrae...!! Finally .apk file is generated. !! Why is it generated of engineering variants not for other variants...? Any idea ? And when i restarted the emulator i couldnt see the apk picked up automatically...!! I need to install through adb install command. Is it expected ? if the

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-13 Thread Binggrae
I am happy to hear that you generated .apk 1. If you want to generate .apk for other variants you may write the following line in your Android.mk LOCAL_MODULE_TAGS := user --- For reference : This variable

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-13 Thread Binggrae
For your additional information. All packages included in system.img are written on build/target/product/generic.mk I'm not sure.. but You may modify generic.mk for inserting your apk into your emulator automatically when building totally. -- You received this message because you are

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-13 Thread mani
This is so informative...for naive beginners in AOSP...!! Thanks a lot.. i will try out all these...!! On Sep 14, 9:18 am, Binggrae bangg...@gmail.com wrote: For your additional information. All packages included in system.img are written on build/target/product/generic.mk I'm not sure..

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-13 Thread mani
I gotta one more question if you could assist me with that. I couldnot find where resource files for ex. import com.android.internal.R; inflater.inflate(R.layout.keyguard_screen_tab_unlock, this, true); If you see the files under

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-12 Thread Binggrae
I think it' s not good to refer Launcher2's Android.mk see here http://source.android.com/porting/build_cookbook.html The following is a very simple example. You just need to change LocalPackage to Helloworld you want to create as APK's name. Building a simple APK

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-12 Thread mani
Hi Binggare thanks for the reply...!! I changed the .mk file as below and kept my helloworld folder under / package/apps and compiled at / Still i couldnt see the .apk generated in ~/mydroid/out/target/product/generic/system/app. I couldnt see in the emulator list though...!! Why is it so

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

2010-09-12 Thread Binggrae
Sorry it' not helpful.. I'm not sure the following is helpful but recommend try it (Maybe you've tried it already) ~/froyo$ source build/envsetup.sh including device/htc/dream/vendorsetup.sh including device/htc/passion/vendorsetup.sh including device/htc/sapphire/vendorsetup.sh ~/froyo$