[android-developers] Re: SyncAdapter questions: monitoring sync status; getting sync settings; sync icon

2010-12-09 Thread focuser
anyone could help please? On Dec 3, 2:11 pm, focuser linto...@gmail.com wrote: Thanks, but like I've already said in the message, The ContentResolver.addSyncStatusListener method seems not useful since it notifies SyncStatusObserver when the sync status of any SyncAdapter changes

[android-developers] Re: SyncAdapter questions: monitoring sync status; getting sync settings; sync icon

2010-12-03 Thread focuser
SyncStatusObserver would cause way too many refreshes. On Dec 2, 4:04 pm, afterhoursdevelopers.com ch...@afterhoursdevelopers.com wrote: Check out http://developer.android.com/reference/android/content/SyncStatusObse... On Dec 2, 6:34 pm, focuser linto...@gmail.com wrote: Hi, I am experiementing

[android-developers] SyncAdapter questions: monitoring sync status; getting sync settings; sync icon

2010-12-02 Thread focuser
Hi, I am experiementing with SyncAdatpers and have a few questions that I could not find answers either in the documentation or this group yet. - How to monitor the status of sync after requesting it via ContentResolver.requestSync? For example, I need to refresh the UI when the requested sync

[android-developers] the behavior of singleTask not consistent with the document?

2010-03-30 Thread focuser
Hi, I have an app with two activities, one of which the launchmode is set to singleTask. From the Android dev guide, I got the impression that my SingleTaskActivity should start a new task (or reuse an old task) and always sit at the root of the stack when launched. However, it's inconsistent

[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-03-02 Thread focuser
Hi guys, Thanks for your informative comments and discussion. In Android, send me logs!, I am just taking the simplest possible approach - sending logs by email looks like the simplest and most reliable way and best understood by users. Of course, the anonymity of users might be an issue. But

[android-developers] Android, send me logs! - code library for detecting force-close and sending logs

2010-02-25 Thread focuser
Hi fellow Android developers, How many times have you asked users to send you the logcat result to track down a nasty force-close? How many users have actually replied? It's not that users are lazy or busy. Having to run the logcat command or download an external log collector app just means

[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-25 Thread focuser
Mike - I think Apple's approach may be good for Apple, and probably not that compatible with the openness of Android? Also, what's better of Apple's approach other than that users don't have to give their identity (email addresses etc) to individual developers? If you suggest it here, we could

[android-developers] android update sdk on headless linux

2010-01-28 Thread focuser
Has anybody succeeded in updating/installing Android SDK platforms on a headless Linux server? All I got is the following error: It seems like the action update sdk is actually not supported? I searched around but couldn't find anything yet.. ~/android-sdk-linux_86/tools$ ./android

[android-developers] Re: Text wrapping around image

2009-10-20 Thread focuser
anyone could help? On Oct 17, 10:15 am, focuser linto...@gmail.com wrote: Hi, I know this has been brought up before, but I couldn't find a solution yet. I'd like to get the similar layout on an Activity as this html fragment in a browser, basically making text wrapping around an image

[android-developers] Text wrapping around image

2009-10-17 Thread focuser
Hi, I know this has been brought up before, but I couldn't find a solution yet. I'd like to get the similar layout on an Activity as this html fragment in a browser, basically making text wrapping around an image: img src=rainbow.gif align=left bla bla bla bla bla bla bla bla bla bla bla bla

[android-developers] using android:imeOptions in Android 1.1

2009-05-11 Thread focuser
Hi All (and Dianne Hackborn specifically), I tried to use android:imeOptions in an EditText, but the code doesn't compile against build target Android 1.1. However, one of Dianne's blogs says Note that, except where explicitly mentioned, all of the things suggested here will not tie your

[android-developers] Re: using android:imeOptions in Android 1.1

2009-05-11 Thread focuser
, focuser linto...@gmail.com wrote: Hi All (and Dianne Hackborn specifically), I tried to use android:imeOptions in an EditText, but the code doesn't compile against build target Android 1.1. However, one of Dianne's blogs says Note that, except where explicitly mentioned, all of the things

[android-developers] Strange GestureDetector side effect when used in a subclass of FrameLayout?

2009-03-31 Thread focuser
Hi, I'm trying to use a GestureDetector in a subclass of FrameLayout, which has a child ListView. But it seems the GestureDetector has some side effect which causes abnormal scrolling behaviors for the child ListView, e.g. sometime when flinging down, the list actually scrolls upwards; when the

[android-developers] Re: Strange GestureDetector side effect when used in a subclass of FrameLayout?

2009-03-31 Thread focuser
a bug in the VelocityTracker. Can you please file it at b.android.com? Thanks On Tue, Mar 31, 2009 at 10:28 AM, focuser linto...@gmail.com wrote: Hi, I'm trying to use a GestureDetector in a subclass of FrameLayout, which has a child ListView. But it seems the GestureDetector has some

[android-developers] Re: Strange GestureDetector side effect when used in a subclass of FrameLayout?

2009-03-31 Thread focuser
:07 pm, Romain Guy romain...@google.com wrote: Unfortunately I don't see any possible workaround :( On Tue, Mar 31, 2009 at 11:40 AM, focuser linto...@gmail.com wrote: Thanks Romain, I have just filed ithttp://code.google.com/p/android/issues/detail?id=2337. But before it's fixed

[android-developers] Re: Strange GestureDetector side effect when used in a subclass of FrameLayout?

2009-03-31 Thread focuser
but there's a bug in the pool management which causes both your GestureDetector and ListView to use the *same* VelocityTracker. This means the tracker receives most events twice. I just fixed this issue in Cupcake. On Tue, Mar 31, 2009 at 4:01 PM, focuser linto...@gmail.com wrote: OK, but could

[android-developers] Re: Strange GestureDetector side effect when used in a subclass of FrameLayout?

2009-03-31 Thread focuser
good point. Thanks Romain. :) On Mar 31, 5:37 pm, Romain Guy romain...@google.com wrote: No because the issue is in VelocityTracker :) On Tue, Mar 31, 2009 at 4:39 PM, focuser linto...@gmail.com wrote: Great! Will it fix the problem in my app if I pull GestureDetector.java from

[android-developers] Re: Help!? Updating our applicatoin on the market deletes the saved SharedPreferences.

2009-03-09 Thread focuser
Please check out http://code.google.com/p/android/issues/detail?id=2066 On Mar 9, 12:36 pm, Tyler Ernst ernst.ty...@gmail.com wrote: We have an online multiplayer game that saves some login information in the SharedPreferences.   Our app is copy protected and everything was going really well

[android-developers] Re: OpenGL: how to use gluUnProject on Android?

2009-02-26 Thread focuser
on the internet. Gotohttp://soft.antonspaans.comand leave me a message there and i can send you the java source code for gluUnProject. On Feb 24, 8:10 pm, focuser linto...@gmail.com wrote: Hi, I'm trying to convert window coordinates to object coordinates. There's a gluUnProject in GLU class, which

[android-developers] Re: OpenGL: how to use gluUnProject on Android?

2009-02-25 Thread focuser
anyone please? On Feb 24, 5:10 pm, focuser linto...@gmail.com wrote: Hi, I'm trying to convert window coordinates to object coordinates. There's a gluUnProject in GLU class, which requires current modelview, projection matrices and viewport. My question is how to get those matrices?  I

[android-developers] Re: OpenGL: how to use gluUnProject on Android?

2009-02-25 Thread focuser
up.. On Feb 25, 10:37 am, focuser linto...@gmail.com wrote: anyone please? On Feb 24, 5:10 pm, focuser linto...@gmail.com wrote: Hi, I'm trying to convert window coordinates to object coordinates. There's a gluUnProject in GLU class, which requires current modelview, projection

[android-developers] OpenGL: how to use gluUnProject on Android?

2009-02-24 Thread focuser
Hi, I'm trying to convert window coordinates to object coordinates. There's a gluUnProject in GLU class, which requires current modelview, projection matrices and viewport. My question is how to get those matrices? I tried gl.glGetIntegerv (GL11.GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES,

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-22 Thread focuser
reproduce.  This problem also occurs both ways, so users who successfully installed the locked version of the app will see a crash if the next version of the app is unlocked. I've also contacted someone at Google about this, so we'll see what happens. On Feb 21, 4:43 pm, focuser linto

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-22 Thread focuser
02-22 09:57:00.242: ERROR/AndroidRuntime(25948): Uncaught handler: thread WebViewCoreThread exiting due to uncaught exception 02-22 09:57:00.272: ERROR/AndroidRuntime(25948): android.database.sqlite.SQLiteException: unable to open database file 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-22 Thread focuser
, 10:07 am, Mark Murphy mmur...@commonsware.com wrote: focuser wrote: 02-22 09:57:00.242: ERROR/AndroidRuntime(25948): Uncaught handler: thread WebViewCoreThread exiting due to uncaught exception 02-22 09:57:00.272: ERROR/AndroidRuntime(25948): android.database.sqlite.SQLiteException

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-22 Thread focuser
Mark, I created a test project that reproduces three problems with forward-lock, where should I upload it? On Feb 22, 10:56 am, Mark Murphy mmur...@commonsware.com wrote: focuser wrote: 02-22 10:43:59.242: ERROR/Database(27448): sqlite3_open_v2(/data/data/ crashtest.test/databases

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-22 Thread focuser
I created three. :) http://code.google.com/p/android/issues/detail?id=2063 http://code.google.com/p/android/issues/detail?id=2064 http://code.google.com/p/android/issues/detail?id=2066 On Feb 22, 11:33 am, Mark Murphy mmur...@commonsware.com wrote: focuser wrote: Mark, I created a test

[android-developers] Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-21 Thread focuser
Hi fellow developers, Recently there is a new option Copy Protection in Android Market Developer Console. We thought that was a nice protection on us and turned it on. Then here comes the impact: our app was no longer listed downloadable on ADP, and *MUCH WORSE*, those who can download have

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-21 Thread focuser
yesterday and I was scratching my head for a long time :O :O O Thanks man! On Sat, Feb 21, 2009 at 6:20 PM, focuser linto...@gmail.com wrote: Hi fellow developers, Recently there is a new option Copy Protection in Android Market Developer Console.  We thought that was a nice protection on us

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-21 Thread focuser
unveiled - both of my apps which wouldn't show on Cyrket are there now (at least by searching for them, not in the list yet). On Sat, Feb 21, 2009 at 6:38 PM, focuser linto...@gmail.com wrote: good to know that we are not alone. :) I have reported this issue through Android Market support

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-21 Thread focuser
On Feb 21, 8:42 am, Mark Murphy mmur...@commonsware.com wrote: 1. Why are you still not able to use an ant script to automate the buildsign process? 2. If you aren't able to do #1, how do you know it triggers the bug and gives you a corrupted apk? OK, to clarify: If the ant script is used

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-21 Thread focuser
2. If you aren't able to do #1, how do you know it triggers the bug and gives you a corrupted apk? To further clarify, :) the bug I mentioned is not necessarily the bug with copy protection. It's the problem we see when using the ant build script.

[android-developers] Android Market not up to date in all places? Bug?

2009-01-23 Thread focuser
Hi, We have uploaded an update to our app on Android Market several days ago, but some users complaining about no new updates found. It looks like it takes some time for Android Market to be fully up-to-date in all places. Just wondering if any of you have encountered this problem? Is there

[android-developers] Re: Strange error for signed .apk

2009-01-05 Thread focuser
anyone? On Jan 4, 9:04 pm, focuser linto...@gmail.com wrote: Hi, I have an app that runs well from Eclipse.  But when I signed it using our release key, it threw a ClassCastException embedded in an InflateException at start up time.  The code is something like the following

[android-developers] Re: Strange error for signed .apk

2009-01-05 Thread focuser
:59 am, Mark Murphy mmur...@commonsware.com wrote: I don't use Eclipse, and this kind of problem is one of the reasons. It feels like a bug in your build process, whereby your generated R.java file is not lining up with the actual resource XML file contents. On Jan 4, 9:04 pm, focuser linto

[android-developers] Strange error for signed .apk

2009-01-04 Thread focuser
Hi, I have an app that runs well from Eclipse. But when I signed it using our release key, it threw a ClassCastException embedded in an InflateException at start up time. The code is something like the following: this.content = (ViewGroup) findViewById(R.id.content); I'm pretty

[android-developers] Re: Receive notification for onDestroy, onStop, and onPause etc in other applications?

2009-01-03 Thread focuser
app will surely break in the future. On Fri, Jan 2, 2009 at 2:20 PM, focuser linto...@gmail.com wrote: Thanks Alistair and Dianne, Now I understand that a notification is not possible, But how does an app with READ_LOGS permission access system log?  I couldn't find any documentation

[android-developers] Re: Receive notification for onDestroy, onStop, and onPause etc in other applications?

2009-01-02 Thread focuser
anyone please? On Jan 1, 10:26 am, focuser linto...@gmail.com wrote: Just to clarify: by this I meant to receive notification when onDestroy, onStop etc in other applications are called, i.e. somehow monitor the life cycle of apps running on the phone. On Dec 31 2008, 5:01 pm, focuser linto

[android-developers] Re: Receive notification for onDestroy, onStop, and onPause etc in other applications?

2009-01-02 Thread focuser
because the ActivityManager write a line into the log when this happens. On Jan 2, 11:29 am, Dianne Hackborn hack...@android.com wrote: No, sorry. On Fri, Jan 2, 2009 at 8:26 AM, focuser linto...@gmail.com wrote: anyone please? On Jan 1, 10:26 am, focuser linto...@gmail.com wrote

[android-developers] Re: Receive notification for onDestroy, onStop, and onPause etc in other applications?

2009-01-01 Thread focuser
Just to clarify: by this I meant to receive notification when onDestroy, onStop etc in other applications are called, i.e. somehow monitor the life cycle of apps running on the phone. On Dec 31 2008, 5:01 pm, focuser linto...@gmail.com wrote: Hi, Is there a way to programmatically receive

[android-developers] Receive notification for onDestroy, onStop, and onPause etc in other applications?

2008-12-31 Thread focuser
Hi, Is there a way to programmatically receive notification onDestroy, onStop, and onPause etc in other applications on the phone? I see there's a READ_LOGS permission and guess this might be achieved by reading the system log. But I couldn't find anything to access the system logs. Thanks

[android-developers] Android Dev Phone 1 Specification

2008-12-08 Thread focuser
Is the hardware of this phone Android Dev Phone 1 identical to T- Mobile G1 except it's fully unlocked? I couldn't find GPS, compass, and Motion Sensor in the hardware specification published on the Android Market site. Just wondering if this information is actually accurate. Hardware