Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


A query to Erel


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-03-2008, 08:40 AM
Senior Member
 
Join Date: Mar 2008
Posts: 117
Default A query to Erel

Erel,

Our purpose is to build an application for demographic surveillance in Dhaka, Bangladesh. This is currently done on paper, but our idea is to move to PDA. For this we are trying several options, amongst others Handbase and EPIHandy. Until now without success. We first want to try Basic4ppc and see whether it can do what we need, which is:
- using about 10 to 20 PDA's merging info from these PDA's in a desktop single database in about 15 tables
- controlled downloading of data from desktop to specific PDA's for field verification and updating of previous collected information as the surveillance system supposed to be.

Maybe you can tell us upfront, if this is possible to do with Basic4ppc and SQLite.



Thanks,
Reply With Quote
  #2 (permalink)  
Old 04-03-2008, 12:07 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

It is possible.
You will need to implement your own synchronization method.
How do you intend to communicate between the devices and the server (internet connection, activesync, network connection...)?
Reply With Quote
  #3 (permalink)  
Old 04-03-2008, 02:20 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 164
Default

It's entirely possible. We've built an application which is used by nurses in the home health care industry. Data is stored on a central server, and passed back and forth between the server and the PDA's in the field.

Data transport can be accomplished by either using the HTTP library and writing a PHP script on the server side, or by use of the Network library, which is a bit more complex.

Synchronization of the data is somewhat tricky, but entirely possible. Including a date/time stamp in the database record will tell you which data is the most recently collected (created or modified), but not which data is most accurate or authoritative.

Start with the example program in the HTTP library. You'll have to figure out for yourself how to organize the data (records/fields) that you pass, but it's not really that complex of a task.

Good luck!

Gary
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #4 (permalink)  
Old 04-07-2008, 03:34 AM
Senior Member
 
Join Date: Mar 2008
Posts: 117
Default

Thank you Erel and Gray. Erel we intend to communicate between the devices and the server (desktop) using activesync. Now we are testing with a single device. Using activesync, we cut the database form the device and paste it on the desktop to append it with the existing records (which we are yet to try, hints are welcome). Next time when the device is used, a new database is created. As you know we are trying with demo version and thinking to buy it (Basic4ppc 6.05).

And Gray I’ll go through the example program in the HTTP library.

Thank you again.
Reply With Quote
  #5 (permalink)  
Old 04-28-2008, 11:24 AM
Senior Member
 
Join Date: Mar 2008
Posts: 117
Default

Hi Erel,
As we looked for your help in our query about the subject, what is the way if we use the ActiveSync for the communication between the devices and the server (Desktop) and SQLite as database?


regards,
Reply With Quote
  #6 (permalink)  
Old 04-28-2008, 12:21 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

You can copy files from the device using the RAPI library.
After you copy the database you should open it and by testing the value of a date field (which is updated whenever a record is updated) you can find all the new records.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
a question for erel or agraham or anyone else Ricky D Questions & Help Needed 14 10-29-2008 07:43 PM
a question for Erel Ricky D Questions & Help Needed 2 10-24-2008 07:06 AM
Query on webbrowser.dll on HTC Touch WM6 badkarma Questions & Help Needed 8 04-11-2008 12:45 PM
Code optimization & dll query gangsta Questions & Help Needed 9 03-29-2008 10:28 AM
Microsoft Access Query somersetrc Questions & Help Needed 2 11-29-2007 09:29 AM


All times are GMT. The time now is 06:02 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0