Professional Documents
Culture Documents
ABSTACT:
Application
First
start
Registered
secondary mobile
number
Run Application in
background
CHECK THE
NEW NUMBER
IS INSTALLED
Dataflow Diagram
Same
Not Same
To run the
developed
application and call
the second module
2. Send SMS
Owner Mobile
Location Manager
Calling
DESCRIPTION OF 4 MODULES:
1.
2.
3.
4.
2) Send SMS:
In this module to trace the theft mobile using sum serial number
in google map, so its identify the latitude and longitude.
When the user cannot find the mobile using the above
method,
He can try using this GPS tracking method .when the user
sends a sms with the text defined for the GPS service .the service
will be started. When the service is strated.it does the following
1. Turn on the GPS without user interaction
2. When the user goes to a different location the takes
the latitude and longitude
3. From the latitude and longitude if finds the address of
the theft current location
4. Its sends the address to the user via sms
It is another type of mobile. The thief stops the background
process. But the application will be destroyed. The thief sees the
process not visible.
String number=tm.getLine1Number();
Toast.makeText(getBaseContext(),
num2,Toast.LENGTH_LONG).show();
Toast.makeText(getBaseContext(),
number,Toast.LENGTH_LONG).show();
if(num2.equals(number))
{
Toast.makeText(getBaseContext(), "same",
Toast.LENGTH_LONG).show();
}
else
{ Toast.makeText(getBaseContext(),"The New
Number Is Installed he number is:
"+number,Toast.LENGTH_LONG).show();
}
2. Send SMS
Code:
String num5="The New Number
Is:"+getSimSerialNumber.toString();
String num4="9788841191".toString();
Toast.makeText(getBaseContext(),num5,
Toast.LENGTH_LONG).show();
SmsManager sms=
SmsManager.getDefault();
sms. SendTextMessage(num4, null, num5,
null, null);
AndroidManifest.xml Permissions
Add:
android:name="android.permission.ACCESS_LOCATION_EXTRA_
COMMANDS"
android:name="android. Permission. ACCESS_FINE_LOCATION"
android:name="android. Permission.
ACCESS_COARSE_LOCATION
android:name="android. Permission. INTERNET"
Package Required:
Import android.location.LocationManager;
Class:
Location Manager
Code:
GPSTracker gps=new GPSTracker (MainActivity.this);
double latitude=gps.getLatitude(); double
longitude=gps.getLongitude();
(Same)
(Not Same)
Location Display:
(Same)
(Not Same)
Conclusion
Future Enhancement
By
S.BRUNDHADEVI
DCE III-YEAR
111406