Q
查找手機的位置
2
A
回答
1
號
不切實際例外上面的回答。
你是一家電信公司,那麼你可以在電話和附近的手機塔之間進行三角測量。
你是執法人員,然後問電信公司(通常會需要傳票)。
您會發現一種遠程攻擊手機的方法(例如,使用誘騙網頁),然後打開它的GPS併發送回答。
3
Mhhhmm ...希望我會告訴你可以做到這一點始終提供以下,
- 你自己的電話
- 您已經安裝了一個移動應用程序(付費越好)已經
- 您不受法律這個
至於編碼禁止,
這是一個示例代碼。
主要活動:
package com.schogini.SimpleTracker;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.telephony.gsm.SmsManager;
import android.telephony.TelephonyManager;
import android.util.Log;
import android.widget.Toast;
public class LaunchActivity extends Activity {
Context ctx;
String imei="1234567890";
String[] lv_arr,lstr;
int smscount=1;
double xpin=0.0,ypin=0.0;
SQLiteDatabase dbb;
Cursor cur;
TelephonyManager tmgr;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
tmgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
//getting GPS data
LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
LocationListener mlocListener = new MyLocationListener();
mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, mlocListener);
//Exit program when Mission accomplished
LaunchActivity.this.finish();
}
private void sendSMS(String phoneNumber, String message)
{
String SENT = "SMS_SENT";
String DELIVERED = "SMS_DELIVERED";
PendingIntent sentPI = PendingIntent.getBroadcast(this, 0,
new Intent(SENT), 0);
PendingIntent deliveredPI = PendingIntent.getBroadcast(this, 0,
new Intent(DELIVERED), 0);
//---when the SMS has been sent successfully---
registerReceiver(new BroadcastReceiver(){
@Override
public void onReceive(Context arg0, Intent arg1) {
switch (getResultCode())
{
case Activity.RESULT_OK:
{
Toast.makeText(getBaseContext(), "SMS sent",
Toast.LENGTH_SHORT).show();
//sent=1;
break;
}
case SmsManager.RESULT_ERROR_GENERIC_FAILURE:
{
Toast.makeText(getBaseContext(), "Generic failure",
Toast.LENGTH_SHORT).show();
// sent=0;
break;
}
case SmsManager.RESULT_ERROR_NO_SERVICE:
{
Toast.makeText(getBaseContext(), "No service",
Toast.LENGTH_SHORT).show();
//sent=0;
break;
}
case SmsManager.RESULT_ERROR_NULL_PDU:
{
Toast.makeText(getBaseContext(), "Null PDU",
Toast.LENGTH_SHORT).show();
// sent=0;
break;
}
case SmsManager.RESULT_ERROR_RADIO_OFF:
{
Toast.makeText(getBaseContext(), "Radio off",
Toast.LENGTH_SHORT).show();
// sent=0;
break;
}
}
}
}, new IntentFilter(SENT));
//---when the SMS has been delivered---
registerReceiver(new BroadcastReceiver(){
@Override
public void onReceive(Context arg0, Intent arg1) {
switch (getResultCode())
{
case Activity.RESULT_OK:
{
Toast.makeText(getBaseContext(), "SMS delivered",
Toast.LENGTH_SHORT).show();
//delivered=1;
break;
}
case Activity.RESULT_CANCELED:
{
Toast.makeText(getBaseContext(), "SMS not delivered",
Toast.LENGTH_SHORT).show();
// delivered=0;
break;
}
}
}
}, new IntentFilter(DELIVERED));
SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage(phoneNumber, null, message, sentPI, deliveredPI);
}
/* Class My Location Listener for GPS and location*/
public class MyLocationListener implements LocationListener{
@Override
public void onLocationChanged(Location loc){
double pinx=0.0, piny=0.0;
pinx=loc.getLatitude();
piny=loc.getLongitude();
String loca = "My current location is: " +
"Latitude = " +pinx +
"Longitude= " + piny;
Toast.makeText(getApplicationContext(),
loca,
Toast.LENGTH_LONG).show();
if(xpin!=pinx||ypin!=piny)
{
lstr[0]="GPS Latitude = " + loc.getLatitude() +" Longitude= " + loc.getLongitude();
sendSMS("5556", " "+lstr);
}
xpin=loc.getLatitude();
ypin=loc.getLongitude();
loca = "My old location is: " +
"Latitude = " +xpin +
"Longitude= " + ypin;
Toast.makeText(getApplicationContext(),
loca,
Toast.LENGTH_LONG).show();
}
@Override
public void onProviderDisabled(String provider){
Toast.makeText(getApplicationContext(),
"GPS Disabled",
Toast.LENGTH_SHORT).show();
}
@Override
public void onProviderEnabled(String provider){
Toast.makeText(getApplicationContext(),
"GPS Enabled",
Toast.LENGTH_SHORT).show();
}
@Override
public void onStatusChanged(String provider, int status, Bundle extras){
}
}/* End of Class MyLocationListener */
}
樣品編碼接收啓動完成:
package com.schogini.SimpleTracker;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class MyIntentReceiver extends BroadcastReceiver {
// Called when boot completes
@Override
public void onReceive(Context context, Intent intent) {
// Set what activity should launch after boot completes
Intent startupBootIntent = new Intent(context, LaunchActivity.class);
startupBootIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(startupBootIntent);
}
}
XML編碼:(AndroidManifest。XML)
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.schogini.SimpleTracker"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".LaunchActivity" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<receiver android:name="MyIntentReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.HOME" />
</intent-filter>
</receiver>
</application>
<uses-sdk android:minSdkVersion="3" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.ACCESS_COARSE_UPDATES" />
</manifest>
一些應用:
WaveSecure的邁克菲
機動防禦:
https://www.mobiledefense.com/
外景:
食餌:
盜竊意識到:
https://www.theftaware.com/?step=start
wheresmyandroid
http://www.appbrain.com/app/wheres-my-droid/com.alienmanfc6.wheresmyandroid
如果您已經丟失了電話,向警方/網絡部門投訴。你不能手動追蹤它。
建議購買類似的應用程序,以便有機會追蹤您的手機並刪除敏感數據。在這樣的應用程序中的小投資將總是很方便。
相關問題
- 1. 如何使用手機mac地址查找位置?
- 2. 從手機serivce提供商查找位置
- 3. 在撥打電話的同時查找黑莓手機號碼的位置?
- 4. 是否有可能找到另一個Android手機的位置?
- 5. 使用GPS從其號碼中找到手機的位置
- 6. 查找位號碼位置
- 7. Android手機之間的位置交換
- 8. Android手機的屏幕位置發現
- 9. 獲取手機的GPS位置
- 10. 查找位置 - PHP
- 11. 查找來電位置,同時使用安卓手機通話時使用
- 12. 的XPath查找位置
- 13. 查找附近的位置
- 14. mysql查找行的位置
- 15. 查找設備的位置
- 16. 使用位置查找手勢觸摸的座標觸摸
- 17. 找出手機
- 18. Windows手機位置跟蹤程序
- 19. iPhone手機訪問iPhone位置服務
- 20. jQuery手機全屏iphone標頭位置
- 21. 使用GPS獲取手機位置
- 22. 從手機獲取gps位置
- 23. OnTouch位置平板電腦與手機
- 24. twitter-bootstrap徽標位置(桌面+手機)不同位置
- 25. 新手:按位置查找XLST 1.0節點集變量?
- 26. 在Android手機中查找地址
- 27. 如何在Android中查找4輪車司機的位置點?
- 28. 如何在隨機位置查找數組的值?
- 29. 查找機器代碼中的位置(gcc/objdump -d)
- 30. 查找位置執行