Draft:Streeta
![]() | Draft article not currently submitted for review.
This is a draft Articles for creation (AfC) submission. It is not currently pending review. While there are no deadlines, abandoned drafts may be deleted after six months. To edit the draft click on the "Edit" tab at the top of the window. To be accepted, a draft should:
It is strongly discouraged to write about yourself, your business or employer. If you do so, you must declare it. Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
Last edited by 150.242.149.96 (talk | contribs) 5 months ago. (Update) |
Streeta
[edit]How does the app work?
[edit]Streeta requires just 2 basic permissions to work full-fledgedly!
ACCESS_FINE_LOCATION
[1]: Allows the app to access precise location data using GPS.
SEND_SMS
[2]: Enables the app to send SMS messages.
When you open the app for the first time, it asks you for the SEND_SMS
[2] permission, which is required to send the Emergency Location Data to your preferred number. Then it asks you to enter a number to which the Emergency SMS with the location data is sent.
Once you add a number, it's saved locally forever and the SMS will be sent automatically at the time of Emergency.
From the very next time you open the app, it directly opens in the MainActivity
.
In case you've entered an Incorrect Number
, simply clear the App Data by holding down Streeta's App Launcher, going to App info, and then tapping on Clear Data
[3].
The Launcher Activity
[4] is NumberActivity
and when the UPDATE
button is clicked, a SharedPreferences
[5] component is used to save the entered Phone Number to the app's internal memory. This is saved locally and CANNOT be transmitted to others even if you share the APK
file to another device. The UPDATE
button then checks if the entered number is not empty or less than 10 digits. On passing these conditions, the MainActivity
is launched.
On the first start-up of the app, the MainActivity
asks for the ACCESS_FINE_LOCATION
[1] permission. For Android 11 (Red Velvet Cake)
& above, there are two different permission choices based on precision: Precise
& Approximate
. As to get the Exact Location during Emergency, granting the Precise
permission is preferred.
References
[edit]https://github.com/realpega/Streeta
- ^ a b "Manifest.permission". Android Developers. Retrieved 2024-11-18.
- ^ a b "Manifest.permission". Android Developers. Retrieved 2024-11-18.
- ^ Summerson, Cameron (2018-06-11). "How to Clear an App's Data and Cache on Android to Solve Common Problems". How-To Geek. Retrieved 2024-11-19.
- ^ "LauncherActivity". Android Developers. Retrieved 2024-11-19.
- ^ "SharedPreferences". Android Developers. Retrieved 2024-11-19.