Solved

Open setting screens?

Posted on 2008-10-23
6
594 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem with SelectList in .NET MVC application 1 34
c# - Best approach for objects in functions 3 27
How to read text with RegEx... 2 33
C# LINQ 5 18
Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 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