. 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
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
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
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
) { 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
23 matches
Mail list logo