Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Open setting screens?

Posted on 2008-10-23
6
Medium Priority
?
615 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

688 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