Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by frankymak · Sep 17, 2013 at 03:41 PM · androidjavascriptdatabasedata

database android unity

Hello. What is the best way to create a database in unity? I need to, upload, delete, insert, save a lot of data (I have not tried to use player prefs, because many data)

I work in android and script in java.

thank you very much.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Benproductions1 · Sep 17, 2013 at 11:36 PM

Hello,

Client side applications don't ever use databases. They are way too advanced, complicated and excessive. Especially if you are using Android as a platform

The best solution is usually to use System.IO and save text or byte data as files. It's quite easy to do and the FileStreamer allows you to do it asynchronously without much of a performance impact. There are plenty of tutorials out there on how to save files etc.

Hope this helps,
Benproductions1

Comment
Add comment · Show 10 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image frankymak · Sep 18, 2013 at 09:31 AM 0
Share

Thank you very much, Do you know any example to send?

avatar image Benproductions1 · Sep 18, 2013 at 09:36 AM 1
Share

it would be nice if people would start using google ins$$anonymous$$d of asking such questions

avatar image frankymak · Sep 18, 2013 at 09:41 AM 0
Share

You are right. But I've been very many days trying to find about this. Because I need to save some 100 variables in android, and I'm having a lot of trouble for this. Thanks anyway

avatar image Benproductions1 · Sep 18, 2013 at 09:44 AM 0
Share

If I answered your question you should accept it :)
If you don't know how, watch the tutorial video on the right

avatar image frankymak · Sep 18, 2013 at 09:58 AM 0
Share

ok, just one more thing, you refer to your response to this? http://wiki.unity3d.com/index.php?title=Save_and_Load_from_X$$anonymous$$L

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Storing Constant data in a mobile game 0 Answers

Why PlayerPrefs not working although I use "HasKey" and Save() on android? 0 Answers

Android car controls c# 0 Answers

'GetComponent' is not a member of 'Object'. 2 Answers

Writing javascript for web and android 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges