Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) 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, 03:43 AM
Senior Member
 
Join Date: Mar 2008
Location: Dhaka, Bangladesh
Posts: 164
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, 04:46 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 05:38 AM
Senior Member
 
Join Date: Mar 2008
Location: Dhaka, Bangladesh
Posts: 164
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, 10: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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Collection library agraham Additional Libraries 33 02-01-2012 12:16 PM
90x90 icons for VGA devices Cableguy Basic4ppc Wishlist 1 12-19-2008 12:54 AM
scanning for bluetooth devices arclight Questions (Windows Mobile) 3 11-07-2008 05:00 PM
Sqlite Data Sequence ceaser Questions (Windows Mobile) 2 07-29-2008 11:03 AM
3D to 2D functions collection legugusse Share Your Creations 2 07-12-2007 11:11 AM


All times are GMT. The time now is 09:09 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0