This project is a university project for learning basis of android development.
Username: admin
Password: password
- Set screenOrientation
- Custom Widget Design
- Starting New Activities
- Passing Data To Other Activity Using Intent
- Selecting Pictures From The Gallery
- Calling With Intents
- Sending Email With Intents
- Custom RecyclerView and Custom ViewHolder
- ViewHolder Click Event
- Starting New Activities From Custom Class
Set screenOriantation
//At AndroidManifest.xml
<activity android:name=".coursedetail_activity" android:screenOrientation="portrait"></activity>
Passing Data To Other Activity Using Intent
Contact a = new Contact(...); // a serializable class
//new Intent(this.class.object, another.class)
Intent intent = new Intent(newcontact_activity.this, showcontact_activity.class);
intent.putExtra("contact", a); // put serializable object
startActivity(intent);
Starting New Activities From Custom Class
//set this.context from activity (anotherobject.context = getApplicationContext();)
Intent intent = new Intent(this.context, coursedetail_activity.class);
intent.putExtra("course", course);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); //important
context.startActivity(intent);
Select Image
Call And Send Mail
Login Screen
Show Contact Info
Course List (ReCyclerView)
Course Detail