Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 1 of 1
  1. Thread Author  Thread Author    #1  

    Default USB, NSD or? Question relating to detecting events from connected device

    I am pretty new to Android development and have came up with an idea for an app. One of the features is to detect user events on the device the Android Smartphone is connected to.

    At the moment I have the phone rooted, it has USB host enabled but when I connect my Android to, for example, my macbook (at the moment) it doesn't detect the USB device (the laptop).

    So I have spent many days researching and have finally came to a halt. I don't know how I can detect any type of event such as a keyboard event, application being opened etc on the laptop from my Android.

    Is this possible? The keyboard events are important so I am focussing on that for the moment.

    I thought it may have been a case of connect the Android to my laptop, detect the USB attached and find the device and then set a listener on the laptop keyboard, or set a listener to pick up any type of events from the laptop (or desktop).

    This all has to be done without having to install anything on the device the android is connected to.

    Can anyone out there help me by pointing me in the right direction on how to solve this problem?

    many thanks!

    D

Similar Threads

  1. Getting back to stock: rocket science
    By washi3e3 in forum Software Development and Hacking
    Replies: 1
    Last Post: 04-28-2014, 10:13 AM
  2. Pre order or not?
    By TrainRain in forum Sony Xperia Z2
    Replies: 5
    Last Post: 03-18-2014, 09:54 PM
  3. Easy way to backup homescreen/apps?
    By dvdwsn in forum General Help and How To
    Replies: 3
    Last Post: 03-18-2014, 05:11 PM
  4. New here and have a question. What is the difference between tab and tablet?
    By JellyBeanGurl in forum Samsung Galaxy Note Pro 12.2
    Replies: 7
    Last Post: 03-17-2014, 07:21 PM
  5. Questions on unlocking
    By devicenotcompatible in forum The Android Central Lounge
    Replies: 1
    Last Post: 03-17-2014, 04:40 AM

Posting Permissions