[Q] GPS Settings - Java for Android App Development

I'm working on a android app that can track an android device remotely, but I need to be able to enable the devices GPS remotely also. Does anyone know how to do this? I've been searching all over google but all the examples need to be able to edit secure settings but my app isn't a system app so it can't access that permission.
Thanks,
Nathan

There was a method to do that which used a bug in the Android system but it has been fixed: http://forum.xda-developers.com/showthread.php?t=697465&page=2
---------- Post added at 12:32 AM ---------- Previous post was at 12:21 AM ----------
However, you could open the settings app from your app.

I am trying the same thing. I found this recently. https://www.google.com.sg/url?sa=t&...=UCcYAPVhCRuJMWg1bIaIhA&bvm=bv.49641647,d.bmk
Still haven't figured out the code. found this answer from stackoverflow

Related

Problem with an app

Sorry for my english.
I install this rom "Cyanogenmod 7.1 for Motorola Milestone 2 (Android 2.3.7)", and now i have a problem with the app "Liga Argentina".
I can't find it in the Market. Searching and searching, i found the codebar and i find it in the market, but te market said that the app is not compatible with my phone. Now i can't upgrade the app. Any solution por this?
Have you tried to install the latest market apk?
Not sure about it, but might do the trick
djlooka said:
Have you tried to install the latest market apk?
Not sure about it, but might do the trick
Click to expand...
Click to collapse
I have the latest version of market
No clue then...
I have 3.3.1 version and I can find it. If you have the same version, then it's not market-related
---------- Post added at 06:40 PM ---------- Previous post was at 06:36 PM ----------
Oh, alternatively you could try to check if you have the correct baseband: the market might implement a region lock based on baseband, so switching it to your correct one (I have UK stock) might work.
And you might also press the thanks button if any of these methods work
djlooka said:
No clue then...
I have 3.3.1 version and I can find it. If you have the same version, then it's not market-related
---------- Post added at 06:40 PM ---------- Previous post was at 06:36 PM ----------
Oh, alternatively you could try to check if you have the correct baseband: the market might implement a region lock based on baseband, so switching it to your correct one (I have UK stock) might work.
And you might also press the thanks button if any of these methods work
Click to expand...
Click to collapse
I have the version 3.3.11
How i do to check the baseband? I'm from Argentina.
Sorry, I mistyped: I also have 3.3.11.
To change the baseband you have an option in M2T (Milestone2Toolbox) and you have to be root. If you haven't got M2T you can download the apk from the web I think.
In M2T, there's an option which will require you to install another app with a chinese name, which is the app that actually changes the baseband.
I hope that it's clear
You might also search for more infos about the baseband somewhere else beacuse I haven't ever changed it myself so I won't be able to give you further help...
Thanks for your help, but i still have the problem. Close de thread.

[Q] samsung video hub failed to sign in

So I'm trying to sing into my samsung video app but anytime I try it's shows failed to sign in does anyone else having this same problem or it's just me ???
and if I am the only 1 who has this issue what should I do to fix it otherwise everything the others samsung apps works just fine
Please help.
It happens to me too
lamartino said:
So I'm trying to sing into my samsung video app but anytime I try it's shows failed to sign in does anyone else having this same problem or it's just me ???
and if I am the only 1 who has this issue what should I do to fix it otherwise everything the others samsung apps works just fine
Please help.
Click to expand...
Click to collapse
I've got the same trouble with my SGH-i337m from Mexico, I just turned to wanamlite 1.5 i9505 and then when I try to sign in it says "invalid device id". I've read a few things about changing build.prop but I don't know how.
To change build.prop you have to be rooted. And either download an app that does that and or browse to it via a root browser and modify it. Make a backup because if you mess up something your hosed. Soft bricked anyhow.
I don't have any problems however I would suggest clearing cache and data through settngs then apps. You are using your Sammy id right?
Reply
Jnewell05 said:
To change build.prop you have to be rooted. And either download an app that does that and or browse to it via a root browser and modify it. Make a backup because if you mess up something your hosed. Soft bricked anyhow.
Click to expand...
Click to collapse
Thanks for the quick reply, I have buildprop editor, I'm root, but what should I change to sign in correctly to video hub?
I wouldn't change build.prop unless I absolutely had too. It does work on AT&T software. So modifying build.prop would only make ur device look like T-Mobile or others if that's what was suggested through other threads.
---------- Post added at 11:35 AM ---------- Previous post was at 11:34 AM ----------
I'm not sure why the solution was to modify build.prop.
Thank you
Jnewell05 said:
I wouldn't change build.prop unless I absolutely had too. It does work on AT&T software. So modifying build.prop would only make ur device look like T-Mobile or others if that's what was suggested through other threads.
---------- Post added at 11:35 AM ---------- Previous post was at 11:34 AM ----------
I'm not sure why the solution was to modify build.prop.
Click to expand...
Click to collapse
Well, thank you anyway, I hope I can find a solution really soon. I don't want to change buildprop either.
Your running stock ROM root?
---------- Post added at 11:46 AM ---------- Previous post was at 11:40 AM ----------
I know Netflix and Red box wouldn't allow u to use there sevice if you were rooted. Any chance Samsung blocks you from using/logging into their's if your rooted?
rooted
Jnewell05 said:
Your running stock ROM root?
---------- Post added at 11:46 AM ---------- Previous post was at 11:40 AM ----------
I know Netflix and Red box wouldn't allow u to use there sevice if you were rooted. Any chance Samsung blocks you from using/logging into their's if your rooted?
Click to expand...
Click to collapse
I had stock rooted and I changed to Wanamlite i9505 custom rom.

[Q] Hide apps ?

it was possible to hide apps in the note 3, but now when i updated to the latest firmware G2, its not there
so anyone knows how can i hide some apps or a way,
even if it requires root no problem ?
thanks
yamensati said:
it was possible to hide apps in the note 3, but now when i updated to the latest firmware G2, its not there
so anyone knows how can i hide some apps or a way,
even if it requires root no problem ?
thanks
Click to expand...
Click to collapse
Hi Mate
I know theres an app on the android marketplace called application hider may be an alternative method if the issue persists.
I dont have the link but a search on the marketplace will bring it straight up for you.
Gav
---------- Post added at 04:41 PM ---------- Previous post was at 04:33 PM ----------
yamensati said:
it was possible to hide apps in the note 3, but now when i updated to the latest firmware G2, its not there
so anyone knows how can i hide some apps or a way,
even if it requires root no problem ?
thanks
Click to expand...
Click to collapse
Hi Mate
Just did a bit of research it appears that when you received the kitkat update it changed the options within the touchwiz launcher. They removed the option to hide apps and replaced it with the disable apps options instead. So unfortunately from what im reading you would need a application in order to continue hiding these your apps. The one I mentioned above should have the functionality you need thou.
Gav

Bypass FRP motorola x play 6.0.1 (March 1 security patch)

Itz been a pain in the ass for me searching for how to Bypass FRP motorola x play 6.0.1 (March 1 security patch)
1. No otg works.
2. Cant enable dev options.
3. Cant switch users.
4. No adb works without usb debugging.
Their isnt a trick that i hvnt used.
Their isnt a way that i havnt tried.
I have heared alot about Xda , thought about giving it a try.
All you genius genuine brains, Help me out :crying:
Please read forums first. FRP related threads appear every other day and the aswers to rhem are always the same.
Bro please try to unserstand. I have tried every single step in the book. I have watched every single video on YouTube.
Root junky rootmonkey...everything...
Nothing and no-one can crack this.
Please read the oroginal thread content and provide a solution and not a diversion.
Thanks alot for replying previously.
Mate, you've got one thread here:
http://forum.xda-developers.com/moto-x-play/general/moto-x-play-frp-patch-march-t3379829
One there:
http://forum.xda-developers.com/moto-x-play/help/help-google-ac-bypass-t3357857
And you started another one. So far no one came up with an idea of bypassing March version of FRP, so yiu can try downgrading your firmware to some earlier versions and see if Root Junky's methods will work on them
hi xda members,
l m new in this thread and i m going to tell u
there is a solution for 6.0.1 frp unlock in india.
i hve fone in my hand which is unlocked from
a person....
but he is not selling the solution
it means the solution is out
pls search
thnx and sorry for my bad english
wbr...rahul
rahul vicky said:
hi xda members,
l m new in this thread and i m going to tell u
there is a solution for 6.0.1 frp unlock in india.
i hve fone in my hand which is unlocked from
a person....
but he is not selling the solution
it means the solution is out
pls search
thnx and sorry for my bad english
wbr...rahul
Click to expand...
Click to collapse
here's the trick forum.xda-developers.com/showpost.php?p=66073194&postcount=31
But the build number is locked mate, there's no way to go through
MOD EDIT: NOT NECESSARY HERE
why don't you just post the solution here...it help many.
---------- Post added at 01:41 PM ---------- Previous post was at 01:38 PM ----------
[/COLOR]
Titash12 said:
But the build number is locked mate, there's no way to go through
Click to expand...
Click to collapse
did you successfully completed till step 30 ??
bablu048 said:
why don't you just post the solution here...it help many.
---------- Post added at 01:41 PM ---------- Previous post was at 01:38 PM ----------
[/COLOR]
did you successfully completed till step 30 ??
Click to expand...
Click to collapse
look i can just run the phone in demo mode, neither can i unlock the developer settings nor i can i log in into my google account. and it takes some extra number of steps, there is a kill switch which is exclusive to motorola inc. which gets activated as soon as i try to log in into my google account and shuts down all the processes of the android os. So if i can find out the kill switch or you can help me out to find the kill switch then i can successfully bypass the google account verification. and moreover the security is a chip level security that i believe cause it does not get affected by any kind of bios modifications. also the kill switch activates when you try to jump on to the final step of phone setup wizard, or try to save a contact, or refresh whatsapp contact list.
---------- Post added at 08:37 PM ---------- Previous post was at 08:24 PM ----------
bablu048 said:
why don't you just post the solution here...it help many.
---------- Post added at 01:41 PM ---------- Previous post was at 01:38 PM ----------
[/COLOR]
did you successfully completed till step 30 ??
Click to expand...
Click to collapse
and yeah i did complete till step 30 but on tapping on the build number it doesnt respond
---------- Post added at 08:55 PM ---------- Previous post was at 08:37 PM ----------
Titash12 said:
look i can just run the phone in demo mode, neither can i unlock the developer settings nor i can i log in into my google account. and it takes some extra number of steps, there is a kill switch which is exclusive to motorola inc. which gets activated as soon as i try to log in into my google account and shuts down all the processes of the android os. So if i can find out the kill switch or you can help me out to find the kill switch then i can successfully bypass the google account verification. and moreover the security is a chip level security that i believe cause it does not get affected by any kind of bios modifications. also the kill switch activates when you try to jump on to the final step of phone setup wizard, or try to save a contact, or refresh whatsapp contact list.
---------- Post added at 08:37 PM ---------- Previous post was at 08:24 PM ----------
and yeah i did complete till step 30 but on tapping on the build number it doesnt respond
Click to expand...
Click to collapse
-after you enter the settings on step 30, the steps as of i know are as under
- go to apps select google app, go to permissions and give all the permissions to the google app
- now go to the chrome app and then give all the permissions to chrome app.
- now go to the youtube app and give all the permissions to the youtuube app.
- now go to data usage
- now go to about, but before all this connect to a wifi connection
- now go to about in the data usage panel of the youtube app
- now go to Google privacy policy
- it will open chrome and whoa you are into the system but in test mode
- now open google website
- now search for Aptiode
- Download it,
- you cant access the downloads file
- so go to the google app
-- now tap on Notifications
-now go to app settings
- now turn on show cards
- now tap on No, Thanks
- now search downloads
- then install aptiode by enabling " install apps from third party"
- and open aptiode
- search for nova launcher
- download and install it
- and now open it,
- well now you have access to almost everything except the developer options and logging into your google account,
- now open aptiode and search for " Multi Window Side"
- install the 1st application in the list
- open the application and add all the application to the multi window
-now whenever you restart the phone or accidentally go back to the welcome screen just try to tap on the side bar and select nova launcher.
-you can do almost everything in this mode except for the logging into your google account or turn on developer option
Titash12 said:
look i can just run the phone in demo mode, neither can i unlock the developer settings nor i can i log in into my google account. and it takes some extra number of steps, there is a kill switch which is exclusive to motorola inc. which gets activated as soon as i try to log in into my google account and shuts down all the processes of the android os.
Click to expand...
Click to collapse
did you try a soft reset ?and then enter the google account details.
bablu048 said:
did you try a soft reset ?and then enter the google account details.
Click to expand...
Click to collapse
yes i did try soft reset and hard reset with quickshortcutmaker butsomehow the google account verification screen doesnt go away
http://forum.gsmdevelopers.com/f32/moto-6-0-1-frp-google-lock-remove-permanent-solution-here-4422/
Working solution with video guide for march patch
Rahul_Bhutani said:
http://forum.gsmdevelopers.com/f32/moto-6-0-1-frp-google-lock-remove-permanent-solution-here-4422/
Working solution with video guide for march patch
Click to expand...
Click to collapse
can you just provide a step by step enumeration? because the language is quite different
Titash12 said:
can you just provide a step by step enumeration? because the language is quite different
Click to expand...
Click to collapse
Ignore language and see what he doing
how to open setting there is lots of videos on youtube.
1) Install apptoide and then install file manager from that to install apk.
2) copy that apk in sdcard and install it using file manager.
3) encrypt phone and to do this phone battery should be least 80%.
4) run that apk which is in thread and set device owner.
5) now reset option will be enable so just do reset and yu done,
Rahul_Bhutani said:
http://forum.gsmdevelopers.com/f32/moto-6-0-1-frp-google-lock-remove-permanent-solution-here-4422/
Working solution with video guide for march patch
Click to expand...
Click to collapse
Yes it does work, so this bug needs a fix, has Google fixed it?
Motorola google account bypass Android 6.0.2 android patch level 1 september 2016
Hi friends I have posted a full video tutorial about Motorola google account bypass android 6.0.1 last security of 2016.
Android security patch level 1, September 2016. on my blog ( pakfones.com ) i have not much posts so i am unable to post link. just search pakfones in youtube and you will get my channel link then check videos. or copy link and past to your browsers address bar.
pakfones.com/how-to-bypasss-google-account-on-motorola-6-0-1-android-security-patch-level-1-september-2016
Rahul_Bhutani said:
http://forum.gsmdevelopers.com/f32/moto-6-0-1-frp-google-lock-remove-permanent-solution-here-4422/
Working solution with video guide for march patch
Click to expand...
Click to collapse
the page was not opening bro plz can i have any other link for that
total.cell said:
the page was not opening bro plz can i have any other link for that
Click to expand...
Click to collapse
That solution is for March Patch if you have September Patch check like below. copy and past it to your browser.
pakfones.com/how-to-bypasss-google-account-on-motorola-6-0-1-android-security-patch-level-1-september-2016
---------- Post added at 07:28 PM ---------- Previous post was at 07:26 PM ----------
Direct link to youtube video. youtube.com/watch?v=ipiG_G7eTQc
Moto x play frp lock bypass all version
Maxbrain said:
Itz been a pain in the ass for me searching for how to Bypass FRP motorola x play 6.0.1 (March 1 security patch)
1. No otg works.
2. Cant enable dev options.
3. Cant switch users.
4. No adb works without usb debugging.
Their isnt a trick that i hvnt used.
Their isnt a way that i havnt tried.
I have heared alot about Xda , thought about giving it a try.
All you genius genuine brains, Help me out :crying:
Click to expand...
Click to collapse
GO THERE FOR FRP LOCK BYPASS
https://youtu.be/6deOchC18H4

[Q] Root problem

Good day friends. I rooted my samsung s4 gti9505 using kingroot. And now i cannot access my google play store. What should i do? Thanks in advance.
Flash new gapps
---------- Post added at 09:48 PM ---------- Previous post was at 09:46 PM ----------
P. S
Do you have Google PS icon at all?
first thing to try is going to settings apps / from finding playstore, google play services and google services framework and one by one clearing the data on all of them and rebooting.
if not successful uninstalling updates for playstore and play services might help.
You might want to look into the app/script someone made for switching to supersu while you're at it. Search xda and you'll find it. Supersu is far less shady.

Categories

Resources