[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 s

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

2012-10-03 Thread Graeme
one seen this behaviour before? 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...@

[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@googlegro

[android-developers] Can I force Android to open a network connection on a specified network interface/network type ?

2009-03-06 Thread Graeme
o bind() a socket 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 sub

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

2009-03-04 Thread Graeme
(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 to this g

[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

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

2009-03-03 Thread Graeme
install new vesrions of my application onto the ADP1. Is this a known problem ? Are there any known work- arounds ? Thanks Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[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 tag but a tag as ac hild of the tag is needed ? Thanks Graeme On Mar 2, 4:15 pm, Marco Nelissen wrote: > On Mon, Mar 2, 2009 at 5:23 AM,Graeme wrote: > > > HI JBQ > > > Thanks for your update & advice. > > >> You

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

2009-03-02 Thread Graeme
oper.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED right ? Thanks Graeme On Feb 27, 4:47 pm, Jean-Baptiste Queru wrote: > You should remove > android:permission="android.permission.RECEIVE_BOOT_COMPLETE" from > your receiver tag: > > -you have a

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

2009-02-27 Thread Graeme
cation 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-Baptiste Queru wrote: > You need to do it in your manifest, since at the point where > boot_comple

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

2009-02-27 Thread Graeme
AndroidManifest.xml file for the application package via a 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 this

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

2009-02-24 Thread Graeme
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 Devel

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

2009-02-19 Thread Graeme
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 becau

[android-developers] Exception bitmap size exceeds VM budget

2009-02-12 Thread Graeme
+ t.getMessage() ); } 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 receive

[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 this

[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 wrote: > This question would

[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 u

[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=

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

2009-01-26 Thread Graeme
ually sees the G1 ? What kind of device does adb expect to talk to over USB ? Thanks Graeme PS I have had similar experiences/frustrations trying this out with Ubuntu 8.10. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[android-developers] ConnectManager supports multiple-homing ?

2008-09-25 Thread Graeme
multi-homing, that is being connected to a cellular data network and a WiFi-based network at he same time ? Thanks Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[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 Devel

[android-developers] Can Applications consist of just Services

2008-09-25 Thread Graeme
as a point-of-entry, this Activity could just essentially launch a Service component. Thanks for any insights Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[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 > >

[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() { Lo

[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.CompressForm

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

2008-09-03 Thread Graeme
eone please give me some pointers. I am rather a Java newbie so am notclear about which of the java.io classes to leverage. Thanks Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gr

[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: >

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

2008-08-29 Thread Graeme
Hi Guillaume Thanks for your response. Can you please give an example of how you set your emulator -sdcard option ? Thanks graeme On Aug 29, 3:18 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > I can't answer you about the current eclispe working directory but I > work with

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

2008-08-29 Thread Graeme
se ? Thanks for any help 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 g

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

2008-08-27 Thread Graeme
rsp2 = dhc.execute( post2 ); etc. BTW 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&qu

[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 android:name="android.permission.INTERNET" /> tag to your > AndroidManifest.xml? > The new SDK requires that

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

2008-08-21 Thread Graeme
rsp = client.execute(target, method); entity = rsp.getEntity(); Log.d(TAG,"-----"); Log.d(TAG, rsp.getStatusLine().toString() );