[android-developers] Re: How to enable network connectivity to upload data.
Thanks for your reply.
Can u tell me more details about this.
The device WiFi will atuo turn off after a couple minutes.
All I need is turn on WiFi and reestablished network connectivity to
upload data to remote server.
On Sep 27, 11:37 pm, Kristopher Micinski <krismicin...@gmail.com>
wrote:
> The general way to fix this problem is to assume that they have
> network connectivity sitting in the background. Tons of apps do this,
> by use of a data connection that many devices have.
>
> So this is a pretty typical situation, almost any major app out there
> deals with it in some form or another (Facebook, Twitter, Gmail, and
> so on...)
>
> There's no API, but you don't really need one.
>
> Kris
>
>
>
>
>
>
>
> On Tue, Sep 27, 2011 at 9:57 PM, bobo123 <huangbo...@gmail.com> wrote:
> > Hi,
>
> > I am writing an alarm type android application which upload some
> > data to server at a schedule time.
>
> > Usually the device screen is off and WIFI or other type network is
> > in disconnected.
>
> > I wish when the schedule time arrives, I can enable network
> > connectivity so that I can upload data to server.
>
> > Is There any API I can use?
>
> > Currently when the schedule time arrives, it will trigger upload
> > routine, however, the network state is disconnected, so that the
> > upload routine upload data to server.
>
> > Best Regards,
> > Bo
>
> > --
> > 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+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home