Skip to main content

Posts

Showing posts with the label call

What is DDMS in ANDROID ?

Android provides a debugging tool called the Dalvik Debug Monitor Server (DDMS).         DDMS provides port-forwarding services. Screen capture on the device. Thread and heap information on the device. Logcat. Process. Radio state information.         Incoming call and SMS spoofing, location data spoofing, and more. To open DDMS goto Windows--> Open prespective--> other, DDMS   Select DDMS and you will get a window like this Here from this window you can take screenshots, send sms , make a call.......

Broadcast Receiver Introduction in Android

A broadcast receiver is a component that responds to system-wide broadcast announcements. Many broadcasts originate from the system—for example, a broadcast announcing that the screen has turned off, the battery is low, or a picture was captured. There are two ways to use broad cast receiver in android -- One is using dynamically in activity Second to register through manifest Using dynamically in activity Register broadcast receiver Via dynamically ( Run time ) // Create reciever object private BroadcastReceiver the_receiver = new PhoneCall(); // Set When broadcast event will fire. private IntentFilter filter = new IntentFilter(Intent.ACTION_CONFIGURATION_CHANGED); // Register new broadcast receiver this.registerReceiver(the_receiver, filter); // Reciever class which extends BroadcastReceiver public class PhoneCall extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { // Phone call state change then this method will au...