[Alpha] PPC-RC (need some help too ;)) - Windows Mobile Development and Hacking General

Alright, So I have this Universal, and I love it. Then one day, I figured that it shows a certain resemblance to something else...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
See the resemblance?
A keyboard?
Two extra keys?
A touch-pad/touch-screen?
So I figured, why am I still ****ing with this media center keyboard and it's silly joystick-for-mouse thing? I got a full fledged remote control as a phone!
After two days and a lot of stupid windowing and socket coding later, I had a semi working app
I've attached it here. It's still alpha, so only download if you want to test, it's not ready for real usage yet
What it does at this point? You can move the mouse, but it will be pretty jerky, and you can type
What is still to do?
- Proper protocol, not some dumb-ass dynamic package size ****
- Soft keys -> mouse buttons
- Proper server application, system tray icon and all
- Password protection
- Some more neat features
- Maybe some features people recommend
How does it work? run PPCRCServerTest.exe on your PC, and run PPCRCClient.exe on your device. tap the screen, enter IP or hostname (for some reason hostnames only seem to look up if connected through activesync...), and hit connect. Once it says "Connected", start typing and moving touching your screen
Also, please note that for some reason WiFi seems to be faster than ActiveSync. I have no idea why, but it just does... odd uh?
So what do I need back in return?
- Feedback
- How on EARTH to know when a soft-key is pressed and released
That's pretty much it
Remember, just a little preview, not ready for real use yet!
Bye,
TB

Hi TheBlasphemer.
I don't have a uni, but your app still sounds pretty neat.
Here's something that might help you alone (if you haven't found it yourself yet):
There is a function called SetWindowsHookEx. I haven't played with it much, but I know it lets you hook the keyboard (all of it) and handle all key events up / down. If I am not mistaken it returns the address of the previous function so you can delegate the keys you don't want to handle back to the system. Kind of like window subclassing.
Now all you need is some debug prints to figure out what VK codes respond to the soft keys and you are done.
Good luck!

levenum said:
Hi TheBlasphemer.
I don't have a uni, but your app still sounds pretty neat.
Here's something that might help you alone (if you haven't found it yourself yet):
There is a function called SetWindowsHookEx. I haven't played with it much, but I know it lets you hook the keyboard (all of it) and handle all key events up / down. If I am not mistaken it returns the address of the previous function so you can delegate the keys you don't want to handle back to the system. Kind of like window subclassing.
Now all you need is some debug prints to figure out what VK codes respond to the soft keys and you are done.
Good luck!
Click to expand...
Click to collapse
Actually as my window is the top window, I already receive all key events through WM_KEYDOWN and WM_KEYUP, so there's no need for windows hooks and stuff
I have looked into what happens when someone presses a softkey, but I only seem to get two weird keyup events when I release it :S (VK 112+16 and VK 113 + 16). I could use these, but as I could only see when they're clicked, I would only be able to do mouse clicks, not dragging
Btw, it should also work on other PPCs, like the wizard

Hi
Just tried on my BA WM5. It connects (it says connected on the PC server) then it closes the connection immediatelly for a reason. But this looks like a promising app so I'll keep on tracking it...
P.S: Do you plan to release the source code? (I'm a beginner programmer, examples are always good )

Related

one handed usage ?

so I got my Jasjar and I'm pretty happy with it so far, however I keep looking at the Treo and wondering if it would be easier to check my mail and calendar with one hand instead of opening the Jasjar with two hands, waiting through the windows mobile slowdown, etc...
on a Treo you have the calendar button right on the face and you can navigate with the direction pad, etc...
the Jasjar it seems a little clumsy to me for this... any ex-Treo owners out there care to comment ?
Also, can we use the Jasjars direction pad for application shortcuts like that ? like press left for calendar, up for email, etc...
any thoughts and ideas ? thanks !
Bump...
is no one else concerned about this ?
Surprise me !
Don't know if buttonmax is compatible, but i think it's the only app that allows you to reconfigure the direction pad.
Re the calendar, just remap record key to calendar etc?
I use SmallMenuPlus, so can do pretty much everything one handed, although requires a couple of taps down to launch the app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For one handed use, I'm making my own plugin to make it more thumb friendly. It was designed for the Magician's form factor, the universal is a bit chunkier, but the idea still works well:
V
What a busy today page! Any chance of a rundown of what you have running on there?
vijay555 said:
For one handed use, I'm making my own plugin to make it more thumb friendly. It was designed for the Magician's form factor, the universal is a bit chunkier, but the idea still works well:
Click to expand...
Click to collapse
Is there a way to test/download your plugin?
Thank you,
Roberto
ashleyhall
I'm using my ToggleStart and ToggleNew hacks (=ToggleToday) to remove the top and bottom bars and a custom colour theme using cetuner, then from top to bottom:
-PhoneAlarm (with a skin I made, here on the board somewhere)
-AlarmToday (I resource edited the dll to change its appearance, but it's not shown here)
-WeatherPanel
-VJTodaySpacer (unreleased spacer plugin, coming soon!)
-VJEphemeris
VJEphemeris is not tidied up yet: this is my old setup
VJEphemeris was written to replace VJAudioNotes(at the top), QOTD (in the middle) and claunch (at the bottom), so I didn't want it to take more space. Eventually it will take the whole screen and be spread out more.
Quoting from here
I've posted a little elsewhere about my plugin, VJEphemeris, which is a long term work in progress.
Thus far it contains an analog clock, date with popup calendar, alarm clock setting and notification (cus you don't bloody know when it's set and on!), Quote of the day, autosizing according to length, missed call notification, last sms details, temperature, volume control, battery status, current phone operator (for dual sims), multi-bank launcher facility and theft protection (detects if user is using a non authorised SIM, and then sms's me with the phone number (and shortly, cellid), permitting me to sms it back causing it to format the sd, optional hard reset and I'm considering optional bricking - thanks Olipro).
That's the basic version I use currently. I've got tonnes to add when I finish a bit more stuff for release for you lot!
VJEphemeris is a continuous test bed of ideas I'm trying to implement. It's unlikely to be released, or at least as is. It's currently entirely customised around my use (although it's all too damn skinnable: I haven't gone into designing a UI yet, I'm just making it easy to use one thumbed! Try cutting out the screenshot and see how you thumb rests naturally on the important stuff. I'm trying to make it nicely ergonomic).
Click to expand...
Click to collapse
francorg: I released a prerelease of VJAudioNotes to a few people, but it's been replaced by VJEphemeris. I'm not really releasing either for quite a while (if ever!). Too much to add to it to finish it right now, it's a continuous Work In Progress.
V
Sounds good, I'll take a look at some of those! Thankss!

Terminal Server Client for 2003

Hi,
Is it possible to get an update for the Terminal Server Client so it can run on the Windows Server 2003.
/Jesper
You mean have W2K3 accessed via your HTC Universal? AFIAK it's always been possible. Indeed, I've been doing that since I bought my MDA Pro in the week of the UK launch about a year ago
You only need to adjust the settings on the Server to allow the Client Compatible enryption level as the WM2003/WM5 TS client does not support 128 bit encryption.
If want a good experience search out VJFSTSC from this site
(VJ's Full screen Terminal Server Client). A full 640x480 screen makes the Exec an excellent tool to administer servers without needing to cart a laptop around
I didn't think anyone was still using it! I'll have to update it when I get a few spare minutes!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
V
vijay555 said:
I didn't think anyone was still using it! I'll have to update it when I get a few spare minutes!
Click to expand...
Click to collapse
yes i'm using it and have run into problems
somehow when i use full screen mode (it took ages to figure out i had to disable "limit server size to fit screen", if it was enabled your full screen hack didn't work), the last line at the bottom will not respond, i.e the taskbar, anything on it, and the start button. if i don't use your hack, no problems. (but no full screen either )
a friend's qtek 9000 doesn't have this problem with your hack.
do you have any ideas? :idea: thanks..
cmonex: you need to post in the VJFSTSC thread, but this was a bug with an earlier version, that should have been fixed in the latest version. I haven't worked on it for months and months due a perversly busy schedule, but I'll try to look into it further. It still needs lots of work.
V
vijay555
I'm using it for some time now,..and it works GREAT! especially running in VGA mode...
thanx!
arjan
FYI all, there has been a post that you can use a virtual screen manager with VJFSTSC to get >VGA screen resolutions, eg SVGA. It'll look quite crap, but it should work... but I think opening word (and Vista?) on your Universal is a cool way to make a gadget freak's mouth water.
V
LOL
Mobile Vista
vijay555 said:
cmonex: you need to post in the VJFSTSC thread, but this was a bug with an earlier version, that should have been fixed in the latest version. I haven't worked on it for months and months due a perversly busy schedule, but I'll try to look into it further. It still needs lots of work.
V
Click to expand...
Click to collapse
hi, thanks for your answer!!
i think i'm using the latest version or at least the one that was the latest a couple of weeks ago. :shock: but i'll recheck..thanks
vijay555 said:
I didn't think anyone was still using it! I'll have to update it when I get a few spare minutes!
YES PLEASE
I've found your little app to be one of the most useful apps for the Exec.
1024x768 shrunk to fit the screen is terrible but using a 800 x 600 @ 100% screen and virtual display's navigational options to scroll around has proved to be usefull from time to time.
When you get some time to update VJFSTSC I'd be glad to put forward a few suggestions but something that would be neat would be an ability to map a couple of buttons to CTRL & ALT but only whilst VJFSTSC is running
Click to expand...
Click to collapse
Taz69 said:
When you get some time to update VJFSTSC I'd be glad to put forward a few suggestions but something that would be neat would be an ability to map a couple of buttons to CTRL & ALT but only whilst VJFSTSC is running
Click to expand...
Click to collapse
yes ctrl+alt would be very useful.
cant find any thread VJFSTSC. please give me a direct link to it.
http://forum.xda-developers.com/viewtopic.php?t=33759&highlight=vjfullscreen
What do you guys mean about the ctrl+alt key combos? Give me an example.
V
As certain keys such as <CTRL> , <ALT> and maybe <Esc> are not found on the Exec but are used quite a bit on Windows it would be really usefull if these keys could be mapped to some of the physical keys such as the E-mail, Home Page, Contacts, Phone but only when VJFSTSC is active. Normally these buttons are assigned to their own functions but this behavior is overridden whilst VJFSTSC is active.
This could be taken a small step further by assigning the Windows key to open the START menu on the windows PC instead of the Exec and possibly using the Ok key to bring up a configuration menu in VJFSTSC with a few other options including the ability to save a config file so any settings such as show/hide SIP are retained the next time VJFSTSC is launched.
I better stop there, as I was intending to give an example of mapping options not a full blown wishlist
thanks, vijay555.
nice ideas, Taz69... would be real cool.

HP 614 Business Navigator my Italian video review

My Italian video review : http://it.youtube.com/watch?v=scOVnSQofmk
I'm really happy i've bought this PDA, it's the really All In One !!!!!
Sorry for whom doesn't understand my native language but i've done it
for italian Forums and i don't speak english as well
tip for the 600
hi grate video but I think you have missed the all point of the device by using icons touch etc
you have a sensor that can help you operate most of the device in one hand
as some may know i'm trying to make a group of tips for this device (something like I did with the 6900)
any way I will give you now one of my tips- a free app that some have seen on k-jam wm6 rom
http://freewareppc.com/utilities/quickmenu.shtml
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
download this freeware then extract the 3 files to a folder, copy to device (memory card ) and tap on the exe for installation, after doing so you can get anywhere on your device with the keyboard wheel
pressing the start button will let you use the app(launcher ) ,taping the start will let you use the os menu
by sliding your finger from center (key num 5) to the right (key num 6) will let you go foreword with the menus, sliding the finger to the left will get you back
if you have running apps that you want to close you will see them added to the launcher menu, and by sliding on them to the right (toward the X ) will close it or all
(you will see it best in action)
pressing the enter will get you into the running app
there is no best way to config your device so every thing is good, but you have a unique sensor so why not use it for a fully operation of the device by only one hand/finger
enjoy your device
ps - to exit the app go quickmenu/exit
Thanks for your suggests, as soon as possible i'll try your application
batista70 said:
Thanks for your suggests, as soon as possible i'll try your application
Click to expand...
Click to collapse
I'm sorry if I was misinterpreted (now when I read it looks bad , sorry )
same as you I'm not a native American.. ENG is not my strong field there for the mis….
spb shell ,htc-home…. apps are grate since they gather lots of functionalities and info for the user in a clear way for 2.8" screen and also it Is grate to show the guys at the near pub - moving icons like Iphone and not show them here " start/settings …."
the app I have pointed out is very light and can be add to your commonly used program
the thing with this program is that it helps you on your daily base use and emphasize the ipaq 600 uniqueness unlike touch app that are used on all ppc/pe and contribute to the user daily use at an equal way regardless of brand or abilities
It is like using the normal picture view of the device and not use the
"hp photosmart mobile" that has integrated functionality for zoom in zoom out and sliding a picture using the wheel sensor (and key num 5 sensor)
to cut things short try it, use it, but don't give up on having a flashy device with nice flying icons
this movie was not intended to demonstrate the interface but here … enjoy
http://www.youtube.com/watch?v=EFPrNJCyrE0
hp's business video drivers

[REQ]Virtual Hardware G buttons

I was thinking about, as the subject, to an app who allow to map the g-sensor as an hardware button.
In some games, for example, where you can assign an action to a button, would great to incline the diamond and assign the action you need (L,R, Up & Down)
I don't know about how work has to be done, but imagine isn't too easy.
the problem is that the Diamond only has one button for personalize: large press in call botton
but other option is use a sensible area of screen how the squares touch pad in notebooks
It would just be a matter of a background process watching the G-Sensor and sending keystrokes via the keybd_event function to the foreground window/focused control. Good idea, and would be pretty easy, but I'm too busy.
I hardly doubt, that you can play with such controller
Like, stressing phone, and screaming at it, as you cannot progress the game
The most suitable is the semi-transparent on-screen controller, like in NES emulator
But withvirtual pad you can't push "Up+A" (per exemple) because WM dont accept "Dual Touch"
Sorry 4 my English...
I think that the game is playable... just find a GOOD algorithm to balance the sensitivity (not too inclined for a direction) and the directions (up, up-right, right, etc)
This is the usually iphone example
BTW think how many game with the emulators and, why not, at the "never seen touchxperience rom"... sending keystrokes (up, down, left, right) in the today screen, album.... to the ACTIVE WINDOW
Koush said:
It would just be a matter of a background process watching the G-Sensor and sending keystrokes via the keybd_event function to the foreground window/focused control. Good idea, and would be pretty easy, but I'm too busy.
Click to expand...
Click to collapse
Please find the time, I think a lot of people would be most appreciative, you've already done so much for the diamond community, c'mon Koush blag a day off work and sort it out! It would almost give us vuflo!
Ok I have began writing this application like an hour ago.
I will keep you updated as soon as I have something usable. (the program works already, but I have to create some windows so you can configure it)
Scotchy49 said:
Ok I have began writing this application like an hour ago.
I will keep you updated as soon as I have something usable. (the program works already, but I have to create some windows so you can configure it)
Click to expand...
Click to collapse
Awesome, can't wait to try this out, thanks for taking this on.
WoW Great NEWS! but all those g-sens related apps can goes in conflict... make in mind to consider a function that auto-rotate the screen (and also the G-gestures)... two control panels like the "Brins0net ScreenRotator" to exclude the rotation of the screen & G-gestures, and the possibility to add windows in execution would be GREAT
...maybe now i'm asking too much BTW it will be THE ONLY NECESSARY G-app in background, for all diamond users.
(hemm should be considered also a screen lock, but is not too necessary)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
many thanks
I'm still working on about all those things...
Now is cup of coffee time
I will first of all end up the "VueFlo"-side of the app and make a first release, then I'll see for other functions like AutoRotation and the interaction between that and "VueFlo".
Just wait a little, I'm almost done with first release

[APP] Star Trek Phaser

Heya,
This is my first WM app, and the first time I've ever had to motivation to finish an application programming project! (I'm more the webby type usually). I hope I've posted this in the right place - I did have a good look around first!
The motivation behind it was that an official Phaser application came out for the iPhone, but it's more of a gamey type app. I wanted a 'phaser' application for my phone (XDA Ignito/HTC Touch Diamond) and there didn't seem to be one out there - so I figured it was time to have a go!
This is based on the Type2 hand phaser from Star Trek: The Next Generation and words on both my phone (WM6.1) and my old iPAQ 2790 (WM5). It seems to require the .NET Compact Framework 3.5 to run.
--
Known bug: the deployment CAB forces the device to install the application in the internal memory rather than the expansion card - otherwise the sounds don't work. I'm working on getting that sorted along with some additional features for version 2.
--
Your comments and suggestions would be greatly appreciated by this humble n00b.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nice idea, but two bugs atm:
* Doesn't play any sound (path is hardcoded?)
* switching from on -> off -> on the phaser lavel isn't saved
Wishes:
* +/- buttons needs some kind of repeat.
* some nicer gfx
* Output level should be redesigned
* fullscreen
No sound on my device (Blackstone) also being the app installed on main memory. Maybe you have harcoded the %ProgramFiles% path as well? Since I have a localized rom (\Programmi)
Works great on my Tilt. Sound is good, On/off switch does power it down, but no big deal, one would want any fatal accidents caused by accidently turning it on in disruptive mode.
Very nice useless app. Now that's all that you need is WM useless app store, like iPhone and you will be rich.
Nice one.
If you need a layout more "Federantionish" let me know.
---edit---
Found this on google, hope it helps:
Thanks for looking all
Sound bug: I tried putting in relative paths and even just everything in the same folder - but that didn't work at all on either of my devices. Not sure what I'm doing wrong there. I knew that hard-coding wasn't a good way to go, but I'm hoping to work out how to rectify it as I work on the other couple of app ideas I've got, plus version 2 of this.
The line which plays the sound currently looks like:
PlaySound(("/Program Files/ST Apps/sounds/Stunsnd.wav"), IntPtr.Zero, SND_FILENAME Or SND_SYNC)
When I just put everything in one folder, it looked more like:
PlaySound(("Stunsnd.wav"), IntPtr.Zero, SND_FILENAME Or SND_SYNC)
This would definately account for your problem bbonzz. I didn't think about localised ROMs - but of course! Will make sure to remember that. Definately won't be hard-coding paths from now on - I've learned my lesson
Power level drops when switched off 'bug': That was actually deliberate! Personally, I felt that it should reset when you switch it off and on again. However, I may be in the minority here, so I'll take that line out if people would prefer it to save the state.
Small additional thing I put in to help get from 'on' to max' in a hurry is - if you use the up and down buttons on your device, it'll 'jump' to the beginning/end of each level (stun, thermal, disrupt, explode/disrupt), meaning you can get to get to max power in 5 presses rather than 15
I might bind the left and right buttons to be straight to 1 and straight to 16 in version 2 for the same reason. It's nice to be able to get from one end to the other quickly.
Also - re: wishlists and suggestions - all noted and will be taken on board for the next version. Thanks

Categories

Resources