[android-developers] IllegalStateException after ListView's adapter has changed

2010-02-21 Thread Jayesh Salvi
Hi, This is regarding the exception: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. - seen on Android 1.6+ This problem has been discussed in the past [1][2][3][4], and I have followed all the solutions suggested in those

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-21 Thread Jayesh Salvi
pm, Jayesh Salvi jayeshsa...@gmail.com wrote: Thanks Shane and Amir for confirming the doubts. It's frustrating that all I can say to users is to wait until Sprint/HTC issues firmware update, then hopefully the problem will be fixed. The users are willing to test if I have any fix, but I

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-20 Thread Jayesh Salvi
-developers/browse_thread/threa... I suspect this is just going to get worse as more branded android experiences get released by manufacturers. G On Oct 12, 9:46 pm, Jayesh Salvi jayeshsa...@gmail.com wrote: I tried to look into the android framework code (link http

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-12 Thread Jayesh Salvi
phones Yes that's true. The layout is inflated in background thread, but is made part of the root hierarchy (setContentView) only in the GUI thread. This doesn't give any problem on emulator or any other phones. On Oct 12, 12:02 am, Jayesh Salvi jayeshsa...@gmail.com wrote: -- Jayesh

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-12 Thread Jayesh Salvi
. Thanks. -- Jayesh On Mon, Oct 12, 2009 at 8:34 PM, Jayesh Salvi jayeshsa...@gmail.com wrote: -- Jayesh On Mon, Oct 12, 2009 at 7:49 PM, Streets Of Boston flyingdutc...@gmail.com wrote: I might be mistaken, But this part of the stack-trace worries me a bit

[android-developers] app gives layout errors only on Sprint HTC Hero devices

2009-10-11 Thread Jayesh Salvi
Hi, In past couple of days, users of my app have sent crash reports indicating errors in layout inflation. android.view.InflateException: Binary XML file line #27: Error inflating class java.lang.reflect.Constructor After some investigation I found out that all four of them were using the new

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-11 Thread Jayesh Salvi
-- Jayesh On Mon, Oct 12, 2009 at 1:10 AM, Mark Murphy mmur...@commonsware.comwrote: Jayesh Salvi wrote: Hi, In past couple of days, users of my app have sent crash reports indicating errors in layout inflation. android.view.InflateException: Binary XML file line #27: Error

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-11 Thread Jayesh Salvi
((LinearLayout) inflater 148..inflate(R.layout.digg,null), layoutFW); On Sun, Oct 11, 2009 at 12:34 PM, Jayesh Salvi jayeshsa...@gmail.com wrote: Hi, In past couple of days, users of my app have sent crash reports indicating errors in layout inflation

[android-developers] Re: relocating webview cache using softlinks

2009-10-05 Thread Jayesh Salvi
Why aren't you caching the data yourself, so you can control the location, size, and retention policies of the cache? Conversely, why are you electing to have those functions -- which are essential to the operation of your product -- be delegated to a component (WebView's cache) over which

[android-developers] layout upgrade causing crash

2009-09-03 Thread Jayesh Salvi
Hi, In that app I am developing ( http://www.cyrket.com/package/com.altcanvas.readerscope), I updated the layout file in the latest version - I changed the order of some Views and changed a LinearLayout to RelativeLayout. I heard from users and also verified myself that a regular upgrade from old

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread Jayesh Salvi
Hi, My entry to ADC2 is: ReaderScope - A Google Reader client. (Lifestyle category) It lets you read news online/offline, while syncing your actions (star/share/unread) on the way. It comes with sharing options over SMS, email, Twitter, Digg, Del.icio.us. You can schedule periodic downloads. You

[android-developers] autoLink text from app widget

2009-06-30 Thread Jayesh Salvi
Hi, I have an app widget with a TextView in it. I set its android:autoLink property to web|map so that the links can be clicked to launch them in browser. The links become clickable alright, but when I click on them an exception is thrown while opening the browser Activity. E/AndroidRuntime(

[android-developers] concurrency of AsyncTasks

2009-06-26 Thread Jayesh Salvi
Hi, I am replacing the multithreaded code in my app with the AsyncTask from 1.5. I found that two AsyncTasks do not work concurrently. I investigated a bit and found a workaround; I would like second opinion if my solution is right. OR if there is a better solution. AsyncTask allows the app to

[android-developers] Re: concurrency of AsyncTasks

2009-06-26 Thread Jayesh Salvi
Thanks Romain for quick response. Jayesh On Fri, Jun 26, 2009 at 10:54 PM, Romain Guy romain...@google.com wrote: Hi, It's a bug and your workaround is correct. I'll fix this right away. On Fri, Jun 26, 2009 at 9:27 AM, Jayesh Salvijayeshsa...@gmail.com wrote: Hi, I am replacing