sync problem
i created an application and when i tried installing it on the device using hotsync, it hangs up on the cleaning up process. it shows cleaning up, please wait.. and it shows it forever. what could possibly cause this problem? Thanks, Emilio Young -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Creator ID to use for a tutorial...
On Jul 23, 2006, at 8:43 PM, Brian Gupta wrote: The question is what creator ID should I tell people to use in the tutorial/ walk through? 1) STRT 2) Register their own 3) One that we will register for use with this tutorial 4) The real application's Creator ID In my not-so-humble opinion, 1, 3 and 4 are all good solutions. While the namespace of creator IDs is larger than any plausible number of Palm applications ever, the number of memorable/pronounceable ID is much smaller, so I'd rather IDs weren't registered for applications that will never be published. If you go with #3, perhaps the best option, your fellow developers will appreciate it if you pick something forgettable. For my throwaway apps that no one else will ever see, I use a random unpronounceable combination of punctuation marks, such as '@#$%'. Doug Reeder Cognitive Systematic Musicology Lab OSU School of Music -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: sync problem
On Jul 24, 2006, at 5:47 AM, [EMAIL PROTECTED] wrote: i created an application and when i tried installing it on the device using hotsync, it hangs up on the cleaning up process. it shows cleaning up, please wait.. and it shows it forever. what could possibly cause this problem? One common cause of this is code in PilotMain, outside of the block executed on sysAppLaunchCmdNormalLaunch. During the cleaning phase, the sysAppLaunchCmdSyncNotify launch code is sent to the app, as installation is considered a change of the app database. You don't have globals in this launch, so global variable access will fail, as will things like inter-segment function calls. Doug Reeder Cognitive Systematic Musicology Lab OSU School of Music -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Creator ID to use for a tutorial...
I'd like to jump in on this, speaking as an occasional developer of PalmOS apps and a long-time user of Palm hardware. What is the primary function of Creator ID's? When all else is put aside, the most important thing that a Creator ID does is to pull together the files belonging to an app into a single entity. Thus, when one uses the Palm's Delete function to delete a no longer needed app, the OS also deletes any additional files (databases, etc) which are associated with the app by nature of having the same Creator ID. This means that using a random series of characters, or any non-registered sequence, runs the risk - slight though it may be - that when your test app is deleted it may also take out other unintended files as well. This is not a problem if the only device the test app is installed on is your own, but if you intend to distribute to even a samll number of users I think using a registered ID is the only correct way to go. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of P. Douglas Reeder Sent: Monday, July 24, 2006 8:42 AM To: Palm Developer Forum Subject: Re: Creator ID to use for a tutorial... On Jul 23, 2006, at 8:43 PM, Brian Gupta wrote: The question is what creator ID should I tell people to use in the tutorial/ walk through? 1) STRT 2) Register their own 3) One that we will register for use with this tutorial 4) The real application's Creator ID In my not-so-humble opinion, 1, 3 and 4 are all good solutions. While the namespace of creator IDs is larger than any plausible number of Palm applications ever, the number of memorable/pronounceable ID is much smaller, so I'd rather IDs weren't registered for applications that will never be published. If you go with #3, perhaps the best option, your fellow developers will appreciate it if you pick something forgettable. For my throwaway apps that no one else will ever see, I use a random unpronounceable combination of punctuation marks, such as '@#$%'. Doug Reeder Cognitive Systematic Musicology Lab OSU School of Music -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
ContactsLib_OpenLibrary() failed.
hi, please help me out on this one. i want to access contacts database from my palm app in read only mode. i used Contacts.h and used ContactsLib_OpenLibrary(...). but got the following error: Debug/AppMain.o(.text+0x64): In function `ContactsLib_OpenLibrary': AppMain.c:417: undefined reference to `ContactsLibOpen' Debug/AppMain.o(.text+0xb2): In function `ContactsLib_CloseLibrary': AppMain.c:461: undefined reference to `ContactsLibClose' then i noticed that ContactsLibClose and ContactsLibOpen was not defined anywhere. so please advice me on what should be done. thanks in advance. sriram -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Creator ID to use for a tutorial...
I think the below is correct:If you install two different applications with the same creator ID, the most recently installed one will overwrite the other during a hotsync. The creator ID is how the Palm differentiates between applications. (It doesn't use the file name or a digital signature). Cheers,BrianOn 7/24/06, Carmine Castiglia [EMAIL PROTECTED] wrote: I'd like to jump in on this, speaking as an occasional developer ofPalmOS apps and a long-time user of Palm hardware. What is the primary function of Creator ID's?When all else is putaside, the most important thing that a Creator ID does is to pulltogether the files belonging to an app into a single entity.Thus, when one uses the Palm's Delete function to delete a no longer needed app,the OS also deletes any additional files (databases, etc) which areassociated with the app by nature of having the same Creator ID. This means that using a random series of characters, or anynon-registered sequence, runs the risk - slight though it may be - thatwhen your test app is deleted it may also take out other unintended files as well. This is not a problem if the only device the test appis installed on is your own, but if you intend to distribute to even asamll number of users I think using a registered ID is the only correct way to go.-Original Message-From: [EMAIL PROTECTED][mailto: [EMAIL PROTECTED]] On Behalf Of P. DouglasReederSent: Monday, July 24, 2006 8:42 AMTo: Palm Developer ForumSubject: Re: Creator ID to use for a tutorial...On Jul 23, 2006, at 8:43 PM, Brian Gupta wrote: The question is what creator ID should I tell people to use in the tutorial/ walk through? 1) STRT 2) Register their own 3) One that we will register for use with this tutorial 4) The real application's Creator IDIn my not-so-humble opinion, 1, 3 and 4 are all good solutions.Whilethe namespace of creator IDs is larger than any plausible number ofPalm applications ever, the number of memorable/pronounceable ID is much smaller, so I'd rather IDs weren't registered for applicationsthat will never be published.If you go with #3, perhaps the bestoption, your fellow developers will appreciate it if you pick somethingforgettable. For my throwaway apps that no one else will ever see, I use a randomunpronounceable combination of punctuation marks, such as '@#$%'.Doug ReederCognitive Systematic Musicology LabOSU School of Music --For information on using the PalmSource Developer Forums, or tounsubscribe, please see http://www.palmos.com/dev/support/forums/ --For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: No of records
My question on how many allocations should have been restated to ask What is the maximum total heap for a given application I'm not clear as to whether 64K is the total heap for a given app or whether its the largest single call one to make to allocate memory. I'm using malloc,free right now which I think in CodeWarrior is mapped to MemPtrNew, MemPtrFree and probably the same in GNU. I'm hoping this depends on the Device, an 8MB device would presumably over more usable heap than a 4MB device. Is MemSemaphore* functions are supported in all m68k devices. I'd need read/write access for the algorithm and would use heap for that as it would be variable. I can't seem to find any informationon MemSemaphore in Rhodes, McKeehan or Foster. Is this a 68K Palm OS function? Evidently this is a trick to get more memory and treat as dynamic on the Palm. What OS has this function, 3.5 and above. If I were to allocate the following blocks on a Palm would it be a problem? 12K 50K 15K 36K 16K 25K 62K Would the Palm let me do all these allocations in a single program run? Thanks for your help. Regards, Andrew Scheurer 858-449-2557 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: POSE crashing when GremlinMinimize...ing
I'm experiencing this same problem.. Any resolution? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Creator ID to use for a tutorial...
Doug,#3 was my preferred choice, and I was planning to use something pseudo-random, if I went that route. (I tend to prefer pseudo random myself)One question. Is there any functional purpose to having memorable creator IDs? (What am I missing?) The end user doesn't really look at these do they? Thanks,BrianOn 7/24/06, P. Douglas Reeder [EMAIL PROTECTED] wrote: On Jul 23, 2006, at 8:43 PM, Brian Gupta wrote: The question is what creator ID should I tell people to use in the tutorial/ walk through? 1) STRT 2) Register their own 3) One that we will register for use with this tutorial 4) The real application's Creator IDIn my not-so-humble opinion, 1, 3 and 4 are all good solutions.Whilethe namespace of creator IDs is larger than any plausible number of Palm applications ever, the number of memorable/pronounceable ID ismuch smaller, so I'd rather IDs weren't registered for applicationsthat will never be published.If you go with #3, perhaps the bestoption, your fellow developers will appreciate it if you pick something forgettable.For my throwaway apps that no one else will ever see, I use a randomunpronounceable combination of punctuation marks, such as '@#$%'.Doug ReederCognitive Systematic Musicology Lab OSU School of Music--For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: sync problem
Yes :) That was exactly the cause of my synchronization problem. thanks a lot. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Linker error with new and delete operator.
Hello all, Can anyone give me the solution. When i try to compile my project in codewarrior 9.3, it gives me the following linker error message, can you suggest me to resolve this error ? Error: 1. operator new(unsigned long) referenced from myfunction() is undefined. 2. operator delete(void*) referenced from myfunction() is undefined. cathy. __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Creator ID to use for a tutorial...
On Jul 24, 2006, at 10:35 AM, Brian Gupta wrote: One question. Is there any functional purpose to having memorable creator IDs? (What am I missing?) The end user doesn't really look at these do they? Only very experienced users, trying to figure out what cryptically named databases or preferences are. When I'm trying to clear out a machine with too little storage left, I'd like to not delete anything important. If I find a file created by 'ADBE', I might remember that's Adobe Acrobat, if I saw it not too long ago. Likewise 'Aple' and 'Apl2' are connected with the Apple II simulator. But 'KWPi' doesn't ring a bell, and 'strt' for IP Subnetter is tough to remember. The file manager on Kyocera 7135s could display databases grouped by creator, with the application name heading the group. I miss that. If you install two different applications with the same creator ID, the most recently installed one will overwrite the other during a hotsync. The creator ID is how the Palm differentiates between applications. (It doesn't use the file name or a digital signature). Unfortunately, no, HotSync won't overwrite an application unless the database name is identical. Applications with different database names but the same creator just confuse Palm OS. It's hard to recover from that situation without deleting both apps. Doug Reeder Cognitive Systematic Musicology Lab OSU School of Music -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Creator ID to use for a tutorial...
On 7/24/06, Brian Gupta [EMAIL PROTECTED] wrote: I think the below is correct: If you install two different applications with the same creator ID, the most recently installed one will overwrite the other during a hotsync. The creator ID is how the Palm differentiates between applications. (It doesn't use the file name or a digital signature). not sure about this one :) puts on palmos historian hat the creator id is used mainly for the application preferences; and, a method of grouping common databases together as a single entity. when you delete an application; it will also remove the preferences for that creator id and any additional applications with the same creator id - this is how it has been my understanding :) its always best to have your own creator id uniquely - however, you can make small changes to allow for seperately manageable databases like level packs etc. (appear as seperate items in delete dialog). palmos marks uniqueness via the filename only. everything is a database; the database name is the unique identifier. if you have two databases with the same name; only the last installed will exist; as it would have overridden the previous database. this is why on the developer list; we have suggested naming database files with: {creator id}-name allowing everyone to use the first four characters to ensure uniqueness. these discussions went on back in 1999/2000 era - so, its a long way back to search the archives. -- // Aaron Ardiri -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Linker error with new and delete operator.
Its possible that you're not linking in the MSL C++ library. Are you using the command line compiler or the IDE w/ Metrowerks... --- babbu cathy [EMAIL PROTECTED] wrote: Hello all, Can anyone give me the solution. When i try to compile my project in codewarrior 9.3, it gives me the following linker error message, can you suggest me to resolve this error ? Error: 1. operator new(unsigned long) referenced from myfunction() is undefined. 2. operator delete(void*) referenced from myfunction() is undefined. cathy. __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ Regards, Andrew Scheurer 858-449-2557 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Get hands-on time with ALP at PalmSource Developer Day
I just noticed that PalmSource is giving a day-long developers conference in San Francisco on Aug 16. The focus is on the new (yet to be released) ACCESS Linux Platform (ALP). It's part of the LinuxWorld conference but you can register seperately for the PalmSource Developer Day for $95: http://tinyurl.com/gmtg2 The sessions sound good if you're interested in getting a hands-on preview of developing for ALP: Introduction to ACCESS Linux Platform (ALP). This is a hands-on session that will describe the ACCESS Linux Platform (ALP) and details its open source architecture. PalmSource will also demonstrate ALP and transform a typical Hello World application into an ALP application ready for mobile device deployment. Attendees will run sample applications as well as have the opportunity to build one together as a group. Deep Dive into ACCESS Linux Platform (ALP). In this session PalmSource and attendees will take the ALP application from the Hands-On intro and add GUI controls with Glade, introduce special mobile device event handlers and show debugging an ALP application via Eclipse on the Simulator. Compatibility Station. A unique and special experience for attendees, PalmSource will invite Palm OS developers to try their existing applications on ALP and discuss compatibility strategies with onsite PalmSource engineers. Extending an ALP Application. In this final session PalmSource will add more features to the application from the Deep Dive Session, including accessing a SQLite database for information storage and retrieval. PalmSource will provide go-forward advice and guidance to help you plan and prepare your projects to support ALP. I understand that the July PalmSource Developer Newsletter will be coming out very soon with more information but since this is only a little over 3 weeks away I thought people who wanted to attend should have as much advance notice as possible so they can make reservations. David Beers Pikesoft Mobile Computing www.pikesoft.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Missing IBM Java VM on Palm Cobalt Simulator 6.1
Hi, Has anyone successfully built and tested a PRC on the Palm Cobalt Simulator 6.1. I keep getting the following error: Missing IBM Java VM -Please ensure that IBM's Websphere Micro Environment Java VM is installed. I think I did the necessary things: Download the PRC from this site and installed it on the Simulator. http://www.palm.com/us/support/jvm/download.html I basically installed the 2 PRCs in the above link. I even J9JavaVMMidp20.dll in the Simulator\6.1\Debug and restarted the simulator. However I still get the same message. Any help on this will be greatly appreciated. Thank you! -Sri -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Missing IBM Java VM on Palm Cobalt Simulator 6.1
IBM has never released a Java VM for Palm OS Cobalt and probably never will. That combined with the fact that there are no Cobalt devices released and that PalmSource reports that they are devoting all their energies to a new platform (ACCESS Linux Platform) would lead me to conclude that you shouldn't be worrying about targetting Palm OS Cobalt. Unless you are a Palm OS licensee working on a Cobalt device that none of us know about! :-) David Beers Pikesoft Mobile Computing www.pikesoft.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Missing IBM Java VM on Palm Cobalt Simulator 6.1
Hi David, Thanks for your quick reply. I'm actually new to Palm OS. I'm just trying to get my app to work on Palm Treo 650. What is the equivalent Simulator to that? Cheers, -Sriram From: David Beers [EMAIL PROTECTED] Reply-To: Palm Developer Forum palm-dev-forum@news.palmos.com To: Palm Developer Forum palm-dev-forum@news.palmos.com Subject: re: Missing IBM Java VM on Palm Cobalt Simulator 6.1 Date: Mon, 24 Jul 2006 23:20:52 - IBM has never released a Java VM for Palm OS Cobalt and probably never will. That combined with the fact that there are no Cobalt devices released and that PalmSource reports that they are devoting all their energies to a new platform (ACCESS Linux Platform) would lead me to conclude that you shouldn't be worrying about targetting Palm OS Cobalt. Unless you are a Palm OS licensee working on a Cobalt device that none of us know about! :-) David Beers Pikesoft Mobile Computing www.pikesoft.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Missing IBM Java VM on Palm Cobalt Simulator 6.1
2006/7/24, Sriram Ganapathy [EMAIL PROTECTED]: Hi David,Thanks for your quick reply. I'm actually new to Palm OS. I'm just trying toget my app to work on Palm Treo 650. What is the equivalent Simulator tothat?The Palm OS Garnet ( 5.x) Simulator, or better, the Treo 650 Simulator from PalmOne PluggedIn program (I think there's one). But you get that from PalmOne... er, Palm Inc. (hate those name changes) and not PalmSource. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Missing IBM Java VM on Palm Cobalt Simulator 6.1
Thanks for your replies. Finally got it to work on Garnet 5.4 Release Simulator not Debug. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
OS5 = Garnet?
Hi, I have a Palm Zire 31, OS 5.2.8. I would like to know if this is the called Garnet OS. I am reading Palm OS documentation and not sure about certain functionalities are present in the OS. Could someone explain this to me? Thanks in advance. Oscar -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Linker error with new and delete operator.
Well, I am using Codewarrior IDE compiler.. I tried adding MSL, but i am getting the same linker error still.:( cathy. --- Andrew Scheurer [EMAIL PROTECTED] wrote: Its possible that you're not linking in the MSL C++ library. Are you using the command line compiler or the IDE w/ Metrowerks... --- babbu cathy [EMAIL PROTECTED] wrote: Hello all, Can anyone give me the solution. When i try to compile my project in codewarrior 9.3, it gives me the following linker error message, can you suggest me to resolve this error ? Error: 1. operator new(unsigned long) referenced from myfunction() is undefined. 2. operator delete(void*) referenced from myfunction() is undefined. cathy. __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ Regards, Andrew Scheurer 858-449-2557 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Push Registry on Palm Treo 650 and Garnet Simulator
Hi, Does anyone know if Push Registry (Register Alarm) works on the Palm Treo 650? Also does it work on the Garnet 5.4 Simulator? I've tried it on the Simulator but it doesn't work. However as a MIDP 2.0 feature, Push Registry worked fine on a Nokia N80 running Symbian. Any help on this would be appreciated! Thanks, -Sri -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
URLConnection usage in Palm Garnet 5.4 Simulator
Hi, Has anyone used the URLConnection class to make HTTP Connections to remote websites on the Simulator? Is there some kind of setup that needs to be performed on the simulator for it to work? I saw that there is a Settings - Communiation - Communication Ports ... on the Simulator and tried creating a new Port and named it Http and Transport Type: TCP/IP but wasn't sure what to use for the 'Bound To' drop-down but only one entry showed up there named 'localhost:9' and tried to use it but it didn't work. Please help, Thanks, -Sri -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Linker error with new and delete operator.
When you create the project, look to using the C++ stationary, a POL project - there are I believe C++ stationary's. If you select one of those, new and delete should link. --- babbu cathy [EMAIL PROTECTED] wrote: Well, I am using Codewarrior IDE compiler.. I tried adding MSL, but i am getting the same linker error still.:( cathy. --- Andrew Scheurer [EMAIL PROTECTED] wrote: Its possible that you're not linking in the MSL C++ library. Are you using the command line compiler or the IDE w/ Metrowerks... --- babbu cathy [EMAIL PROTECTED] wrote: Hello all, Can anyone give me the solution. When i try to compile my project in codewarrior 9.3, it gives me the following linker error message, can you suggest me to resolve this error ? Error: 1. operator new(unsigned long) referenced from myfunction() is undefined. 2. operator delete(void*) referenced from myfunction() is undefined. cathy. __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ Regards, Andrew Scheurer 858-449-2557 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ Regards, Andrew Scheurer 858-449-2557 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
UDP
Hi, Can somebody teach me the steps in making my udp server to be able to send as well as receive? thanks you, Lyka Leslie -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/