Re: [android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-15 Thread Xiaoliang Ding
activities in an application, and not for every activity. For now you have to enable it in every activity. Cheers, Nick On Mon, Jun 6, 2011 at 6:43 PM, Xiaoliang Ding xding2...@gmail.comwrote: Hi, Dianne Hackborn Thanks a lot. Ding 2011/6/5 Dianne Hackborn hack...@android.com Yes do

Re: [android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-06 Thread Xiaoliang Ding
Hi, Dianne Hackborn Thanks a lot. Ding 2011/6/5 Dianne Hackborn hack...@android.com Yes do it in every activity. On Fri, Jun 3, 2011 at 2:02 AM, Xiaoliang Ding xding2...@gmail.comwrote: Hi, Dianne Hackborn You mean I need call NfcAdapter.enableForegroundDispatch in every activity

Re: [android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-04 Thread Xiaoliang Ding
...@gmail.com Maybe You can define a special mime-type(smart poster) , then regist this mime-type for your activity in filter.xml. It should be OK to directly route the event the the inactive activity. 2011/6/3 Xiaoliang Ding xding2...@gmail.com: hi, I am writing a NFC application. I use

[android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-03 Thread Xiaoliang Ding
hi, I am writing a NFC application. I use the NfcAdapter.enableForegroundDispatch in an activity to make sure a NFC tag detected event routing to this activity direct, not show other applications which has capability to resolve this event. My question is when my application is running, how to make

Re: [android-developers] How to make enableForegroundDispatch enabled to whole application, not only to an activity?

2011-06-03 Thread Xiaoliang Ding
with the user, not to steal them all the time you happen to be running. If you want to do this in multiple activities, you can organize your code to share that common implementation between them but each must enable dispatching while it is in the foreground. On Fri, Jun 3, 2011 at 12:22 AM, Xiaoliang

Re: [android-developers] NFC testing rig?

2011-05-10 Thread Xiaoliang Ding
Nokia C7 support NFC so far. 2011/5/10 Marcin Orlowski webnet.andr...@gmail.com Hi, We're going to fight with NFC for the next project and since I saw a few people with much more knowledge on the subject on that list I'd like to ask if anyone got any thoughts to share on building testing

[android-developers] where can i find widget interface for NBA Game Schedule?

2009-03-29 Thread Xiaoliang Ding
I want implement a widget to show NBA Game Schedule in Android G1, where can i find the widget interface ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: where can i find widget interface for NBA Game Schedule?

2009-03-29 Thread Xiaoliang Ding
Yes. Actually I want to find a NBA Game Schedule widget content to implement a Widget on G1. Where can i find it ? 2009/3/29 deepdr...@googlemail.com deepdr...@googlemail.com ther is no widget interface yet in the Android SDK. -- http://www.deepdroid.com On Mar 29, 9:31 am, Xiaoliang

[android-developers] Re: DM,FOTA DS with Andriod

2009-02-04 Thread Xiaoliang Ding
Does Android support DM FOTA now? I do not think so. For sync contacts calender, MTP is a good choice. But do not kown will Android support it or not. 2009/2/3 manoj adepu manojad...@gmail.com HI All, Is the source include in Android for following components DM,FOTA DataSync. How the

[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-30 Thread Xiaoliang Ding
scratch from public classes, you can look for inspiration in the DownloadProvider's core code (except for AndroidHttpClient which is easily replaced, the core DownloadThread should mostly work in the SDK). JBQ On Sat, Nov 29, 2008 at 8:47 AM, Xiaoliang Ding [EMAIL PROTECTED] wrote: Hi

[android-developers] Re: For modular requirement

2008-11-30 Thread Xiaoliang Ding
problems if code ends up running as different uids, etc. This is best for the situation where you provide all of the plug-ins, so you can sign them with the same certificate and use a shared user ID for all of them as well as the main application. On Fri, Nov 28, 2008 at 2:39 AM, Xiaoliang Ding

[android-developers] Can I use DownloadProvider and PackageInstaller in my application?

2008-11-29 Thread Xiaoliang Ding
Hi, smart guys I want to implement a application whose one of requirements is download a package and install it. What i want to know is can i use DownloadProvider and PackageInstaller in my application? How can i use them ? Thanks Ding --~--~-~--~~~---~--~~ You

[android-developers] Re: Can I use DownloadProvider and PackageInstaller in my application?

2008-11-29 Thread Xiaoliang Ding
details here http://android.git.kernel.org/?p=platform/packages/apps/PackageInstaller.git;a=blob;f=AndroidManifest.xml JBQ On Sat, Nov 29, 2008 at 6:31 AM, Xiaoliang Ding [EMAIL PROTECTED] wrote: Hi, smart guys I want to implement a application whose one of requirements is download

[android-developers] Re: For modular requirement

2008-11-28 Thread Xiaoliang Ding
Hi, Ludwing, Louis But how about a new added application. If we want to a new plug-in added into the main application, how can do it ? Thanks Ding 2008/11/28, Louis [EMAIL PROTECTED]: Thanks Ludwig. And by the way, could we download a Jar file and put it into the basic application,