Windows Vista Tips

Windows Vista Tips > Newsgroups > ActiveSync > Remote access of a mobile device from a PC

Reply
Thread Tools Display Modes

Remote access of a mobile device from a PC

 
 
Mark D. (GY)
Guest
Posts: n/a

 
      10-19-2004
Hi,

Im hoping someone can help me and apologies if this is off topic.

Im trying to write an application that reads the SMS messages held on a
smartphone. There is several out there so obviously it can be done.

Im using V.Studio 2003 but after two days of research haven't been able to
find out much about how to go about developing the app. I've found things
on p/Invoke and the SMS.dll API but am not sure this is the correct route to
go down for remote access to the SMS messages.

Im actually surprised at how little Ive been able to find on this.

Can anyone help point me in the right direction? All pointers would be a
huge help before I give up on the project

Thanks,
Mark.
 
Reply With Quote
 
 
 
 
riki
Guest
Posts: n/a

 
      10-19-2004
Mark D. (GY) wrote:
> Can anyone help point me in the right direction? All pointers would be a
> huge help before I give up on the project


The opennetcf guys have a class for that:
http://opennetcf.org/library/OpenNETCF.Phone.Sms.html

riki

main(){printf("%d != %d, why?", sizeof('"')["'"],
,(sizeof('"'))["]\"\0["]);}
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
 
Reply With Quote
 
Mark D. (GY)
Guest
Posts: n/a

 
      10-19-2004
I was under the impression that was for writing applications which ran on the
mobile device itself. I want this application to run on the desktop PC to
which the mobile is connected.

"riki" wrote:
> The opennetcf guys have a class for that:
> http://opennetcf.org/library/OpenNETCF.Phone.Sms.html


 
Reply With Quote
 
riki
Guest
Posts: n/a

 
      10-19-2004
Mark D. (GY) wrote:
> I was under the impression that was for writing applications which ran on the
> mobile device itself. I want this application to run on the desktop PC to
> which the mobile is connected.

ahh, well the native function what handle that are called 'RAPI', but
that only allows low level Database access to the message store, which
isn't really what you are after.

What you need to do is create an device side app that accesses the
databases and sends the information to your desktop app. You can use
your desktop app to copy this device app down (vair RAPI) when and where
you need it.

riki

main(){printf("%d != %d, why?", sizeof('"')["'"],
,(sizeof('"'))["]\"\0["]);}
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
 
Reply With Quote
 
Mark D. (GY)
Guest
Posts: n/a

 
      10-19-2004
Ahh... That makes more sense as to why I've not been able to find anything.
I was looking for the wrong stuff!

Presumably then Im going to have to learn DCOM to get the information back
to the desktop?

Thanks for all your help!!

Mark.

"riki" wrote:

> Mark D. (GY) wrote:
> > I was under the impression that was for writing applications which ran on the
> > mobile device itself. I want this application to run on the desktop PC to
> > which the mobile is connected.

> ahh, well the native function what handle that are called 'RAPI', but
> that only allows low level Database access to the message store, which
> isn't really what you are after.
>
> What you need to do is create an device side app that accesses the
> databases and sends the information to your desktop app. You can use
> your desktop app to copy this device app down (vair RAPI) when and where
> you need it.
>
> riki
>
> main(){printf("%d != %d, why?", sizeof('"')["'"],
> ,(sizeof('"'))["]\"\0["]);}
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
>

 
Reply With Quote
 
riki
Guest
Posts: n/a

 
      10-19-2004
Mark D. (GY) wrote:
> Ahh... That makes more sense as to why I've not been able to find anything.
> I was looking for the wrong stuff!
>
> Presumably then Im going to have to learn DCOM to get the information back
> to the desktop?

You could use sockets, the device is just another networked 'computer'.
(have a google on 'ppp_peer', which is the pc name from the device.) you
can do it all in managed code.

riki



main(){printf("%d != %d, why?", sizeof('"')["'"],
,(sizeof('"'))["]\"\0["]);}
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
 
Reply With Quote
 
reshmi
Guest
Posts: n/a

 
      12-15-2004
reshmi

Hi,

Im hoping someone can help me and apologies if this is off topic.

Im trying to write an application that reads the SMS messages held on a
smartphone. There is several out there so obviously it can be done.

Im using Vb..net 2003 but after two days of research haven't been able to
find out much about how to go about developing the app. I've found things
on p/Invoke and the SMS.dll API but am not sure this is the correct route to
go down for remote access to the SMS messages.

Im actually surprised at how little Ive been able to find on this.

Can anyone help point me in the right direction? All pointers would be a
huge help before I give up on the project

Thanks,
reshmi
 
Reply With Quote
 
riki
Guest
Posts: n/a

 
      12-16-2004
reshmi wrote:
> reshmi
>
> Hi,
>
> Im hoping someone can help me and apologies if this is off topic.
>
> Im trying to write an application that reads the SMS messages held on a
> smartphone. There is several out there so obviously it can be done.
>
> Im using Vb..net 2003 but after two days of research haven't been able to
> find out much about how to go about developing the app. I've found things
> on p/Invoke and the SMS.dll API but am not sure this is the correct route to
> go down for remote access to the SMS messages.
>
> Im actually surprised at how little Ive been able to find on this.
>
> Can anyone help point me in the right direction? All pointers would be a
> huge help before I give up on the project

You need to use the MAPI API, here is a c++ example:
http://msdn.microsoft.com/mobility/u..._2002part2.asp

i'm not sure if there is a nice managed API for that. it's the sort of
thing i'd expect to see from opennetcf.org. I believe MS has something
in the pipeline for Compact Frameworks V2.

riki

main(){printf("%d != %d, why?", sizeof('"')["'"],
,(sizeof('"'))["]\"\0["]);}
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dear Microsoft - UAC (.png & wmp) issues should be addressed. JSandPC Windows Vista Administration 120 12-02-2008 04:42 PM
Vista Windows Mobile Device Center, Windows Mobile 5.0 & Outlook 2 ADB Windows Vista Hardware 2 02-23-2008 11:59 AM
Windows Mobile Device Center - Outlook has not been installed Andy Boniface Windows Vista Installation 2 06-14-2007 03:56 AM
mobile device MR Windows Vista Installation 2 12-14-2006 08:50 PM
Windows Mobile and Remote desktop Jasper UK Windows Vista Hardware 0 08-15-2006 10:38 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59