[android-developers] Re: ListView content thread sync cases

2013-01-27 Thread Bill Michaelson
. This is accomplished by setting/resetting pointers to the Activies in onCreate/onDestroy. The communications thread simply needs to queue work to it. Make sense? On Friday, January 25, 2013 9:18:23 AM UTC-5, Bill Michaelson wrote: I have a Service that runs a distinct Thread to update a list

[android-developers] ListView content thread sync cases

2013-01-25 Thread Bill Michaelson
I have a Service that runs a distinct Thread to update a list based on external events. This list is simultaneously used to back ListViews in associated Activities. The Activities may also update the list based on UI events. I need to provide appropriate synchronization. I have coded a

Re: [android-developers] Re: why couldn't create webservice using android?

2013-01-10 Thread Bill Michaelson
Google: android thermostatat. Et cetera -- 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] Boot sequence and application coordination

2012-10-19 Thread Bill Michaelson
I recently modified an application such that a component Service is now started upon device boot via RECEIVE_BOOT_COMPLETED. But when the service started, I encountered a problem with sqlite opening - a failure that was critical to the application. Upon examining adb logcat output, I noticed

[android-developers] Re: Boot sequence and application coordination

2012-10-19 Thread Bill Michaelson
) { e.printStackTrace(); } } } Alternately, I can wait for a broadcast of Intent.ACTION_MEDIA_MOUNTED. Have I got the right? And is there anything else I should be wary of in this start-at-boot scenario? On Friday, October 19, 2012 1:13:43 PM UTC-4, Bill Michaelson wrote: I recently modified an application

[android-developers] Alarm BroadcastReceiver fog

2012-05-19 Thread Bill Michaelson
I've placed the stub of some new logic into a Service that will rely on AlarmManager to periodically goose the service. I've been using adb shell dumpsys alarm and logcat to trace it, and it seems that I have been able to set the alarm and I see evidence that the alarm is tripped. But I don't

[android-developers] Re: Alarm BroadcastReceiver fog

2012-05-19 Thread Bill Michaelson
to leaving a Service running during phone sleep and simply goosing it with an alarm as I'm proposing? Thanks again. On May 19, 10:35 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, May 19, 2012 at 10:14 AM, Bill Michaelson wmmichael...@gmail.com wrote: In the startup logic of my service

[android-developers] Re: eCarrel: tech eBook reader and bookstore for Android 3.0 tablets

2011-05-11 Thread Bill Michaelson
I was about to try it, but it wants read/write access to personal contacts. On May 10, 9:35 pm, jacek jacek.ambroz...@gmail.com wrote: Just shipped today, a new eReading solution mostly for developers, with bookstore filled by all the latest and greatest O'Reilly titles. You will find lots of

[android-developers] Re: SPP bluetooth

2010-04-02 Thread Bill Michaelson
There is an app called KeyPro which does this, but last I knew, it did not support the ctl key, which is problematic for some apps (like Connectbot). You might contact the developer about latest status. On Apr 2, 1:26 am, brilliant winger stw...@gmail.com wrote: I would like to use SPP

[android-developers] Re: External keyboard

2010-03-17 Thread Bill Michaelson
On Mar 11, 8:53 pm, Mark Murphy mmur...@commonsware.com wrote: Assuming you pull off the improbable and find a way to, at the SDK level, convert your Bluetooth keyboard into something that responds like an input method editor, That's already been done, not by me, but by a developer that

[android-developers] Re: External keyboard

2010-03-11 Thread Bill Michaelson
Nobody knows anything at all about this? Or maybe it's not an interesting problem? On Mar 7, 3:51 pm, Bill Michaelson wmmichael...@gmail.com wrote: I'd like to use an external keyboard.  I have a Freedom Pro Bluetooth keyboard that can send keystroke info to Android applications.  I am

[android-developers] External keyboard

2010-03-07 Thread Bill Michaelson
I'd like to use an external keyboard. I have a Freedom Pro Bluetooth keyboard that can send keystroke info to Android applications. I am supposing that I can use InputMethodManager and associated framework to accomplish this, but I'm unsure whether it will be effective and useful. In

[android-developers] Dialogs with EditText, hanging off ListView?

2010-02-15 Thread Bill Michaelson
I'm looking for sample code that provides the type of interface provided by the Android general settings/configuration tree. I.e., the type of thing that presents trees of scrolling lists of options with leaf nodes that present pop-up dialogs the contain single-field text entry, as well as other

[android-developers] Spannable confusion

2010-01-28 Thread Bill Michaelson
I might be misunderstanding some restrictions or subtlety about the use of Spannables in a TextView. It seems that whenever I apply an identical combination of display enhancements to two separate and non-overlapping ranges of text, the first set (earlier in the string) does not take effect in

[android-developers] Re: Spannable confusion

2010-01-28 Thread Bill Michaelson
On Jan 28, 11:24 am, Bill Michaelson wmmichael...@gmail.com wrote: I might be misunderstanding some restrictions or subtlety about the use of Spannables in a TextView. It seems that whenever I apply an identical combination of display enhancements to two separate and non-overlapping ranges

[android-developers] Re: Spannable confusion

2010-01-28 Thread Bill Michaelson
To answer my own question, the problem is related to the fact that I am reusing instances of enhancements, like new ForegroundColorSpan (Color.BLUE). I am emerging from my fog. More to come... On Jan 28, 11:24 am, Bill Michaelson wmmichael...@gmail.com wrote: I might be misunderstanding some

[android-developers] Re: Spannable confusion

2010-01-28 Thread Bill Michaelson
Yeah. That was it. I need to create a separate instance of a CharacterStyle for each application to the Text. -- 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] Service operation

2010-01-12 Thread Bill Michaelson
I do a ((Context)thingy).bindService(...) from within the onCreate callback of an Activity. I've observed that the onServiceConnected() callback of my associated ServiceConnection does not execute immediately, but rather, is delayed until after the Activity resumes, or more precisely, after

[android-developers] Re: IRC office hours Thursday 5:00-6:00 pm PST

2009-12-17 Thread Bill Michaelson
Is there a Google calendar I can subscribe to for these events? On Dec 16, 6:17 pm, Megha Joshi mjo...@google.com wrote: Hi everyone, This is a quick reminder that we will be hosting IRC office hours tomorrow 5:00-6:00 pm PST in the #android-dev IRC channel. Please post/vote your questions

[android-developers] Re: dex failure

2009-03-31 Thread Bill Michaelson
Oh, hey, no problem. Sometimes it's not a matter of getting the right fix from someone, but rather, a sympathetic and intelligent correspondent. I work alone and that's, uh, lonely. And I can't blame you for wanting to double-check my assumptions. I would do the same. I'll try to get you

[android-developers] Re: dex failure

2009-03-31 Thread Bill Michaelson
Cartouche - for my system, it was simply a matter of changing a symbolic link so that the Sun runtime environment is use when the java command is invoked from a shell. On the Debian system I'm using, that link is in /etc/alternatives. And in my case I did this: cd /etc/alternatives ln -s -f

[android-developers] Re: dex failure

2009-03-31 Thread Bill Michaelson
Oh, and here is the result with the Sun JRE for comparison... b...@gizmo:~/android/Apprise$ dx --dump bin/classes/net/from/apprise/ Apprise.class reading bin/classes/net/from/apprise/Apprise.class... begin classfile magic: cafebabe minor_version: major_version: 0031 constant_pool_count:

[android-developers] Re: dex failure

2009-03-31 Thread Bill Michaelson
OK, Dan, here are fragments of the output resulting from 'dx --dump bin/classes/net/from/apprise/Apprise.class' when gij is used. Results are similar for any class file. Unfortunately, it's not an outright crash with a stack dump and I suppose this only gives you an approximate idea of where it