Click here to get back home

Change settings programmatically when connected

 HomeNewsGroups | Search | About
 microsoft.public.pocketpc.activesync    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Change settings programmatically when connected Sune Hansen 07-10-2008
Posted by Sune Hansen on July 10, 2008, 11:11 am
Please log in for more thread options
Hi,

Not sure if this is the right group. Forgive me if it isn't, and please
point to the correct group.

What I want to do is:

When my phone is connected through ActiveSync to my PC I want to write a
program (running on my PC) that can change some properties on my phone, i.e.
switch profile.

Can this be done and, if so, I would really appreciate any hints to how?

Regards,
Sune



Posted by Paul G. Tobey [eMVP] on July 10, 2008, 12:33 pm
Please log in for more thread options
I don't think there's anything built in to switch a profile (I'm not 100%
sure I know what you mean by that , either). Look up the Remote API, or
RAPI. It's installed when you install the SDK for your target device. The
SDKs can be downloaded from www.microsoft.com/downloads. You'll search
based on what sort of device it is (Windows Mobile 5 SmartPhone SDK, Windows
Mobile 5 Pocket PC SDK, Windows Mobile 6 Standard SDK, etc.) At worst, if
there's nothing in RAPI to do what you describe, you can have it launch a
corresponding program on the device and then communicate back and forth with
it to tell it what to do for you.

Paul T.

> Hi,
>
> Not sure if this is the right group. Forgive me if it isn't, and please
> point to the correct group.
>
> What I want to do is:
>
> When my phone is connected through ActiveSync to my PC I want to write a
> program (running on my PC) that can change some properties on my phone,
> i.e. switch profile.
>
> Can this be done and, if so, I would really appreciate any hints to how?
>
> Regards,
> Sune
>
>



Posted by Chris De Herrera on July 14, 2008, 10:47 pm
Please log in for more thread options
Hi,
The program you are working on would need to use RAPI to send commands to
the device. RAPI allows you to change the settings. Beyond that you may
need to look at the provisioning XML files.


--
Chris De Herrera
http://www.pocketpcfaq.com
http://www.pocketpctalk.com
http://www.tabletpctalk.com
http://www.mobilitytalk.com

> Hi,
>
> Not sure if this is the right group. Forgive me if it isn't, and please
> point to the correct group.
>
> What I want to do is:
>
> When my phone is connected through ActiveSync to my PC I want to write a
> program (running on my PC) that can change some properties on my phone,
> i.e. switch profile.
>
> Can this be done and, if so, I would really appreciate any hints to how?
>
> Regards,
> Sune
>
>


Similar ThreadsPosted
Change one-way settings for a partnership? April 3, 2008, 6:53 pm
Automatically change network settings September 14, 2006, 1:59 am
ActiveSync COM Port add programmatically April 30, 2006, 1:59 am
Change Partnership Name August 24, 2005, 3:51 pm
How do I change the partnership name? March 7, 2006, 2:33 pm
change device name? October 25, 2006, 9:50 pm
How do I change the user on a WM5 PDA November 8, 2006, 8:55 am
Change Host February 20, 2007, 1:14 am
Can't Change Sync Options December 19, 2005, 10:07 am
Change from sync with two computers to one. February 20, 2006, 7:13 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap