[android-developers] Please help with Android source

2008-12-09 Thread Dr. Tingrong Lu
Hi, I read Android source Get source doc. There is a section Building the code, it says that to cd to the source directory and run make. Here comes my way stupid question, what is it going to make? what code it's going to build? It seems no doc is concerning it. Thanks

[android-developers] Please help with android source making

2008-12-13 Thread Dr. Tingrong Lu
Hi, I downloaded android source and make according to the doc (I've set the ANDROID_JAVA_HOME). The webkit browser on the emulator made from source cannot access the Internet, meanwhile the webkit browser on the emulator come with android SDK 1.0r1 can. Can anyone help figure out what's wrong

[android-developers] Hi, please help with installing an .apk

2009-01-02 Thread Dr. Tingrong Lu
Hi, I'm trying to write a code to install an apk on SDK1R2. I read your posts on google groups, and copied the code like below. but the code doesn't work. Did I miss anything? Thanks. public void insAPK() { Uri data = Uri.parse(file://sdcard/an1115.apk); try { Intent

[android-developers] How to write code to uninstall apk from device/emulator?

2009-01-02 Thread Dr. Tingrong Lu
Hi, How to write code to uninstall apk from device/emulator? Thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: How to write code to uninstall apk from device/emulator?

2009-01-02 Thread Dr. Tingrong Lu
Hi, Thanks for your reply. I mean how to write code to uninstall apk from device/emulator, not in an interactive commander line or shell. With SDK0.9, there's a method, packagemanager.deletePackage(), but with SDK1, that method is removed. I wonder how to uninstall apk with SDK1. Thanks

[android-developers] Re: How to write code to uninstall apk from device/emulator?

2009-01-03 Thread Dr. Tingrong Lu
? On Fri, Jan 2, 2009 at 11:23 PM, Dr. Tingrong Lu lutingr...@hotmail.com wrote: Hi, Thanks for your reply. I mean how to write code to uninstall apk from device/emulator, not in an interactive commander line or shell. With SDK0.9, there's a method, packagemanager.deletePackage

[android-developers] How to write code to uninstall apk from device/emulator?

2009-01-03 Thread Dr. Tingrong Lu
Hi, How to write code to uninstall apk from device/emulator? Could anyone drop a sample code? Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] how to work around eclipse failed to load the framework information and the layout library?

2008-11-18 Thread Dr. Tingrong Lu
I'm using Eclipse 3.4.1 with adt 0.8/android SDK 1r1. when I open layout xml file using android layout editor in eclipse, it gives eclipse failed to load the framework information and the layout library. anything wrong with me? how to work around with it? thanks, Tingrong

[android-developers] how to write a file on SD card in android?

2008-11-21 Thread Dr. Tingrong Lu
I want to write a file on SD card, how to refer SD card in android? I know Java file I/O, I mean what path to refer SD card in android? Can anyone please give a sample code? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the