Launch apps on your android phone remotely using HTTP GET requests.
For example, to launch firefox, use your browser to request : http://yourPhoneIP:8888/start/org.mozilla.firefox
The app need to be requested by its package name (Remote App Launch will show the package name of each app on your phone, don't worry).
To stop the app remotely, you just need to switch from "start" to "stop" in the URL : http://yourPhoneIP:8888/stop/org.mozilla.firefox
Be aware that android doesn't allow a foreground app to be killed, only background processes. If you remotely launch an app that stays in foreground, it can't be killed remotely by Remote App Launch.
Each app you want to start remotely need to be added in a white list within RemoteAppLaunch (for security reasons). You can add one more security layer by using HTTP Authentication with a user/password needed to start/stop apps. In that case, to launch an app just use the following URL : http://username:password@yourPhoneIP:8888/start/org.mozilla.firefox
Khởi chạy ứng dụng trên điện thoại Android của bạn từ xa bằng HTTP GET yêu cầu.
Ví dụ, để chạy firefox, sử dụng trình duyệt của bạn để yêu cầu: http: // yourPhoneIP: 8888 / bắt đầu / org.mozilla.firefox
Các ứng dụng cần phải được theo yêu cầu của tên gói của nó (Khởi chạy ứng dụng từ xa sẽ hiển thị tên gói của mỗi ứng dụng trên điện thoại của bạn, đừng lo lắng).
Để ngăn chặn các ứng dụng từ xa, bạn chỉ cần chuyển từ "bắt đầu" để "dừng lại" trong URL: http: // yourPhoneIP: 8888 / dừng / org.mozilla.firefox
Hãy nhận biết rằng Android không cho phép một ứng dụng nền trước bị giết chết, chỉ có quá trình nền. Nếu bạn từ xa khởi động một ứng dụng mà vẫn trong nền trước, nó không thể bị giết từ xa bằng cách khởi động ứng dụng từ xa.
Mỗi ứng dụng bạn muốn bắt đầu từ xa cần phải được thêm vào trong một danh sách trắng trong RemoteAppLaunch (vì lý do an ninh). Bạn có thể thêm lớp bảo mật một nhiều hơn bằng cách sử dụng HTTP Authentication với một người dùng / mật khẩu cần thiết để khởi động các ứng dụng / stop. Trong trường hợp đó, để khởi động một ứng dụng chỉ cần sử dụng các URL sau: http: // username: password @ yourPhoneIP: 8888 / bắt đầu / org.mozilla.firefox