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. 手机的位置
- 2. 查找手机来电的位置的替代方法
- 3. 通过Android以外的GPS /手机网络查找位置?
- 4. 如何使用手机mac地址查找位置?
- 5. 从手机serivce提供商查找位置
- 6. 在iOS中查找手机信号塔位置
- 7. 跟踪手机的位置
- 8. Android手机位置API
- 9. Windows手机7 GPS位置
- 10. 定位服务getLastKnownLocation()检查手机当前的GPS位置吗?
- 11. 查找位置
- 12. 查找位置
- 13. 窗口手机点击手势位置
- 14. 在拨打电话的同时查找黑莓手机号码的位置?
- 15. 是否有可能找到另一个Android手机的位置?
- 16. 找到手机的当前位置,而不使用GPS
- 17. 使用GPS从其号码中找到手机的位置
- 18. 找到智能手机相对于电脑的位置
- 19. 查找位号码位置
- 20. 如何获取Google地图地理位置API中的`radiotype`需要使用手机塔来查找位置?
- 21. 查找位置 - PHP
- 22. 查找web.config位置
- 23. Android手机之间的位置交换
- 24. 在安装位置上的Android手机
- 25. 获取手机的GPS位置
- 26. 手机的Javascript地理位置
- 27. Android手机的屏幕位置发现
- 28. 查找来电位置,同时使用安卓手机通话时使用
- 29. 查找LongListSelector Windows手机的子控件
- 30. 插入位置放在手机中的位置