Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Open setting screens?

Posted on 2008-10-23
6
Medium Priority
?
618 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
Independent Software Vendors: 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 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

783 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