Best way to start learning android with workshop on Fundamental of Android. Android Fundamental workshop covers the basic fundamental about the android application development and how to start including ide and more..
2. Index
Introduction to Android
Introduction to Android Studio IDE
Introduction to Activity
Goto Next Activity
Goto Next Activity with Data
Manage User Sessions
Receive Single Data from Server
Receive Multiple Data from Server
Bind Single Column Data with ListView
Bind Multi Column Data with ListView
http://arthtechnology.com
7. Actually There are many options
Goto Another Activity
Goto Another Activity with Data
Open Browser
Open Share Intent
Open Another Activity to Select Image
Open Another Activity to Select File
http://arthtechnology.com
8. Goto Another Activity
Intent intent = new Intent(getApplicationContext(),
MainActivityHome.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
http://arthtechnology.com
9. Goto Another Activity with Data
(Temporary)
Display one item when you click on list of item
Pass just true/false or just id
Pass Index (like from where you are coming...) (Eg. Login
page is only one and we are using from workshop and
training both so we need to
http://arthtechnology.com
10. Goto Another Activity with Data
(Temporary) (Example)
Intent intent = new Intent(getApplicationContext(),
MainActivityHome.class);
intent.putExtra("varable1","value")
startActivity(intent);
varable1= getIntent().getStringExtra("varable1");
http://arthtechnology.com
11. Manage User Sessions
(Permanent)
public static final String PREFS_NAME = "Preference";
SharedPreferences settings =
getSharedPreferences(PREFS_NAME, 0);
SharedPreferences.Editor editor = settings.edit();
editor.putString("mobiletatus", "Y").apply();
String par1 = settings.getString("mobile", "9898036028");
http://arthtechnology.com
15. Its all about sending data
one Activity to another activity
or
Get some data/File/Image
from Android
http://arthtechnology.com
16. Now its time to
fetch data from Server
http://arthtechnology.com
17. Fetch Data from Server (some cases)
Validate User (Is userid and password is correct or not)
Change User Password
User forgot his/her password send by sms
Send otp to verify mobile number
send invitation to their friends about app via server
Check I have applied for Android Fundamental
workshop
Fetch list of upcoming workshops of Arth Technology
Fetch list of completed workshops of Arth Technology
Fetch list of workshops I have applied
http://arthtechnology.com
19. Example to fetch data
Login with okhttp (Fetch Data from Server)
Login with AsyncTask (Fetch Data from Server)
Save data to Preference
Load data from Preference
http://arthtechnology.com