Comments (3)
I've added you to contributors, so push your changes right away, or you can
just send me your code.
Init/deinit code inside kernel is tricky, view the file /proc/last_kmsg on
the device to see kernel stack trace where it crashed.
You can open /dev/hidg0 directly from Java code, as a file input/output
stream, then just send keycodes there - I've recently added a detailed
description of the underlying protocol to the readme. I don't mind JNI
either.
On Aug 13, 2014 6:15 PM, "shaneharris" [email protected] wrote:
Currently running your kernel patch on my nexus and occasionally if
disconnected and reconnected to a PC i get 'USB device not recognized'. In
an attempt to resolve the issue I attempted to disable/enable usb debugging
but when I attempt to disable it the nexus freezes up and reboots a few
seconds later.On a separate note I have written a JNI wrapper to make use of this
functionality in Java based apps. I would like to submit my code but i'm
not too familiar with github. Do I create a pull request or fork? Or do you
add me as a contributor? Anyway I'd love to release my code if you'll have
it.—
Reply to this email directly or view it on GitHub
#7.
from android-keyboard-gadget.
do you know i never though of that at all! i figured you needed native as i assumed reading/writing to a device like that was low level. Never even considered file output stream. Kinda makes the JNI library redundant, unless there would be improved latency that way?
from android-keyboard-gadget.
Nah, latency will be the same. But if you already created and tested the
library, there's little sense to rewrite it just to remove JNI dependency.
On Wed, Aug 13, 2014 at 8:48 PM, shaneharris [email protected]
wrote:
do you know i never though of that at all! i figured you needed native as
i assumed reading/writing to a device like that was low level. Never even
considered file output stream. Kinda makes the JNI library redundant,
unless there would be improved latency that way?—
Reply to this email directly or view it on GitHub
#7 (comment)
.
from android-keyboard-gadget.
Related Issues (20)
- usb keyboard app not starting
- Hi HOT 1
- Patch successfully applied, but no hidg interfaces HOT 1
- Some Questions...Pls Help HOT 2
- Stuck on opening HOT 10
- need hid patch for 4.4.117 kernel
- Ji
- Keyboard
- Require patch for samsung grand 2
- nokia 1020 HOT 1
- No f_hid.c found pls help
- pelya/Android_keyword gadget
- Permissions bug HOT 2
- rdp support HOT 1
- could you add support for samsung galaxy j3 (2016)
- Please send the poc_android files
- what is the VNC password?
- Pin
- How to get or Where can i find the hid-keyboard file?
- Add redmi note 4 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-keyboard-gadget.