• Incomming_Outgoing_Call_Log_With_Call_Duration_-_Android_Project

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

    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
  • Create_Repeating_Alarm_Start_After_Each_2_Minutes

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

    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_Wake_Sleep_Event_Listner_Service_-_Android_Example

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

    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