Need some help mapping keylayouts - Android Software Development

Hi all,
I'd like to assist in building better keylayouts for Android ported to other mobile devices--many projects are underway, but nearly all feature poor keylayouts that simply make the device work, nevermind pressing "Call" for power, "End" for menu, and "Camera" for back.
I'd like to start a project to build nice keylayouts for all devices, and ideally take those mappings into a form project to allow users to customize them as they'd like and export--a sort of "keylayout" respository.
How can I find the scancodes associated with keypresses on new Android devices? I tried showkeys from the terminal, but unfortunately that wasn't of much help.
Can anyone set me on my feet to get this project underway?
Thanks much for any advice!

Related

Can someone update PocketNester's button mapping?

hello,
PocketNester is probably the most stable and usable NES emulator for PocketPCs. unfortunately, it's difficult to use with most of our HTC devices because it doesn't let you map the green/red phone buttons, not even with AE Button Plus, so you usually only have one button in either side of the d-pad (joystick).
the source code for PocketNester is available on sourceforge.net. i don't know how much effort is required to get the mapping to work, but i'm sure a working final product will be very much appreciated by the community.
here's more information from MSDN blogs on how to use the Talk button in an application's code: http://blogs.msdn.com/windowsmobile/archive/2005/09/02/460327.aspx

Excel Mobile accelerator table or menu item ids

I'm trying to take advantage of accelerators for menu items in Excel Mobile.
Does anyone know where I can find these id's?
Or the menu item id codes themselves? (probably same place?)
Or where to find a copy of pxl.exe that I can visually study the contents of?
Or how to emulate pressing the center joystick (action) button on my Axim x51v WM5?
My exhaustive efforts to date suggest I'm asking for Top Secret highly classified "save the world" stuff.
(If my question doesn't telegraph my non-developer status, this confession will!)
I'm not a developer, just a productivity-oriented user who continually finds myself wishing I was!
The willing need love, too! Dontcha gotta love the willing? Dontcha?
Thanks in advance.
Doesn't look like the accelerators are exposed by the .exe
V

Gesture programming with VB.net

Howdo,
I'm just going to try and build my first gesture program in Visual Studio 2008 using VB. Can anyone give me some pointers on how I get this going. I've been looking at Inkcanvas but I'm not sure if this is right?
Many thanks
TheNecroscope said:
Howdo,
I'm just going to try and build my first gesture program in Visual Studio 2008 using VB. Can anyone give me some pointers on how I get this going. I've been looking at Inkcanvas but I'm not sure if this is right?
Many thanks
Click to expand...
Click to collapse
Hey I would like to learn that too...
Google is your friend:
http://www.vbaccelerator.com/home/NET/Code/Libraries/Windows_Messages/Mouse_Gestures/article.asp
Fantastic! Looks like a good starting place. Is there much advantage of using C# compared to VB out of interest?
Just found this as well
http://www.codeproject.com/KB/mobile/MouseGestures.aspx
I'm currently finishing to write a simple proof-of-concept application launcher using simple stylus gestures (no neural nets, just eight directions supported - somewhat like in firefox mouse gestures plugin). Right now it works quite fine and the code is easy to port to any language as long as you can record last few locations of stylus.
I'll post it as soon as i find out how to launch an application from C level. The simplest way system() doesn't seem to work
Dziekuje!
I look forward to seeing it!
As promised:
http://forum.xda-developers.com/showthread.php?t=374375
That's just a proof of concept - the included program doesn't do anything but recognizing gestures as you draw them and reacting if the drawn gesture matches one of patterns defined in config file (still didn't have time to find out how to make it launch an app).
The demo application is in C, but once you understand the method behind it, it should be easy to port to any programming language. Of course that's probably not the best way to do it, and it's definitely not the only way to do it, but it's simple to implement (no neural networks required), supports eight directions (including diagonal - opposed to methods described in links above), and gesture can consist of many strokes (a single gesture may be drawn like: left, up, up-right, down-right, down, up-left, right...). There's still a lot of room for optimizations, but it's some starting point...
Thats really smart! Well done, thanks for coming back to me! I will investigate it over the weekend! . Thanks also for the information on the compiler thats also useful to know!!

[Q] editing .js app, compile apk with button overlay.

i am sitting on an old .js application (an old html/flash game), and with VERY limited experience in java coding, i am taking a dive and starting my learning progress while porting it over to android.
but i wil also need to have a small button overlay emulating x86 keyboard commands..
if anyone could point me in the right direction on where to start i would be very satisfied

whare to start learning about moding/coding?

I was wondering if you could help me get started working on/porting mods for the v20. What would be some of the things I would need to learn? I don't even know what to search for. I suppose I should start by familiarizing myself with the Android development kit. If you could perhaps shed some more insight on what is involved. What languages are skills I would need to obtain. I have very brief experience with x86-64 assembly and basic programing.
I would probably start by writing a program to pick notification tones by browsing the filesystem. Other projects I have in mind are: cut power to the backlight when screen mirroring over HDMI. Port mods from stock nougat to Oreo. Modify recents to look more like Android (4.Whatever) or Android (9). Add arrow keys to home touch buttons like in LOS.
Thank you.

Categories

Resources