Android Examples
Login / Register
Android Examples
  • Home
  • Android
  • NEWS
  • Java
  • Faq
  • Algorithms
  1. Home
  2. ANDROID
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
TabLayout_tabbar3_data_3

Tab Layout | TabBar - Android Example Tab Layout | TabBar - Android Example

Jul 08 2013 632047 by admin Download Source Code

In this example creating a tab layout to show different screen for each tab.
Creating three tabs and setting different images and screens for each tab.

 

- To Create Tab and Tab change listner Extend TabActivity and implements OnTabChangeListener.
- Create tabhost object to create tabs.
- Create three tabs name FOOD , GAME , SPORT and set background images.
- Create three activities add these tabs.
- Add Tabs to tabhost.

Read More
Seeing_comming_notification_3

Create Notification Alert - Android Example Create Notification Alert - Android Example

Jul 06 2013 631939 by admin Download Source Code

In This example creating Notification Alerts with the use of NotificationManager.

 

Some times we have requirement to show alert user from background services or from broadcast reciever then best way to notify user by Notification Alert

 

Read More
restful_webservice_server_response_json_5

Restful Webservice Call And Get And Parse JSON Data- Android Example Restful Webservice Call And Get And Parse JSON Data- Android Example

Jul 05 2013 632156 by admin Download Source Code

In This example calling restful webservice to get json data and parse that json data.

 

Steps :

   1. Call php file (php) from server and create JSON data in php.

   2. Consume JSON data by android and show on activity.

   3. Parse JSON data and Show parsed data on screen(activity).

 

Read More
dotnet_webservice_call_response_3

Dot Net Webservice Call - Android Example Dot Net Webservice Call - Android Example

Jul 04 2013 631944 by admin Download Source Code

In This example calling dot net webservice to get/send data to server. Using ksoap2-android-assembly-2.4-jar-with-dependencies.jar to make soap call.
Accessing a live web service ConvertWeight from http://www.webserviceX.NET/ which convert weight from one unit to another.

Steps :

   1. Add jar ksoap2-android-assembly-2.4-jar-with-dependencies.jar in your project.
  2. Creating class WebserviceCall.java and define webservice namespace and url and make soap call. Accessing a live web service ConvertWeight from http://www.webserviceX.NET/ which convert weight from one unit to another.
   3. Call WebserviceCall.java object to call getConvertedWeight method.
   4. Showing response in a toast(alert) and on screen.

 

Read More
check_internet_connectivity_after_f8_click_1

Check Internet Connectivity Check Internet Connectivity

Jun 25 2013 631954 by admin Download Source Code

In this example we will see how to check internet connectivity.
When we have requirement to call file on server or call webservice then  first check internet connctivity.
If internet connection is showing connected then we will call file on server or call webservice.
Required ACCESS_NETWORK_STATE permission in mainfest.xml file.

Read More
FTP_Upload_file_from_sdcard_2

FTP File Upload From Sdcard to server FTP File Upload From Sdcard to server

Jun 22 2013 632041 by admin Download Source Code

First Time User Please check previous example for normal file upload by server script( php | java | .net | coldfusion )
Upload File To Server - Android Example ( http://androidexample.com/Upload_File_To_Server_-_Android_Example/index.php?view=article_discription&aid=83&aaid=106 )

 

In this example uploading file on server by ftp client ( with the use of ftp4j-1.6.jar ).

Steps :

   1.  Using ftp4j-1.6.jar from sauronsoftware repository. Download and Add ftp4j-1.6.jar as library.
  
   2.  Must be required a Server Dedicated IP for FTP File upload.

 

Read More
skew_blend_image_on_sdcard_2

Skew Or Bind Image On SDCARD - Android Example Skew Or Bind Image On SDCARD - Android Example

Jun 20 2013 631893 by admin Download Source Code

In This example taking a image from sdcard and skew / bind image with the use of matrix.

Read More
Swipe_screen_down

Swipe screen left right top bottom Swipe screen left right top bottom

Jun 07 2013 632039 by admin Download Source Code

In This example creating a Swipe screen example .Swipe screen left / right / top / bottom , an alert will show.

Read More
Screen3

Incomming Outgoing Call Log With Call Duration - Android Project Incomming Outgoing Call Log With Call Duration - Android Project

Jun 03 2013 631897 by admin Download Source Code

In This project creating a incomming outgoing call log with call duration.

 

WorkFlow :

Created three broadcast reciever.
   a. Broadcast Reciever for Incomming call (IncomingCall.java).
   b. Broadcast Reciever for Outgoing call (OutgoingCall.java).
   c. Broadcast Reciever for Call duration (CallDurationReceiver.java).

Created controller file Controller.java

Created a list to show what type of call log want to show. created three files
   a. CallList.java to show call list options.
   b. CallListData.java to create each row data in list.
   c. CallListValues.java Model to store each row data for list.

DBAdapter.java to store call data in sqlite database.

CallDetailServer.java to store sqlite data to server and show call data to activity.

 

Read More
alarmmanager_main

Create Repeating Alarm Start After Each 2 Minutes Create Repeating Alarm Start After Each 2 Minutes

May 30 2013 631925 by admin Download Source Code

In This example creating a simple repeating alarm system with the use of AlarmManager. Alarm will start after each 2 mins.

 

Steps :

   1.  Using AlarmManager class to repeating and called a PendingIntent after each 2 min.
   2.  Call a media file on PendingIntent and start media file.
   3.  So after each 2 min AlarmManager will call PendingIntent a media file start.

Read More
screen sleep captured

Screen Wake Sleep Event Listner Service - Android Example Screen Wake Sleep Event Listner Service - Android Example

Apr 01 2013 631967 by admin Download Source Code

In this example broadcasting screen wake / sleep event with a service.

Some times we  have requirement to make less battery consumption then you can stop your services when phone is going to sleep mode and again start your services when phone is going to wake.

 

Steps :

   1. Create a service inside main activity to get screen wake / sleep broadcast events.
   2. Create a broadcast receiver inside service to get screen wake / sleep events.
   3. Send screen wake/sleep value from broadcast receiver to Service.

Read More
Scan_Wifi_Connections_3

Scan wifi connections or Get number of available wifi connections Scan wifi connections or Get number of available wifi connections

Mar 26 2013 631930 by admin Download Source Code

In this example scaning for number of available wifi connections , Creating a broadcast receiver which will called when number of wifi connections changed.

 

 

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

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