Safe Date App

⚡ 👉🏻👉🏻👉🏻 INFORMATION AVAILABLE CLICK HERE 👈🏻👈🏻👈🏻
SafeDate — это сервис, который обеспечит тебе безопасность на свидании и позволит не делиться лишней информацией со своими близкими.
Приватность - теперь тебе не нужно оставлять контакты спутника и другие подробности встречи своим родным или друзьям на всякий случай. Никто не будет знать о том, что у вас свидание, до тех пор, пока с тобой все в порядке.
Безопасность - если на свидании с тобой случилась беда и ты не можешь позвать на помощь, не отчаивайся — как только истечет время, в течение которого тебе нужно было подтвердить, что ты в безопасности, мы подадим сигнал тревоги и тебя начнут искать.
Тревожная кнопка - если во время свидания что-то пошло не так и тебе понадобилась помощь, просто введи код «911» и мы отправим сообщение твоим друзьям!
3 ШАГА, КОТОРЫЕ СДЕЛАЮТ ВСТРЕЧИ БЕЗОПАСНЕЕ:
1. Заполни профиль встречи.
Внеси в него всю информацию, которую ты хочешь передать друзьям только в том случае, если ты попадешь в беду. Если свидание окажется опасным эта информация поможет твоим друзьям найти тебя и помочь тебе.
2. Укажи контакты близких или друзей.
Теперь тебе не нужно заранее рассказывать им о том куда и с кем ты пойдешь. Но если с тобой что-то случится - именно твоему другу будет отправлена информация об этой встрече.
3. Придумай свой код безопасности.
Если ты не введешь код до наступления указанного тобой срока, сервис автоматически создаст страницу с информацией о твоей встрече и отправит ее твоему другу.
-------
Начни думать о своей безопасности прямо сейчас!
- Отправляясь на свидание или встречу с малознакомым человеком используй SafeDate.
- Выбирай для первого свидания нейтральную территорию.
- Скажи своему партнеру, что твои друзья знают об этой встрече.
- Мы собрали эти и другие полезные советы для тебя здесь: https://safedate.pro/advices
By adding tag words that describe for Games&Apps, you're helping to make these Games and Apps be more discoverable by other APKPure users.
Регистрируясь, вы принимаете наши условия предоставления услуг
Note: Adding images to post feature is only available for APKPure AppStore App. APKPure can support the following image types: GIF, JPEG, PNG, WebP, etc.
Яндекс.Переводчик — перевод и словарь офлайн
Популярные приложения за последние 24 часов
Sign up or log in to customize your list.
Join Stack Overflow to learn, share knowledge, and build your career.
Sign up with email Sign up Sign up with Google Sign up with GitHub Sign up with Facebook
Connect and share knowledge within a single location that is structured and easy to search.
I recently coded an Android app. It's just a simple app that allows you to keep score of a basketball game with a few simple counter intervals. I'm getting demand to add a save feature, so you can save your scores and then load them back up. Currently, when you stop the app, your data is lost. So what I was wondering is what I would have to add to have the app save a label (score) and then load it back up. Thanks guys sorry I don't know much about this stuff.
23333 silver badges1616 bronze badges
73111 gold badge66 silver badges33 bronze badges
honestly I feel sorry the android documentation feels so difficult to go through. We all here with love – Jitin Nov 28 '20 at 22:57
You have two options, and I'll leave selection up to you.
This is a framework unique to Android that allows you to store primitive values (such as int, boolean, and String, although strictly speaking String isn't a primitive) in a key-value framework. This means that you give a value a name, say, "homeScore" and store the value to this key.
This, in my opinion, is what you might be looking for. You can store anything you want to a file, so this gives you more flexibility. However, the process can be trickier because everything will be stored as bytes, and that means you have to be careful to keep your read and write processes working together.
Now, you can also look into External Storage, but I don't recommend that in this particular case, because the external storage might not be there later. (Note that if you pick this, it requires a permission)
5,25333 gold badges2828 silver badges5050 bronze badges
LOL - I like that comment "because I've never seen a basketball score above 128" :-) btw: for your reference: nba.com/pistons/news/highest_score_071211.html – Mathias Conradt Jun 9 '12 at 16:19
In Hyrule, the richest man alive could only have 255 rupees. ;) – Neil Sep 28 '13 at 17:55
I think you can use sqlite too for storage – monim Aug 25 '15 at 9:12
I am also want to store game (5 results) to internal storage. after while am displaying scores from getting data from internal storage. any samples available? – Silambarasan Dec 15 '15 at 6:55
And If I'm storing data in internal storage,will the files get deleted if I uninstall the app.? – Gladwin James Apr 25 '16 at 10:56
OP is asking for a "save" function, which is more than just preserving data across executions of the program (which you must do for the app to be worth anything.)
I recommend saving the data in a file on the sdcard which allows you to not only recall it later, but allows the user to mount the device as an external drive on their own computer and grab the data for use in other places.
So you really need a multi-point system:
1) Implement onSaveInstanceState(). In this method, you're passed a Bundle, which is basically like a dictionary. Store as much information in the bundle as would be needed to restart the app exactly where it left off. In your onCreate() method, check for the passed-in bundle to be non-null, and if so, restore the state from the bundle.
2) Implement onPause(). In this method, create a SharedPreferences editor and use it to save whatever state you need to start the app up next time. This mainly consists of the users' preferences (hence the name), but anything else relavent to the app's start-up state should go here as well. I would not store scores here, just the stuff you need to restart the app. Then, in onCreate(), whenever there's no bundle object, use the SharedPreferences interface to recall those settings.
3a) As for things like scores, you could follow Mathias's advice above and store the scores in the directory returned in getFilesDir(), using openFileOutput(), etc. I think this directory is private to the app and lives in main storage, meaning that other apps and the user would not be able to access the data. If that's ok with you, then this is probably the way to go.
3b) If you do want other apps or the user to have direct access to the data, or if the data is going to be very large, then the sdcard is the way to go. Pick a directory name like com/user1446371/basketballapp/ to avoid collisions with other applications (unless you're sure that your app name is reasonably unique) and create that directory on the sdcard. As Mathias pointed out, you should first confirm that the sdcard is mounted.
I recommend simple CSV files for your data, so that other applications can read them easily.
Obviously, you'll have to write activities that allow "save" and "open" dialogs. I generally just make calls to the openintents file manager and let it do the work. This requires that your users install the openintents file manager to make use of these features, however.
9,48088 gold badges6363 silver badges102102 bronze badges
One more comment: if at all possible, do the reading and writing in a different thread, especially the writing. Otherwise, your app freezes up and the user has a less-than-optimal experience. – Edward Falk Apr 25 '15 at 22:04
8481111 silver badges1717 bronze badges
If the data structure is more complex or the data is large, use an Sqlite database; but for small amount of data and with a very simple data structure, I'd say, SharedPrefs will do and a DB might be overhead.
27.8k2020 gold badges131131 silver badges185185 bronze badges
That's right. Using something more complex than this is just overkill and a dumb idea. SharedPreferences is all that is needed. – Kristopher Micinski Jun 9 '12 at 16:23
There is a lot of options to store your data and Android offers you to chose anyone Your data storage options are the following:
Shared Preferences Store private primitive data in key-value pairs. Internal Storage Store private data on the device memory. External Storage Store public data on the shared external storage. SQLite Databases Store structured data in a private database. Network Connection Store data on the web with your own network server
4,63333 gold badges2626 silver badges5151 bronze badges
Does your application has an access to the "external Storage Media". If it does then you can simply write the value (store it with timestamp) in a file and save it. The timestamp will help you in showing progress if thats what you are looking for. {not a smart solution.}
regarding 2) no need to use the external storage, which always requires a check (whether an sdcard is mounted). Why not just use the cache or file dir of the app? (getFilesDir(), getCacheDir()). – Mathias Conradt Jun 9 '12 at 15:58
@MathiasLin you should post a full answer. – thomasfedb Jun 10 '12 at 8:24
@thomasfedb I already posted the very first reply to this question, and with the links and linked sample, it should be all he needs. Anything I missed? – Mathias Conradt Jun 10 '12 at 10:15
And here you can download the library:
(Just put the db4o-8.0...-all-java5.jar in the lib directory into your project's libs folder. If there is no libs folder in you project create it)
As db4o is a object oriented database system you can directly save you objects into the database and later get them back.
1,7731515 silver badges1616 bronze badges
db4o looks like a bit of overhead to me. If at all, an sqlite db would probably be easier due to the support that Android brings with it, however for a small amount of very basic data, I'd say, SharedPrefs would be sufficient. – Mathias Conradt Jun 9 '12 at 15:56
In my opinion db4o is a lot easier than sql especially for beginners. And less fiddling than with this ugly shared prefs :-) – fivef Jun 9 '12 at 16:12
a bit off-topic - but...: I've looked into db4o long time ago, for non-Android projects, and the idea isn't bad; what I don't like about db4o is that it's proprietary. If you want to avoid dealing with sql directly, I can also recommend ORMLite as a ORM library (ORM = object-relational-mapping). Nevertheless, I guess db4o would also work well for such task, no doubt. – Mathias Conradt Jun 9 '12 at 16:16
Please don't forget one thing - Internal Storage data are deleted when you uninstall the app. In some cases it can be "unexpected feature". Then it's good to use external storage.
Google docs about storage - Please look in particular at getExternalStoragePublicDirectory
1,06322 gold badges1616 silver badges4242 bronze badges
use this methods to use sharedPreferences very easily.
put them in a class and get context in its constructor.
3,29644 gold badges1616 silver badges3737 bronze badges
Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.
All Skill Levels React Engineer - 100% Remote
Software Engineer (Scala) - Offer Team
ReactJS Web Developer - EU Only/Remote/SaaS (m/f/d)
Senior Ruby on Rails Backend Developer
2 - REACT Developer for a virtual team
GLOBAL APPCASTING ABNo office location
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.3.9.38752
Safe Date – Stay Safe And Get Peace Of Mind When Dating
SafeDate для Андроид - скачать APK
How to save data in an android app - Stack Overflow
Safe Dating Apps | Is Online Dating Safe?
App Store: Cerberus: Your Data Safe
Ciara Flynn Nude
German Amatuer
Cuckold Laugh
Safe Date App


























