Solved

Open setting screens?

Posted on 2008-10-23
6
590 Views
Last Modified: 2013-12-27
Hi,

I was wondering if there was a way I could open setting screens through code on Windows Mobile? By setting screen I mean stuff like Bluetooth, Alarm, phone volume, etc. I would like to create an application that acts as a portal to all the settings provided through the control panel. I'm writing this in C# but would also be open to use pinvoke if needed. Any help would be greatly appreciated, thanks!
0
Comment
Question by:jlach01
  • 3
  • 3
6 Comments
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 22793937
look here at page 2: http://www.codeguru.com/cpp/w-p/ce/pocketpc/article.php/c9345__2/

and try that table values on your device. they might be changed for recent OS versions, but mostly they work
0
 
LVL 2

Author Comment

by:jlach01
ID: 22796614
Thanks for the response :)

I know the solution you provided should work (it just makes sense), however it does not. The phone I'm using does not contain the ctlpnl.exe file. I'm using a BlackJack II with Windows Mobile 6 for my testing.

Any other thoughts as to how I can show these screens?
0
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 22796711
ok, haven't realized that you mean Smartphone :) (WM6 Standard in your case)
what I advise to use Remote Process Viewer to check what processes are running when you navigate to Settings matually, but e.g. on the emulator it is Settings.exe
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 2

Author Comment

by:jlach01
ID: 22796831
Thank you again for the response - I should  of specified WM6 Standard a head of time.. my bad :)

I see that Settings.exe will be what I need, now I just need to figure out how to get to all the different settings screen I'd want :)
0
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 500 total points
ID: 22796911
well, try the same command line parameters as ctlpnl.exe accepts, something might be quite similar

also, google for something like that:
http://www.modaco.com/index.php?showtopic=255126&mode=threaded
http://forum.xda-developers.com/showthread.php?p=2024546
0
 
LVL 2

Author Closing Comment

by:jlach01
ID: 31509497
Perfect :) I had meant to accept your solution but got side tracked with making sure Settings.exe would work :)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Example works but why do I need to click twice on button 4 48
FTP file download using c# 3 25
MailAddress in vb 4 29
moto4g plus phone finger print 3 17
I recently asked a question (http://www.experts-exchange.com/Programming/Smartphones/Android/Q_28684946.html) about Computer Inventory applications for Mobile Devices.  I was specifically interested in an app I could use on my android phone.  The be…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question