Engineering ProjectsAndroid ProjectsBsc-ITDiplomaIT ProjectsMsc-IT Projects

Phone with GPS Mobile Theft Tracking System


Have you ever worried about the security of your Android phone? In an era where mobile devices hold a wealth of personal and professional information, phone theft has become increasingly common. In this article, we introduce you to an advanced mobile theft application that leverages GPS phone technology, offering multi-layered security to protect your device.

Features of The Anti-Theft App

Our mobile anti-theft application provides comprehensive phone theft security, including:

  • User Registration: Sign up with your name, phone number, email ID, and a secure password. Access is provided to both the web application and the mobile app.
  • Trigger Mechanism: In case your phone is lost or stolen, log in to the web application and activate the ‘Lost Phone’ trigger.
  • Instant Photo Capture: Once triggered, the app takes a picture using the phone’s front camera.
  • GPS Coordinated Tracking: The app sends GPS coordinates to the web application, enabling you to track your Android phone in real-time.

How it Works?

  • New SIM Detection: If the thief changes the SIM card, the application will automatically run itself, capture the new phone number, and send an SMS to your registered number and an alternate number.
  • Web Application: The web portal allows you to trigger the app remotely and provides a dashboard to view the location and images of the perpetrator.


  • Real-time GPS security tracking of your phone.
  • SMS alerts from a new SIM card, increasing your chances of recovering the phone.
  • The application captures the thief’s picture for easier identification.


The only downside is that it requires an active internet connection to function optimally.

Sample Code

import android.Manifest;
import android.location.Location;
import android.os.Bundle;
import android.telephony.SmsManager;
import android.telephony.TelephonyManager;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {
    private FusedLocationProviderClient fusedLocationClient;

    protected void onCreate(Bundle savedInstanceState) {

        TelephonyManager telephonyManager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
        String currentSimSerial = telephonyManager.getSimSerialNumber();

        // Replace with the SIM serial number registered during app installation
        String registeredSimSerial = "YOUR_REGISTERED_SIM_SERIAL";

        if (!currentSimSerial.equals(registeredSimSerial)) {
            sendAlertSms("New SIM card detected!");

        fusedLocationClient = LocationServices.getFusedLocationProviderClient(this);

        if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {
            fusedLocationClient.getLastLocation().addOnSuccessListener(this, new OnSuccessListener<Location>() {
                public void onSuccess(Location location) {
                    if (location != null) {
                        String coordinates = "Latitude: " + location.getLatitude() + ", Longitude: " + location.getLongitude();
                        sendAlertSms("Phone is located at " + coordinates);
        } else {
            ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 1);

    private void sendAlertSms(String message) {
        SmsManager smsManager = SmsManager.getDefault();
        // Replace with your registered phone number
        smsManager.sendTextMessage("YOUR_PHONE_NUMBER", null, message, null, null);
        Toast.makeText(getApplicationContext(), "Alert sent.", Toast.LENGTH_LONG).show();


<uses-permission android:name="android.permission.SEND_SMS"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

    <activity android:name=".MainActivity">
Click to rate this post!
[Total: 0 Average: 0]

Download Phone with GPS Mobile Theft Tracking System PDF

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button