| NEWS | | |  | | FORUMS | | |  | | FREEWARE | | |  | | ABOUT US | | |  | |
03-06-2007, 03:28 PM
|
#1 | | Registered User
Join Date: Mar 2007
Posts: 15
| Palm Database application I am looking to create a Palm database application for my Senior Project. I have been able to development the Interface but I'm not exactly sure about connecting to the built in Palm database or if there is a free database that I could use. I bought the book Palm OS Programming Bible but when I type in the code it gives me an error. I'm currently using the Palm OS Development Suite for development. I also looked into a tutorial I found online but when I compiled it it also had errors so I feel stuck. I tried to get the sample code off http://www.access-company.com/ but all the links I found were invalid. Please Help! |
| |
03-07-2007, 09:36 AM
|
#2 | | Registered User
Join Date: Feb 2005 Location: SW, VA, USA
Posts: 937
| A few pointers:
If I remember correctly, there are some sample applications that came with the Palm OS Development Suite. I think they are somewhere in the SDK directory tree.
If you could post more detail as to what error(s) you are getting, we may be able to point you in the right direction.
There is an open source Palm database application, Pilot-DB. |
| |
03-07-2007, 07:21 PM
|
#3 | | Registered User
Join Date: Mar 2007
Posts: 15
| When I try to get the samples off the PalmOS dev site -- Access-Company site there is an error. I am going to this link http://www.access-company.com/devel...es/classic.html and clicking the Knowledge Base #98...
how in what I'm trying to do in the actual Palm the error is that I'm trying to read "low memory" but I don't know how to access low or high or any memory. What I was trying to do was add a record to the database but I'm not exactly sure how to do so. The books and the sample I got off http://mobile.eric-poncet.com/palm/tutorial.html haven't exactly worked yet so  |
| |
03-07-2007, 08:48 PM
|
#4 | | Lifeflash'd and loving it
Join Date: Nov 2006 Location: Phoenix AZ US
Posts: 1,537
| HI,
low memory means that what you are trying to write to is system protected, in an area that may contain importatnt data.
It's for OnBoardC, but this guide also is 100% compatible with pODS: http://onboardc.sourceforge.net/cookbook.html
It's a tut, ref, etc..
Luck be with you, welcome to 1src and the Dev community
__________________
[b] /*PhreakOnALeash*/
Ryan Rix -- KDE Developer, HomePage |
| |
03-08-2007, 08:39 AM
|
#5 | | Registered User
Join Date: Mar 2007
Posts: 15
| Thanks that looks like it should be very helpful. |
| |
03-08-2007, 10:14 AM
|
#6 | | Lifeflash'd and loving it
Join Date: Nov 2006 Location: Phoenix AZ US
Posts: 1,537
| Anytime holmes. Welcome to the source
__________________
[b] /*PhreakOnALeash*/
Ryan Rix -- KDE Developer, HomePage |
| |
03-11-2007, 06:50 PM
|
#7 | | Registered User
Join Date: Mar 2007
Posts: 15
| So I've kinda got it working. I'm used the PalmDB to setup the database but I want to create me own app that will work with the database. I was able to connect to the database from the app that I'm creating but when I tried to read the records I had already placed in the database it was a lot of garbage but I did see a number I had entered. Any ideas on how to easily read data from the PalmDB database in another App? |
| |
03-11-2007, 06:56 PM
|
#8 | | Lifeflash'd and loving it
Join Date: Nov 2006 Location: Phoenix AZ US
Posts: 1,537
| You'll have to dredge up the source for the Pilot-DB app, too see how the structures are defined. Then interface this in to your app to decode the mess.
__________________
[b] /*PhreakOnALeash*/
Ryan Rix -- KDE Developer, HomePage |
| |
03-11-2007, 07:26 PM
|
#9 | | Registered User
Join Date: Mar 2007
Posts: 15
| How exactly do I dredge up the source? |
| |
03-11-2007, 07:43 PM
|
#10 | | Lifeflash'd and loving it
Join Date: Nov 2006 Location: Phoenix AZ US
Posts: 1,537
| Download it... http://sourceforge.net/project/down....tar.gz&9035799
This si the pointer to the source.
in particular check;
/pilot-db/src/design.c
/pilot-db/src/edit.c
granted I don't have the code atm, so these may not be the right directories... Try grepping your root download directory for union and see what it turns up. (in windows, search for files containing union then find it in that text)
All else fails, ***as a last resort***, mail the developer... ask what the structure for the DB records looks like.
btb, waht device do you have, since it is in the older devices sectioN?
__________________
[b] /*PhreakOnALeash*/
Ryan Rix -- KDE Developer, HomePage
Last edited by phreakonaleash : 03-11-2007 at 07:45 PM.
Reason: added btb
|
| |
03-11-2007, 09:05 PM
|
#11 | | Registered User
Join Date: Mar 2007
Posts: 15
| well the one that I got from my prof is a m505 and I have Tungsten but its at home |
| |
03-11-2007, 09:21 PM
|
#12 | | Lifeflash'd and loving it
Join Date: Nov 2006 Location: Phoenix AZ US
Posts: 1,537
| Oh, i was joust interested. T|X ftw over here.
__________________
[b] /*PhreakOnALeash*/
Ryan Rix -- KDE Developer, HomePage |
| |
03-15-2007, 09:15 AM
|
#13 | | Registered User
Join Date: Mar 2007
Posts: 15
| So I was able to get my records printed out but I was wondering if there was a way to parse out the information that I need. I tried to look through the code but I really haven't been able to find anywhere that they create a new record or parse out an old one  |
| |
03-15-2007, 12:31 PM
|
#14 | | Registered User
Join Date: Jul 2003
Posts: 3,188
| Yeah - I was looking to try and fix some of the more evil crashing bugs in PilotDB, but the source code is quite messy
As it is, the project has stagnated for some years now  |
| |
03-15-2007, 01:53 PM
|
#15 | | Lifeflash'd and loving it
Join Date: Nov 2006 Location: Phoenix AZ US
Posts: 1,537
| I personally love it. never crashed once over here. The way I understand, It is just a record wit the structure of the data saved to it, but I may be wrong. Just create a new record and write the data to t, or just delete teh record you want to... I think ;-o
__________________
[b] /*PhreakOnALeash*/
Ryan Rix -- KDE Developer, HomePage |
| | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:38 AM. | |