EddAvitia / moonblink

Automatically exported from code.google.com/p/moonblink
1 stars 0 forks source link

mobile data on Dazzle widget does not work #125

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Product: Dazzle

Problem: When I press the Mobile Data switch on the widget, it does not do 
anything. If I switch on or off Mobile data using the HTC widget, the Indicator 
on Dazzle widget will reflect the new Mobile data status correctly.

What version of the product are you using? 
Dazzle 2.7

On what operating system?
Android 2.2

Original issue reported on code.google.com by vinzp...@gmail.com on 24 Oct 2010 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by heads...@gmail.com on 24 Oct 2010 at 3:52

GoogleCodeExporter commented 9 years ago
I have exactly the same problem.
Android 2.2
Dazzle 2.7

Original comment by rowena.s...@gmail.com on 28 Oct 2010 at 11:39

GoogleCodeExporter commented 9 years ago
Opps. I should also mention I am using HTC Desire.

Original comment by vinzp...@gmail.com on 28 Oct 2010 at 11:52

GoogleCodeExporter commented 9 years ago
Sorry for the confusion guys. The mobile data switch enables/disables already 
established connection, it is the only option available for non-rooted phones. 
In the system settings the mobile data should be enabled to get it working.

The next release will include a better description and some code to verify the 
mobile data availability.

Original comment by lin...@gmail.com on 28 Oct 2010 at 1:46

GoogleCodeExporter commented 9 years ago

Original comment by lin...@gmail.com on 28 Oct 2010 at 1:48

GoogleCodeExporter commented 9 years ago
Tried that and it worked. Cool!

I see that you're not using the "change the APN name" trick. Never quite liked 
that idea. Hope you doing it in a better way.

Thanks.

Original comment by vinzp...@gmail.com on 28 Oct 2010 at 5:59

GoogleCodeExporter commented 9 years ago
Just realised this scenario (Mobile Data is on under Android settings):

1. Dazzle Mobile Data is off.
2. Manually toggle on Wifi (via Dazzle).
3. Manually toggle off Wifi (via Dazzle).
4. Mobile Data comes on automatically.

I'm guessing it's Android that's doing it. I.e. switching to Mobile Data if 
it's on under Android settings, when Wifi is switch off.

Is it possible to have Dazzle remember the Dazzle Mobile Data status when Wifi 
is switched on? When Wifi is switched off, have Dazzle set the Mobile Data 
status accordingly. Would be great even if it only works when Wifi is toggled 
using Dazzle.

Hope that makes sense.

Original comment by vinzp...@gmail.com on 30 Oct 2010 at 2:16

GoogleCodeExporter commented 9 years ago
I have experienced the same issue as described by vinzp (comment 7), on HTC 
Desire (2.2).

Further, I am using another apps Auto Wifi Toggle, in which it turns on wifi at 
a specified interval to check for availability of wifi network.  If no active 
wifi network could be connected, it switches wifi off, and this action 
automatically turns 3G data on no matter what the original state of 3G data is 
(as set in Dazzle).  

I really don't know if it is a problem of Dazzle, or android.  Apparently, it 
looks like the android system does not knows 3G data is being switched "off" by 
Dazzle.

Original comment by abe...@gmail.com on 8 Dec 2010 at 11:18

GoogleCodeExporter commented 9 years ago
just another update:  I have disabled auto wifi toggle app, and I've observed a 
weird behavior. 

With both wifi, and 3G data off (as indicated on dazzle).  There is a few 
occasions I saw 3G data turning on automatically on my HTC Desire (2.2).  It is 
not entirely reproducible, but seems to happen whenever I have bad reception 
(1bar on the signal strength).  Would that be because of the roaming between 
GSM & 3G, or something to do with dazzle? 

Original comment by abe...@gmail.com on 9 Dec 2010 at 12:53

GoogleCodeExporter commented 9 years ago
Dazzle tries to monitor the radio state, but as of version 2.8 it is supposed 
to remember the mobile data settings. However, the phone radio 
intents/notifications are not quite reliable, the widget may miss some.

We are in the process of redesigning the monitoring part, and probably will add 
mobile data management for the WiFi monitoring code.

However there are some bad news. Gingerbread (2.3) includes a work around for 
the trick we using to control mobile data, radio (and GPS as well). There is a 
good chance the mobile data switch will not work for Android 2.3.

Original comment by lin...@gmail.com on 10 Dec 2010 at 12:59