Forcibly using 3G or CDMA network even though wi-fi is available.

by Andrei » Fri, 15 Jan 2010 10:04:54 GMT


Sponsored Links
 One of the reason would be - when switching 3g/WiFi takes place
network
connections are dropped




> >



Forcibly using 3G or CDMA network even though wi-fi is available.

by Dianne Hackborn » Fri, 15 Jan 2010 13:22:14 GMT


 They can be dropped for many other reasons as well, such as losing cell
signal.  You must write an app that robustly deals with such a situation,
this is standard behavior for a phone.






> > >


Sponsored Links


Forcibly using 3G or CDMA network even though wi-fi is available.

by tauntz » Fri, 15 Jan 2010 16:38:38 GMT


 Apps that need to route all client-server communication through the
operator infrastructure. One reason for this is that for example for
client-> server HTTP requests, the operator will add various
parameters to the request (like subscriber ID/name/phone
number/whatever) so our server side app will know information about
the actual subscriber who is making the request. Another reason is
operator billing - if the request from client -> server goes through
the operator servers (eg over 2g/3g), the subscriber can be
automatically billed for the services that he uses (so the cost of
whatever services the user uses, will automatically show up on his/her
phone bill.. more specifically - an app that has a "buy" button and
when pressing it, a request is made through the operator servers to
the app provider servers and the user gets the content from the app
provider and the cost is added to the phone bill by the operator. For
this to work, the request MUST go over 2g/3g )

Currently the only solution for these kind of applications is to
present the user a dialog "Please turn off WiFi if you want to use
this application" and that's not really nice from the users point of
view :(

Tauno




>>



Forcibly using 3G or CDMA network even though wi-fi is available.

by Jens » Fri, 15 Jan 2010 18:17:13 GMT


 For the same reason you added the "feature" that allows the MMS
application to switch to a specific APN even when WiFi is
available..... lots of mobile apps require you to go through a
specific APN - for billing purposes amongst other things.

Dongjoon: You could check if the same crazed hack that allows the MMS
application to work can be used by you?

Br
Jens




> >



Forcibly using 3G or CDMA network even though wi-fi is available.

by Dongjoon Lee » Wed, 03 Feb 2010 13:23:38 GMT


 The application needs to get some information from operator's server.
And operator want us to make use operator's network, not wifi, even
though wifi is available.

It's very difficult to find solution. May I need to search alternative
way.

Anyway, thanks for your advice.

Best regards,
Dongjoon.





> > >



Forcibly using 3G or CDMA network even though wi-fi is available.

by Kevin Duffey » Wed, 03 Feb 2010 13:36:10 GMT


 For development reasons, I have to switch wifi off to make use of 3G to
route my requests to a domain name that then maps to one of my internal
servers (using no-ip.com to forward a dns name to my provider IP.. and
setting up my router to forward http requests to proper server). I can also
do this by using the internal IP of my computer, but then I have to set up
hosts and such to get it out to find the dns entry that then routes it back
to my ip. It's a development issue only.. but thought I'd share that issue.
I manually switch it off myself tho, so not quite the same thing.

2010/2/2 Dongjoon Lee <sky...@gmail.com>




> > > >



Forcibly using 3G or CDMA network even though wi-fi is available.

by Doug » Wed, 03 Feb 2010 15:35:57 GMT


 ere's another one - it bit me just the other day.

- I was at a restaurant that offered a free HotSpot. (although
exactly the same scenario would apply if I was staying at many hotels,
or at an airport, or any number of other locations that offer "free"
WiFi)
- I told my phone to connect to the HotSpot. It attached to the AP
and got an IP address.
- At that point the phone "preferred" to use WiFi - even though all I
was able to see was the login page for the WiFi service.
- Suddenly my app is unable to communicate with servers - I had to
disable WiFi to get it to use the cellular network.

Now, you could argue that all I needed to do was open my browser and
accept the terms of the HotSpot and I'd have access to (at least some)
data services, but:

1) What if my app doesn't connect using a "well known" port? (i.e.
one that the HotSpot will *probably* allow... HTTP/S, IMAP, SMTP,
POP3)
2) What if my application communicates with my carriers servers which
are inside their walled-garden, and for obvious reasons are only
accessible via the cellular network?
3) What if the AP's internet connection is down?

I suggest that Android be extended to allow an application to specify
(and this is only a start) whether it wishes to take advantage of WiFi
should it be available. That would allow an application to choose to
"pass" on a WiFi connection and continue to use cellular data.
(obviously the default would be the status quo)

Its not like you'd be leading in this area - many (most?) of the other
mobile platforms allow an app (either programmatically or via
configuration) to specify which data services it will use - regardless
of the presence of other options.

Doug


On Feb 2, 9:35 pm, Kevin Duffey <andjar...@gmail.com> wrote:
> > > > >



Forcibly using 3G or CDMA network even though wi-fi is available.

by Anonymous Anonymous » Wed, 03 Feb 2010 16:31:56 GMT


 ------------------------------

MMS cannot be sent over wi-fi.Carriers network is mandatory to send/recv.
The MMSC need to identify from/to the message coming going and it wont be
possible while using wi-fi.
So its required to switch to 3g or CDMA even if wi-fi is available.


2010/2/3 Dongjoon Lee <sky...@gmail.com>




> > > >



Forcibly using 3G or CDMA network even though wi-fi is available.

by jotobjects » Thu, 04 Feb 2010 04:22:28 GMT


 hy not add a feature request?  Just talking about it here does not
get it considered for future releases.

http://code.google.com/p/android/issues/entry

On Feb 2, 11:35 pm, Doug <dougforp...@gmail.com> wrote:
> > > > > >



Forcibly using 3G or CDMA network even though wi-fi is available.

by Jens » Sun, 07 Feb 2010 02:45:36 GMT


 Uh yeah, that's why they added that particular crazed hack - an
undocumented call to #startUsingNetworkFeature(int, String).

On 3 Feb, 09:31, Anonymous Anonymous <firewallbr...@googlemail.com>





> > > > >



Forcibly using 3G or CDMA network even though wi-fi is available.

by Poqit » Sun, 07 Feb 2010 17:38:04 GMT


 I added a request feature:
 http://code.google.com/p/android/issues/detail?id=6518 








> > > > > >



Forcibly using 3G or CDMA network even though wi-fi is available.

by Dongjoon Lee » Mon, 08 Feb 2010 09:09:52 GMT


 Oh, that's nice:)









> > > > > > >



Other Threads

1. Scroll and drag a TileView widget around by finger / touch

Just do the scrolling yourself.  You are going to need to do some
significant optimizations to be able to efficiently draw a board that size
anyway (checking update rects and such to minimize drawing); to have smooth
scrolling, you may well need to do more than that, such as having it
rendered in an off-screen bitmap and only updating the tiles on the edges as
you scroll.

I typically think that, if you are writing a game, stick it in one View (or
SurfaceView if appropriate) and do the work yourself.  The view hierarchy
gives you little advantage for a game.

If you do want to try the approach of a ScrollView kind of widget, just copy
the code to make your own widget and add horizontal scroll to it following
the vertical implementation as a model (and dropping the stuff you probably
don't need, such as all of the parts dealing with focus moving around the
scrollable region).












-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~

2. Is there a way to get a list about what was build into the system.img or not?

Hi all,

Is there a way to get a list about what was build into the system.img
or not?

Thanks,
Lianwei
--~--~---------~--~----~------------~-------~--~----~

3. Scroll and drag a TileView widget around by finger / touch

4. looking for developer to write an image application

5. New Game Published: PolyBreaker3D

6. Why do we need external/fdlibm other than use libm in Bionic?

7. Piracy and app "protection"