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. How to keep an eye on my application memory?

Hi all,

Recently I decided to check how much memory my application is using.
For the first test I started my application and went back to the "running 
services" screen to check my process's memory. I got ~11MB.
It seemed too much in my opinion.
I used the "Dump HPROF file" from the DDMS menu, opened MAT and found the 
following stats:
"Size: 2.3 MB Classes: 3.4k Objects: 60.5k".

So my first question is: Where is the rest 9MB?

I searched the Web for more information and came up with this good post:

So I ran: "adb shell dumpsys meminfo" - the results are at the end of the 

I can't find my way between all the numbers.
So my second question is "how much memory my app is really using ? and how 
can I see what is consuming the memory?"

Any help will be appreciated.

MemInfo results:

** MEMINFO in pid 2758 [xx] **

                    native   dalvik    other    total

         size:     6872     5191      N/A    12063

  allocated:     6088     4194      N/A    10282

          free:       47       997       N/A     1044
        (Pss):     1547     6495     3121    11163
(shared dirty):     2688     4296     1016     8000

    (priv dirty):     1468     3304     1916     6688


           Views:       59        ViewRoots:        0

 AppContexts:        4       Activities:        2

          Assets:        2    AssetManagers:        2

Local Binders:       40    Proxy Binders:       47
Death Recipients:        0

OpenSSL Sockets:        0


                 heap:       85          dbFiles:        0

       numPagers:        1   inactivePageKB:       62

    activePageKB:        0

 Asset Allocations
    zip:/data/app/xx.apk:/resources.arsc: 166K


2. WT-Ask : Time & Date back to 2005 selalu ?

Terjadi di spica, neh..
Sy dah set Manual, trus reboot ---> Hasilnya balik lagi ke 2005
Set Automatic,  tetep aja begitu.
HIdupin GPS, sama Wireless Location, ga ngaruh juga..

Help neh, mungkin ada solusi  ... para suhu2..........

Sent from Android Device
|Milestone|LeanMod V.01 Ginbread


3. Send Intent by every Touch

4. How to setup oprofile for the emulator?

5. Micro SD class 8-10

6. [WTB] Google Nexus S

7. Display facebook frinds who are installed our app