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.

Large Txt or data file

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2007, 02:48 AM
Knows the basics
 
Join Date: May 2007
Posts: 93
Default Large Txt or data file

Hi Erel,

I have a very large text file with about 20,000 lines of data (about 2.3mb), should I convert them to SQlite? If not it takes A very long time to load the data on PPC in order to extract and read the data.

Thanks for your help.

Regards
TC
Reply With Quote
  #2 (permalink)  
Old 05-28-2007, 05:22 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

What is the data format in the text file?
Using SQL there is no need to first load all the data, therefore it is much more efficient when working with large databases.
Reply With Quote
  #3 (permalink)  
Old 05-28-2007, 12:34 PM
Knows the basics
 
Join Date: May 2007
Posts: 93
Default

Hi Erel,

My text file with Data look's something like this, but with about 20,000 lines,

text.jpg

Sorry if the attachment look's very small. Hope you can help.

Thanks
TC
Reply With Quote
  #4 (permalink)  
Old 05-28-2007, 03:18 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I recommend you to add all the data to a table and save it to SQL using CreateSQLTable method (from the SQL library).
Reply With Quote
  #5 (permalink)  
Old 05-29-2007, 01:37 AM
Knows the basics
 
Join Date: May 2007
Posts: 93
Default

ok thanks Erel, I'll try that.
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
Display large text file JamesC Questions (Windows Mobile) 3 03-08-2008 02:45 AM
Embed and retrieve images in a data file Erel Code Samples & Tips 10 02-18-2008 07:23 AM
Need a format to write large .dat file with numbers Stellaferox Questions (Windows Mobile) 4 02-04-2008 01:16 AM
Exe embedded data file and, Icon personalisation. dan kabestan Questions (Windows Mobile) 3 01-15-2008 11:08 AM
exe files size is too large,can be compressed? kkk123kkk Questions (Windows Mobile) 4 11-02-2007 06:26 AM


All times are GMT. The time now is 02:29 AM.


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