[android-developers] How to override ContactsProvider like GoogleContactsProvider

2009-08-20 Thread Kenny Yu
To develop an APK, I want to modify or expand ContactsProvider functionality. GoogleContactsProvider is my role model. But I can't put my code to Android repository, like GoogleContactsProvider does. Mine is a 3rd party APK to develop. http://groups.google.com/group/android-developers/browse_thre

[android-developers] Understand Broadcast and Intent with Dalvik process

2009-03-17 Thread Kenny Yu
Does anyone know if sendBroadcast(intentA) will bring intents to all Dalvik processes? For example, process android.process.acore behaves sendBroadcast(new intentA). Will the intentA be received in com.android.camera? We think android.process.acore and com.android.camera are zygoted to two Dalvik

[android-developers] How to know SMS and Contacts update?

2009-03-14 Thread Kenny Yu
Where SMS/Contacts are added/updated/deleted, how can I write an App- Service to know the contents change? The changes are possibly caused by App activities or SYNC activity, or any else. Any content observer or intents I should look into? Welcome your design suggestion. Kenny --~--~-~--

[android-developers] How to intercept SMS without loading SMS to UI?

2009-03-11 Thread Kenny Yu
Requirement: 1. The program must be on top of SDK only, no hacking! 2. When a TEXT SMS is arriving to Android mobile, the program must intercept the TEXT SMS to analyze the SMS content (access the whole SMS data) 3. In terms of the SMS content, the program determines if the SMS is erased as it doe

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

2009-01-04 Thread Kenny Yu
Simply put the cmd to Java function: system("adb uninstall apt_name"); I mean your code should invoke the commands exactly as 'adb' does. Kenny On Jan 3, 8:52 am, "Dr. Tingrong Lu" wrote: > Hi, > > How to write code to uninstall apk from device/emulator? Could anyone drop a > sample code? Than

[android-developers] Re: How to download Android source code distribution in sync with Android SDK?

2008-12-30 Thread Kenny Yu
On Dec 30, 4:05 am, Wah wrote: > I followed the instruction here to download Android SDK android-sdk- > linux_x86-1.0_r2http://code.google.com/android/download.html > > I also followed the instruction here to download the latest source > code release:http://source.android.com/download > > Howev

[android-developers] Re: jdb attach error

2008-12-30 Thread Kenny Yu
It seems certain JAR file was not seen in your classpath? Eclipse+ADT does this very well. Did you try it? Kenny On Dec 29, 1:40 pm, firstbread wrote: > Hi all > I got a problem when I try to debug Android with jdb. The following is > my steps > > 1、use "am -e debug true ",to start a activi

[android-developers] Re: How to download Android source code distribution in sync with Android SDK?

2008-12-30 Thread Kenny Yu
On Dec 30, 4:05 am, Wah wrote: > I followed the instruction here to download Android SDK android-sdk- > linux_x86-1.0_r2http://code.google.com/android/download.html > > I also followed the instruction here to download the latest source > code release:http://source.android.com/download > > Howev

[android-developers] Re: Where could I get an ADT 0.9.0?

2008-12-27 Thread Kenny Yu
I built cupcake, which has been merged to master HEAD. The ADT is quite OK. Can you share more info? Kenny On Dec 26, 11:35 am, yukinoba wrote: > To dear all, > > Does anyone have the cupcake? The SDK in there is not applicable to > the ADT plugin (Android Development Tools plugin) of Eclipse a

[android-developers] No way to see real "Debug and Test Settings on the Device"

2008-12-11 Thread Kenny Yu
http://code.google.com/intl/en/android/intro/develop-and-debug.html#additionaldebugging I can't find the exact this section within emulator, DDMS+Eclipse menus and even ADB. No entry! Can anyone give a favor to tell me howt to set Goldfish emulator like the above URL? --~--~-~--~~-

[android-developers] Re: developer needed to write a theme application

2008-12-09 Thread Kenny Yu
I've been working on Motorola MING's and V8 Skinning, studying Android. Let me know your expectation and requirements. Kenny On Dec 9, 3:07 am, androidinsider <[EMAIL PROTECTED]> wrote: > Greetings, > > Android Insider is looking for a developer to create a theme > application that switches betw