Solved

Open setting screens?

Posted on 2008-10-23
6
572 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now