Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Communication with a PDA

Posted on 2004-09-28
7
Medium Priority
?
373 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 750 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

618 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