[android-developers] GsmCellLocation.getCid() returns very large numbers.

2009-03-27 Thread Richard Schilling
Has anyone seen this? And, does anyone know what accounts for such a dramatic change in numbers? Do the larger numbers contain other bits about the tower that I need to extract using bitwise flags? Thanks Richard Schilling Root Wireless

[android-developers] opening a file within a service

2009-04-05 Thread Richard Schilling
I'm getting some weird behavior when I try to open a file within a service: code public class MyService extends Service{ public void onCreate(){ super.onCreate(); File myFile = getFileStreamPath(myfile.dat); if (myFile.exists()){ Log.i(MyService, myfile.dat exists); }

[android-developers] installing .apk file insanity

2009-04-06 Thread Richard Schilling
Here's another one that SHOULD be a no-brainer, but isn't. Eight hours of searching on the forums, Google, etc... brings me in circles back around to very incomplete (and often misleading) information: Dead end/Question #1: Downloading via link is not working. Downloading 3rd party apps is

[android-developers] Is there a paid technical support program for developers?

2009-04-06 Thread Richard Schilling
Assume for the moment that money is no object. I develop Android appliations for a living. As always, we have a very short time to get a finished product out the door and we're relying on the Android to be one of our flagship phones. I've got no time for phone exploration or hobbying around.

[android-developers] Re: installing applications (from installers), where's the installer?

2009-04-06 Thread Richard Schilling
Solved the name of the installer. It's appsinstaller. No spaces. Geez. Richard On Apr 6, 2:16 am, Richard Schilling richard.rootwirel...@gmail.com wrote: O.K., Couple of really big issues here that SHOULD be no brainers!  But, they aren't. Anyone know what the EXACT name

[android-developers] Re: opening a file within a service

2009-04-06 Thread Richard Schilling
very little -- just builds a File with the proper path. You might want to attach the debugger and see the stack crawl when you are stuck. On Sun, Apr 5, 2009 at 2:37 PM, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm getting some weird behavior when I try to open a file

[android-developers] installing applications (from installers), where's the installer?

2009-04-06 Thread Richard Schilling
it? :-/ The Android Market website, BTW doesn't allow you to search?!? Is that right?!? You can only search the Android Market from the phone? I can understand not allowing us to DOWNLOAD from the market to our PC, but not search so I can find the appliation name I want? Richard Schilling Root Wireless

[android-developers] Re: Is there a paid technical support program for developers?

2009-04-06 Thread Richard Schilling
experience developing for android, and may help you with your particular problem (and gladly accept payment). See e.g.www.openintents.biz Peliwww.openintents.orgwww.openintents.biz On Apr 6, 11:40 am, Richard Schilling richard.rootwirel...@gmail.com wrote: Assume for the moment that money

[android-developers] file written to /sdcard is missing AND USB Mass Storage option missing AND no browsable drive valid...

2009-04-08 Thread Richard Schilling
O.K., Three problems in one, perhaps all related? My application writes data to a file in the /sdcard directlry. There are no errors during the write. But, the file never shows up on the card, in the file browser (on the device - I use Glance). Where did the file go? When trying to browse

[android-developers] Re: file written to /sdcard is missing AND USB Mass Storage option missing AND no browsable drive valid...

2009-04-08 Thread Richard Schilling
){ ex.printStackTrace(); } } } On Apr 8, 6:43 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: O.K., Three problems in one, perhaps all related? My application writes data to a file in the /sdcard directlry.  There are no errors during the write

[android-developers] Re: file written to /sdcard is missing AND USB Mass Storage option missing AND no browsable drive valid...

2009-04-08 Thread Richard Schilling
Oh, and one other very weird thing: When I write the data to a FileOutputStream that was created using Context.openFileOutput(), the file is created just fine (in the application's files directory). H.. I need to save to /sdcard Richard On Apr 8, 7:09 pm, Richard Schilling

[android-developers] Re: file written to /sdcard is missing AND USB Mass Storage option missing AND no browsable drive valid...

2009-04-08 Thread Richard Schilling
Problem solved. There was nothing wrong - it was a permissions problem. Richard On Apr 8, 6:43 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: O.K., Three problems in one, perhaps all related? My application writes data to a file in the /sdcard directlry.  There are no errors

[android-developers] Re: CONTROL_LOCATION_UPDATES permission failure

2009-04-09 Thread Richard Schilling
| PhoneStateListener.LISTEN_SIGNAL_STRENGTH | PhoneStateListener.LISTEN_CELL_LOCATION); } } As the phone location changes you get the information delivered, wrapped in a pretty package with a bow, to the Phone signal listener. Richard Schilling Root Wireless On Apr 9, 11:15 am

[android-developers] new NTP client tools on the Android Market

2009-04-09 Thread Richard Schilling
For those of you dealing with time data on the Android - or just want to see an NTP client work, check out the application I just published. It's free of course, and it's called Navy Clock It displays local time of the phone, the UTC time of the phone, and the time read from the US Naval

[android-developers] permissions related to /dev/alarm and setting the system

2009-04-10 Thread Richard Schilling
set me straight or confirm that what I'm thinking is true that would be great. Thanks. Cheers, Richard Schilling --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Any Googlers on this board who work in Kirkland, WA?

2009-09-10 Thread Richard Schilling
Just a shout out to see how many people on this board work in the Google Kirkland office? I'm wanting to synch up for some developer chat time off-hours... You can catch me on Linked in as well. Thanks. Richard Schilling Mobile Operating Systems Engineer Root Wireless

[android-developers] TimerTasks getting suspended when the phone is plugged in.

2009-09-29 Thread Richard Schilling
on the Android? Thanks. Richard Schilling Mobile Operating Systems Engineer Root Wireless --~--~-~--~~~---~--~~ 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] Wake Locks and the Cellular antenna...

2009-09-30 Thread Richard Schilling
is acquired? I have an application that needs to continuously read the signal strength while the user isn't using the phone. I suspect I need a FULL_WAKE_LOCK to do that. Is that true? Thanks. Richard Schilling Mobile Operating Systems Engineer

[android-developers] Re: Wake Locks and the Cellular antenna...

2009-10-01 Thread Richard Schilling
can keep getting updates from the phone is to use a dim wake lock. I verified this is the case by logging signal strength over a very long drive. Thoughts and Ideas? Richard Schilling Mobile Operating Systems Engineer Root Wireless On Sep 30, 6:27 pm, Dianne Hackborn hack...@android.com wrote

[android-developers] DDMS doesn't show wake locks.

2009-10-01 Thread Richard Schilling
I can't get DDMS to show the wake locks on a device when it's tethered. Does anyone else have this problem? Thanks. Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] where is sleep/screen behavior documented?

2009-10-01 Thread Richard Schilling
? Thanks. Richard Schilling Mobile Operating Systems Engineer Root Wireless, Inc. --~--~-~--~~~---~--~~ 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] Re: Wake Locks and the Cellular antenna...

2009-10-05 Thread Richard Schilling
enough. I wonder if this is a bug or a feature request that can be filed ? Richard Schilling On Oct 1, 5:34 am, G g.gir...@gmail.com wrote: It seems indeed clear that the antenna stays on ... however, is it guaranteed that a phone state listener is notified of telephony state changes when

[android-developers] Re: where is sleep/screen behavior documented?

2009-10-05 Thread Richard Schilling
again. Richard Schilling On Oct 1, 1:05 pm, Dianne Hackborn hack...@android.com wrote: Unless there is a third party app messing with you, there is something broken with your software.  The typical behavior is: - Screen dims after the screen-off timeout sets in preferences

[android-developers] Re: where is sleep/screen behavior documented?

2009-10-05 Thread Richard Schilling
else has similar thoughts. Cheers, Richard Schilling On Oct 5, 3:16 pm, Dianne Hackborn hack...@android.com wrote: Hi Richard, sorry I really don't have time to go into detail on this stuff at this point (and don't personally know enough to cover everything anyway).  Ultimately the source code

[android-developers] Location doesn't have a bundle with satellite count any more?

2009-10-06 Thread Richard Schilling
= loc.getExtras(); extraBundle is null. So, I can't call extraBundle.getInt(satellites) anymore to get the satellite count. What happened? Richard Schilling Mobile Operating Systems Engineer Root Wireless --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Location doesn't have a bundle with satellite count any more?

2009-10-06 Thread Richard Schilling
told.? Mayhem? Armegeddon? Richard On Oct 6, 11:01 am, Richard Schilling richard.rootwirel...@gmail.com wrote: Just upgraded my phone firmware to 1.6, and it looks like Location objects don't have satellite counts in them any more: locMan = (LocationManager)con.getSystemService

[android-developers] Re: Location doesn't have a bundle with satellite count any more?

2009-10-06 Thread Richard Schilling
. Version 1.6 breaks this behavior. Apparently, satellite count only comes through the GpsSatellite class. You broke my client Or, am I missing something? Richard Schilling Mobile Operating Systems Engineer Root Wireless On Oct 6, 11:34 am, Richard Schilling richard.rootwirel...@gmail.com

[android-developers] Re: Location doesn't have a bundle with satellite count any more?

2009-10-06 Thread Richard Schilling
platform that relies on this Richard On Oct 6, 1:53 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: Update to this problem. Version 1.1 of the SDK uses just LocationListener. Version 1.5 introduces GpsSatellite class.   Apparently you can get a list of satellites

[android-developers] Re: Application could not be installed on this phone?

2009-10-12 Thread Richard Schilling
I am seeing this now too. Just upgraded the phone to 1.6. DDMS doesn't tell me squat. Anyone? Richard Schilling Mobile Operating System Engineer Root Wireless, Inc. On Aug 14, 8:32 pm, dougx douglas.lin...@gmail.com wrote: I just rebuilt an application to use some new assets, and now I get

[android-developers] Re: Application could not be installed on this phone?

2009-10-12 Thread Richard Schilling
On Oct 12, 10:57 am, nEx.Software email.nex.softw...@gmail.com wrote: Obvious question alert: Did you remove any old version you might have had hadinstalledbefore trying to install the new one? On Oct 12, 10:28 am, Richard Schilling richard.rootwirel...@gmail.com wrote: I am seeing this now too

[android-developers] Re: Application could not be installed on this phone?

2009-10-12 Thread Richard Schilling
Oh, the android should be upgrading the old application properly, so uninstalling should not be necessary. This is an upgrade. Richard On Oct 12, 11:37 am, Richard Schilling richard.rootwirel...@gmail.com wrote: The issue seems to be with the certificate used to sign the application

[android-developers] BOOT_COMPLETED not being received by my application since 1.6

2009-10-14 Thread Richard Schilling
fix for a production application. Thanks! Richard Schilling Mobile Operating Systems Engineer Root Wireless --~--~-~--~~~---~--~~ 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: Android 1.6 SDK is here!

2009-10-14 Thread Richard Schilling
Well, here's some specific feedback on a very serious issue that seems to have come up: http://groups.google.com/group/android-developers/browse_thread/thread/c1f4450138843e5a BOOT_COMPLETED is not being sent to my 1.6 application - worked just fine in 1.5. Help. Richard Schilling Mobile

[android-developers] Re: Application could not be installed on this phone?

2009-10-14 Thread Richard Schilling
my fix isn't the right one, or there's another problem. Hope that helps. Richard On Oct 12, 11:38 am, Richard Schilling richard.rootwirel...@gmail.com wrote: Oh, the android should be upgrading the old application properly, so uninstalling should not be necessary.  This is an upgrade

[android-developers] Re: BOOT_COMPLETED not being received by my application since 1.6

2009-10-16 Thread Richard Schilling
K. I'll take a look at this. Thanks! Richard On Oct 14, 1:43 pm, Mark Murphy mmur...@commonsware.com wrote: Richard Schilling wrote: I upgraded my phone to 1.6 and the BOOT_COMPLETED event isn't being sent to my application anymore. There's nothing in the release notes related

[android-developers] Re: Application could not be installed on this phone?

2009-10-22 Thread Richard Schilling
, Richard Schilling richard.rootwirel...@gmail.com wrote: What I would like to do is submit a patch that provides more verbose information about why an install fails (e.g. certificate is invalid). There is already a fair amount of stuff printed in the log when an install fails (and also

[android-developers] Re: Application could not be installed on this phone?

2009-10-22 Thread Richard Schilling
, 10:34 am, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm not getting much from DDMS.  Perhaps the information I need is in dumpstate output?  If there's some clue here I'm not seeing.  What should I be looking for? The error on the screen is Nomadcould not be installedon

[android-developers] Nexus GPS antenna is always active when Use GPS Satellites is checked...

2010-01-20 Thread Richard Schilling
of the GPS antenna is really screwing with my power consumption. Thanks. Richard Schilling Mobile Operating Systems Engineer Root Wireless, Inc. -- 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] Re: Nexus GPS antenna is always active when Use GPS Satellites is checked...

2010-01-20 Thread Richard Schilling
I may be answering my own question here. The power control widget had the GPS antenna selected to on. When I turn off the GPS antenna in the power control widget, the antenna goes off. Richard On Jan 20, 1:14 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: My company just got

[android-developers] Getting the Projection Matrix in OpenGL

2009-07-30 Thread Richard Schilling
I'd like to get the projection matrix of my view using OpenGL on Android. What's the API call? I cannot find it. Thanks. Richard Schilling --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] GsmCellLocaion.getCid frequently returns -1

2009-08-03 Thread Richard Schilling
it? From what I can tell, GsmCellLocation.getCid() is the only API call to get the tower id that the phone is connected to. Thanks in advance. Richard Schilling Root Wireless --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Richard Schilling
Using Eclipse, Helios release. What's going on here? Thanks. Richard Schilling -- 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] .aidl and R.java STILL not being generated.

2010-08-12 Thread Richard Schilling
Alright, I downgraded to Eclipse 3.5, and the following still doesn't happen when I build a project in Eclipse: 1. .aidl files don't get processed (at all). 2. R.java isn't generated. Used to work. What the heck? Richard Schilling -- You received this message because you are subscribed

[android-developers] Re: .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Richard Schilling
Murphy mmur...@commonsware.com wrote: On Thu, Aug 12, 2010 at 6:49 PM, Richard Schilling richard.rootwirel...@gmail.com wrote: I've recently upgraded the Android SDK to the latest version, and I'm trying to re-build the ApiDemos project.  I've imported it properly. The problem is 1

[android-developers] Re: .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Richard Schilling
Absolutely. Richard On Aug 12, 4:25 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Aug 12, 2010 at 7:21 PM, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm building the stock ApiDemos code, which used to build just fine But, here's the top three errors

[android-developers] Re: .aidl and resource files not processed by Eclipse.

2010-08-12 Thread Richard Schilling
, 4:25 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Aug 12, 2010 at 7:21 PM, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm building the stock ApiDemos code, which used to build just fine But, here's the top three errors. [2010-08-12 16:19:44 - ApiDemos

[android-developers] USB Issues: 2nd Droid not recognized by ADB

2010-08-20 Thread Richard Schilling
I have two Droids. The first is recognized just fine by ADB and Eclipse. In hardware manager, it's identified as 'Android Phone/Android Composite ADB Interface'. The second is not recognized by ADB at all. In hardware manager, it's identified as 'Android Phone/Android Composite ADB Interface'

[android-developers] Re: USB Issues: 2nd Droid not recognized by ADB

2010-08-30 Thread Richard Schilling
of this post.  Switched usb driver in device manager to USB Composite Device and it worked for me. Instructions:http://groups.google.com/group/android-developers/browse_thread/threa... On Aug 20, 11:46 am, Richard Schilling richard.rootwirel...@gmail.com wrote: I have two Droids. The first

[android-developers] My response to Oracle's complaint ...

2010-09-17 Thread Richard Schilling
http://avaj-mavaj.blogspot.com/2010/09/accused.html Richard Schilling -- 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] Re: Chilling news: Oracle sues Google over Android

2010-09-17 Thread Richard Schilling
Oracle seems to be doing more than just suing Google. It appears to me that Oracle has postured itself to call any *user* of Android to be an infringer of patent and copyright: http://avaj-mavaj.blogspot.com/2010/09/accused.html Richard On Aug 13, 1:38 pm, François Masurel fm2...@mably.com

[android-developers] build script can't find aapt even though it's there.

2010-09-17 Thread Richard Schilling
I have all my paths and environment setup, but build.xml generated by the Android SDK still can't find aapt even though it exists. Anyone else seen this? Here's the console output: $ ant compile Buildfile: build.xml [setup] Android SDK Tools Revision 7 [setup] Project Target: Android

[android-developers] Re: build script can't find aapt even though it's there.

2010-09-17 Thread Richard Schilling
: # Assuming you're on Ubuntu $ apt-get install ia32-libs On Sep 17, 2:53 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I have all my paths and environment setup, but build.xml generated by the Android SDK still can't find aapt even though it exists.  Anyone else seen this? Here's

[android-developers] list of array types that can be created in a resource file...

2009-04-29 Thread Richard Schilling
I see in the Android documentation that I can create various resources (http://developer.android.com/guide/topics/resources/available- resources.html), but the string-array resource isn't covered. Sure, it's in examples But, what I'm looking for is a list of XML tags that tell me what

[android-developers] Re: R cannot be resolved after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-04-30 Thread Richard Schilling
) - OK (BUtton) Now R will be properly resolved. Richard Schilling Root Wireless, Inc. On Apr 28, 10:31 am, Raphael r...@android.com wrote: The first time you convert an old project to the 0.9 ADT with 1.5 SDK, you should try to use Project Clean if you see any error on missing or duplicate

[android-developers] Re: Updated to 1.5 and R.java is not regeneratated

2009-04-30 Thread Richard Schilling
I also get this in the message window: [2009-04-30 14:14:15 - MyApp] /MyApp/gen already exists but is not a source folder. Convert to a source folder or rename it. Richard On Apr 30, 2:29 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I have a number of projects that were

[android-developers] Android SDK Content Loader gets stuck....

2009-05-05 Thread Richard Schilling
it is restarted. Thanks. Richard Schilling Root Wireless www.rootwireless.com --~--~-~--~~~---~--~~ 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] no elements available in Eclipse when editing layout

2009-05-22 Thread Richard Schilling
? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=wrap_content android:layout_height=wrap_content /LinearLayout Any clue as to what's going on? Thanks. Richard Schilling Mobile Operating Systems Engineer Root Wireless, Inc

[android-developers] Re: no elements available in Eclipse when editing layout

2009-05-22 Thread Richard Schilling
I'm finding threads in this forum with somewhat related problems. Here's a link: http://groups.google.com/group/android-developers/browse_thread/thread/bcc1f9a0833aa2c3/69d6425924e3bbb3?lnk=gstq=eclipse#69d6425924e3bbb3 On May 22, 11:56 am, Richard Schilling richard.rootwirel...@gmail.com

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-05-22 Thread Richard Schilling
I'm having similar issues. I'm going to try and un-install then re- install the ADT plugin and see if it helps. There's definitely something wrong with the wizard:

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-05-22 Thread Richard Schilling
Very strange: I un-installed the Android tools and restarted eclipse. The Android specific menus and tools are still all there, but the tools are not listed in the Software Updates screen. Richard On May 22, 2:29 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm having similar

[android-developers] Re: no elements available in Eclipse when editing layout

2009-05-22 Thread Richard Schilling
0.9.1 from http://developer.android.com/sdk/adt_download.html 4. Changed my workspace to my normal working workspace. 5. Everything works now. Richard On May 22, 2:28 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm finding threads in this forum with somewhat related problems

[android-developers] mac layout editor issues ...

2010-12-14 Thread Richard Schilling
To answer this poster's question: NO, you're not the only one fighting with the layout editor on MAC. http://groups.google.com/group/android-developers/browse_thread/thread/b418d921b281635b/c9d1b57fb0345862?lnk=gstq=mac+layout+editor#c9d1b57fb0345862 For instance, I'm trying to adjust the

[android-developers] Re: mac layout editor issues ...

2010-12-14 Thread Richard Schilling
On Dec 14, 3:37 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: To answer this poster's question: NO, you're not the only one fighting with the layout editor on MAC. http://groups.google.com/group/android-developers/browse_thread/threa... For instance, I'm trying to adjust

[android-developers] mac layout issues (part 2).

2010-12-14 Thread Richard Schilling
Here's a few more mac layout editor issues: 1. layout width and height aren't accepted. They immediately switch to blank values when I enter them in the properties box. 2. layout is not accurate. When I enter a width and height in the XML editor, the layout doesn't appear correctly. 3.

[android-developers] Re: mac layout issues (part 2).

2010-12-14 Thread Richard Schilling
Update. Turns out these three items weren't issues. I accidentally had the Pins this property to the current view button selected. My bad. Sigh. Richard On Dec 14, 4:06 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: Here's a few more mac layout editor issues: 1. layout width

[android-developers] onItemSelectedListener causes gallery to jump, stick and pop...

2011-01-12 Thread Richard Schilling
I have a gallery on my screen. Works great and scrolls smoothly ... until I set the OnItemSelectedListener. When I do, Gallery gets really jerkey. It seems to stick. I think I know why, but I was wondering if others have found a better solution they would be willing to share. Here's my

[android-developers] Re: How to get screen density in pixels-per-inch or equivalent

2011-01-12 Thread Richard Schilling
Did you try fetching the scale that will allow you to convert from DPI to actual screen pixels? I found this very reliable: final scale = getContext().getResources().getDisplayMetrics().density; Then multiply scale by one inch of pixels in DPI resolution (depending on the screen you're on)

[android-developers] Re: How to get screen density in pixels-per-inch or equivalent

2011-02-02 Thread Richard Schilling
even though its screen's really density is a fair amount lower than 240. On Wed, Jan 12, 2011 at 11:31 AM, Phil Endecott spam_from_goo...@chezphil.org wrote: Hi Richard, On Jan 12, 6:54 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: Did you try fetching the scale

[android-developers] Better Looper documentation, please ....

2009-06-23 Thread Richard Schilling
LocationManager.requestLocationUpdates with Looper, and why does this call require a Looper object? Please don't just reference the API documentation. I've been through that and it creates more questions than it answers. Thanks. Richard Schilling Root Wireless, Inc

[android-developers] Showing Toasts in a service from worker threads with service reference.

2009-06-24 Thread Richard Schilling
) s.toast(You're toasted.); // causes this exception to occur: Can't create handler inside thread that has not called Looper.prepare() } } Richard Schilling Root Wireless --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Showing Toasts in a service from worker threads with service reference.

2009-06-24 Thread Richard Schilling
Sounds good. Thanks for the confirmation. I'd like to write some more documentation for the Looper class. Where do I submit the patch? Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Better Looper documentation, please ....

2009-06-24 Thread Richard Schilling
to locListen. Right? Thanks for all your help. Richard Schilling Root Wireless --~--~-~--~~~---~--~~ 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] Re: Better Looper documentation, please ....

2009-06-24 Thread Richard Schilling
Perhaps this will help, too get my questions answered: Of course, I see in http://developer.android.com/reference/android/os/Handler.html a description of how the handler is used from the application's main thread: When a process is created for your application, its main thread is dedicated to

[android-developers] PendingIntent.getService not working ...

2009-07-01 Thread Richard Schilling
I'm having a hard time finding a good working example of PendingIntent.getService. My code isn't working. I have a service, MyService, that I want to start using an alarm. Here's some code I have in my activity's onStart () method: AlarmManager am = (AlarmManager)this.getSystemService

[android-developers] com.android.internal.telephony.PhoneStateIntentReceiver not available

2009-07-06 Thread Richard Schilling
I'm seeing that com.android.internal.telephony.PhoneStateIntentReceiver is not available to applications, and the only way to get the signal strength is by registering a PhoneStateListener with the TelephonyManager. Is that definitely true? Thanks. Richard Schilling Root Wireless

[android-developers] Re: com.android.internal.telephony.PhoneStateIntentReceiver not available

2009-07-09 Thread Richard Schilling
Thanks. Just checking. Re TMO network: Yeah, right. I got ocean-side property available for sale in Denver, too. Richard Schilling Root Wireless --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: PendingIntent.getService not working ...

2009-07-09 Thread Richard Schilling
. Peli www.openintents.org On Jul 1, 12:16 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm having a hard time finding a good working example of PendingIntent.getService. My code isn't working.  I have a service, MyService, that I want to start using an alarm.  Here's

[android-developers] Re: PendingIntent.getService not working ...

2009-07-09 Thread Richard Schilling
to say it, but keeping the state machine your broadcast receiver has to manage seems to be key to good design using broadcast receivers. Richard Schilling Root Wireless On Jul 1, 11:13 am, Veroland marius.ven...@gmail.com wrote: Thanks, but how do you send multiple Pending's to the same service

[android-developers] Re: Better Looper documentation, please ....

2009-07-09 Thread Richard Schilling
Very helpful. Thanks. Richard Schilling Root Wireless On Jun 24, 2:10 pm, Marco Nelissen marc...@android.com wrote: On Wed, Jun 24, 2009 at 1:44 PM, Richard Schilling richard.rootwirel...@gmail.com wrote: (...) How does Looper know what handler class to send messages to?  And, where

[android-developers] Re: 1.5 Alarm Clock

2009-07-09 Thread Richard Schilling
the phone is doing. In 1.5, of course, you also need to define an AVD profile (see emulator documentation). If you don't do that the emulator will not work. Richard Schilling Root Wireless On Jul 9, 3:41 am, UncleMilt mmein...@gmail.com wrote: New to Android 1.5 using one day. Everything seems

[android-developers] Re: Analysing browser Traffic

2009-07-09 Thread Richard Schilling
. Richard Schilling Root Wireless On Jul 9, 6:01 am, arjun r zimbly.math...@gmail.com wrote: Hi All, i wish to analyse the various data passing through the browser. AFAIK i would need a handeler of the browser to query the contents. Is there any way that my application can get this handler

[android-developers] Re: Cell Radio Info

2009-07-09 Thread Richard Schilling
in the phone, but I don't have the code here (google for them). The RIL is buried pretty deeply in the Linux kernel Richard Schilling Root Wireless On Jul 9, 7:46 am, ain kodeni...@gmail.com wrote: Is there a way I can get access to the following information from the cell. I know that it uses

[android-developers] Some G1 phones getting device not found with adb...

2009-07-13 Thread Richard Schilling
. Thanks. Richard Schilling Root Wireless --~--~-~--~~~---~--~~ 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

[android-developers] BATTERY_CHANGED not being sent for some reason.

2009-07-14 Thread Richard Schilling
defined in the manifest. When the application first starts up, I get one BATTERY_CHANGED intent that the phone gives me. And, then after that, the phone doesn't broadcast any more BATTERY_CHANGED intents as the phone is plugged in and unplugged. This is really weird. Richard Schilling Root

[android-developers] Re: BATTERY_CHANGED not being sent for some reason.

2009-07-14 Thread Richard Schilling
Oh, and I do have permission android.permission.BATTERY_STATS included in the manifest as well. So. what's wrong? Any ideas? Thanks in advance, Richard Schilling Root Wireless On Jul 14, 1:54 am, Richard Schilling richard.rootwirel...@gmail.com wrote: For some reason

[android-developers] Re: BATTERY_CHANGED not being sent for some reason.

2009-07-14 Thread Richard Schilling
That's a good point. I will try registering the broadcast receiver programmatically as well to see if there's a difference in behavior. Richard Schilling Root Wireless On Jul 14, 9:08 am, Dianne Hackborn hack...@android.com wrote: Fwiw, you don't need that permission to get the battery state

[android-developers] Re: Cell Radio Info

2009-07-14 Thread Richard Schilling
I found good field test mode instructions at http://phoneftd.blogspot.com/2009/03/google-g1-phone-field-test.html Enter the Field Mode by typing (exactly) this into the Dailer app: *#*#7262626#*#* When the dialer sees the string it will start the field test application. I'm sure if you look at

[android-developers] Re: Some G1 phones getting device not found with adb...

2009-07-14 Thread Richard Schilling
rather quickly damage the port. On Jul 13, 6:56 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I'm doing a lot of G1 development these days, and I'm seeing a problem others have talked about but there seems to be no consistent answer. I have multiple G1 phones.  Same model

[android-developers] Re: BATTERY_CHANGED not being sent for some reason.

2009-07-14 Thread Richard Schilling
receiver.); registeredBatteryIntent = true; } } } Richard On Jul 14, 10:31 am, Mark Murphy mmur...@commonsware.com wrote: Richard Schilling wrote: That's a good point.  I will try registering the broadcast receiver programmatically as well to see if there's

[android-developers] Activity lifecycle and static variables ....

2009-07-14 Thread Richard Schilling
eliminates object references for Activities and Services and in particular when static variables get reset to default values? Thanks. Richard Schilling Root Wireless --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: multiple-process in single application.

2009-07-14 Thread Richard Schilling
depending on the extras you loaded the Intent with. Clear as mud? Hope that helps. Richard Schilling Root Wireless On Jul 14, 1:20 pm, Dianne Hackborn hack...@android.com wrote: On Tue, Jul 14, 2009 at 12:59 PM, magicpig zsumagic...@gmail.com wrote: Can you provide the APIs to get

[android-developers] Re: Activity lifecycle and static variables ....

2009-07-14 Thread Richard Schilling
between the first call to onCreate(Bundle) through to a single final call to onDestroy(). Rather, you're referring to a broader lifetime of the process that underlies the Activity correct? This would be the lifetime associated with android.os.Process I assume Richard Schilling Root Wireless

[android-developers] Re: Activity lifecycle and static variables ....

2009-07-14 Thread Richard Schilling
!); } } } Thanks again. On Jul 14, 1:41 pm, Dianne Hackborn hack...@android.com wrote: Yeah, the process lifetime, which is outlined here: http://developer.android.com/guide/topics/fundamentals.html#proclife On Tue, Jul 14, 2009 at 1:38 PM, Richard Schilling

[android-developers] Re: Activity lifecycle and static variables ....

2009-07-14 Thread Richard Schilling
That affirms a lot for me. Thanks! Richard Schilling Root Wireless On Jul 14, 4:35 pm, Dianne Hackborn hack...@android.com wrote: No, it will never be true. The VM doesn't manage processes at all.  The system starts a process and runs a VM inside of it when it needs to run any components

[android-developers] Re: BATTERY_CHANGED not being sent for some reason.

2009-07-15 Thread Richard Schilling
everyone for your help, especially Dianne. In addition to helping me resolve the issue, process lifecycle (as opposed to activity lifecycle) is much less of a mystery to me now. Richard Schilling Root Wireless On Jul 14, 12:30 pm, Dianne Hackborn hack...@android.com wrote: Don't do

[android-developers] Re: Some G1 phones getting device not found with adb...

2009-07-15 Thread Richard Schilling
I did resolve the BATTERY_CHANGED events issue - it was in my application design. Search for BATTERY_CHANGED to see that thread. Haven't worn out my connectors yet! Richard On Jul 14, 12:02 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: Somehow I feel both relieved and scared

[android-developers] Camera preview on an OpenGL surface....

2009-07-15 Thread Richard Schilling
preview. What's the best way to either a) use the OpenGLSurfaceView for the camera preview and then draw on top of the camera preview, or b) create an OpenGLSurfaceView object with a transparent background (which, I don't think is possible?). Thanks. Richard Schilling Root Wireless

[android-developers] Re: Camera preview on an OpenGL surface....

2009-07-15 Thread Richard Schilling
as the main view the GLSurfaceView object using the setContentView method. 2. Then, add the SurfaceView being used to draw the camera. 3. Add other SurfaceViews to the display as necessary. That order is very important, otherwise the views block each other. Richard Schilling Root Wireless On Jul

[android-developers] Re: Camera View = Regular out of memory exceptions

2009-07-16 Thread Richard Schilling
I am having this issue as well at the moment. I think this might be of help: http://groups.google.com/group/android-developers/browse_thread/thread/ebc5f7cf52ab23cb/3921b58105056789?lnk=gstq=camera+%22out+of+memory%22#3921b58105056789 On Jun 16, 8:54 am, mscwd01 mscw...@gmail.com wrote: Just

[android-developers] CameraService error ...

2009-07-16 Thread Richard Schilling
this means? Thanks Richard Schilling Root Wireless Here's the entire dump from LogCat for CameraService: 07-16 17:41:23.789: DEBUG/CameraService(35): Connect E from ICameraClient 0x20d10 07-16 17:41:23.789: DEBUG/CameraService(35): Client E constructor 07-16 17:41:24.339: DEBUG/CameraService(35

  1   2   >