Dual Sim & Mobile Data on

1,380 views
Skip to first unread message

bmp

unread,
May 14, 2013, 10:02:17 AM5/14/13
to tas...@googlegroups.com
Hi All,
I am Lenovo P770(4.1.1) with dual SIM facility.
Issue I am facing is when I enable the Mobile Data with the Tasker -->Mobile Data--> on  .,I see the "Data Connection" in the setting in on state ,but actually Data is  not turned on..
Anybody with the Dual SIM running tasker faces similar issue?
Thankx,
BMP

bmp

unread,
May 22, 2013, 10:09:53 AM5/22/13
to tas...@googlegroups.com
Hi Pent,
Any suggestion on making the Data on on the Dual mobile phones.
Attached  is the logcat  just during the data connection on the   first SIM slot.
If anybody can let me know what type of intent to be sent or any points on making the daa through programming ,that will be great help.
BMP

On Monday, May 20, 2013 1:19:13 PM UTC+5:30, jankes wrote:
I have exactly the same problem, tasker can't turn mobile data either on or off. The icon in notification quick launch lights up and out but the data connectivity state does not change...
logcat.txt

Bino Mathew

unread,
Jul 6, 2013, 5:04:35 AM7/6/13
to tas...@googlegroups.com, Marcin Krawczyk
Hi All,
For Lenovo P770 ,apart from using Tasker for switching on the Mobile data ,if you can make the apk from only ďż˝ below given code and put it in your /system partition(witing to the secure setting ,you have to be system program)
ContentResolver cr = this.getContentResolver();
Settings.Secure.putString(cr,"mobile_data","1" ) //"0" ,swtches offďż˝ the data
This switches on the the data for sim in which the settings are done in the "Sim Management" settings.

If you want to programmatically select the slot in which te data to be made on ,you have to do simiar operation with the ConnectionManager method setMobileDataEnabledGemini and Settings memberďż˝ "gprs_connection_setting" ,"gprs_connection_sim_setting"

Comments are welcome!!!
Regards,
BMP

On 5/20/2013 1:19 PM, Marcin Krawczyk wrote:
I have exactly the same problem,�tasker�can't turn mobile data either on or off. The icon in notification quick launch lights up and out but the data connectivity state does not change...



W dniu wtorek, 14 maja 2013 16:02:17 UTC+2 u�ytkownik bmp napisa�:
Hi All,
I am Lenovo P770(4.1.1) with dual SIM�facility.
Issue I am facing is when I enable the Mobile Data with the Tasker -->Mobile Data--> on �.,I see the "Data Connection" in the setting in on state ,but actually Data is �not turned on..
Anybody with the Dual SIM�running�tasker faces�similar�issue?
Thankx,
BMP
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/nCIJQWqAR6o/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
ďż˝
ďż˝

dr_no

unread,
Sep 6, 2013, 2:47:39 AM9/6/13
to tas...@googlegroups.com, Marcin Krawczyk
Hello,

could you please tell me, how to disable Sim Card 1 for example.
I have a Samsung galaxy duos and want to disable Sim 1 every day after 4 pm.
Because it is me work sim.

Greetings

dr_no

bmp

unread,
Sep 10, 2013, 11:34:31 PM9/10/13
to tas...@googlegroups.com, Marcin Krawczyk
Hi ,
As Pent has mentioned in the past ,the dual sim porting of Android is not standard(the functions used) nd you cn find  different implementation for Samsung Hrand or Lenovo P770 phone.
So I were you,first thing I will be going s to get the logcat of the SIm1 disabling operation manually.Then using Jva reflection technique list of the function System - setting calls to understand the functions getting invoked.
Make a program out of it ,ut it in the System  partition and tht should do the magic- I know saying is easy ,but .....

@Others,
as usual comments are welcome!!
BMP

Joao RMF Apps

unread,
Apr 12, 2014, 6:56:14 PM4/12/14
to tas...@googlegroups.com
Hi,

I have developed a plugin specific for dual sim control of mediatek dual sim phones: https://play.google.com/store/apps/details?id=pt.joaormf.mtkcontrol

Best regards
Reply all
Reply to author
Forward
0 new messages