I need to make an activity send a text message when it first loads on Android Studio. It's for a mobile safety app that automatically sends your location data to the police via SMS when the app first loads.
I'm trying the onStart method.
@Override
protected void onStart()
{
super.onStart();
}
How can I do it or is there a better way?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.