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.


Data collection from devices to Desktop using SQLite


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-03-2008, 04:43 AM
Senior Member
 
Join Date: Mar 2008
Posts: 103
Default Data collection from devices to Desktop using SQLite

I'm developing an application would on several devices as well as on the desktop.

Each time I have some new data (records) in the devices, want to append it on the desktop into a single database. I'm using SQLite database.

Whether its possible to append the records from several devices to a single database on the desktop using SQLite ?

Please give tips or hints.

regads
Reply With Quote
  #2 (permalink)  
Old 04-03-2008, 05:46 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

You should only use the trial version to evaluate Basic4ppc.
If you are building "real" applications you should first purchase Basic4ppc.

About your question, yes it is possible to append the data to a single database with SQLite.
Reply With Quote
  #3 (permalink)  
Old 04-03-2008, 06:38 AM
Senior Member
 
Join Date: Mar 2008
Posts: 103
Default

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
  #4 (permalink)  
Old 04-03-2008, 11:00 AM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default

Hello, this can be done. I would suggest the following:

A) It's best to user a client / server infrastructure. Setup a web server with apache and php.

B) Upload your sqlite database from the PPC to the server via HTTP post.

C) Use PHP's inbuilt SQLite 3 library (via the PDO library) to read from the PPCs sqlite database and then write it to the servers SQLite database. The PPCs database is only used by the one user, but the server's SQLite database is used by all users.

D) When sending data back to the PPC, use PHP to create a new SQLite database, fill it with the relevant information for the user who has connected, and then send it back to the PPC.

Cheers!
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
scanning for bluetooth devices arclight Questions & Help Needed 3 11-07-2008 06:00 PM
90x90 icons for VGA devices Cableguy Basic4ppc Wishlist 0 10-25-2008 06:56 PM
Collection library agraham Additional Libraries 6 09-02-2008 08:23 PM
Sqlite Data Sequence ceaser Questions & Help Needed 2 07-29-2008 12:03 PM
3D to 2D functions collection legugusse Share Your Creations 2 07-12-2007 12:11 PM


All times are GMT. The time now is 01:48 AM.


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