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

2013-09-07 Thread Eurig Jones
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 frequently I get the following exception and

[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 java.util.concurrent.FutureTask$Sync.innerSetE

[android-developers] Google Play Merchant account link doesn't work

2013-08-22 Thread Eurig Jones
Right now the Google Play Merchant account link on the Financial Reports tab of google play dev console just redirects you back to the Publisher console. Is anyone else experiencing this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Changed app from Paid to Free (with IAB)

2013-08-20 Thread Eurig Jones
Hey, Yesterday I moved my app which was quite highly ranked from Paid to Free app with in app billing. The app instantly dropped to literal obscurity the second I did it. It was almost as if my ranking value in the database had been reset! Has anyone experienced this? Will the app recover in

[android-developers] Re: Multi Language Tool

2012-01-27 Thread Eurig Jones
Due to the fact that Google Translate API is now a closed shop and not available I don't think it's possible. I've tried all sorts of plugins that probably used to work before this happened but now they don't. I found this guy who translated my app for me probably using google translate, but he go

[android-developers] Re: Application suspended. Why?

2011-05-30 Thread Eurig Jones
The graphics used in the application were done by myself, but some of them use the GNU General Public License. There is one image that I found which is used as the splash screen for the game was taken from a free desktop background I found on the internet. I tried to chase up copyright for this par

[android-developers] Re: Application suspended. Why?

2011-05-30 Thread Eurig Jones
> likely explanation. > > On May 30, 6:09 pm, Eurig Jones wrote: > > > > > > > > > On May 30, 10:56 am, Zsolt Vasvari wrote:> Didn't you > > just ask the same question on another thread? > > > Yes I posted on the Android market technical

[android-developers] Re: Application suspended. Why?

2011-05-30 Thread Eurig Jones
On May 30, 10:56 am, Zsolt Vasvari wrote: > Didn't you just ask the same question on another thread? Yes I posted on the Android market technical suport forum as well. > > 1)  What does your app do? Its a chess application - Chess-presso Free > > 2)  Is it free an the Android Market, and if it

[android-developers] Application suspended. Why?

2011-05-30 Thread Eurig Jones
Hi, I uploaded a new upgrade to last night and to my horror I received a notification of voilation from market support almost as soon as I published the new version of the application. I have no idea why this has happened, I have gone through the developer content policy with a fine tooth comb to

[android-developers] Re: C2DM for production. Please sort this out Google!

2011-03-10 Thread Eurig Jones
Anyone? PLEASE? On Mar 10, 1:55 pm, TreKing wrote: > On Thu, Mar 10, 2011 at 3:12 AM, Eurig Jones wrote: > > What is the hold-up? > > It's Google. Customer service is not something they&

[android-developers] C2DM for production. Please sort this out Google!

2011-03-10 Thread Eurig Jones
least! Its been 2 weeks now, and a few emails later and still no reply. What is the hold-up? Regards, Eurig Jones -- 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@goog

[android-developers] Re: ConnectionPoolTimeoutException with DefaultHttpClient / ThreadSafeClientConnManager

2010-11-18 Thread Eurig Jones
r will timeout and close those connections before you exhaust > > your local connection max but realize you're now tying up somebody > > else's resources. > > >   Ernest > > > On Nov 17, 3:05 pm, Eurig Jones wrote: > > > > My thinking was - If the

[android-developers] Re: ConnectionPoolTimeoutException with DefaultHttpClient / ThreadSafeClientConnManager

2010-11-17 Thread Eurig Jones
Thanks ernestw I'll have a look at consumeContent, but I got around the issue another way which I documented in a blog post: http://androidisland.blogspot.com/2010/11/httpclient-and-connectionpooltimeoutexc.html Regards, Eurig Jones On Nov 17, 3:02 pm, ernestw wrote: > I've run in

[android-developers] Resizing an ImageView within a TableLayout programmatically

2010-11-17 Thread Eurig Jones
); tableRow.addView(imageViewOne); tableRow.addView(imageViewTwo); ... The above shows pic2, but pic1 dissapears completely. What am I missing here? Thanks! Eurig Jones -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] ConnectionPoolTimeoutException with DefaultHttpClient / ThreadSafeClientConnManager

2010-11-17 Thread Eurig Jones
I'm having an issue with the HttpClient. It is throwing this exception quite consistently after 3 requests to the same location... 11-14 22:27:37.299: INFO/ chesspresso.client.android.net.HttpCall(29152): fetch() sending failed to url http://.. 11-14 22:27:37.299: INFO/ chesspresso.client.andr

[android-developers] ResourceBundle.Control supported?

2010-09-30 Thread Eurig Jones
ntrol (366) XMLControl above extends ResourceBundle.Control. I would suggest that this is a bug, although not completely sure before reporting it. Anyone? Regards, Eurig Jones -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] Re: Cannot add gmail account to Accounts & Sync Settings -- Eclipse 3.5.2, SDK Platform Android 2.2, API 8, revision 2

2010-09-13 Thread Eurig Jones
Ok. But the AccountManager seems to have appeared in 2.0 (API 5) but you can only add google accounts since API 8. How can I add a google account in here on pre-api8 emulators? Regards, Eurig On Aug 20, 4:18 am, Rob wrote: > Thanks, worked like a charm. > > On Aug 19, 6:24 pm, Xavier Ducrohet

[android-developers] HttpClient Timeouts

2010-09-06 Thread Eurig Jones
I've been suffering from the HttpClient hanging on me every now and again and never returning the response. This is my HttpClient creation code and the method which accesses it. It is accessed potentially via the UI thread and other AsyncTasks. Can anyone see anything here that looks suspicious wh

[android-developers] Android + ClientLogin + CaptchaRequired

2010-08-21 Thread Eurig Jones
Hi, I'm currently implementing ClientLogin with Android and it's AccountManager via AppEngine, andI notice that in a response I could get CaptchaRequired (or possibly another, maybe TermsNotAgreed). I have yet to come across an example which deals with CaptchaRequired in the code which leads me t

[android-developers] Obfuscation

2010-07-11 Thread Eurig Jones
How many of you obfuscate your android applications? Do you think there's any point? -- 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, s

[android-developers] Android Emulator: "Accounts & Sync"

2010-05-27 Thread Eurig Jones
I'm using the 2.2 Android emulator. How do you enter your google account details? I would like to test a new app called chrometophone which uses 2.2's new C2DM api. This seems to require being able to add google account details. -- You received this message because you are subscribed to the Goog

[android-developers] Re: Signup for C2DM ?

2010-05-25 Thread Eurig Jones
Me too. no reply yet. On May 25, 11:38 am, qvark wrote: > Eagerly waiting here to start testing... has anybody received a > response? > > On 22 mayo, 01:12, brian wrote: > > > Filled out the form requesting access. > > I was wondering if anyone has started to work withC2DM? > > Has Google respon

[android-developers] highlighting a coloured item in a ListView

2010-05-23 Thread Eurig Jones
I have a ListView component and its items are highlighted orange when clicked or selected with the trackball, as you would expect as this is the default behaviour. Some of my list items get coloured with setBackgroundColor(). These coloured items seem to hide the orange highlighting when clicked o

[android-developers] OpenID for Android?

2010-04-30 Thread Eurig Jones
I want to get rid of my app registration and embrace OpenID, but is it possible to do this type of thing with an Android Application? Regards, Eurig -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] Re: Basic Chat Application

2010-04-07 Thread Eurig Jones
Have a look at XMPP, this is what you'd probably need to look into first. On Apr 6, 9:12 pm, aspekt9 wrote: > I'm starting to get into networking on android and I was wondering > what the requirements are to setup a simple messaging application. Do > I need to host a central server somewhere to h

[android-developers] Re: Upgrading of Applications

2010-04-06 Thread Eurig Jones
earch > tags, more catagories, ect.) > > Hope this helps! > Stephen Lebed > Developer > "On The Level 3" > > On Apr 5, 3:03 pm, Eurig Jones wrote: > > > > > On Apr 5, 11:42 pm, "~ TreKing" wrote: > > > > On Mon, Apr 5, 2

[android-developers] Re: Upgrading of Applications

2010-04-05 Thread Eurig Jones
On Apr 5, 11:42 pm, "~ TreKing" wrote: > On Mon, Apr 5, 2010 at 3:44 PM, Eurig Jones wrote: > > I'm intending to release my application through the Android Market and I > > want to make sure I can deploy new releases of the app and the users will be > > able

[android-developers] Re: Application already deployed. No need to reinstall.

2010-04-05 Thread Eurig Jones
It's only happened to me once, so I had to recreate the project only once and it's not happened since. On Mar 29, 3:17 pm, Pinheiro wrote: > I'm having the same problem and found the same solution but it's very, > very annoying. > It seems like some file has a date somewhere in the future or it's

[android-developers] Upgrading of Applications

2010-04-05 Thread Eurig Jones
nCode property, it is entirely up to the application to provide an upgrade routine. What is the best strategy to achieve this? Note: I would also like to support Android 1.5 and onwards, if that makes a difference. Thanks in advance! Eurig Jones -- You received this message because you are subsc

[android-developers] Re: Application already deployed. No need to reinstall.

2010-02-14 Thread Eurig Jones
I fixed this by recreating my project for a freshly created android project in eclipse. This now seems to install the apk and recognise i modified something! On Feb 14, 9:59 pm, Eurig Jones wrote: > But that will just uninstall my app! > > On Feb 14, 9:20 pm, OldSkoolMark wrote: >

[android-developers] Re: Application already deployed. No need to reinstall.

2010-02-14 Thread Eurig Jones
But that will just uninstall my app! On Feb 14, 9:20 pm, OldSkoolMark wrote: > run adb uninstall in a shell. > > On Feb 14, 11:23 am, Eurig Jones wrote: > > > I'm having an annoying issue when developing my app within Eclipse + > > ADT... > > > Ap

[android-developers] Application already deployed. No need to reinstall.

2010-02-14 Thread Eurig Jones
I'm having an annoying issue when developing my app within Eclipse + ADT... Application already deployed. No need to reinstall. If I've changed my code it doesn't recognise the change unless I clean the project. It then uploads a new apk! I didn used to have to do this after a change!. "Build aut

[android-developers] LogCat filters: How can I specify wildcards?

2010-02-14 Thread Eurig Jones
I'm using the Eclipse plugin to view log output using LogCat. I want to use a filter all messages with the tag: com.whatever.blah.* But it doesn't work, how can I do this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] JSONExceptions

2009-08-29 Thread Eurig Jones
I'm fetching a lot of JSON values. Values that could potentially not exist from my server. Having android throw JSONExceptions when something doesn't exist is really annoying! Returning a null value would be enough. Anyone know the reason behind this? --~--~-~--~~~---

[android-developers] Loading default preferences on startup

2009-08-20 Thread Eurig Jones
I want to load default preferences on app startup (before the user hits my preferences screen). Is there a way to do this using possibly xml and the manifest? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Re: Loading default preferences on startup

2009-08-20 Thread Eurig Jones
Here I am, answering my own questions again! PreferenceManager.setDefaultValues(... readAgain=false) Running that from a launcher activity would do the job On Aug 20, 11:24 pm, Eurig Jones wrote: > I want to load default preferences on app startup (before the user > hits my preferences

[android-developers] Re: Empty Lists

2009-08-19 Thread Eurig Jones
Ok, this is a bit weird. When I use this with setContentView() of my ListActivity I get a StackOverflowError!... http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent"> But when I use this, it shows me the list... ht

[android-developers] Re: Empty Lists

2009-08-19 Thread Eurig Jones
Thanks Mark. Yeah, I saw that in the docs but I'm using a non-custom List, I have no custom layout and I don't intend to create one. How could I specify an empty view if my list returns no records? On Aug 19, 11:24 pm, Mark Murphy wrote: > Eurig Jones wrote: > > Does

[android-developers] Empty Lists

2009-08-19 Thread Eurig Jones
Does anyone know if it's possible to show a "Currently have no items" type view in a ListActivity when, obviously, you have no items? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: TabActivity Customisation

2009-08-18 Thread Eurig Jones
Ok. Solved it. ViewGroup header = (ViewGroup) View.inflate(this, R.layout.header, null); LinearLayout layout = (LinearLayout) getTabHost().getChildAt(0); layout.addView(header, 1); Fetch the TabHost and insert the addition layout in between the Tabs and display. On Aug 18, 10:32 pm, Eurig

[android-developers] TabActivity Customisation

2009-08-18 Thread Eurig Jones
More of a TabWidget question I guess really... I would've tried to send a screenshot for this query if I could, but i'll try and explain. I have 3 Tabs, each showing a seperate Activity. Underneath those tabs (and above the activity display), I want to display a header. This header would probabl

[android-developers] Re: TabActivity - Refreshing problems

2009-08-18 Thread Eurig Jones
Thanks Mark, that was helpful. On Aug 18, 8:49 pm, Mark Murphy wrote: > Eurig Jones wrote: > > I managed to get around this problem, but I think this might be a bug. > > > to refresh the text within the tab, I had to fetch the TextView widget > > for the actual

[android-developers] Re: TabActivity - Refreshing problems

2009-08-18 Thread Eurig Jones
am I missing something? Regards, Eurig Jones On Aug 18, 3:52 pm, Eurig Jones wrote: > I have a TabActivity based class which has 3 tabs. All are > ListActivities (but that's not important for this problem) > > I'm updating the TabHost's TabSpec's to change the text o

[android-developers] TabActivity - Refreshing problems

2009-08-17 Thread Eurig Jones
I have a TabActivity based class which has 3 tabs. All are ListActivities (but that's not important for this problem) I'm updating the TabHost's TabSpec's to change the text on the tabs. This works fine and the ListActivities display correctly. Iater on the execution flow I need to update the Te

[android-developers] JSONObject .getInt() method doesn't handle a null

2009-07-13 Thread Eurig Jones
part of the JSON String contents: { "aNumber":null } o is a org.json.JSONObject below: o.getInt("aNumber"); This results in an exception: org.json.JSONException: JSONObject["aNumber"] is not a number. I would guess getInt() should be returning a null. Looks like a bug to me. What do you think?