#BEGINNER android studio helllllp!!!!!!!!!!!!connecting child page to parent page

0 francis smith · October 19, 2015
am a beginner in android development am bulding a certain system and am having problems  linking the pages...and i want to know how to make an andoid database to save user inputs and check later the things saved.. pliiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiz help

Post a Reply

Replies

Oldest  Newest  Rating
0 Gary Whitney · October 19, 2015
1. Linking one activity to another is done with an Intent. See tutorial 35
    Intent I = new Intent(this, Bacon.class);
    I.putExtra("applesMessage", userMessage);
    startActivity(I);
2. The simplest database is the SharedPreference file(s).
     See tutorials  63 and 64
     SharedPreferences loginData = getSharedPreferences("userInfo", Context.MODE_PRIVATE);

3. Use SQLite when you need lots of data. Tutorials 49 to 54.
  * One note on SQLite. It is bad practice to use SQLite in the UI, like this example, if your query is going to take too much time to perform. See tutorials 39 and 40.
  • 1

Java / Android Development

106,939 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator