[android-developers] SQLiteException: error code 5: database is locked. When accessing ContentProvider from AsyncTask

2013-09-07 Thread Eurig Jones
Quite frequently I get the following exception and I'm really entirely sure what to do about it. java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:200) at

[android-developers] Re: Becoming a Top Developer

2013-09-07 Thread John Coryat
I believe the criteria involves having more than one popular application with a sufficiently high average rating. What popular and sufficiently high mean are subject to interpretation. -John Coryat On Friday, September 6, 2013 6:46:10 PM UTC-5, Nathan wrote: On my list of goals for the

Re: [android-developers] Re: Becoming a Top Developer

2013-09-07 Thread Michael Banzon
I am going to take the fun side of your question and add a little serious perspective ;-) For some great advice and guidelines I would recommend you watch this: http://www.youtube.com/watch?v=GxNDmOlODL8 On Sat, Sep 7, 2013 at 5:30 PM, John Coryat cor...@gmail.com wrote: I believe the

[android-developers] SMS Receiver Issue

2013-09-07 Thread fahad mullaji
Guys, If user has installed handcent application on his/her device then my code is not catching receive sms event. Anybody faced such issue? -- Regards Fahad Mullaji -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Unexpected response code (401 or 500) when requesting: writeMoment in Google+ API

2013-09-07 Thread Robert Auger
When I developped my first app that was using Google+ API, everything went fine and I could create certificates, login with the user account and write moments. But now, I ma developping a second app and really follow the same tracks. I am able to login to Google+ with this new app but I cannot

[android-developers] Re: SQLiteException: error code 5: database is locked. When accessing ContentProvider from AsyncTask

2013-09-07 Thread Nobu Games
This error can happen when you try to open the same database (file) multiple times. Which in turn can happen when you are using multiple instances of SQLiteOpenHelper. So where do you create the instance of database? On Saturday, September 7, 2013 8:52:44 AM UTC-5, Eurig Jones wrote: Quite

[android-developers] Re: can we get the time for which android device remain shut down?

2013-09-07 Thread Nobu Games
This Stackoverflow questionhttp://stackoverflow.com/questions/12891840/time-stamp-at-which-phone-turned-offgives you a solution. On Friday, September 6, 2013 3:39:03 PM UTC-5, ashish wrote: Hi, can get the time for which android device remain shutdown? -- You received this message

[android-developers] Re: Becoming a Top Developer

2013-09-07 Thread Nathan
On Saturday, September 7, 2013 8:30:20 AM UTC-7, John Coryat wrote: I believe the criteria involves having more than one popular application with a sufficiently high average rating. What popular and sufficiently high mean are subject to interpretation. -John Coryat That's a good thing

Re: [android-developers] Re: Becoming a Top Developer

2013-09-07 Thread Nathan
On Saturday, September 7, 2013 8:36:49 AM UTC-7, mbanzon wrote: I am going to take the fun side of your question and add a little serious perspective ;-) For some great advice and guidelines I would recommend you watch this: http://www.youtube.com/watch?v=GxNDmOlODL8 Thanks, that it is

[android-developers] How to detect backspace/delete key in Jelly Bean and later

2013-09-07 Thread jb
Hi, I'm looking for some help in how to detect backspace/delete keys when running on Jelly Bean or later. According to the KeyEvent reference: the default software keyboard will never send any key event to any application targeting Jelly Bean or later, and will only send events for some

Re: [android-developers] How to detect backspace/delete key in Jelly Bean and later

2013-09-07 Thread Douglas Drumond
Soft keyboard will show for text input, so you can detect if the text changed. -- Douglas Drumond *eee19.com* http://eee19.com *gplus.to/douglasdrumond* http://gplus.to/douglasdrumond *@douglasdrumond* https://twitter.com/douglasdrumond 2013/9/7 jb cona...@gmail.com Hi, I'm looking for

Re: [android-developers] How to detect backspace/delete key in Jelly Bean and later

2013-09-07 Thread jb
I've seen on some devices that the backspace/delete key does not delete previously entered characters. That is why I'm asking how to detect the backspace key. Entering text is not a problem, just deleting previous characters by backspace/delete key is the issue. On Saturday, September 7, 2013

Re: [android-developers] Re: SQLiteException: error code 5: database is locked. When accessing ContentProvider from AsyncTask

2013-09-07 Thread Eurig Jones
I figured it out and yes I was using multiple databases. One per provider. So you're right this is what was causing the issue! :-) On 7 September 2013 20:14, Nobu Games dev.nobu.ga...@gmail.com wrote: This error can happen when you try to open the same database (file) multiple times. Which in