Android client for the Prey anti-theft software.

Overview

Prey: Android client

Here you will find all the source code for the current and in development releases of the Prey client for Android devices.

Prey is the most complete anti-theft application! It lets you track and locate your lost or stolen device. Locate and recover your device with geolocation and many more features.

Prey is a freemium web service for tracking and monitoring laptops, smartphones and other electronic devices, based on an open-source software agent that connects to a host computer, also referred to as the control panel. The host can signal the agent, prompting it to reply with information about its current location, and can trigger various other actions.

Features

  • Find your Phone or Tablet on a map through geolocation using GPS.
  • Take pictures using the built-in front and back camera.
  • Trigger a loud alarm remotely even if your phone is put on silent.
  • Display a tailored alert message on the screen.

Requirements

  • Android Studio 1.0
  • Android 2.3+

Contact

Follow Prey Project on Twitter (@PreyProject)

Authors

Legal

Copyright © 2010-2016, Prey Inc. Released under the GPLv3 license. For full details see the LICENSE file included in this distribution.

Comments
  • Allow apk to be downloaded outside Google Play too.

    Allow apk to be downloaded outside Google Play too.

    I have Impression I10 tablet, which doesn't have Google Play officially, so I cannot install Prey with it.

    I have looked for the .apk, but neither preyproject.com or GitHub downloads section provides .apk file.

    I install everything to that tablet with F-Droid and it would be nice to have Prey there. If I understood correctly, there are some issues which prevent Prey from getting there.

    wontfix question 
    opened by Mikaela 18
  • Cannot connect to device

    Cannot connect to device

    When trying to login from my device I get this error message:

    We have a situation! [nice title BTW :laughing: ]

    Prey couldn't connect to the web Control Panel. Check your settings and try again.

    I have AFWall+ installed, but Prey is whitelisted.

    opened by rugk 14
  • Password validation fails complex passwords.

    Password validation fails complex passwords.

    There is a bug in the android app that prevents me from logging in using a long, complex password with a mixture of upper and lower case letters, numbers and symbols (but no spaces). I don't know at which point exactly the validation fails, but setting the following password on your prey account will prevent you from logging into the android app: TV!dU9axE3f!Af28W3G$cADstWyQkfcv (don't worry, I've changed my password before posting).

    Short, easy to remember (and thus crack) passwords work without issues.

    opened by sliekens 13
  • Prey relies on Google Play services

    Prey relies on Google Play services

    Prey uses GCM, which means you need Google Play Store installed, that is, proprietary software. For this reason, it hasn't been included yet in the F-Droid repository (which only allows free software and is the default app repository on Replicant phones). Details here: https://f-droid.org/forums/topic/prey/

    What good is free software if it relies on proprietary software to work?

    opened by pizzamaker 10
  • prey not sending sms to any contact !!

    prey not sending sms to any contact !!

    Hello, when i choose a contact and it ask for "send an msg to contact" i try sending message.. but i get reply "Does your device not support sms service ?" crap ???

    how come.. can anyone tell me a fix for this ? i was using master package making bit upgrade to it.. ;)

    waiting for some help.

    opened by devilcrab 9
  • Hero selection

    Hero selection

    When I try to select a hero in my contact list, the first number of this contact is automatically selected (I cannot change it), even if it's a local phone (not a mobile phone).

    Also, that would be great to be able to select the email of a contact, to receive an email instead of an SMS notification.

    --- Sony Xperia Ray on Android 4.0.4 ---

    opened by benji1000 7
  • Standalone mode

    Standalone mode

    It would be nice if Prey for Android had the standalone mode too. I have the check pages of my other devices on GitHub pages and it would be easier to manage all devices if they all were at same place.

    question priority: normal 
    opened by Mikaela 6
  • Send location data when phone's battery is about to die (Android, iOS maybe)

    Send location data when phone's battery is about to die (Android, iOS maybe)

    As i commented on twitter directly to Tomás https://twitter.com/TCattd/status/256018438403813376

    Will be nice to have Prey send a last report, specifically with the current phone's location, when battery charge is low or about to die (maybe with % threshold being an user option).

    This idea can be expanded to send a report every time the phone it's powered off by the normal way (hold power button -> power off) before the phone completly powers off... just in case thieve turn it off like normal people do it.

    That. Please.

    Hope can be implemented in some future ;)

    priority: normal enhancement 
    opened by TCattd 6
  • Prey not sending reports

    Prey not sending reports

    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.

    opened by giacmir 6
  • publish on f-droid market

    publish on f-droid market

    http://f-droid.org "The F-Droid Repository is an easily-installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The server contains the details of multiple versions of each application, and the Android client makes it easy to browse, install them onto your device, and keep track of updates."

    it also has some discussion about prey and possible issues in making it available there: http://f-droid.org/forums/topic/prey/

    duplicate 
    opened by elf-pavlik 5
  • Build failures x10: missing FileConfigReader

    Build failures x10: missing FileConfigReader

    Several build errors caused by missing FileConfigReader class:

    [javac] /home/all/SourceCode/prey/android-client/src/com/prey/PreyConfig.java:344: cannot find symbol
    [javac] symbol  : variable FileConfigReader
    [javac] location: class com.prey.PreyConfig
    
    opened by iam-TJ 5
  • Please provide frequent compilation via GitHub.

    Please provide frequent compilation via GitHub.

    I am unable to utilise your software, because solely Android is available to me, so I am unable to compile your software. Why not expose the result of what your CI provides to Google via GitHub? This would additionally allow F-Droid repositories that merely distribute APKs rather than compile software to utilise it as a temporary method of disytribution until you provide a repository for F-Droid.

    opened by rokejulianlockhart 0
  • Logging of sensitive information

    Logging of sensitive information

    Prior to Android 4.0, any application with READ_LOGS permission could obtain all the other applications' log output. After Android 4.1, the specification of READ_LOGS permission has been changed. Even applications with READ_LOGS permission cannot obtain log output from other applications.

    However, by connecting an Android device to a PC, or when running a rooted device, log output from other applications can be obtained.

    Therefore, it is important that applications do not send sensitive information to log output.

    The following LGTM query results demonstrate user credentials being written to the system log: https://lgtm.com/query/934527809110829031/

    Once the issue is fixed, please create a security advisory to a CVE is assigned to it by GitHub.

    Thank you,

    opened by bananabr 0
  • [LineageOS 16.0] [Prey for Android 2.0.0] Unable to reach device

    [LineageOS 16.0] [Prey for Android 2.0.0] Unable to reach device

    Previously posted this in the forum: https://community.preyproject.com/t/lineageos-16-0-prey-for-android-2-0-0-unable-to-reach-device/1845.

    Let us help you. Please tell us about...

    • Affected device (desktop, laptop, tablet, phone): phone (Xiaomi Mi 8 128GB Global)
    • Operating system (Windows, MacOS, Android, iOS, Ubuntu, Fedora): LineageOS 16.0 (dipper) 2019-4-15
    • Part of Prey not working (Prey account, mobile app, a specific action or module, reports): specific action

    Could you please describe the problem?

    When I try Prey on my phone I can't seem to locate it via the panel on the website. When I press the "UPDATE LOCATION" button, I'm presented with the "Unable to reach device" message.

    I don't know what's wrong. I installed it properly. Gave it the permissions it asked for. I also followed this and this guide. In the app it says "PROTECTED" in green.

    And finally, please attach a screenshot if available (you can drag and drop images)

    afbeelding afbeelding

    opened by Baarten 0
Releases(v2.4.2)
  • v2.4.2(Aug 16, 2022)

    What's new

    • The app suggests you disable the “Delete permissions if not used” option to ensure continuous protection.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.4.1(Jun 14, 2022)

    What's new

    • The app requires you to grant access to “Management of All Files” in Android 12 or later. This permission allows for File Retrieval, beyond images and videos.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.4.0(Mar 25, 2022)

  • v2.3.10(Oct 25, 2021)

    What's new

    • Two-Step Verification: You now have the chance of adding a second step to strengthen your account, since we know it’s important to cover all the bases to increase your account’s security. You will be furnished with steps on how to set up this extra security level inside your Prey Panel settings menu, under Two-Step Verification..

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.3.8(Sep 9, 2021)

    What's new

    • Version update for Huawei’s Device only: To access location data in the background and perform security actions from your panel, Huawei devices need additional permissions that you must grant manually.
    • Support Android 12.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.3.7(Jul 6, 2021)

    What's new

    • You can now send a personalized message when locking your device. All admins can now find a text field during the lock process to type in a custom message of up to 650 characters and notify a user when the device is locked. This is an optional feature and it will be executed once the device is connected to Prey’s servers.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.3.6(May 25, 2021)

    What's new

    • Version update for Xiaomi’s Device only: To access location data in the background and perform security actions from your panel, Xiaomi devices need additional permissions that you must grant manually.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.3.4(Mar 9, 2021)

  • v2.3.3(Feb 17, 2021)

  • v2.3.2(Feb 15, 2021)

  • v2.2.9(Nov 6, 2020)

    What's new

    • The Power-off unlock issue has been fixed for all affected models.
    • Due to Google restrictions, we removed the Power-off unlock on all Android versions.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.2.8(Oct 30, 2020)

  • v2.2.7(Oct 26, 2020)

  • v2.2.6(Oct 7, 2020)

  • v2.2.5(Sep 24, 2020)

  • v2.2.1(Jul 8, 2020)

    What's new

    • We have added accessibility permission that makes sure that even if the permission to overlap app screens is removed, Prey will still block all applications before they can be opened.
    • You can now access your privacy information from the home screen.
    • You can now see more details on why we require certain permissions in order for Prey to function properly.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.1.10(May 4, 2020)

  • v2.1.9(Jan 24, 2020)

  • v2.1.8(Dec 27, 2019)

    What's new

    • Account creation validation has been implemented, to avoid sign-ups with non-existing or misspelled email addresses.
    • Devices' online-offline status is now available in the control panel.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.1.7(Oct 2, 2019)

    What's new

    • The logic of permission requests for the camera, phone, storage, and location has been updated.
    • Location permission is requested to "allow all the time" for Android 10.
    • Location accuracy has improved when the application is running in the background.
    • Prey recognizes your device's name and will use the same one when you install this device for the first time.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.1.6(Aug 23, 2019)

  • v2.1.5(Aug 21, 2019)

    What's new

    • Detects change between mobile network and WiFi.
    • Get a location when connected to Wifi.
    • Show double notification in alert action.
    • ANR fix(application not responding).

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.1.2(Aug 9, 2019)

    What's new

    • Custom Notification (alert action with style).
    • Support for lower versions of api 23 Marshmallow (native screens).
    • Geofence fix for android 9.
    • ANR fix(application not responding).

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v2.1.1(Jul 25, 2019)

  • v2.1.0(Jul 23, 2019)

  • v2.0.3(Jun 10, 2019)

  • v2.0.0(Jan 31, 2019)

  • v1.9.9(Jan 8, 2019)

  • v1.9.8(Oct 10, 2018)

    What's new

    • Android 8 Users: Due to a restriction imposed by Android in this version, Prey is required to display a notification to allow the active location and Control Zones tracking to work properly in the background. Enable this in the App's setting to allow Prey to enable these tools even when the app is closed. Prey's other features, such as the report, aren't affected by this.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
  • v1.9.6(Sep 13, 2018)

    What's new

    • New strategy for aware and geofence.
    • The notification type is changed to permanent to protect the device from being turned off.
    • Fix for detach device.

    To get this update please visit our Google Play listing from your device.

    Source code(tar.gz)
    Source code(zip)
Android Weather Library: android weather lib to develop weather based app fast and easily

WeatherLib Android weather lib is an android weather aggregator. The lib helps you getting weather data from the most importat weather provider. It su

Surviving with android (by Francesco Azzola) 641 Dec 23, 2022
Sdk-android - SnapOdds Android SDK

Documentation For the full API documentation go to https://snapodds.github.io/sd

Snapodds 0 Jan 30, 2022
AWS SDK for Android. For more information, see our web site:

AWS SDK for Android For new projects, we recommend interacting with AWS using the Amplify Framework. The AWS SDK for Android is a collection of low-le

AWS Amplify 976 Dec 29, 2022
Accept PayPal and credit cards in your Android app

Important: PayPal Mobile SDKs are Deprecated. The APIs powering them will remain operational long enough for merchants to migrate, but the SDKs themse

PayPal 802 Dec 22, 2022
Powerful custom Android Camera with granular control over the video quality and filesize, restricting recordings to landscape only.

LandscapeVideoCamera Highly flexible Android Camera which offers granular control over the video quality and filesize, while restricting recordings to

Jeroen Mols 1.2k Dec 29, 2022
Library for Android In-App Billing (Version 3+)

Checkout (Android In-App Billing Library) Description Checkout is an implementation of Android In-App Billing API (v3+). Its main goal is to make inte

Sergey Solovyev 1k Nov 26, 2022
Countly Product Analytics Android SDK

Countly Android SDK We're hiring: Countly is looking for Android SDK developers, full stack devs, devops and growth hackers (remote work). Click this

Countly Team 648 Dec 23, 2022
Android Real Time Chat & Messaging SDK

Android Chat SDK Overview Applozic brings real-time engagement with chat, video, and voice to your web, mobile, and conversational apps. We power emer

Applozic 659 May 14, 2022
Evernote SDK for Android

Evernote SDK for Android version 2.0.0-RC4 Evernote API version 1.25 Overview This SDK wraps the Evernote Cloud API and provides OAuth authentication

Evernote 424 Dec 9, 2022
SocialAuth repository which contains socialauth android version and samples

SocialAuth Android is an Android version of popular SocialAuth Java library. Now you do not need to integrate multiple SDKs if you want to integrate y

3Pillar Global Open Source 318 Dec 30, 2022
Android library project for providing multiple image selection from the device.

PolyPicker Android library project for selecting/capturing multiple images from the device. Result Caution! Eclipse library project structure has been

JW 407 Dec 27, 2022
Air Native Extension (iOS and Android) for the Facebook mobile SDK

Air Native Extension for Facebook (iOS + Android) This is an AIR Native Extension for the Facebook SDK on iOS and Android. It has been developed by Fr

Freshplanet 219 Nov 25, 2022
Donations library for Android. Supports Google Play Store, Flattr, PayPal, and Bitcoin

Android Donations Lib Android Donations Lib supports donations by Google Play Store, Flattr, PayPal, and Bitcoin. It is used in projects, such as Open

Sufficiently Secure 346 Jan 8, 2023
Android library that provides for multiple image selection.

#MultipleImageSelect An android library that allows selection of multiple images from gallery. It shows an initial album (buckets) chooser and then im

Darshan Dorai 299 Nov 14, 2022
Microsoft Services SDKs for Android produced by MS Open Tech.

Important: This preview SDK has been deprecated and is no longer being maintained. We recommend that you use Microsoft Graph and the associated Micros

Office Developer 222 Dec 1, 2022
A clustering library for the Google Maps Android API v2

DEPRECATED Don't use this. The Maps v3 SDK handles markers. That with a few other cool utilities make this library obsolete! Clusterkraf A clustering

Ticketmaster Mobile Studio 258 Nov 28, 2022
Android Chat SDK built on Firebase

Chat21 is the core of the open source live chat platform Tiledesk.com. Chat21 SDK Documentation Features With Chat21 Android SDK you can: Send a direc

Chat21 235 Dec 2, 2022
Amazon S3 multipart file upload for Android, made simple

Simpl3r Amazon S3 multipart file upload for Android, made simple This library provides a simple high level Android API for robust and resumable multip

Jeff Gilfelt 182 Nov 15, 2022
Liquid SDK (Android)

Liquid Android SDK Quick Start to Liquid SDK for Android This document is just a quick start introduction to Liquid SDK for Android. We recommend you

Liquid 17 Nov 12, 2021