In this android example we will learn how to integrate facebook sdk to your android project, make facebook user login and post to facebook user wall and get user freinds.
In this example opening url in webview and showing progress Dialog for page. Show file chooser option on clicking file option for web form . Open new link from webview to external browser. For any url open new activity or do other task.
In this example showing how to maintain session in login page and after login to other activities using shared preferences.
You can save and retrieve key, value pair data from Shared preferences.
SharedPreferences values will persist across user sessions. Data in shared preferences will be persistent even though user closes the application.
WebView is a View that displays web pages.If want to display html as the part of your UI then you can use WebView in your APP.
1. Opening url in webview.
2. Showing loader before page load.
3. Click opened url any link and again open page in webview.
In this example showing code to play video. Taking a video(3gp) file inside application raw folder and playing in on activity.
In this example capturing video by inbuild camera in android and save captured video on sdcard. Using camera intent to record video and after record the video again come back on activity and show captured video path on activity.
In this example sending device to device (Mobile To Mobile) messaging using google cloud messaging (GCM). it is the very basic example you can use this to create advance level messaging application. Using php as server side language and mysql database.
Students can also use this project for semester project.
In this example reading contact emails from phone. showing visual reprsentation of contact data to how data stored and how we can fetch data by contant provider.
ContentProvider used to get data from central repository. Android application contains content provider to provide data to other applications. you can also create your custom content provider to get data from database / sdcard / media etc.
Content providers create an abstraction layer between its repository of data and external application that are using data.
External Application can call Content Provider methods with the use of ContentResolver.
ContentResolver work as ContentProvider client object, with the use of Content Resolver object we can get data from Content Provider.
ContentProvider and ContentResolver (provider clients) used together to create a interface for data to handles inter-process communication and access data in secure way.