xiaoyanit / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Autostart on boot (or on app start) #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.OpenVPN starts each time w/out auto-starting the only connection
2.Forces manual click after running openvpn 
3.

What is the expected output? What do you see instead?
1) autostart connection
2) Expose an intent in the manifest that will launch openvpn connections and 
minimize to tray.

What version of the product are you using?
0.4.7

Which Android phone are you using?
Droid 1

Which firmware version are you using?
2.3.2 (Pete Alfonso's version AOSP)

Please provide any additional information below.

I'm using the autostart app to run a shell script at autostart and the script 
executes the following command to launch openvpn-settings:

 #launch openvpn settings (from manifest android.intent.action.MAIN
 am start -a android.intent.action.MAIN -n de.schaeuffelhut.android.openvpn/.OpenVpnSettings
 #insert down key 3x
 input keyevent 20
 input keyevent 20
 input keyevent 20
 #insert enter key
 input keyevent 66
 #insert home key
 input keyevent 3

This doesn't work if I have a lock screen.  I want the openvpn to launch auto 
at boot and always be running.  This would need to have another action exposed 
that would at minimum, auto-launch the first (for me the only) connection file 
and minimize to tray

Original issue reported on code.google.com by escape2t...@gmail.com on 19 Feb 2011 at 10:49

GoogleCodeExporter commented 8 years ago
More intents need to be exposed. This will come with Tasker integration. 

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 10:15