[android-developers] Missing or Incorrect images and backgrounds randomly throughout app lifecycle

2012-10-05 Thread Graeme
I was hoping someone here might have an idea what causes this sort of behaviour: Throughout my application, in seemingly random places and in random conditions I'm observing this strange UI issue. Images are on occasion being loaded black (with the correct bounds) or with the incorrect image

[android-developers] Missing, Incorrect ImageView/Backgrounds during program execution

2012-10-04 Thread Graeme
? Graeme -- 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, visit

[android-developers] Want a background Service to show Toasts on Device Screen

2009-03-20 Thread Graeme
not have a UI associated with it ? Thanks for any pointers Graeme --~--~-~--~~~---~--~~ 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] Can I force Android to open a network connection on a specified network interface/network type ?

2009-03-06 Thread Graeme
to a local address of a network interface of the desired type (WiFi or Mobile) Or by setting a socket-level socket option of SO_DONTROUTE ? Any help would be appreciated Thanks Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] What are the Intents broadcast by the ConnectivityManager

2009-03-04 Thread Graeme
What is/are the ACTION(s) of the Intents broadcast by a ConnectivityManager service/object ? Where are these documented ? Thanks Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-03-03 Thread Graeme
Hi Marco OK remove from the receiver tag but a uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED/ tag as ac hild of the application tag is needed ? Thanks Graeme On Mar 2, 4:15 pm, Marco Nelissen marc...@android.com wrote: On Mon, Mar 2, 2009 at 5:23 AM,Graemegraeme.br

[android-developers] Re: Dalvik Debug Monitor Sometimes Shows Multiple Devices (Sometimes!)

2009-03-03 Thread Graeme
Hi Fedor No not at the moment. I admit I do run it sometimes. But the problem I'm describing seems to be connected with the ADP1 -- I seem to get multiple devices connected none of which work correctly with adb and ddms. Makes debugging a nightmare ! Rgds Graeme On Mar 3, 3:21 pm, Faber Fedor

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-03-02 Thread Graeme
/android/content/Intent.html#ACTION_BOOT_COMPLETED right ? Thanks Graeme On Feb 27, 4:47 pm, Jean-Baptiste Queru j...@android.com wrote: You should remove android:permission=android.permission.RECEIVE_BOOT_COMPLETE from your receiver tag: -you have a typo in it. -what that really means is I want

[android-developers] BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-02-27 Thread Graeme
the AndroidManifest.xml file for the application package via a receiver tag or whether I need to create it dynamically and call Context.registerReceiver() etc. within my Service code. Can anyone offer any advice, please? Thanks Graeme --~--~-~--~~~---~--~~ You received

[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

2009-02-27 Thread Graeme
-); } } When I boot my ADP1 (attached via USB cable to my Windows dev host), I do not get any indication in ddms that the MyReceiver object is actually receiving the BOOT_COMPLETE Intent. Is there anything wrong with my AndroidManifest.xml entry ? Thanks Graeme On Feb 27, 3:47 pm, Jean

[android-developers] How to start a Service running when Android boots up ?

2009-02-24 Thread Graeme
the service. Does the Android Framework support a way for me to support running some code at system boot or soon after ? Thanks for any pointers. Graeme UK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Starting an Activity by sending an Intent with Extra Data

2009-02-19 Thread Graeme
() ? Or do I need to register a BroadcastReceiver with SecondActivity whose onReceive() method would pick up the Intent ? What is the recommended way of doing this within the Android Framework ? Thanks for any help Graeme --~--~-~--~~~---~--~~ You received this message

[android-developers] Exception bitmap size exceeds VM budget

2009-02-12 Thread Graeme
() ); } In the DDMS Log I get an Error Message Exception bitmap size exceeds VM budget. Is there a way to avoisd this ? Can I simultaneously compress and extract the image data (say to a JPEG format) ? thanks Graeme --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Unable to start service Intent

2009-02-10 Thread Graeme
trying use the AlarmService to start a local service com.bt.btinnovate.android.photoobserver/ com.bt.btinnovate.android.photoobserver.PhotoUploadService every 30 sconds. Can anyone suggest how to solve this ? Thanks Graeme --~--~-~--~~~---~--~~ You received

[android-developers] Re: What kind of device should Linux udev set up for G1 linked via USB

2009-01-27 Thread Graeme
Hi Faber Well trying again after this post, i did have some sucess On fedora 10. I am using /etc/udev/rules.d/50-android.rules file : SUBSYSTEM==usb,ATTR{idVendor}==0bb4,ATTR{idProduct} ==0c01,MODE=0666, SYMLINK+=android_adb,OWNER=graeme,GROUP=graeme A Guy on IRC #android-dev said I should run

[android-developers] Compiling G1 firmware from source and then re-flashing G1

2009-01-27 Thread Graeme
firmware compilation ? Thanks for any pointers. Graeme --~--~-~--~~~---~--~~ 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

[android-developers] Re: Compiling G1 firmware from source and then re-flashing G1

2009-01-27 Thread Graeme
Hi Jean-Baptiste Thanks for your reply. I assume the G1 phone is tethered via USB to Linux dev PC whilst being rebooted ? Is there a longer (more detailed) description of this procedure posted anywhere ? Thanks Graeme On Jan 27, 12:50 pm, Jean-Baptiste Queru j...@google.com wrote

[android-developers] Revocation of Signed Applications

2008-09-25 Thread Graeme
Hi I was wondering if the Android Application installer supports the revocation of certicates of already installed applications ? Thanks Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Looping Through Images and getting Image Data Bytes

2008-09-05 Thread Graeme
Hi I have 21 photo JPEG images on a (simulated) SD Card. I want to read out the binary image bytes from each image in turn via the Image ContentProvider and process the data (upload to a server). I have written the method processImages() for my Activity - public void processImages() {

[android-developers] Re: Looping Through Images and getting Image Data Bytes

2008-09-05 Thread Graeme
END- 09-05 12:28:41.593: DEBUG/TestHttp(388): Ready to logout 09-05 12:28:41.593: DEBUG/TestHttp(388): onCreate()---exit Am I doing something wrong here ? Or did I just encounter a Bitmap bug ? Thanks Graeme On Sep 5, 1:39 pm, Graeme [EMAIL PROTECTED] wrote: Hi I have 21 photo JPEG

[android-developers] Re: How to transfer Image bytes from MediaStore.Image ContentProvider to byte [] array

2008-09-04 Thread Graeme
Hi Alexa thanks for your pointers. rgds Graeme On Sep 3, 3:36 pm, alexa [EMAIL PROTECTED] wrote: Bitmap bitmap = Media.getBitmap(getContentResolver(), imageUri); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); bitmap.compress(Bitmap.CompressFormat.JPEG, 90, bytes

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-09-01 Thread Graeme
Hi Guillaume, Bertl Thanks for clarifying this, the comment in the Android docs about 'using relative paths' seems to be a bit misleading, I will use absolute paths as you both recommend. rgds Graeme On Sep 1, 9:00 am, Guillaume Perrot [EMAIL PROTECTED] wrote: Hi, Graeme In run

[android-developers] Extracting Cookies from Http Responses etc.

2008-08-27 Thread Graeme
Am I able to examine the contensts of the CookieStore ? (If so, how ?) Thanks for any pointers Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Socket exception-unknown error from HttpClient execute() method

2008-08-22 Thread Graeme
threads where http-proxy usage has been problematic. Thanks for your tip. Best Regards Graeme On Aug 22, 7:30 am, sacoskun [EMAIL PROTECTED] wrote: Did you add uses-permission android:name=android.permission.INTERNET / tag to your AndroidManifest.xml? The new SDK requires that permission for network

[android-developers] Socket exception-unknown error from HttpClient execute() method

2008-08-21 Thread Graeme
= null; private final Uri galleryServerUri= Uri.parse(http://my-gallery- server/gallery2/main.php); private final String uname = graeme; private final String pwd = 123456; /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle