Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

My Galaxy S with the Samsung Android built on it offers me the option the run the phone as a W-LAN acess point that connects to the internet via mobile data.

I would like to configure the access point to start working immediately after booting the phone.

How to do that?

Bonus points if the setting can be achieved via adb and/or if I can set the wifi-password from adb as well.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

The WiFi password IMHO is only setup once, when you configure your device's hotspot. Lateron, you simply activate/deactivate it.

To automate the latter, you could e.g. use Tasker:

Profile "AutoHotspot":

  • Condition: "Device Boot"
  • Task: "WiFi Tether" → set On

With this profile activated, your Hotspot would be automatically be enabled as soon as the device has completed booting up.

For the "bonus point" you mentioned: There's a free 7-day trial available on the Tasker Homepage. You can download the .apk to your computer, and use ADB to install it on your device (adb pm install)...

share|improve this answer
    
Thanks, that is already helpful. The "bonuspoint" was about if there is a way to do the whole setup from adb. In the context of your answer, that would mean installing tasker, setting the profile, and configuring the wify password. Imagine a phone screen that is broken or unresponsive. –  Konstantin Mar 25 '13 at 14:38
1  
I understood that -- was just "playing with words" here. I'm not sure whether that's fully doable via ADB -- even if you prepare the .xml for the profile and adb push it to the device, I have no idea whether Tasker offers an intent you could invoke to import the profile. –  Izzy Mar 25 '13 at 14:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.