[android-developers] Get true timestamps of motion sensors on Android

2017-09-20 Thread Yao Chen
It is known that readings of motion sensors are cached on queues, so there might be elapsed time between when the data are actually sampled and when they are popped from the queue. Is the timestamp member in SensorEvent the time when the data are sampled? According to the documentation in

[android-developers] My first app was suspended by Google. Need to get it back!

2016-10-25 Thread Yao Hong Kok
, positive beta feedback. For the negative feedback, I always reach out to my users so that I can fix it. Thanks, Yao -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails fro

[android-developers] NFC PBtF function can't work on Android 4.0.4

2012-09-29 Thread Yao-Tsu Lin
Hi, I developing NFC function now, I discover the NFC jni source code different from Android 2.3.7 to Android 4.0.4. Those different caused NFC function PBtF(Power By the Field) can not work. Would you please help to answer that modify for what purpose? And how to turn on the NFC PBtf function in

[android-developers] Problem about recent task list

2011-08-04 Thread Yao Alex
Hi all, I am having a problem about recent task list on 2.3.3. My app has two MAIN entrance, they are A and B, entrance A is able to start another activity, that can be marked as activity C. At the very beginning, the problem is that entrance A cannot be listed in the recent task list which can

[android-developers] How to detect FPS (frame per second) in video ?

2010-12-01 Thread Paddy Yao
I use VideoView to play video . I can use getCurrentPosition() to get current run time . But I don`t know how to detect how many frames has play. Or I should use the other class but not VideoView ? Does anyone know this issue? Thanks. -- You received this message because you are subscribed to

[android-developers] Re: How to bring stop activity to foreground (restart) by itself ??

2010-09-27 Thread Paddy Yao
To ALL: I want to write a home button function test application . When activity restart again , I can know button function is work correctly . it`s OK now,follow is my code: Intent i = new Intent(context, Main.class); i.setAction(Intent.ACTION_MAIN);

[android-developers] How to bring stop activity to foreground (restart) by itself ??

2010-09-22 Thread Paddy Yao
Hi~ How to bring stop activity to foreground (restart) by itself ?? i use Broadreceiver and intent to restart my activity: Intent restartIntent = new Intent(); restartIntent.setClass(context,Main.class );

[android-developers] how to start a stop activity

2010-09-21 Thread Paddy Yao
Hi~ as title , follow is the detail of my problem : 1. press home key to stop my AP (activity change to stop , not destroy ) 2. use CountDownTimer for sleep 3 secs , when timer finish use sendBroadcast() to call my BroadcastReceiver 3. finally , BroadcastReceiver use intent to start my AP

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-28 Thread Rico Yao
wrote: On Thu, May 27, 2010 at 6:07 PM, Rico Yao rico@gmail.com wrote: What I'm saying is that when you launch apps through Launchalot, it doesn't create multiple instances of the apps it's launching. Ah, gotcha - I didn't look deep enough to see the point of Launchalot. I was just

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread Rico Yao
On Thu, May 27, 2010 at 2:43 PM, TreKing treking...@gmail.com wrote: On Thu, May 27, 2010 at 4:20 PM, Rico rico@gmail.com wrote: When you say default, do you mean it's the default setting in the app being launched, or the app that is launching? Default behavior for the Android system.

[android-developers] Is the native code which be generated by JIT Compiler portable?

2010-04-05 Thread yao-chih
or SIGSEGV Is the native code position independent?? or I should do relocation for the native code thanks yao-chih -- 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@googlegroups.com

[android-developers] How to remove a group membership with Android 2.0 contacts API?

2009-12-09 Thread Yao
Hi gurus, I'm struggling with Android 2.0 contacts API. Could anyone give me a hint how to delete a group membership with the new API? i.e. delete a contact (id: 10) from a group (id: 2). Your help is really appreciated! Thanks a lot in advance. -- Best regards, MTM Contacts GroupU - Group

Re: [android-developers] Android market .... what's happening?

2009-11-18 Thread Yao
I met the same problem! On Thu, Nov 19, 2009 at 12:30 PM, nubin...@gmail.com nubin...@gmail.comwrote: My app's total downloads dropped from 48000 to 789? Did Google just invent time machine? I have another app that has -8 active installs now. What's happening! -- You received this

[android-developers] Group related code with new ContactsContract APIs?

2009-11-13 Thread Yao
Hi all, I'm struggling with changed contacts APIs. Could anyone please give me an example/clue how to achieve following functionality via code? Thanks a lot in advance!!! * Insert a group * List all groups names * List group members of a group -- Best regards, MTM Contacts GroupU - Group

Re: [android-developers] [Android 2.0] Contacts FAQ?

2009-11-13 Thread Yao
Agreed! Some more questions, thanks! 11) How do I get add/delete/update a group? 12) How do I get members of a group? 13) How do I add a contact to a group? 14) How do I remove a contact from a group? On Sat, Nov 14, 2009 at 8:21 AM, Rachel Blackman ceruleanspa...@gmail.comwrote: So, judging

Re: [android-developers] [Android 2.0] Contacts FAQ?

2009-11-13 Thread Yao
at 8:49 PM, Yao cicikaka2...@gmail.com wrote: Agreed! Some more questions, thanks! 11) How do I get add/delete/update a group? 12) How do I get members of a group? 13) How do I add a contact to a group? 14) How do I remove a contact from a group? On Sat, Nov 14, 2009 at 8:21 AM, Rachel

Re: [android-developers] Re: Working with the new ContactContracts API

2009-11-04 Thread Yao
Hi Dmitri, Would you please help point out how's new group structure? Something similar as groupmembership table in previous relese. Thanks a lot in advance! On Thu, Nov 5, 2009 at 10:47 AM, Dmitri Plotnikov dplotni...@google.comwrote: Hi Jake, The database structure is actually extremely

[android-developers] Re: Can't query contacts in Android 2.0 emulator?

2009-10-30 Thread Yao
On Fri, Oct 30, 2009 at 7:25 PM, agirardello andrea.girarde...@gmail.comwrote: Try to use: android.provider.ContactsContract.Contacts.CONTENT_URI It works. Thanks! On Oct 28, 7:10 am, Yao cicikaka2...@gmail.com wrote: Hi guys, I can't get contacts via content provider in Android

[android-developers] Can't query contacts in Android 2.0 emulator?

2009-10-28 Thread Yao
Hi guys, I can't get contacts via content provider in Android 2.0 emulator. The test code is pasted. When I click Account in the menu, it shows Force close. Thanks a lot in advance for your help! Cursor cursor = getContentResolver().query(Contacts.People.CONTENT_URI, new String[] {_id}, null,

[android-developers] Can't query contacts in Android 2.0 emulator?

2009-10-28 Thread Yao
Hi guys, I can't get contacts via content provider in Android 2.0 emulator. The test code is pasted. When I click Account in the menu, it shows Force close. Thanks a lot in advance for your help! Cursor cursor = getContentResolver().query(Contacts.People.CONTENT_URI, new String[] {_id}, null,

[android-developers] Re: ambiguous column name: _id when querying the contacts list

2009-08-13 Thread yao chen
On Thu, Aug 13, 2009 at 3:15 PM, Jeff Sharkey jshar...@android.com wrote: Ouch, there isn't a good solution in the current SDK. In Eclair we're restructuring this code, which would break the people._id solution you mentioned. :( And you're right, there otherwise isn't a good way of

[android-developers] Re: How to download a read only sqlite database at runtime

2009-08-13 Thread yao chen
On Fri, Aug 14, 2009 at 7:59 AM, trev tre...@shartrec.com wrote: My application needs to download a reasonably sized SQLite database at runtime, depending on the location of the user. On a remote server I will have many databases for various regions around the globe and would like to

[android-developers] Contacts GroupU - easily manage your contacts

2009-08-13 Thread Yao
members. One contact can be assoicated with multiple groups. You can find more details by downloading GroupU from MarketPlace. Enjoy it! Best Regards, Yao --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android