prey / prey-android-client

Android client for the Prey anti-theft software.
http://preyproject.com
GNU General Public License v3.0
429 stars 186 forks source link

Prey not sending reports #7

Closed giacmir closed 9 years ago

giacmir commented 12 years ago

I'm using a kraun tablet with android 2.2

If I send the activation sms prey seems to read it and logs

02-29 12:21:38.005: I/PREY(2028): SMS received: GO PREY 02-29 12:21:38.005: I/PREY(2028): EmuSms 02-29 12:21:38.015: I/PREY(2028): SMS Match!, waking up Prey right now!

EmuSms is the app I've used to simulate the SMS message (the tablet has any SIM installed at the moment)

Device is marked as missing in the control panel and I receive the confirmation email but no report are generated or sent even after waiting some hours

if I try to manually activate prey using the in-app menu option logcat receives this:

02-29 12:24:24.185: E/PREY(2028): Error while running job [1212142608] :Thread was intrrupted. Finishing Location NotifierAction 02-29 12:24:24.185: E/PREY(2028): com.prey.PreyException: Thread was intrrupted. Finishing Location NotifierAction 02-29 12:24:24.185: E/PREY(2028): at com.prey.actions.location.LocationNotifierAction.execute(LocationNotifierAction.java:90) 02-29 12:24:24.185: E/PREY(2028): at com.prey.actions.observer.ActionJob.run(ActionJob.java:81) 02-29 12:24:24.185: E/PREY(2028): at java.lang.Thread.run(Thread.java:1096) 02-29 12:24:24.185: E/PREY(2028): Caused by: java.lang.InterruptedException 02-29 12:24:24.185: E/PREY(2028): at java.lang.VMThread.sleep(Native Method) 02-29 12:24:24.185: E/PREY(2028): at java.lang.Thread.sleep(Thread.java:1306) 02-29 12:24:24.185: E/PREY(2028): at java.lang.Thread.sleep(Thread.java:1286) 02-29 12:24:24.185: E/PREY(2028): at com.prey.actions.location.LocationNotifierAction.execute(LocationNotifierAction.java:88) 02-29 12:24:24.185: E/PREY(2028): ... 2 more

device is marked as missing in the control panel but again no reports are generated.

unhammer commented 12 years ago

could https://github.com/prey/prey-android-client/issues/10 be related?

giacmir commented 12 years ago

Yes, definitely. Today I tried the following situations:

  1. Gps tracking off = prey not sending reports
  2. Gps on but on a place where signal is absent = prey not sending reports
  3. Gps on and tracking = prey sends report.
unhammer commented 12 years ago

Even if Prey wouldn't send GPS reports, it should at least be able to lock the screen, I still haven't been able to get it to lock without GPS (though perhaps I haven't been patient enough?).

I haven't checked yet whether the web panel shows the IP of the device with GPS off, hope it does that at least …

giacmir commented 12 years ago

From my experience if GPS is off or the device is on a place where the gps can't track the control panel just reports the device as missing but doesn't display anything else. I haven't tried screen lock or other similar features. The error console shows that the application crashes while trying to generate a report. This thing of the GPS seems to be related to that at this point. I only hope that prey's developers read the bug reports on github sometimes.

cyaconi commented 12 years ago

I'm reading guys, sorry to don't post as often as I would like. We're working on a bunch of new things, and in the process I'll be checking every single bug you've posted.

ghost commented 9 years ago

Hi, guys. We're (finally) catching up with our Android issues. If your problem persists, please feel free to reopen this.

Have a nice day!