[android-developers] Google Calendar API v3 OAuth 2.0

2013-05-14 Thread John Goche
with the sequence I describe. I know I need to Authenticate using OAuth2 for installed applications Somehow prompt the user if the app can access their calendar data. Connect and manipulate calendar data. Could someone here please help me? Thanks. John Goche -- -- You received

[android-developers] Calendar contact provider: custom data

2013-04-28 Thread John Goche
to define them. Any ideas on how to overcome this problem, Thanks, John Goche -- -- 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

[android-developers] textMultiLine and textImeMultiLine

2013-04-18 Thread John Goche
texMultiLine is different from textImeMultiLine. Thanks for your help, John Goche -- -- 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

[android-developers] Google Calendar API: drawbacks of using Gingerbread vs. Ice Cream Sandwich etc...

2013-04-14 Thread John Goche
my google calendar code? Thanks for your feedback, John Goche -- -- 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

[android-developers] droid text on android

2012-02-23 Thread John Goche
for your help, John Goche -- 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

[android-developers] PDF on android: request for comments

2012-02-17 Thread John Goche
Hello, I would like to produce a PDF file programmatically in my application. I have found that itext (http://itextpdf.com/) does the job but that the later versions are covered by the AGPL rather than the LGPL which as far as I understand means that if the application is sold then I need to

Re: [android-developers] PDF on android: request for comments

2012-02-17 Thread John Goche
On Fri, Feb 17, 2012 at 6:38 PM, Mark Murphy mmur...@commonsware.com wrote: You can specify the path to a PDF as an extra, or as the Uri associated with the Intent. You need to follow the rules for whatever it is that you are trying to do (e.g., ACTION_SEND would use EXTRA_STREAM). Note

Re: [android-developers] PDF on android: request for comments

2012-02-17 Thread John Goche
On Fri, Feb 17, 2012 at 9:51 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Feb 17, 2012 at 3:45 PM, John Goche johngoch...@googlemail.com wrote: I've found the following code which would allow the user to select an email client from a list fired as an intent. The email client

[android-developers] multiline EditText: setting cursor position to top of widget

2012-02-13 Thread John Goche
be above the android soft keyboard. Thanks for your feedback, John Goche -- 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

Re: [android-developers] multiline EditText: setting cursor position to top of widget

2012-02-13 Thread John Goche
Thanks! JG 2012/2/13 Kostya Vasilyev kmans...@gmail.com: Use android:gravity=top|left on the second EditText. -- 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] eclipse XML formatting not working

2012-02-13 Thread John Goche
Hello, I've recently reinstalled eclipse and ADT and android plugin for eclipse. I am trying to set the formatting properties for my projects by going to Preferences - XML - XML Files - Editor and setting them, but when I save and do a CTRL-SHIFT-F eclipse behaves as if I never set any of them.

Re: [android-developers] eclipse XML formatting not working

2012-02-13 Thread John Goche
On Mon, Feb 13, 2012 at 4:48 PM, Tor Norbye tnor...@google.com wrote: Go to Preferences - Android - Editors and uncheck the first option (Format XML files using the standard Android XML style rather than the configured Eclipse XML style (additional options below). Thanks, that worked! The

[android-developers] installing APK without eclipse/android SDK

2012-02-12 Thread John Goche
Hello, I would like to send my APK to someone by email so that they may install it using WIndows Vista. I have searched for info on how they can install the .apk but only found a pointer to downloading the Astro file manager and installing from there after copying the apk to the phone's file

[android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
I am going wrong. Any ideas why the code is not working as expected? Thanks, John Goche -- 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

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
this synchronization problem? Thanks, John Goche 2012/2/9 Kostya Vasilyev kmans...@gmail.com: Are you calling notify() from inside sendRequest()? If so, it's the same thread, and notify has nothing to do. http://developer.android.com/reference/java/lang/Object.html#notify() Causes

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
but I am somewhat new to thread programming and I am not entirely sure about how to set things up. Will give it another go... Thanks for your help, JG 2012/2/9 John Goche johngoch...@googlemail.com: Thanks Kostya! I have traced the code with the debugger and found that even though notify

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
John Goche johngoch...@googlemail.com: Basically sendRequest() invokes a thread which calls runOnUiThread with a new Runnable() which in turn also invokes a new Thread(). It is this latter thread which I need to wait for to finish. I thought of using the join() method to force thread

Re: [android-developers] wait and notify in non-UI thread: waiting thread not waking up

2012-02-09 Thread John Goche
(); } s.run(); } }; t.run(); try { s.join(); } catch (InterruptedException e) { e.printStackTrace(); } System.out.println(Bye); 2012/2/9 John Goche johngoch...@googlemail.com: Hi all, The problem I am having is that the thread I need to call join() on so as to wait

Re: [android-developers] again: App Engine connected *Android* project: someone please help me understand this code

2012-01-18 Thread John Goche
On Wed, Jan 18, 2012 at 2:21 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Wed, Jan 18, 2012 at 7:00 AM, John Goche johngoch...@googlemail.com wrote: In AccountsActivity.java we have methods getAuthToken() and getAuthCookie(). Basically the AccountManager takes care of storing

[android-developers] app engine debugging

2012-01-17 Thread John Goche
Hello, I would like to know what the best way is to debug an app engine application. The problem I am experiencing is that I cannot step through the code in Jetty nor can I find a log where I can see what exceptions are thrown. Any ideas on how to proceed would be very appreciated. John Goche

[android-developers] again: App Engine connected *Android* project: someone please help me understand this code

2012-01-17 Thread John Goche
the code so that I may adapt it to my own use case. Thanks a lot, John Goche -- 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] android and XML

2012-01-15 Thread John Goche
, John Goche -- 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

Re: [android-developers] android and XML

2012-01-15 Thread John Goche
processing the file? If not, then you may want to rethink what you are asking about. Well, my XML files are going to be varied but small in size, so memory shouldn't be a problem. I was wondering about the availability of good tutorials on Java XML DOM though. Regards, John Goche -- You

Re: [android-developers] android and XML

2012-01-15 Thread John Goche
://www.amazon.com/Beginning-Java-7-Apress/dp/1430239093/ref=sr_1_7?ie=UTF8qid=1326650427sr=8-7 even though android AFAIK uses Java 6 this reference should be good enough for my purposes. Regards, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group

Re: [android-developers] android and XML

2012-01-15 Thread John Goche
guess that would be another alternative, which, presumably, being part of java 6 also works on android? Regards, John Goche -- 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

[android-developers] C2DM sample code: unable to deploy

2012-01-09 Thread John Goche
Hello, Has anyone been able to deploy an android C2DM web application as generated from eclipse? I am getting the following error during deployment: - Unable to update:

[android-developers] C2DM: cannot register account on emulator

2012-01-09 Thread John Goche
to open connection to server. I entered my username and password under Add an Exchange account. I am using the 2.3.3 emulator (which is post 2.2 hence should work, but does not). Thanks, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: newbie: error deploying C2DM web application

2012-01-09 Thread John Goche
with the server. Still cannot get the emulator to work though. I had to C2DM from a physical phone. Regards, John Goche On Mon, Jan 9, 2012 at 4:17 PM, John Goche johngoch...@googlemail.comwrote: Hello, I have created and registered an application by the imaginative name called FooBarAkAFoobar. I

[android-developers] shared folders in eclipse

2012-01-09 Thread John Goche
a library, is that the way? Exactly what are the required steps to achieve the desired effect? Best Regards, John Goche -- 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

Re: [android-developers] Google App Engine and Users API and android

2012-01-08 Thread John Goche
sincerely appreciated, I'm really stuck on this one. Regards, John Goche -- 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

Re: [android-developers] Google App Engine and Users API and android

2012-01-08 Thread John Goche
On Sun, Jan 8, 2012 at 3:20 PM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Sun, Jan 8, 2012 at 9:24 PM, John Goche johngoch...@googlemail.com wrote: Hello, I am still trying to authenticate to app engine using google accounts and would like to figure out the details of how

Re: [android-developers] Google App Engine and Users API and android

2012-01-08 Thread John Goche
the following URLs out of the video (shown towards the end): http://bigdaddy-io.appspot.com/ http://code.google.com/p/cloud-tasks-io http://cloudtasks-io.appspot.com/ http://cloudtasksio.appspot.com/ I'm going to have a look at these too, Regards, John Goche On Sun, Jan 8, 2012 at 5:38 PM

Re: [android-developers] Google App Engine and Users API and android

2012-01-08 Thread John Goche
accounts authentication method is not mentioned on the following page: http://code.google.com/apis/accounts/docs/GettingStarted.html Regards, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] AERC library: questions

2012-01-08 Thread John Goche
Hello, I am trying to follow the code from http://www.tbray.org/ongoing/When/201x/2011/09/29/AERC I have obtained the library with: $ git clone http://code.google.com/p/aerc/ but I cannot make out what the difference is between the following two variables: App.ROOT_URI App.ROOT_URI and

Re: [android-developers] Google App Engine and Users API and android

2012-01-08 Thread John Goche
On Sat, Jan 7, 2012 at 6:04 PM, John Goche johngoch...@googlemail.comwrote: Hi Nikolay, On Sat, Jan 7, 2012 at 5:39 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Sun, Jan 8, 2012 at 1:32 AM, John Goche johngoch...@googlemail.com wrote: Now that you have mentioned

[android-developers] Google App Engine and Users API and android

2012-01-07 Thread John Goche
somewhat lost because all the examples I am finding are not android specific. Thanks, John Goche -- 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

Re: [android-developers] Google App Engine and Users API and android

2012-01-07 Thread John Goche
On Sat, Jan 7, 2012 at 5:14 PM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Sun, Jan 8, 2012 at 1:08 AM, John Goche johngoch...@googlemail.com wrote: I am using google App Engine. I need my users to authenticate prior to being able to access the JDO objects on my servlet. Once

Re: [android-developers] Google App Engine and Users API and android

2012-01-07 Thread John Goche
Hi Nikolay, On Sat, Jan 7, 2012 at 5:39 PM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Sun, Jan 8, 2012 at 1:32 AM, John Goche johngoch...@googlemail.com wrote: Now that you have mentioned AccountManager I have found the following site: http://gnuc.in/resources/archives/1404

Re: [android-developers] Re: uploading to the google cloud service

2011-12-29 Thread John Goche
billing for this or how do I tackle this issue. The space and bandwith offered seems copious on one hand and on the other hand perhaps not. Thanks for all your suggestions, John Goche P.S. Studio, you mentioned doing much work with databases and the web in some of your past emails, do you prefer

Re: [android-developers] Re: uploading to the google cloud service

2011-12-28 Thread John Goche
instead/ database backend. Thanks, John Goche On Wed, Dec 28, 2011 at 1:27 AM, havexz bali.param...@gmail.com wrote: Looks like this is what you looking for: http://android-developers.blogspot.com/2010/05/android-cloud-to-device-messaging.html On Dec 27, 5:36 pm, John Goche johngoch

[android-developers] clarification: SD card

2011-12-28 Thread John Goche
pieces on my smartphone. Anyone know what the capacity of such a storage location is in MB? Thanks, John Goche -- 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

Re: [android-developers] Re: uploading to the google cloud service

2011-12-28 Thread John Goche
to install it? Thanks, John Goche On Wed, Dec 28, 2011 at 6:49 PM, havexz bali.param...@gmail.com wrote: BTW ...reading your question again...looks like you are looking for Backing up App Data and then restoring it on different device. So this is what I think you want: http

[android-developers] sending a backup file to the cloud

2011-12-27 Thread John Goche
else would I transfer the data from a file in the application's sandbox to a user specified server (such as a google mail server) on the web. Can someone please offer some suggestions on how to achieve this operation of transfering data from the phone to a backup file in the cloud. Thanks, John

[android-developers] publishing two versions of same application

2011-12-27 Thread John Goche
for the free version or can I keep publish both application under both reverse FQDNs. Also, do I need to make two separate packages for them in eclipse or is there a way I can keep both under one directory somehow? Thanks for your comments and feedback, John Goche -- You received this message because

Re: [android-developers] publishing two versions of same application

2011-12-27 Thread John Goche
. Please share your approach with us, I am very willing to learn what the alternatives may be, Thanks, John Goche -- 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

[android-developers] uploading to the google cloud service

2011-12-27 Thread John Goche
to the right place? I just cannot find the reference. Thanks, John Goche -- 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

[android-developers] runtime error: com.android.internal.os.LoggingPrintStream.println

2011-12-26 Thread John Goche
, John Goche -- 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

Re: [android-developers] issue with conditionally choosing first activity to be displayed

2011-12-24 Thread John Goche
Thank you all for your replies, they were really helpful. I think I am going to launch an intent just before calling setContentView() the first time the application starts up followed by finish(), and call setContentView() all other times. Regards, John Goche -- You received this message

[android-developers] issue with conditionally choosing first activity to be displayed

2011-12-23 Thread John Goche
explained the problem clearly. Any help would be sincerely appreciated. Thanks, John Goche -- 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

[android-developers] ImageButton: changing image and background simultaneously

2011-12-12 Thread John Goche
, John Goche -- 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

[android-developers] ListView entries question: dynamically changing to EditText

2011-12-12 Thread John Goche
Hello, Is it possible to code a ListView in such a way that when a user clicks on one of its TextView entries it turns into an EditText which allows the user to enter text? Thanks, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] uploading and downloading files from email

2011-12-12 Thread John Goche
Hello, I would like to know whether it is possible to invoke a web browser in such a way so as to pass it an attachment and then also in another application open a web browser and download an attachment to an android application so that the application can read the attachment? Thanks, John

Re: [android-developers] uploading and downloading files from email

2011-12-12 Thread John Goche
On Mon, Dec 12, 2011 at 10:37 PM, TreKing treking...@gmail.com wrote: On Mon, Dec 12, 2011 at 12:21 PM, John Goche johngoch...@googlemail.comwrote: I would like to know whether it is possible to invoke a web browser in such a way so as to pass it an attachment and then also in another

[android-developers] using fonts with canvas paint

2011-12-10 Thread John Goche
and how do I use it with getAssets() in my code? 2. Suppose I want to make my own TTF fonts for use with android. How do I go about doing this. Can I use LaTeX somehow? Many Thanks, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group

Re: [android-developers] Re: splash screen

2011-12-10 Thread John Goche
someone could give me some help in understanding the best solution for my use case and why it works? Thanks a lot, John Goche (here is what I've found so far...) -- http://stackoverflow.com/questions/3536590/android

Re: [android-developers] Re: splash screen

2011-12-10 Thread John Goche
the relationship between this code and the official AsyncTask code from google if any? Thanks, John Goche -- 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

Re: [android-developers] Re: splash screen

2011-12-10 Thread John Goche
=@android:style/Theme.NoTitleBar.Fullscreen ... Thank you for all your kind replies, As always, feedback welcome, Regards, John Goche -- 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

Re: [android-developers] Re: splash screen

2011-12-08 Thread John Goche
that displays a spinner and then start the real activity from there. Or Miguel, you say place alayout on top of the surface view, but isn't the surface view what is taking a long time to load? Thanks, John Goche On Thu, Dec 8, 2011 at 3:27 AM, Miguel Morales therevolti...@gmail.comwrote: How about placing

Re: [android-developers] Re: sound effects for android game application

2011-12-08 Thread John Goche
, but I don't know how. I've also checked out audacity, which can record, but don't know how to smoothen out the recored sounds. Thanks, John Goche On Mon, Nov 28, 2011 at 10:43 PM, Tobiah t...@tobiah.org wrote: On 11/28/2011 1:31 PM, John Goche wrote: Thanks, but what I was asking is what

Re: [android-developers] Re: splash screen

2011-12-08 Thread John Goche
the application loads I can see for a short while the application name highlighted at the top of the black screen before the full screen. Anyone know why this is and how I can make it go away? Thanks, John Goche -- You received this message because you are subscribed to the Google Groups Android

[android-developers] writing to assets directory

2011-12-07 Thread John Goche
Hello, I would like to ask: Is it possible to write to the assets directory or can I only write to a separate directory from my application's logic? Thanks, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] filesystem problems: please help

2011-12-07 Thread John Goche
thereafter given the above? Many thanks for your help, John Goche -- 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

Re: [android-developers] writing to assets directory

2011-12-07 Thread John Goche
On Wed, Dec 7, 2011 at 2:14 PM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Dec 7, 2011 at 7:58 AM, John Goche johngoch...@googlemail.com wrote: Is it possible to write to the assets directory No. Assets, like resources, are read-only at runtime. Thanks, but is there a way to copy

Re: [android-developers] writing to assets directory

2011-12-07 Thread John Goche
it that way. I am going to have to write a separate file just to check whether there was a previous install of the application or not. Thanks, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] splash screen

2011-12-07 Thread John Goche
Hello, My application is taking a while to load so I am going to have to place a splash screen. Any suggestions about how to go about doing this (the application is 2D and uses a SurfaceView and a loop therein to update the user interface). Thanks, John Goche -- You received this message

Re: [android-developers] Re: splash screen

2011-12-07 Thread John Goche
Thanks Rich, What do you mean by do the loading in the background. Do I have to call startActivity() in a separate thread? When you say send a message back to the activity do you mean I should call startActivityForResult()? Thanks, John Goche On Wed, Dec 7, 2011 at 9:45 PM, rich friedel

[android-developers] RectF: float parameters in pixelated canvas???

2011-12-05 Thread John Goche
for clarification on this subtle issue and why things have been designed this way in the Canvas related API, Regards, John Goche -- 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

[android-developers] pausing games: dealing with Handler Messages timers

2011-12-02 Thread John Goche
, John Goche -- 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

Re: [android-developers] Re: multitouch support again...

2011-12-02 Thread John Goche
Thanks Achim for the clarification, it makes sense. Regards, John Goche On Fri, Dec 2, 2011 at 4:01 PM, al achim.leub...@googlemail.com wrote: It works because returning true signals that the event has been consumed. That's the signal for the parent ViewGroup to set this view as a target

Re: [android-developers] pausing games: dealing with Handler Messages timers

2011-12-02 Thread John Goche
at 5:45 AM, John Goche johngoch...@googlemail.comwrote: Hello, I have an android game which uses timers to update the screen sprites. When the user wishes to pause the screen I have to know which timers are pending and how long is missing before their expiration time. So this means I have

Re: [android-developers] pausing games: dealing with Handler Messages timers

2011-12-02 Thread John Goche
Well, my code uses handlers, which are specific to android, so at least I thought I'd post my code, so anyone with any comments on this android-specific code feel free to drop me a line. John Goche class TimeStampedMessage { TimeStampedMessage(Handler handler, long when, int what

Re: [android-developers] Tabed pane Help

2011-12-02 Thread John Goche
want to use an SQLiteDB to store your data. Regards, John Goche On Fri, Dec 2, 2011 at 4:36 PM, chowdary nani naveenneeli...@gmail.comwrote: Hi All, In Tabedpane i have 2 tabs.I have to send data from one tab to another tab. Please help me how to do this in android. Thanks Naveen

Re: [android-developers] Re: multitouch support again...

2011-12-01 Thread John Goche
not the same. means something different than multitouch: Thanks for the clarification, I would be satisfied if I could get the second finger going down detected. Any ideas? John Goche On 30 Nov., 22:11, John Goche johngoch...@googlemail.com wrote: Hello, I have posted this message

Re: [android-developers] Re: multitouch support again...

2011-12-01 Thread John Goche
? If not, do so. Thanks, I was returning super.onTouchEvent(event); That made the whole difference, it now works. So somehow super.onTouchEvent(event) was consuming my event when it was not supposed to? Why does this solution work? Thanks, John Goche -- You received this message because you

Re: [android-developers] game design question: multiple handlers

2011-11-30 Thread John Goche
so that my handleMessage does not quickly turn into a mess? Thanks, John Goche On Tue, Nov 29, 2011 at 11:02 PM, TreKing treking...@gmail.com wrote: On Tue, Nov 29, 2011 at 3:46 PM, John Goche johngoch...@googlemail.comwrote: The number of sprites is indefinite (could vary in number

Re: [android-developers] game design question: multiple handlers

2011-11-30 Thread John Goche
Also, why would it be better to have one handler than multiple handlers anyways given that in some situations multiple handlers can compile? On Wed, Nov 30, 2011 at 1:32 PM, John Goche johngoch...@googlemail.comwrote: Thank you TreKing for your advice, But then in my handleMessage I would

Re: [android-developers] game design question: multiple handlers

2011-11-30 Thread John Goche
the details out, I spent some time restructuring my code and then was unable to get the same error message hence the vagueness. I'm still interested in what might have caused the orignal message telling me to call looper.prepare() though and the logic behind it. Thanks, John Goche 2011/11/30

[android-developers] multitouch support again...

2011-11-30 Thread John Goche
down without lifting the first one I don't see the ACTION_POINTER_DOWN. Not sure what I'm doing wrong if anything. Thanks for your help, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] game design question: multiple handlers

2011-11-29 Thread John Goche
and what exactly is the problem? Thanks, John Goche -- 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

[android-developers] sound effects for android game application

2011-11-28 Thread John Goche
Hello, I am making an android game. I wonder whether anyone can suggest how to go about producing the sound effects including sound track as well as other sounds for the game. Thank you for your feedback, John Goche -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: sound effects for android game application

2011-11-28 Thread John Goche
Thanks, but what I was asking is what software is available for creating the sound effects and what is being used for them in general, cause if I don't have any I cannot load them into memory. Regards, John Goche On Mon, Nov 28, 2011 at 9:24 PM, hoyski hoy...@gmail.com wrote: On Nov 28, 9:42

[android-developers] multitouch support or no support???

2011-11-28 Thread John Goche
the code run when I place the first finger down. When I place the second finger down without lifting the first one I don't see the ACTION_POINTER_DOWN. Not sure what I'm doing wrong if anything. Thanks, John Goche -- You received this message because you are subscribed to the Google Groups

[android-developers] View/onDraw(Canvas) vs. SurfaceView

2011-11-23 Thread John Goche
). Can someone please give me an update on this? Thanks, John Goche -- 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

[android-developers] Re: View/onDraw(Canvas) vs. SurfaceView

2011-11-23 Thread John Goche
the system's View hierarchy is ready to draw. if I have just a single View on my screen (say for a game) why would the View hierarchy take a longer time to draw than if the View's Canvas is updated from a separate thread? Thanks for your feedback, John Goche On Wed, Nov 23, 2011 at 1:30 PM

[android-developers] reading a plain text file: java.lang.fileNotFoundException

2011-11-23 Thread John Goche
)); reader.read(); where fileName =assets/foo.txt but I get a java.lang.fileNotFoundException. How can I ensure that the file is found? Thanks, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] reading a plain text file: java.lang.fileNotFoundException

2011-11-23 Thread John Goche
Thanks, Here is how I solved it, BufferedReader reader = new BufferedReader(new InputStreamReader(ctx.getAssets().open(fileName))); Regards, John Goche On Wed, Nov 23, 2011 at 8:53 PM, Mark Murphy mmur...@commonsware.comwrote: You don't access assets/ by FileReader. You access assets/ via

[android-developers] OpenGL on android

2011-11-16 Thread John Goche
because I would require one to read my model into OpenGL/Java. Comments and suggestions on how to proceed welcome, Thanks, John Goche -- 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

[android-developers] eclipse IDE: including misc files

2011-11-11 Thread John Goche
Hello, I would like to know whether there is a way to include miscellaneous files in the eclipse IDE such as shell scripts used to generate data without getting an error from the IDE. Thanks, John Goche -- You received this message because you are subscribed to the Google Groups Android

[android-developers] android statistics (android versions and their market share)

2011-11-08 Thread John Goche
Hello, I wonder if anyone could tell me how long the latest version of android (2.3.3) has been out. Where can I find a web page with a pie chart of the relative number of phones which have been produced for each android version? Thanks a lot, Many thanks, John Goche P.S. I am considering

Re: [android-developers] Re: more SMS questions

2011-11-06 Thread John Goche
Goche On Sun, Nov 6, 2011 at 2:11 AM, Belvedere Computer Services fa829...@gmail.com wrote: Base64 encoder on the send end / decode on remote On Nov 5, 7:28 pm, John Goche johngoch...@googlemail.com wrote: Hello, As mentioned in an earlier post I am trying to send binary SMS from one phone

Re: [android-developers] Re: more SMS questions

2011-11-06 Thread John Goche
[i].getMessageBody()); } } private static final String TAG = SMSReceiver; } Many thanks, Regards, John Goche -- 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

Re: [android-developers] Re: more SMS questions

2011-11-06 Thread John Goche
a bunch of android phones send and receive data to each other to communicate, Suggestions welcome, Thanks, John Goche On Sun, Nov 6, 2011 at 1:55 PM, John Goche johngoch...@googlemail.com wrote: Hello, I have tried using Base64.encode() with the sendDataMessage as follows

Re: [android-developers] Re: more SMS questions

2011-11-06 Thread John Goche
this, this is what pretty much everyone else does.. kris Yes but a web service / backend needs a separate server and I wanted to have something that works out of the box. What should I do? Regards, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] more SMS questions

2011-11-05 Thread John Goche
argument (the pending intent) is not null, otherwise the SMS will be sent without specifying that a status report be generated? Thank you for your help, John Goche FooActivity.java SmsManager smsManager

[android-developers] android market language listings

2011-11-04 Thread John Goche
Hello, I wonder how come not all languages are supported for listings in android market. For instance I can see Chinese (Taiwan) but not Chinese (PRC), and I cannot see many other languages despite the mobile phones support many. What's up with this? John Goche -- You received this message

Re: [android-developers] Re: published market app showing up but not using keyword search

2011-11-03 Thread John Goche
in the body description is entered?). Thanks, John Goche On Thu, Nov 3, 2011 at 6:32 AM, Belvedere Computer Services fa829...@gmail.com wrote: this is something I have been wanting to bring up in a proper context so I will write some fast and dirty Java for the engineers when they get here

[android-developers] binary SMS on android

2011-11-03 Thread John Goche
specific thing? Thanks a lot for all clarifications, John Goche -- 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

[android-developers] published market app showing up but not using keyword search

2011-11-02 Thread John Goche
but no luck. I'm lost. Any help appreciated, Regards, John Goche -- 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

Re: [android-developers] Re: SMS interface and timestamps

2011-11-01 Thread John Goche
you mean by current gps fix? Thanks, John Goche -- 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

Re: [android-developers] basic question: SharedPreferences and PreferenceActivity

2011-10-31 Thread John Goche
account would have it's own preference file. This is the reason for having multiple preferences that makes most sense to me. Regards, John Goche -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

  1   2   3   >