Solved

Communication with a PDA

Posted on 2004-09-28
7
370 Views
Last Modified: 2010-04-23
I have to make an application which communicates with a PDA over GPRS.  I know this can be achieved using a webservice, but the problem is I have to 'push' data to the PDA too.  Can this be done ?  Or is there a different approach to this problem.  It's crucial that I can send info from my host application to the PDA.
If necessary the connection (made from the PDA to the Host) can stay open at any time.
0
Comment
Question by:ACAE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 9

Expert Comment

by:checoo
ID: 12167205
In the pervasive environment its always advisable to use PULL rather than push, you can have the PDA initiate the data transfer session and then the server and send the data to the PDA. If you really need to push data then the alternative is to have a windows service running which will check if the PDA is connected (or rather accessible) and then send the data over to the PDA, but in this case there has to be a component running on the PDA also which should accept the data that is sent by the server. I have worked with both this models but personally would like to recommend the PULL (PDA pulls the data) model if it is feasible for your secnerio.
0
 

Author Comment

by:ACAE
ID: 12167259
I don't really know if I can apply the PULL model. There are 2 features that give a problem : on the host system transport orders are created and assigned to a driver (=PDA), and at that point the order has to be send to the PDA.  The second feature is a 'chat' function to interchange messages between the host and the driver.

In the pull model I then should have a timer that automatically sends a message to the host every .. minutes to ask if new information (orders or chat messages) is available, but I fear that would consume a lot of data transfer (in Belgium the connection of GPRS is free, but there is a fee for each MB that is send).  However, as you are always connected, I tought the push model would be better.  In both cases I need some kind of 'Listener' on the PDA
0
 
LVL 9

Expert Comment

by:checoo
ID: 12167727
Have you considered the possiblity of sending an SMS to the PDA whenever the host needs to communicate, and then the PDA can establish the connection.
0
Industry Leaders: 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!

 

Author Comment

by:ACAE
ID: 12167760
No, I haven't.  I'll have to communicate with our customer to see if that's possible (moneywise, the host should support 150 handhelds).
However, what the PDA (it's not a classic PDA, is a Psion Teklogix Workabout Pro) also has to do every ... minutes is send its GPS coördinates.  Perhaps I can use this communication to check for new orders and chat-messages.
0
 
LVL 9

Accepted Solution

by:
checoo earned 250 total points
ID: 12169175
Have a look at the following FTP based solution
http://www.rebex.net/ftp.net/samples-compact-framework.aspx
0
 

Author Comment

by:ACAE
ID: 12169241
Sorry but I don't see the point.  This example is about up/downloading files to a pocket PC using FTP, I think this is not really usable for us.
0
 

Author Comment

by:ACAE
ID: 12217487
I searched a bit further and found some interesting examples on this case.  This makes this question in fact obsolete.  I will look into the FTP solution to transfer signatures (bmp) to the host pc, so this could in fact be very usefull.  Thanx for this.
0

Featured Post

Technology Partners: 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!

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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