> I guess if you have a significantly large user base, but I'm assuming that's
> not the case, or is it?

Im planing ahead, trying to learn what it takes to make and app like
that

> Is some lagging or some delay in the delivery of these messages
> completely unacceptable?

yes im playing with the ide since mail or sms is no instant

> What is so urgent about these messages that they *must* be received
> instantaneously?

That is a powerful features for a mobile app

> Perhaps give the user a "poll interval" or an option for manually refreshing
> the data, if it makes sense for your app.

no, that way the phone is "never" ready to receive .

> I would rethink what you're trying to accomplish and try to work within the
> restrictions imposed by mobile devices.

your right ofcorce, im new to android but not to Java so the
transition is
a bit painful

> You can certainly keep your AsyncTask alive between orientation changes -
> but only as long as the user keeps your app in focus as the current
> Activity. Once you get put in the background you're subject to being killed.

AsyncTask out the door, Services welcome in.

> There's really no such thing as "keeping a connection alive". Your process
> can and will be killed at some point, if not by the system then explicitly
> by the user.

In my Desire phone i see both fring and Google mssagin always running
Read some about a service being "Sticky"

I read elsewhere that a service can be started with a Brodcastcmmand
http://stackoverflow.com/questions/4468006/can-i-start-a-service-without-activity-or-receiver

cant wrap my head around the code implementation here.
after reading many questions here and elsewhere about this.
I think the method is:
- an apk file which contains a Service an activity and a
BroadcastReceiver Class.
- action.BOOT_COMPLETED will start only my Service, not the Activity.
  The user can from Main Launcher start Activity for "in app settings"
and I Bind
  to Service and Unbind when done

Yea will try this tomorrow after work.

I look at your TreKing app. Im impressed nice work
That app would really been helpful this morning
when i was waiting for the buss in the snowstorm.
Can I ask how did you tap into CTA bus tracker system
GPS signal for all there Busses location?




-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to