:31 am, Kostya Vasilyev wrote:
> > Paul,
> >
> > You don't need a Service or a Handler to handle events from Alarm
> > Manager - just a Broadcast Receiver. It's even better, in that Android
> > guarantees to hold a wake lock for the duration of your rec
:) this programing lark is fun isn't it, I will try the alarm thing next :).
On 28 Nov 2010 17:32, "Kostya Vasilyev" wrote:
--
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@googlegroup
d to make sure you wake up even if the CPU is asleep, use the
> AlarmManager.
>
> On Sun, Nov 21, 2010 at 8:21 AM, Paul Townsend wrote:
>
>> Just tried that bvut dose the same thing, although I have used
>> countdownTimer in a custom TextView that I wrote so I could have a
>
>}
>
>
>.
> counter = new MyCount(5000, 1000);
>counter.start();
>setContentView(tv);
>...
>
> On Nov 20, 3:58 pm, Paul Townsend wrote:
> > I made a simple countdown timer and it works as expected when plugged
> > in via us
Ok thanks I will look into using that, I don't want to drain the battery now
:) thanks for your help.
On 20 November 2010 21:11, Mark Murphy wrote:
> On Sat, Nov 20, 2010 at 4:09 PM, Paul Townsend wrote:
> > I started by using timer() but that done the same thing, basica
PM, Paul Townsend wrote:
> > I made a simple countdown timer and it works as expected when plugged
> > in via usb for debugging but when I take it off debugging and the
> > screen goes off either time out or power button the handler fails to
> > fire at the end time. I have c
I made a simple countdown timer and it works as expected when plugged
in via usb for debugging but when I take it off debugging and the
screen goes off either time out or power button the handler fails to
fire at the end time. I have created a custom timer class that gets
created from the main acti
I got a book off amazon called killer game programming in java that shows
how to do that.
On 3 August 2010 14:27, Connick wrote:
> Is there a way to measure frames per second? Would be helpful in evaluating
> perf tweaks.
>
> Thx!
> Stace
>
> --
> You received this message because you are subscr
Hi I found this maybe this will help
http://osdir.com/ml/Android-Developers/2010-03/msg01903.html
On 16 Apr 2010 22:02, "~ TreKing" wrote:
On Fri, Apr 16, 2010 at 3:53 PM, Prajakta Shitole
wrote:
>
> no i dint because the documentation says that for any activity other than
main activity u nee
Bump.
On Tuesday, November 17, 2009, Paul Townsend wrote:
> Hi I got a a MEDIA_BUTTON receiver but when I press it, it appears to
> broadcast twice when I press the button once. Now because the emulator
> doesn't have the headset button and I have to use USB debugging to use
>
Hi I got a a MEDIA_BUTTON receiver but when I press it, it appears to
broadcast twice when I press the button once. Now because the emulator
doesn't have the headset button and I have to use USB debugging to use
it on my phone I cant use the debugger and it is making it a pain to
find out what's ha
Cheers thx m8 got it working :)
2009/11/15 Paul Townsend
> Ahh thats not the way the samples do it, that kinda looks more right too, I
> will try that.
>
> 2009/11/15 Mark Murphy
>
> Paul Townsend wrote:
>> > Hi I am having trouble with broadcast receivers, I want t
Ahh thats not the way the samples do it, that kinda looks more right too, I
will try that.
2009/11/15 Mark Murphy
> Paul Townsend wrote:
> > Hi I am having trouble with broadcast receivers, I want to use the
> > media_button broadcast so I can call a method on my service, I
Edit: Just thought I could use an Intent to the service and it will go
through the onstart() etc... so I can do what I need but what
if I needed to do the same in the activity as that dosen't have the same
thing.
2009/11/15 Paul Townsend
> Hi I am having trouble with broadcast receivers
Hi I am having trouble with broadcast receivers, I want to use the
media_button broadcast so I can call a method on my service, I have
tried putting the receiver inside the service class so I can call the
method but that just says that the receiver is enclosed, but not
static. If I create a new rec
Ok thanks for your help, I would only need the code 39 one its for a Parkrun
barcode and they use just a standard barcode but in the interest of space
prob the web service is the way to go on android.
2009/11/14 Mark Murphy
> Paul Townsend wrote:
> > Humm hoping there were barcode
Humm hoping there were barcode fonts or something, I wanted to create a
barcode from a number that you store into the app. I could do the web
service thing I just didn't want it to be an image although the generated
one will be of high quality so will scan fine.
2009/11/14 Mark Murphy
&
Hi I just wondering if I wanted to display a barcode on my phone so
that a scanner could scan it, ie like the reward cards apps, how would
I go about creating the barcode in a view.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Hi I have looked at the Api's demo for local service but it doesn't
show how to invoke methods on the service or activity. I got a service
that will start and stop a timer but it also laps so I want to send
the lap times back to the activity so it can be displayed in a custom
view graph. This is ju
19 matches
Mail list logo