Being USB mouse/keyboard devic

by atom10jj » Sun, 23 May 2010 03:29:58 GMT

Sponsored Links
 Hi~ dear...

My idea comes from the below.
 :  I don't want to carry additional handheld device except my android
phone. But I love playing a game like Wii, PS3

My idea is playing a PC game which is controlled by mouse & keyboard
with using not normal mouse, keyboard but my Android phone. That means
my Android phone play a role as mouse & keyboard.

Becoming mouse & keyboard of android phone give us many additional use-
cases for android such as controlling a presentation, easy HID for
handicapped people, playing PC games more activly with only android
phone used & no paying money to buy Will or PS3 something like that.

The interface communicating with PC is wired USB because wired USB is
the most popular device & USB mouse/keyboard need no installing any
drivers. that give a wide use.

In fact, I partially implemented it on Donut in last Jan for
feasibility & it works :)

magnetic sensor, acceleration sensor and touch screen of android phone
will replace moving of mouse & input of keyboard. it depend on how to
convert sensor data to USB mouse/keyboard data for example, changing
Roll of the phone changes X-axis of current mouse position.

An application could cover the above. It needed additional USB gadget
to emulate USB mouse/keyboard and interfacing the application.


Being USB mouse/keyboard devic

by Lance Nanek » Sun, 23 May 2010 04:59:18 GMT

 Isn't there an open source VNC client for Android? Just tweak that and
you're done.


Sponsored Links

Other Threads

1. content Uris built by Uri.Builder causing crashes

my app needs to edit Uris before presentation to ContentResolver and 
i'm seeing some weird behaviour with Uris built using Uri.Builder.

here's some code.

contentURI1 is built using the Builder --

Uri.Builder builder = new Uri.Builder ();
builder.scheme ("content");
builder.authority (inURI.getAuthority ());
builder.path (inURI.getPath ());
Uri contentURI1 = ();

contentURI2 is built using a hardcoded content URI and the ID --

String path = inURI.getPath ();
int lastSlashIndex = path.lastIndexOf ('/');
String idString = path.substring (lastSlashIndex + 1);
Uri contentURI2 = ContentUris.withAppendedId
  (MediaStore.Video.Media.EXTERNAL_CONTENT_URI, Long.parseLong (idString));

i log the two of them --

contentURI1 is content://media/external/video/media/1
contentURI2 is content://media/external/video/media/1

check they're equal --

contentURI1.equals (contentURI2) is true

contentResolver.delete() on contentURI2 works.

if i call delete() on contentURI1, then i get a crash --

at android.content.ContentProviderProxy.delete(
at android.content.ContentResolver.delete(

of course i have a workaround, but it requires me to hardcode the 
content URI, and ideally this piece of code would be content neutral.

(i created a brand new gmail account just for android developers. 
let's see whether the list likes this one...)

thanks for any help with this,


2. how to find out the percentage of memory used by each process in the android

Hi all,

I want to calculate the performance for some of the task/process.

How to find out the percentage of memory used by each process in the
- is there any in build class\process to do this?

Thanks and Regards


3. Displaying large Gif Images

4. extra wallpapers

5. Hooking into an Incoming or Outgoing Call

6. Javailmail port for Android

7. EditText cursor position in px/dip