programatically selecting volume profile on XDA mini - Windows Mobile Development and Hacking General

Hi,
I'm writing a small program for my mini (.NET CF 2.0) and I'd like to programatically *select* the volume profile in response to certain things (eg: time of day, meetings, etc). Does anyone know how to do this? I know it has been achieved (pocketzenphone does it).. I'm just not sure how.
Thanks!

Related

Managed API for Special HTC Buttons

Hi Guys
Does anybody have a way how to stop Hardware Buttons doing the Job they have to do by OS settings from their Compact Framweork Applications?
e.g. I would like to use the Volume Controller on Wizard/Magican within my Application - an no Popping up?
Anybody done this? - I know it is possible on C++ Apps (like Screenshot Applications) - nevertheless I would like to use it in C# - yes I can Pinvoke so if anybody points out the DLL's it should be ok for me
BR
Daniel

mini-s screen orientation change

Hi,
I've recently been handed a project that requires forms based data capture (on a xda mini-s). I dont want to limit users to having to use either landscape or portrait mode when completing the forms.
Is there a way to detect the screen orientation and/or get an event when it changes?
thanks
Andy
what language ?
win32?
.net?
yes good point
.net CF v2
C#
Sorted now - it actually generates a form.resize event
i was just over complicating the task

enabling .wav during phone call

I've searched for a registry setting for my HTC Touch to disable the muting effect of an in-process phone call to enable Media Player to play sound.
I found only one instance of a registry setting... it was to change HKCU-Control Panel-SoundCategories-Attenuation
In this key, I have
0...0x0(0)
1...0x1(1)
2...0x2(2)
I've found one post where it says to change 0...0x0(0) to 0...0x0(1)
When I do this, I get
0...0x1(1)
1...0x1(1)
2...0x2(2)
and I am still unable to play a wav file during a phone call.
Can anybody offer any suggestions?
--Yes, I'm trying to get the infamous answering machine to work because my carrier here in China does not have voicemail. This has driven me into the underground obsession of scripting, tweaking, and hacking of my new, wonderful companion...WM6. After 3 months of poking, prodding, reading, buying software (SK Schema, Resco Registry Editor, etc.) I've finally signed up on the board. What a wonderful hobby (now that I've finally backed up a good configuration for myself!!!)
Hi
I've been looking for that tweak for a long time now (see my posts).
The bad news – It looks like nobody knows
The good news – It's possible – works in iSecretary
I think that the difference is the program that plays the wav file. Somehow the one who wrote iSecretary found a way to play wav files without the traditional WM5 ways.
Is there anyone who can help with this? With the powers vested in this forum and the incredible things I've seen here, there must be someone who know hows to pull this off!!!

locking down hardware buttons

Hi Guys
Wondered if anyone knew of a way of locking down all the hardware buttons with a registry change on WM5?
Or at least specific ones?
Reason being I'm developing a flash lite data driven app for a device specific service with issued handsets to users during a corporate event - they need to be "locked down" to stop the user activating the phone using the "make call" buttons etc.
Although I can make the Flash app run "full screen" I can't stop the other buttons switching to other apps.
Regards
Derek
2 suggestions.
1 if you are trying to gain lock out control A_C's S2U2 program accomplashes this. If you need something other than his program I recommend that you PM him and asked him out he accomplished it with his lock.
2 you may want to try a program like hbutton. It would allow you to assign controls of the buttons to certain actions. One of the action options could be to do nothing. You could set them all to that.
Try using GXOpenInput();
it will redirect all input screen/keys to your app and then you can ignore then if you want.
Chris
chrisstavrou
I've just googled that command and found this page...
http://msdn.microsoft.com/en-us/library/ms831632.aspx
Seems like a good solution - only problem is, I'm not a .Net developer, so how would I pass this into the Flash Lite App as a .swf is loaded on the handset?
is there a way of passing this system variable in almost like a command-line before the app is opened?
Or would I need an executable on the PocketPC to somehow pass that in opening flashlite and the .swf in one go?
Thanks
Thanks for all the useful suggestions, I'm now following them up - cheers guys!

Need Help for make a program

Hi and sorry for my poor english.
I'm developing an utility for HTC Diamond, some functions like Intrusion Alarm, works only with Accelerometer, and the Task programer works in any HTC PDA.
But i has a problem with code. I would put 2 icons like Bluetooth, 3G, Battery, etc., with four states. But i not found how make this, i'm trying with the "Notification" Function, but don't works fine.
I'm need a piece of code in VB or C# to do this. Anyone can help me please?
Other interested thing is how can add an another TAB (Plug In) in TouchFlo 3D for the configuration system of my program. I need put 3 buttons to activate/desactivate Intrusion Alarm, Scheduler, And Programing Scheduller Times.
The program first is only in Spanish, but when I release the ATM 2.0 Beta I hope translate for english, and other languages too.
HOW WORKS:
The Intrusion Alarm works follow: You activate the intrusion alarm, you put the diamond over the table, in the seconds specified by the user without moviments the alarm comes active, if you move the Diamond the Accelerometer detects a moviment and a Intrusion trigger is launched, and a keypad to introduce a defined by user pin is displayed, if you don't know the pin the alarm sound is launched.
The Schedulle part permits launch WLAN, Bluetooth and ActiveSync UP/DOWN at the time specified by the user, and you can program automatic Sync over WLAN (with Exchange Server) or Bluetooth (with Desctop ActiveSync).
Thx for Advanced
Best Regards

Categories

Resources