Hi,
I am having a dialog based application. When i connect a pocetpc to
the system where i have my application running it should check for some
files in the PocketPC if the files are not there i need to send the
files to pocketpc.
But what happens is the activesync is getting the control when i
connect the PocketPC and the user is able to Explore the files in
PocketPC. I dont want this to happen whenever the required files are
transfered or found in the pocketpc then only user should able to
explore the PocketPC.
So shall i kill activesync when the pocketpc is connected and use
RAPI to search for the files and transfer it and then start activesync?

Any suggestions?Thanks in advance.

Re: Transfering files to PocketPC by Philip

Philip
Fri Apr 28 03:28:57 CDT 2006

The mobile device user will always be able to Explore his/her own device, so
I don't understand your concerns about that.

If you wish to synchronise files to any folder in the mobile device
(including removable cards) investigate MightySync:
http://www.mydocsunlimited.com/html/mightysync.html

However, this may depend on a "partnership" existing between the device and
PC - that's how I use it.

--
####################
## PH, London
####################
"Nash" <jeevs007@gmail.com> wrote in message
news:1146200573.877270.193090@i40g2000cwc.googlegroups.com...
> Hi,
> I am having a dialog based application. When i connect a pocetpc to
> the system where i have my application running it should check for some
> files in the PocketPC if the files are not there i need to send the
> files to pocketpc.
> But what happens is the activesync is getting the control when i
> connect the PocketPC and the user is able to Explore the files in
> PocketPC. I dont want this to happen whenever the required files are
> transfered or found in the pocketpc then only user should able to
> explore the PocketPC.
> So shall i kill activesync when the pocketpc is connected and use
> RAPI to search for the files and transfer it and then start activesync?
>
> Any suggestions?Thanks in advance.
>



Re: Transfering files to PocketPC by Nash

Nash
Fri Apr 28 03:41:22 CDT 2006

No No I think you have got it in the wrong way.

I dont want the desktop user to explore the files in mobile untill i
send all the necesarry files. ActiveSync should be disabled but still i
should be able to send files to PocketPC


Re: Transfering files to PocketPC by Philip

Philip
Fri Apr 28 13:37:06 CDT 2006

If the user unplugs the device before all the files are downloaded, how can
you stop them opening Explorer and examining the files?

I'm a beginner myself with developing for mobile, but in other contexts you
might consider downloading a cab file which is only unpacked on the device
once downloaded (is that possible on mobile?) or downloading the files with
a different name or to a different folder, renaming once the download is
complete. Just an idea...

--
####################
## PH, London
####################
"Nash" <jeevs007@gmail.com> wrote in message
news:1146213682.637976.127180@v46g2000cwv.googlegroups.com...
> No No I think you have got it in the wrong way.
>
> I dont want the desktop user to explore the files in mobile untill i
> send all the necesarry files. ActiveSync should be disabled but still i
> should be able to send files to PocketPC
>



Re: Transfering files to PocketPC by Sai

Sai
Fri Apr 28 15:05:37 CDT 2006

AFAIK, I dont think killing ActiveSync is a good option and your file
transfer will work without first activesyncing...What you might try to
do is..once your application receives the notification that the device
is in cradle you can display some sort of message/dialog indicating
that your application is transferring necessary files...just to attract
users attention and keep them off from using ASync to browse folders.

I would be interested in other solutions too.


-Sai


Re: Transfering files to PocketPC by r_z_aret

r_z_aret
Fri Apr 28 16:57:33 CDT 2006

On 27 Apr 2006 22:02:53 -0700, "Nash" <jeevs007@gmail.com> wrote:

>Hi,
> I am having a dialog based application. When i connect a pocetpc to
>the system where i have my application running it should check for some
>files in the PocketPC if the files are not there i need to send the
>files to pocketpc.
> But what happens is the activesync is getting the control when i
>connect the PocketPC and the user is able to Explore the files in
>PocketPC. I dont want this to happen whenever the required files are
>transfered or found in the pocketpc then only user should able to
>explore the PocketPC.
> So shall i kill activesync when the pocketpc is connected and use
>RAPI to search for the files and transfer it and then start activesync?

RAPI depends on the transport mechanism provided by ActiveSync. So
you're RAPI code won't work without an ActiveSync connection.

You could disable ActiveSync as soon as your code is done, but I can't
think of a good way to reenable ActiveSync so it will work again when
the user reconnects. I'm pretty sure RAPI provides no direct method to
detect disconnection, and very sure you will have no way to detect
physical disconnect. Your program could set a timer and then reenable
ActiveSync after some delay.

RAPI _will_ work with a guest connection.

>
>Any suggestions?Thanks in advance.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

Re: Transfering files to PocketPC by r_z_aret

r_z_aret
Sat Apr 29 13:31:08 CDT 2006

Beverly Howard has an article about ActiveSync and RAPI that might
provide hints for controlling ActiveSync:
http://bevhoward.com/ASync.htm#RAPI


On Fri, 28 Apr 2006 17:57:33 -0400, r_z_aret@pen_fact.com wrote:

>On 27 Apr 2006 22:02:53 -0700, "Nash" <jeevs007@gmail.com> wrote:
>
>>Hi,
>> I am having a dialog based application. When i connect a pocetpc to
>>the system where i have my application running it should check for some
>>files in the PocketPC if the files are not there i need to send the
>>files to pocketpc.
>> But what happens is the activesync is getting the control when i
>>connect the PocketPC and the user is able to Explore the files in
>>PocketPC. I dont want this to happen whenever the required files are
>>transfered or found in the pocketpc then only user should able to
>>explore the PocketPC.
>> So shall i kill activesync when the pocketpc is connected and use
>>RAPI to search for the files and transfer it and then start activesync?
>
>RAPI depends on the transport mechanism provided by ActiveSync. So
>you're RAPI code won't work without an ActiveSync connection.
>
>You could disable ActiveSync as soon as your code is done, but I can't
>think of a good way to reenable ActiveSync so it will work again when
>the user reconnects. I'm pretty sure RAPI provides no direct method to
>detect disconnection, and very sure you will have no way to detect
>physical disconnect. Your program could set a timer and then reenable
>ActiveSync after some delay.
>
>RAPI _will_ work with a guest connection.
>
>>
>>Any suggestions?Thanks in advance.
>
>-----------------------------------------
>To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
>
>Robert E. Zaret, eMVP
>PenFact, Inc.
>20 Park Plaza, Suite 478
>Boston, MA 02116
>www.penfact.com

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

Re: Transfering files to PocketPC by Nash

Nash
Mon May 01 23:17:49 CDT 2006

Hi,
Even if you disable the ActiveSync the user can browse the PocketPC
throuth MyComputer in desktop. So we should find some other way to stop
the user from exploring PocketPC untill the validations are done.

Any registry keys or some other way?


Re: Transfering files to PocketPC by r_z_aret

r_z_aret
Tue May 02 15:56:19 CDT 2006

On 1 May 2006 21:17:49 -0700, "Nash" <jeevs007@gmail.com> wrote:

>Hi,
> Even if you disable the ActiveSync the user can browse the PocketPC
>throuth MyComputer in desktop. So we should find some other way to stop
>the user from exploring PocketPC untill the validations are done.
>
> Any registry keys or some other way?

How about renaming wcescomm.exe?

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

Re: Transfering files to PocketPC by Nash

Nash
Tue May 09 05:43:12 CDT 2006

no renaming wcescomm.exe doesnt help us.
One thing i found out is renaming Wcesview.dll which will prevent u
from exploring through activesync.But still you can explore the pockepc
through my computer.

we need to find some other way


Re: Transfering files to PocketPC by Nash

Nash
Fri May 19 00:48:49 CDT 2006

hi,
anybody saw my posting "problem with connection notification of
activesync " do u have any idea?? need ur help.