[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-31 Thread Kenneth WON
Hi, JP, Thank you for your reply and suggestion. I am browsing Skyhook's official website, it seems quite useful. I have a concern that is it free for use (no matter commercial use or private use)? Thanks and Regards, Kenneth Won On 10月31日, 下午2時17分, JP joachim.pfeif...@gmail.com wrote: I

[android-developers] Re: Can GPS work without internet access in Android phone?

2011-10-31 Thread Kenneth WON
Micinski krismicin...@gmail.com wrote: And you were also outside during these 15 minutes? Kris On Mon, Oct 31, 2011 at 1:01 AM, Kenneth WON kenneth...@gmail.com wrote: Hi, Kristopher, Thank you for your reply. Yes, I waited it more than 15 minutes. And following is my code, I have no idea

[android-developers] Can GPS work without internet access in Android phone?

2011-10-30 Thread Kenneth WON
without internet access in Android phone? Thank you! Best Regards, Kenneth Won -- 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 To unsubscribe from this group, send email

[android-developers] Re: Can GPS work without internet access in Android phone?

2011-10-30 Thread Kenneth WON
Hi, lbendlin, Thank you for your reply. I am really facing this issue. When I turn off the Network (WiFi and/or cell network), the app cannot obtain (GPS / A-GPS) position. Then I turn the network on, it can get the (GPS / A-GPS) position successfully. What's wrong? Thanks and Regards, Kenneth

[android-developers] Re: Can GPS work without internet access in Android phone?

2011-10-30 Thread Kenneth WON
(this); } @Override public void onStart(Intent intent, int startId) { super.onStart(intent, startId); } } Thanks and Regards, Kenneth Won On 10月31日, 上午11時22分, Kristopher Micinski krismicin...@gmail.com wrote: Cold starts can take up to 15 minutes... Did you wait 15 minutes... On Sun, Oct

[android-developers] Re: Can GPS work without internet access in Android phone?

2011-10-30 Thread Kenneth WON
) {     super.onStart(intent, startId);   } }  Thanks and Regards, Kenneth Won  On 10月31日, 上午11時22分, Kristopher Micinski krismicin...@gmail.com wrote: Cold starts can take up to 15 minutes... Did you wait 15 minutes... On Sun, Oct 30, 2011 at 11:17 PM, Kenneth WON kenneth...@gmail.com wrote

[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-29 Thread Kenneth WON
Hi, lbendlin, I just want to obtain a more accurate location (such as latitude and longitude. etc) no matter it is in indoor or outdoor. And how to implement it? Thanks and Regards, Kenneth Won On 10月29日, 下午7時34分, lbendlin l...@bendlin.us wrote: The A-GPS location is the same as the GPS

[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-29 Thread Kenneth WON
if I am wrong). The big point is I have no idea of obtaining the A-GPS position. Thanks and Regards, Kenneth Won On 10月30日, 上午12時54分, lbendlin l...@bendlin.us wrote: more accurate than what?  as you know GPS is not designed for indoor use. -- You received this message because you

[android-developers] How to obtain A-GPS data via Android phone

2011-10-28 Thread Kenneth WON
, Kenneth Won -- 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 To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Re: about Android apps automatically update

2011-01-03 Thread Kenneth WON
Hi, all, Thank you for your reply. Best Regards, Kenneth WON On 1月3日, 下午3時22分, Dianne Hackborn hack...@android.com wrote: And it actually has nothing to do with the platform version, but just the version of Market on the device.  As of 1.6 the Market app can self-update itself, so users

[android-developers] about Android apps automatically update

2011-01-02 Thread Kenneth WON
Dear all I forget how to let the android apps automatically update. Should I coding something in my app? Or do nothing and launch the app in market, and if the mobile device is Android 2.2 or above, then I can choose automatically update, is that right? Thanks and Regards, Kenneth WON -- You

[android-developers] How can I use A-GPS

2010-12-12 Thread Kenneth WON
Dear all, As title, I want to know how can I use the A-GPS service in my app. I know a way to use GPS, like: locationMgr.requestLocationUpdates(LocationManager.GPS_PROVIDER, 3000, 0, this); but I have no idea to use A-GPS. Thank and Regards, Kenneth -- You received this message because you

[android-developers] Re: How to communicate between Activities/Services

2010-12-12 Thread Kenneth WON
Hi, Jiang How can I implement it as program code? Thanks! Kenneth On 12月13日, 下午12時32分, Jiang webs...@yahoo.cn wrote: Once some specific event occurs, such as app is expired, I need to inform all active Activities/Services,  is there any good way to implement such communication? Currently,

[android-developers] how to make the live wallpaper scrollable?

2010-10-23 Thread Kenneth WON
Hi, all As title, I want to make the live wallpaper scrollable when switch virtual screens, how can i do that? Someone said that it needs to override onOffsetsChanged() method, is that true? And what are it's parameters means? Thanks and Regards, Kenneth -- You received this message because

[android-developers] How to fix the Cursor Error (CursorWindow)

2010-10-04 Thread Kenneth WON
accounting from allocRowSlot 11459 ERROR/Cursor(6924): Failed allocating fieldDir at startPos 0 row 11459 I just select all the data from SQLite, then call the method c.moveToFirst() and the error occurred. How can I solve the problem? Thank you for your help! Best Regards, Kenneth WON -- You

[android-developers] problem of creating SQLite database on SDCard

2010-07-12 Thread Kenneth WON
Dear all, I want to create a database storing on the SDCard, but there is error occurred. The following is the error: ERROR/Database(605): sqlite3_open_v2(/sdcard/LyodsGPS.sqlite, handle, 6, NULL) failed ERROR/AndroidRuntime(605): Caused by: android.database.sqlite.SQLiteException: unable to open

[android-developers] Re: problem of creating SQLite database on SDCard

2010-07-12 Thread Kenneth WON
Kosyta The error is fixed. Thank you for your help! Kenneth On Jul 12, 5:39 pm, Kostya Vasilyev kmans...@gmail.com wrote: Kenneth, Does your app have WRITE_EXTERNAL_STORAGE permission? -- Kosyta 12.07.2010 13:21, Kenneth WON пишет: Dear all, I want to create a database storing

[android-developers] How can I get a signal which indicating the web server is down?

2010-06-29 Thread Kenneth WON
Hi, all, I have an app, which needed to communicating with the web server (which hold by myself). Sometimes, the server will down. Now, what I want to know is: How can I get a signal which indicating the web server is down? When I using this: HttpResponse httpResponse = new

[android-developers] Can I use code to enable the GPS service?

2010-05-25 Thread Kenneth WON
Dear all, Can I use code to enable the GPS service? I don't want to prompt the setting page. Thanks. Kenneth -- 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 To

[android-developers] Re: How to solve the problem of launch the apps twice or more?

2010-04-21 Thread Kenneth WON
a service running even after the user leaves your app.  (And of course you must have a good plan for how you will stop the service, so it doesn't get left running forever.) On Tue, Apr 20, 2010 at 9:05 PM, Kenneth WON kenneth...@gmail.com wrote: Hi, Dianne Hackborn, Thank you

[android-developers] How to solve the problem of launch the apps twice or more?

2010-04-20 Thread Kenneth WON
Hi, all, I am a new Android apps developer, I suffer a problem that I don't know how to solve. Can anyone give me some suggestion? The problem is the apps will launch twice or more when I apply the following steps: 1. launch the app A (1 time) 2. rotate the screen, (the app A will launch again,

[android-developers] Re: How to solve the problem of launch the apps twice or more?

2010-04-20 Thread Kenneth WON
, ~ TreKing treking...@gmail.com wrote: On Tue, Apr 20, 2010 at 2:06 AM, Kenneth WON kenneth...@gmail.com wrote: But my expected result is just have one and only one app A launch. http://developer.android.com/intl/fr/guide/topics/manifest/activity-e... http://developer.android.com/intl/fr/guide

[android-developers] Re: How to solve the problem of launch the apps twice or more?

2010-04-20 Thread Kenneth WON
, Apr 20, 2010 at 7:07 PM, Kenneth WON kenneth...@gmail.com wrote: Hi, thank you for your help! But I tried to add android:launchMode=singleTask or android:launchMode=singleInstance in the activity before, but it seems not work. The app still running twice or more at the same time by rotate