Idea for a Program,, Learning C - Windows Mobile Development and Hacking General

Hey folks,
I was not able to pick all the classes i wanted this semester so I am taking a programming course with the sole purpose of building a program that does this.
in the phone dialing program when I touch the on-screen buttons there is no real feedback and I often have to squint at the screen in daylight to confirm I pressed the right key. voicedial helps, but it becomes confused easily with background noise. I feel that an extension to the dialer which could give some vibration feedback when a button on the screen is pushed is something necessary.
any ideas what i would call to do this?

Windows Mobile uses scripted responses - its quite easy. Use the following CAB: http://bodz.elsat.net.pl/vis/uploader/index.php?plik=VIBRATEPHONEKEYS.cab&op=get

thank you very much, what system calls does this make? is the source available?

Related

Vibrate on keypress?

Hello!
I often thougt that dialing numbers on the dialpad really does not offer enough fisical feedback to satisfy my perfectionism.
I tried a program called "finger clix" wich is mainly an improved contact manager but... it had a dialpad aswell wich offered tiny vibration as feedback on press. I have to say that the feeling of actually dialing a keypad really boosted.
Now to my question shouldn't it be possible to hack the built in dialpad of the Magician so it returns not only a dialtone but a tiny vibration aswell?
Anyone have any ideas?
C.
...how about using search? it already exists and works...
http://forum.xda-developers.com/viewtopic.php?t=23395&highlight=vibrate this is what the simple word "vibrate" brings up, when you type it into the search here...
cheers, lutz
Thanks lutzh!
To be perfectly honest with you I do use the search engine a lot actually.
I guess I wasn't very observant this time.
Thanks anyway for posting the link!
C.
you're welcome anyway
ciao ragazzi, lutz
There are a couple of dialer apps that do this, w the assistance of CE Dot Net. Beware that they eat up battery though.

Scroll bar control, accessing, WM_HSCROLL

Hi all (and no worries vijay555.... I'm new to forums and my Axim x51v... hope I'm doing this right... and thank you for your assistance!!!)
Keystrokes as code?
Specifically Excel Mobile keyboard shortcut Alt-PgUp/Dn (scrolls one screen width left/right)
I've created several Keystroke "routines" to minimize stylus use in Excel Mobile. I've mapped to hardware buttons, and they all work great... except Alt-PgUp(and PgDn). In Excel, these key combos will scroll one screen left or right, respectively. Other similarly-coded "routines" work as expected.
I've worked around this for now by recording screentaps in Excel's horizontal scrollbar. Unfortunately, the location of that s/b depends on whether SIP is active. If it is, the vertical co-ordinates of the screentaps become irrelevant and/or potentially destructive to my intended result. I prefer to avoid "position dependent" commands whenever possible for obvious reasons.
I have several other programs at my disposal to effect the Alt-PgUp/Dn shortcut(s).... IF I knew how to define the values(?) of Alt-PgUp/Dn in a script.
(MortScript, PHMkeys, Pen Commander, Spb FullScreenKb, PDA MediaKb)
I've been all over the web, and I think I understand keystroke scan-codes and values... and how they work together. Is there something akin to an ASCII "value" for this key combination? (099/0A1; 073/081; 153/161)?
Any ideas are appreciated. I've no aversion to research or work, but can't figure out what to ask or where to look further.
(I just really need a more direct/reliable functionality to scroll entire screen at a time left/right.)
Thanks in advance if anyone can help.
Dell Axim x51v WM5 (if it matters)
p.s. Thanks to Vijay555 for "permitting" this post here, and for putting me on the track of WM_HSCROLL (which I haven't had a chance to study yet).
Guys, just to say, there's never any reason to ask me for permission to post. As far as I'm concerned, post whatever you want using your own good sense!
pro-fit2:
Try something like this, as we discussed in the other thread:
Code:
//get current foreground window
HWND CurrentForegroundWindow_hwnd;
CurrentForegroundWindow_hwnd=GetForegroundWindow();
SendMessage (CurrentForegroundWindow_hwnd, WM_VSCROLL, SB_PAGEDOWN, 0);
V

New: Quick access to backlight brightness

Hi folks,
When I'm using my PDA at night, I turn the backlight right down, so it doesn't wake the girlfriend (and blind me!) This requires many steps: Start->Settings->System->Backlight->Brightness->Grab stylus->Drag on screen.
I've written a simple little util which pops up a backlight brighness trackbar, plus 2 buttons to instantly minimize/maximize. You can download it from here. There's no installer - just drag the exe to your device, then create a shortcut to your Start Menu / Programs folder. Only tested on my Universal under WM6 - should work on any HTC (non-phone) device AFAIK.
Personally, I've attached it to the backlight button on the front of the universal, so to minimize backlight brightness I just tap that button, then tap the left softkey button.
Hopefully some of you find this useful - if so, lemme know! If you have any problems with it, I'll try to sort them out.
I've also made the source code available. It's a little C# class. Feel free to use it for whatever you want.
Hi,
I was looking something like that. But when I tested at my PPC, HP 6815, it did not work? Could you please help me ?
Regards,
Great work, jp_howard!
Very useful. I'm sure it may also run on many other mobile devices.
Will have a closer look at the sources
Thanks for this nice tool!
scholbert
hi jp_howard,
pls allow me a couple things:
1. it does not work while my o2 atom is cradled. maybe it will work if on battery power. let me test later, once i disconnect then get back here to update.
2. would it be possible to map it to the volume keys? this is useful for me because one of the major problems of o2 atom is the battery life, so i am force to always set the backlight its minimal setting to converse power. the problem is when i'm outdoor, i would not see the screen anymore due to the low brightness i mentioned, so it would be great if i could access the brightness level by the use of only the volume keys. anyway, i don't change the volume that often during calls...
3. lastly, i would also like to start programming in c# like what you did here. would it be too much too ask, if you point me in the right direction, so i could start programming too? btw, i'm basically a web developer, with formal training in c# windows programming as well, but not very well verse with CE programming. i've tried the hello world in vs2005 already but i'm still far from mobile programming. thanks.

Editing registry, tweaking keys etc

Hi folks - I have found this site really useful already so thanks to all those who share their wisdom here, esp. Ferrex - I have downloaded SlideActions and I love it!
I've got a Touch Dual recently and a couple of things are bugging me about it quite a bit but from what I've read on this site they should be easy enough to fix... I just don't know how to do things like edit the registry - please could someone explain further?
What I am trying to do is: change the actions associated with some of the buttons on the keypad (e.g., I never use web'n'walk so it would be useful to swap it with a carriage return key or something as at the moment you can't hit return using the keypad - fine for SMS but useless for entering text in Word etc).
The other annoying habit the phone has is, if you leave an application open on the screen e.g. my map viewer or messaging, when you put the phone on sleep and then wake it up (whether by pressing the power button or sliding the keypad open), the Today screen is brought forward so you have to re-open/access the application you were using before. Very inconvenient: is there a way to set it to leave windows in the order they were in??
Thanks in advance for help! Sean

[APP][03.23.09] Shake&Win {NEW}

Thought I would contribute to all the apps for the HTC Diamond. This is a Lottery Number Generator program. It works by shaking the phone. Nice graphical UI.
Full QVGA, VGA, WVGA and WQVGA support
HOW TO USE
Shake the phone to generate numbers.
If you want to select some manual numbers or scroll to something, click the button under the wheel.
Click the lock button to lock all numbers in place (prevent accidental shakes)
To Exit the program press Middle button on the NAV pad or the X in the right corner.
Settings:
Choose Number of wheels to show (1 - 6 NOT including the red one)
Set the Max Number for each wheel
Red Wheel can be enabled or disabled
Red Wheel can be set to be unique from the other numbers, or any number
Adjust the shake sensitivity - 5 Being the most Sensitive and 15 Being the least
All comments are welcome, this is my first official working piece of software.
Enjoy
UPDATE: VERSION 2 IS OUT
The updated version has a customization screen, so you can adjust just about every setting. Try it out and let me know how it goes. Good Luck !
REMOVED Most of the Update History, if you want it, it's in the History.txt
UPDATE: VERSION 2.8
Some updates for WQVGA
Added some sounds
Added a manual spin button
TODO:
Add favorites for multiple lottery
Keep the comments coming, always glad to hear feedback
If you really like my app(s) or win big, feel free to share
hermanm said:
Thought I would contribute to all the apps for the HTC Diamond. This is a Lottery Number Generator program. It works by shaking the phone. Nice graphical UI.
HOW TO USE
Shake the phone to generate numbers.
If you want to select some manual numbers or scroll to something, click the button under the wheel.
Click the lock button to lock all numbers in place (prevent accidental shakes)
Middle button on the NAV pad exits the program.
All comments are welcome, this is my first official working piece of software.
Enjoy
P.S. As I have time I will add more lottery games
Click to expand...
Click to collapse
I don't know why but it works only if I move the directory in Internal Memory.
Anyway funny app!
Ah, in italy the numbers of lottery are 90!
Thank you.
thank you much for the reply, i will look into the problem. i tried to install to device and to internal storage, and it seemed to run both ways. how did you install it?
Thanks for sharing. Worked fine for me installed to the storage card. hope you don't mind if I share a little bit http://www.fuzemobility.com/your-lucky-numbers-just-a-shake-away/
glad it worked for you . big thanks for putting a word out there
Sweet I'll split the first winnings with you....lol
lol, thanks...
Hi:
Seems like a great, and fun idea, I installed it to internal memory, it installed fine. But after install, I shake, and shake and nothing. I did make sure it is not locked, but still the wheels don't change.
Also, would you consider adding a 7th digit for Powerball?
Thanks!
Wow, a great application Maybe you could also create the Dice rolling application such as the one advertised with LG Cookie.
Although I can get it to work its EXTREMELY hard and random I must shake it like a madman and it hurts I'm afraid I might throw it and break the tv or something lol... I second the 7th number thanks awesome app
i will add the option to change the sensitivity of the shake, i tested it on the diamond, not sure if there are any significant differences. i will add the 7th wheel as soon as i have time, it will be optional under settings.
hermanm said:
thank you much for the reply, i will look into the problem. i tried to install to device and to internal storage, and it seemed to run both ways. how did you install it?
Click to expand...
Click to collapse
I chose Internal Memory, but the program was automatically installed in the phone memory.
...Then same problem of "cincy1020" (post #8)
After moving the directory of the app to Int Mem all works fine.
hi thanx for this cool app/game i gonna use it for bingo can it also say the numbers like a bingo caller
that might be an idea, something to add further down the road. thanks for trying it out
Nice app hermanm
Loved the fluidity and animations!!!
Nice job, thanks very much. How about the option to set the number range, in the UK balls are 1 to 49. Looking forward to winning.
UPDATE RELEASED !!!!
thanks to all who have commented on the program, hope to hear more about the new version.
great app - but couple of issues.
Am running on a touch hd and even with sensitivity at 15 (max) it takes a lot to shake and get numbers generated.
Secondly there have been multiple instances when I have generated the same numbers in more than one reel - this isnt acceptable when playing the uk lottery for example. Can something be done so that no same number is generated more than once...
hi hermanm. Cool app, i'm trying it on my HD. Just a couple of notes
- i know it's designed for Diamond, but works well also on HD (480x800): would be possible to have it full screen?
- on HD we have no nav pad, so there's no way to quit. Would be possible to have an "exit" button or an "exit area" somewhere on the screen?
- i think sensitivity setting is not so intuitive: low sensitivity rate (at least on my HD) means higher g-sensitivity, and vice-versa. With sensitivity @15 i shake without results, with sensitivity @6 the wheel runs
cheers
oops, sorry, actually that's the way i had it as far as sensitivity goes, lower number = more sensitive. i guess i should change that the other way around. as far as full screen for hd i will see what i can do, also will add an exit button. thanks for the feedback.

Categories

Resources