sms2000/GPSToggler

please guide me to how to open this project in Android Studio

Closed this issue · 6 comments

I am new to root android projects and widgets.
please help me to open this project in Android Studio.

Thank you in advance!

Hi

I used AS 2.2 (the last one) and git to download the project right now. AS 2.2 opened it out of the box.

What is a problem?

The root directory of the project is what you need to open.

Google development site provides a lot of info for AS.

https://developer.android.com/training/index.html

Yours

Sergey

From: ShankaMahakumbura [mailto:notifications@github.com]
Sent: Thursday, September 22, 2016 03:44
To: sms2000/GPSToggler GPSToggler@noreply.github.com
Subject: [sms2000/GPSToggler] please guide me to how to open this project in Android Studio (#4)

I am new to root android projects and widgets.
please help me to open this project in Android Studio.

Thank you in advance!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #4 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADj83QgrlAuAl6dcX9QTKJGgQQ0-9qF-ks5qsc9GgaJpZM4KDbCj . https://github.com/notifications/beacon/ADj83dk0SWGgef8BVL3HBZW2P8xQE1mrks5qsc9GgaJpZM4KDbCj.gif


This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

ok i got the point and Thanks for that.
but i cant debug this project from AS. that's what i am telling bro.
also i used , find usages option in AS, but it did not gave me solution.
__
or simply please tell me, i want to plug this Gps Toggling mechanism to an existing app.
please give me advice.

Hi

I’m not fluent with AS myself, always preferred Eclipse + Android SDK/NDK.

I know little about Graddle.

But I know it’s pretty straightforward to debug.

If you can build and run the project (you have an APK) it’s sure debugable.

Set breakpoints in MainActivity and select in the menu “Run” -> “Debug”.

Regarding the code.

Check ‘actuators’ and how those called from TogglerService.

Check ‘su’ and the RootCaller to understand what need to be done for the APK having root and system level access.

You can see before Nougat it could be possible to tear off the rest of the code and use actuators independently.

For Nougat the code is tightly coupled with all the root processing.

I’m sceptical it would be ease to separate.

Yours

Sergey

From: ShankaMahakumbura [mailto:notifications@github.com]
Sent: Friday, September 23, 2016 03:35
To: sms2000/GPSToggler GPSToggler@noreply.github.com
Cc: sms2000 sms2000@runbox.com; Comment comment@noreply.github.com
Subject: Re: [sms2000/GPSToggler] please guide me to how to open this project in Android Studio (#4)

ok i got the point and Thanks for that.
but i cant debug this project from AS. that's what i am telling bro.

also i used , find usages option in AS, but it did not gave me solution.

or simply please tell me, i want to plug this Gps Toggling mechanism to an existing app.
please give me advice.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #4 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/ADj83bEHQ1Vmaf0bW5H2JTMTQVyOnQVPks5qsx6ggaJpZM4KDbCj . https://github.com/notifications/beacon/ADj83V4mk7TyebZt37adOUpOunW5Dqqcks5qsx6ggaJpZM4KDbCj.gif


This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Hi
i want an advice/help from you for my research app.
i want to develope a root application to work on android phones to switch on 3g and gps automatically (without users interaction) and timely check weather gps and 3g is off or not and switch them on again if off.
please let me know how to achieve it.

Hi

Unfortunately I have no time for full scale tutoring.

The code provided AS IS for free and can be used as a model or reference for experienced Android developers.

3G toggling on and off is not a topic of this code at all.

Best wishes

Sergey

From: Shanka [mailto:notifications@github.com]
Sent: Wednesday, September 28, 2016 19:52
To: sms2000/GPSToggler GPSToggler@noreply.github.com
Cc: sms2000 sms2000@runbox.com; Comment comment@noreply.github.com
Subject: Re: [sms2000/GPSToggler] please guide me to how to open this project in Android Studio (#4)

Hi
i want an advice/help from you for my research app.
i want to develope a root application to work on android phones to switch on 3g and gps automatically (without users interaction) and timely check weather gps and 3g is off or not and switch them on again if off.
please let me know how to achieve it.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #4 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/ADj83WOZrcOsNP1ysLjfB7M0YJ7M9wHhks5qups0gaJpZM4KDbCj . https://github.com/notifications/beacon/ADj83Rxp9XBhEswFjRHXkavrX6zYUPFJks5qups0gaJpZM4KDbCj.gif


This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

thank you for the reply :)