Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth and location #18

Closed
JeannedArk opened this issue Jan 4, 2018 · 6 comments
Closed

Bluetooth and location #18

JeannedArk opened this issue Jan 4, 2018 · 6 comments

Comments

@JeannedArk
Copy link
Contributor

Hi,

first of all, you did a great job!

We would like to be able on the OpenSTF server to reset Bluetooth and location settings. As far as I have seen there exists no functionality for these already. I would create then similiar ones to the WiFi functionality:
https://github.com/openstf/STFService.apk/blob/master/app/src/main/java/jp/co/cyberagent/stf/query/SetWifiEnabledResponder.java

I think that might be useful to others, therefore after finishing this feature shall I create a pull request?

Thanks

@sorccu
Copy link
Member

sorccu commented Jan 4, 2018

Yes please :)

@JeannedArk
Copy link
Contributor Author

JeannedArk commented Jan 11, 2018

I created a pull request for Bluetooth:
https://github.com/openstf/STFService.apk/pull/20/files

Apparently, it is not able to change the location settings programmatically for security reasons:
https://stackoverflow.com/questions/4721449/how-can-i-enable-or-disable-the-gps-programmatically-on-android

@JeannedArk
Copy link
Contributor Author

Ping @sorccu , maybe you had already a chance to have a look at the code changes :)

@sorccu
Copy link
Member

sorccu commented Jan 22, 2018

I can't until next weekend - sorry for the delay.

@JeannedArk
Copy link
Contributor Author

@sorccu Any chance to test it?

@sorccu
Copy link
Member

sorccu commented Jul 23, 2018

Finally merged. Sorry for the wait.

@sorccu sorccu closed this as completed Jul 23, 2018
igit-cn pushed a commit to igit-cn/STFService.apk that referenced this issue Jan 25, 2021
Bumps protobuf-gradle-plugin from 0.8.13 to 0.8.14.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants