Android Examples
Login / Register
Android Examples
  • Home
  • Android
  • NEWS
  • Java
  • Faq
  • Algorithms
  1. Home
  2. ANDROID
  3. Android Basics
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
File chooser with camera option

Open File Chooser With Camera Option In Webview File Option Open File Chooser With Camera Option In Webview File Option

Feb 03 2014 671496 by admin Download Source Code

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.

 

Read More
SharedPreferences save value

Android Session Management Using SharedPreferences - Android Example Android Session Management Using SharedPreferences - Android Example

Jan 19 2014 670638 by admin Download Source Code

In this example showing how to maintain session in login page and after login to other activities using shared preferences.

 

Read More
Shared_preferences_android_3

Android SharedPreferences Basics Android SharedPreferences Basics

Dec 28 2013 670477 by admin Download Source Code

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.

 

Read More
showing_loader_when_clicked_link_3

Show Loader To Open Url In WebView - Android Example Show Loader To Open Url In WebView - Android Example

Dec 24 2013 670544 by admin Download Source Code

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.

 

In ths example : :

   1. Opening url in webview.
   2. Showing loader before page load.
   3. Click opened url any link and again open page in webview.

 

Read More
playing video on screen

Play Video File - Android Example Play Video File - Android Example

Nov 09 2013 669918 by admin Download Source Code

In this example showing code to play video. Taking a video(3gp) file inside application raw folder and playing in on activity.

 

Read More
After capture click ok button

Camera Video Capture And Save On SDCard - Android Example Camera Video Capture And Save On SDCard - Android Example

Nov 09 2013 631956 by admin Download Source Code

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.

 

Read More
Get contact emails

Get Contact Emails By Content Provider - Android Example Get Contact Emails By Content Provider - Android Example

Oct 23 2013 631914 by admin Download Source Code

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.

 

Read More

Content Provider Basic Content Provider Basic

Oct 11 2013 632257 by admin Download Source Code

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.

 

Read More
dynamically_create_button_click_listener_3

Dynamically Create View Elements - Android Example Dynamically Create View Elements - Android Example

Sep 30 2013 632143 by admin Download Source Code

In this example creating some UI elements on screen on run time. Creating textview , buttons dynamically and creating onclick listener for buttons. After click on button show index(id).

 

Read More
get_global_application_context_value_2

Global Variable Or Application Context Variable - Android Example Global Variable Or Application Context Variable - Android Example

Sep 27 2013 632269 by admin Download Source Code

In this example defining variable in application context and you can use this variable as a Global variable. You can set value in this variable and get value on any activity / broadcast reci\\eiver / service in application context(environment).
In Further examples you will see good use of this way to follow SINGALTON pattern and MVC pattern in android.

Read More
Showing_splash_screen_1

Splash screen - Android Example Splash screen - Android Example

Sep 26 2013 631943 by admin Download Source Code

Splash screen is an activity that will show for set time when your app is starting and after set time period redirect to application main scre

 

Example :

Lets splash screen show set time is 15 sec then in mean time when splash screen showing you can do these tasks...

   1. You can download resources(images) from webserver to your phone.
   2. You can make server call and get data from server.
   3. Get data from network and save in database.

   4. Show something about your app/company/brand on Splash screen.

 

 

Read More
on_make_call_screen_6

Check Current Running Activity | Task | Application - Android Example Check Current Running Activity | Task | Application - Android Example

Sep 06 2013 632015 by admin Download Source Code

In this example detecting current running activity from top of the activity stack. In this way we can find out current running application and task.

 

Use :

   1. Suppose you have a task like , when user opens message/phone call/any application screen then your app performs an action like start a music or vibration etc....

 

Read More
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

Categories

  • Android Basics (71)
  • Android Advanced (8)
  • Projects (1)

Tags

ANDROID
  • INSTALLATION
  • BEGINNER
  • SQLite
  • LAYOUTS
  • GUI
  • THREAD
  • BROADCAST RECEIVER
  • LISTVIEW
  • GPS
  • CONTACTS
  • XML / JSON
  • WEBVIEW
  • SHARED PREFERENCES
  • CONTENT PROVIDER
  • SERVICE
  • CAMERA
  • FILE UPLOAD
  • CUSTOM
  • WIFI
  • CALL
  • SMS
  • WEBSERVICE
  • ANIMATION
  • AUTOCOMPLETE
  • ACCELEROMETER
  • NOISE
  • MVC
  • GCM
  • FACEBOOK

Top Downloads

Open File Chooser With Camera Option In Webview File Option Open File Chooser With Camera Option In Webview File Option
Feb 03, 2014 671496
Facebook Integration - Android Example Facebook Integration - Android Example
Jan 13, 2016 670839
Android Session Management Using SharedPreferences - Android Example Android Session Management Using SharedPreferences - Android Example
Jan 19, 2014 670638
Show Loader To Open Url In WebView - Android Example Show Loader To Open Url In WebView - Android Example
Dec 24, 2013 670544
Android SharedPreferences Basics Android SharedPreferences Basics
Dec 28, 2013 670477
Play Video File - Android Example Play Video File - Android Example
Nov 09, 2013 669918
Android Push Notifications using Google Cloud Messaging GCM Android Push Notifications using Google Cloud Messaging GCM
Oct 05, 2013 633194
Upload File To Server - Android Example Upload File To Server - Android Example
Feb 28, 2013 632483
Incomming SMS Broadcast Receiver - Android Example Incomming SMS Broadcast Receiver - Android Example
Feb 04, 2013 632410
How To Make HTTP POST Request To Server - Android Example How To Make HTTP POST Request To Server - Android Example
Feb 06, 2013 632305
Android Examples

Founder of Android Example.com, love Java and open source stuff. Follow him on Twitter, or befriend him on Facebook.

Email: info@androidexample.com

Follow Us

Information

  • About Us
  • Terms & Conditions
  • Privacy Policy
  • Contact Us

My Account

  • My Account
  • My Questions

Sign Up to Our Newsletter

Sign up our newsletter and get exclusive deals you will not find anywhere else straight to your inbox!

Features

  • Java Blogs
  • News
  • Faqs

© 2025 AndroidExample All Rights Reserved.

This website uses cookies to ensure you get the best experience on our website. For more information Learn about cookies