re: SSL Open causing error
IS the SSL lib is available on the device on which you are testing by default they don't have on;ly the new handset comes with. so you have to download the SSL lib on the device first also on the emulator by default they not come with SSL lib. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: palm os-basic program
You will get every thing in the doc comes with the Pods and documents from the Access site and also the examples comes with the POSDS.You don't need any thing to search any where else . -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: Some Debugger problem....
U have not wirtten what u r doing so it giving this problem ? But I think u r writing the data base means try to write some thing in the database but writng on some wrong chuck or exeed the boundy of the memory chunk during writing some thing. U must take care the offset during writing some thing -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
disconnection with the server
In my application i m making connection with the server from my palm for some data transfer.But the connection is automatically disconnect by the palm after some transaction or if the server takes time to send the data means the connection alive after some time. And even at the server side their is no indication that the connection is break but at my side some time show the alert the connection is disconnect but some time not. what is the cause of this disconnection i don't understand .Is their any body have any idea about this that what is the cause of this problem ? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
connection break when the buffer size is increase
In my application i m reading the socket for the data sending by the server but now the problem starting when I increase the buffer size. The problem is that the data sending from server is vary from 5 bytes to 5000 bytes with request send by the client. In the start for testing purpose I keep the buffer of 400 bytes size for which its works fine.In the buffer it store the bytes which is 5 to 300 bytes read it properly it works. But if I increase the buffer size to 5000 and when the first 5 bytes comes it read them properly and when the second time 200 bytes send by the server the connection is automatically break between he server and my client.But all works fine when the size of buffer is 400.So where is the problem in the buffer size, I don't understand where I m doing wrong -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: palm hanging problem.but Not regularly.
Just use the FrmCloseAllForm() before using the FrmGotoForm() if the problem is regarding the initialization of forms may it help bcz some time due to fast switch the resources of forms are not free properly . -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
RE: form.c, Line: 6197, Bad form
Do u resolve your problem or not else the order of the form opening is like this If u try to open the second form without closing the previous one in that case u not need to call the FrmGotoForm its close the old one. The order to call the Api is frm = FrmInitForm (ListForm); frm=FrmGetFormPtr(ListForm); FrmSetActiveForm(frm); ListViewInit (frm); //ListViewClearEditState(); FrmDrawForm(frm); FrmSetEventHandler(frm,ToDayTaskListViewHandleEvent); and when u return from this form u call FrmCloseAllForms(); FrmGotoForm(MainForm); And this all works fine -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: Offscreen Windows ...
Your pointer is actually destroy when u exit the application which is actually a memory address and its exist only when your application is running And when u use the FtrGet its pointing to the location which not having any value.Thats why u r screen is not display .. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: form.c, Line: 6197, Bad form
The Bad Form Error is come mostly when your form is not initialize in the memory or when u try to initialize the form again when it is all read loaded in the memory.So How u call the form by the FrmGotoForm which close the previous form before opening the new .IF u try to load a form without closing the previous form in that case this problem comes, For that purpose u have to explicitly call the FrmInitForm and FrmSetActiveForm rather than to use the FrmGotoForm . May be its helps u ... -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
DmWritecheck failed in resizing the record
When I try to update the record and resize the record with the new data,during this it start giving the DmWritecheck failed at DmWrite I even try the DmStrCopy in both case it give the same error. The resizing of the chunk is proper and even properly handle the offset but it gives the error. MemPtrUnlock (src); err = MemHandleResize (recordH,newSize); if (err) return (err); src =(PackedDBRecordPtr) MemHandleLock (recordH); size = StrLen (Sub)+1; DmStrCopy (src, offset,Sub); //DmWrite (src, offset,Sub, size); offset += size; //next field size = StrLen (Substr)+1; DmStrCopy (src, offset,Substr); //DmWrite (src, offset,Substr, size); offset += size; where i m going wrong in resizing the chunk -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: moving cursor trought an edit field
You have to do this all manually by writing the code for it when the size of the field is increase u have to set the up and down key U can takse the help of the todo datebook or even Mail application examples in that they handle it very well. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: DmWritecheck failed in resizing the record
Thanks for your reply it resolve my problem i use the API u suggest. very thanks -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
How to impliment the smtp and Imap
I want to give the mail sending and receiving capability in my application means its own mail client.Rather to store the mail in the out box of the versa mail or any other mail client For that i have to implement The SMTP IMAP or POP3 but i dont know how to implement them on the palm.I even not try them any where. So any body have any idea how to implement any link or any example for that Thanks -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Memory leak error on device
Is it possible to create the log file on the device for to check the memory leak or we can say the on device debugging is possible or not .. I want to check the memory leak on the device rather than on the emulator .Bcz in my code i m working with socket notification so and it is not possible to get the socket notification on the emulator and so not to get the meory leak after the socket notification...So i want to get the on device memory leak log file . -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: Palm Emulator (Working) Vs Simulator (Problems)
yes this is only the matter if your application using the net lib and in the simulator by default net lib not comes so it not opening the net lib when u try to open it.put a alert box and check weather the net lib is open our check even for the net lib is loaded or not . -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: Back ground read of the socket connection
It my need not to break the connection bcz i want to read the socket when their is data in the socket even the application is not in the fore ground so i make it alive .so when their is data in the socket my application come in the fore ground and read the data But i resolve the problem and problem is that my globals variable structure is free when i exit the application so it gives the socket reference value to be 0 when i relaunch the application .So i need to store it in feature manager or in my data base .Rather than with socket registration.So that i can reuse it again.Its ok to store in it when we not exit the application but when we exit the application the values would be lost that creating the problem in my case. And now the problem is some where else in handling forms may be i resolve them also. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: Changing bitmaps on selection/deselection
Just put them 1 over the other and hide on the click to each other .i think its th best way to do that -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Draw the forms on the canvas of launcher
when i try to draw my forms after receiving the socket notification its draw on the canvas of the launcher application means over the icons of the all application .the canvas of the launcher application my means is where all the application icons which r installed in the palms r shown.So in the back ground the icons of applications r still displayed but i want the application from r draw in its own canvas. The way i m working is Launch the application and connect the socket and register it for the notification and every time read the socket when their is data in it its work fine every things is going perfect my forms r drawn properly .Now I exit the application but i still want the notification so i don't break the connection and exit the application.So when i get the notification i relaunch the application draw my forms and read the socket what ever the data is .Means with sysAppLaunchCmdNotify rather than with sysAppLaunchCmdNormalLaunch and this time application forms r drawn over the launcher canvas which i describe in start . So i don't understand how to work on it and where is the problem can any body have any idea regarding this what i m doing wrong in it .In handling the system event -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: Repeatitive Launch
Palm is single threaded os .so its not posible to run the 2 application simultaneously. As u want the app2 to be launch from App1 than again come to the app1 and this to be repetitive. when u r in the app2 from that u have to be call again the application switch to come again the app1 as u using the alert box rather than use the form of the size of the Alert box means your form looks like Alert Box and on the click event of the ok button of that form u switch again to app1.Now it become iterative. Or make a function call to the Switch on some event ... -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Back ground read of the socket connection
In my application i m reading the socket and register the socket for the notification its all work fine . But what i want is to read the socket every time their is data in the socket means also in the case when the application is in the background. so when their is data to read in the socket and the application is in background .I get the socket notification on which I launch my application which is ok means my application get launch properly but after that not able to read the socket for data its give the fatal error.My socket connection is live when I exits the application bcz I m getting the notification. what i think its due to socket ref so i make them global and store their values and re use but it even not work . I store the values in the socket register notification global and use when the socket get notify form the globals which works fine when the application running in fore ground but when the application goes in the back ground(and relaunch when their is notification for data in the socket).The place i read the socket gives the Fatal error means i m not able to read an write from the socket so pls some 1 suggest me what i m doing wrong in reading the socket . -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: Back ground read of the socket connection
yes i now my application never run in the back ground here it means that it get the notification take action for the particular notification and in my case the notification is for socket read which work fine in all way that I get the notification and take the action to read the socket and do all the stuff what i want but this i do when the application is in fore ground . I pass the socket reference in the notice registration .by mean of a structure means i create the structure like this typedef struct MyGlobalsType { Boolean registered; int socket; int AppRef; } MyGlobalsType ; MyGlobalsType global; and store the socket reference in it and pass this global varaible in SysNotifyRegister(cardNo, dbID,Mynotification, 0,1, global); like this and when i get socket notification retrieve the socket reference from it and use it.This all works fine when the applcation is in fore ground and every time their is socket notification i get the socket reference and read the socket. But when i exits applcation than i get the socket notification(Mean s when i exits do not break my connection thats why i get the socket notification )relaunch the application and when i try to read the socket its now give the fatal error why i don't understand do u have any idea about that . Thanks for your reply -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: Few Questions about Palm and/or Garnet OS
1. I understand that PalmOS and Garnet are same and these words are used for one other. The day from which Access have the control over the palmOs they have changed the name form PalmOs to GarnetOs .But in the old days the Palmos have 2 Os 1 is Garnet with different version from 2.0 to the latest version 5.4 and second is Conbalt 6.0 which is not that much popular and no 1 is now programming for it and also the Access have remove all the information regarding that form the site they show all information about the Garnetos only .But till October 2006 they provide the cobalt 6.0 also with PODS which you downloaded which use the Palm protein APIs.But now they not provide the palm cobaltos 6.0 with PODS 2. They are selling Garnet Developer Suite. but, it is nowhere mentioned what version of Palm (or should i say Garnet) sdk version it will have and other information. With PODS u get the latest only APIS and the Os 3. I am getting samples on internet related to Palm SDK version 6.0 and i am kind of confused with this because i have only sdk 5.4.2 I all ready told version 6.0 (cobalt)is now not used by any 1 in any new Palm hand held 4. Is this version (sdk 5.4.2) allows/provides to see the Colored images (ROM) in the emulator. What i know and worked is that on the palm emulator never able to display the colored images may it possible but i don't think so and emulator u use mostly to get the memory errors which it display better than the simulator .if u provide your application the backup compatibility for old os in that case u use the related Rom with emulator but for os less than 5.0 what i know 5. Simply speking i would like to know which are the latest versions for the following. 5.1 Palm OS (should i say Garnet) 5.2 Palm SDK (should i say Garnet) 5.3 Palm Emulator The latest Palmos is 5.4.9 what i know ? The Sdk comes with PODS r latest only what i know and think is Emulator comes for the palmos below 5.0 and for above their is simulator and we test the application above 5.0 on the simulator. The memory error r better to check on the emulator only.bcz simulator not show all the memory leak. so u also have test or run your application on emulator And, where i can get them downloaded to undersatnd and evaluate the software (may be a trail version) with the pods they have the source code of all their default palm application u check them in the directory C:\Program Files\PalmSource\Palm OS Developer Suite\sdk-5r4\samples u can also getinformation this site https://pdn.palm.com/regac/pdn/index.jsp If they are simple and you people think, there exists a page/link with details, please point towards. Not an important thing, but, the Resources about Palm, PalmOS, PlamSource, Garnet are not clear and the website really take you for ride and me ending up in going in circles to find information. You get better and most of all the information on the these two sites Access and PDN may be their r others . -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Durgesh has Tagged you! :)
Title: Durgesh has Tagged you! :) Durgesh T, 24 India Durgesh T has added you as a friend Is Durgesh T your friend? Please respond or Durgesh may think you said no :( Click here to unsubscribe from Tagged, P.O. Box 193152 San Francisco, CA 94119-3152 -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: socket read in the for the data . IMP
Err SocketSetupNonBlocking() { Err result; Boolean flag=true; return(NetLibSocketOptionSet(AppNetRefnum, socket, netSocketOptLevelSocket,netSocketOptSockNonBlocking,flag, sizeof(flag), 0, result)); } Try it like this and u set the socket before connection and after the opening its works well -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: socket read in the for the data . IMP
yes you r right that its create problem and not make connection when u set the socket after the opening and before the connection. But its the way what i read in the forum and in the palm documentation In my case i have to set the socket for the notification(Means each time i get the notification when there is data in the socket to read than again set it for the next notification after data being read from socket) first than i set it for the nonblock mode before i read the socket which is done after the socket connection.Means i set the socket for nonblock mode after the socket connection. So i test it as u say that its not working when u set socket to nonblock mode and before connection after opening yes i also found in that case its not connect with the server. so i edit my code and test it without the notification after the socket connection when u set socket to non block mode it not create the problem and even works fine . so now you can try it this way .But for the notification u must set the socket after opening and before connecting -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Including the New API release
How to include the new API release and some which i found on the Palmone site the API release 5.3 how to include them in the Pods for my using in my application -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: socket read in the for the data
Thanks for all your help and its work for me very thanks -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: NetLibSocketOpen and Timeout
30*SysTicksPerSecond() just write this -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
socket read in the for the data
when i m reading the data form the socket in the background at that time i m not able to make any click event on my forms means in the four ground my forms r stop response to me i m unable to do any thing on the form what is the cause of that problem i don't understand do anybody have any idea abt that please suggest me . Thanks -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: socket read in the for the data
Thanks for your reply and i want the same way to do the things in my application I always make active the notification for the socket read in the background and in the foreground i work on my forms to display the data on the table and want to do all the click event on the form and on the table what ever i want and to continuously read data from the socket in the background by mean of the socket notification . But my form stop working when i m reading the socket in the background i will check out that socket is in block mode or non blocking in my program -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
call toNetLibReceive during data receive
What is the effect in data receive from the TCP/IP connection when we call the NetLibReceive in the loop or without what is the effect in the data bytes receive .I m not clear about that any suggestion would help full to understand the both cases. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: differet behavior of same menu in different forms
Check the form Pointer you r passing is correct or not -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: register for the TCP data recieve in the appl
Thank to Jagat Nibas Mahapatra and Jeff Loucks for their suggestion and help Now i resolve my problem and after 1 week of full frustration understand that for the TCP/IP socket connection we have to test our application on the device rather than just on the emulator or simulator bcz in some case the things not properly work on the either of them but on the real device work perfectly i don't know why may be they not support such things but it happens. AND in my case the sysAppLaunchCmdNotify i didn't get notification on the emulator or simulator but on the device. So its much better to test such application for their working on the device Thanks to all -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
register for the TCP data recieve in the appl
I m developing the client application in which i want the notification when their is data in the socket to read I m able to read the data only for the first time when the socket is first time connected but after that i want to read the socket each time when their is data to read (means read every time when the server send me data and connection is alive always for that) and go through the palm documentation and lots of code i the forum and i found that for that i have to register the notification by the use of SysNotifyRegister here is snap shot of my code and tell me what i m doing wrong so i did get the notification i m trying the code of socketnotify example which i get from the knw Base #define netTestNotification 'sknt' // what is this i dont understand static void RegisterNotification() { UInt16 cardNo; LocalID dbID; if (0 != SysCurAppDatabase(cardNo, dbID)) return; // shouldn't ever fail, but just in case. SysNotifyRegister(cardNo, dbID, netTestNotification,NULL, sysNotifyNormalPriority,0); } static Err PrimeSocketNotify(OurGlobalsType *gP) { NetSocketNoticeType notice; void *option; notice.condition = 0x; // any event, use morespecific conditions if needed. //This is the only eType which is currently support. notice.type = netSocketNoticeNotify; notice.notice.notify.notifyType =netTestNotification; option = notice; return(NetLibSocketOptionSet(AppNetRefnum,socket,netSocketOptLevelSocket, netSocketOptSockNotice,option,sizeof(option),AppNetTimeout,errno)); } and the PrimeSocketNotify returning the error value so pls somebody tell me how do i get the notification for the TCP data receive in socket . what i m doing wrong in my code THanks -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: Adding Mail to Outbox - using VersaMail
just go to this link and read http://user.chollian.net/~mines/palmone.pdf -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
re: Adding Mail to Outbox - using VersaMail
and i even try that example on my device which have Versa Mail its wrks fine on it . I try to count the number of unread mail in Inbox or to count the mail in outbox for Versa mailin app but i didnt succeed .Bcz i do all this on the basis of Mail application example given with SDK and its work fine for Mail app on emulator but not for VersaMail on device. do u have and idea if u have done this in you code so pls do help me i ask it so many time in the forum but nobody reply me . Thanks -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: register for the TCP data recieve in the appl
Thanks for your reply I try it to get the notification by all way what i know and get the idea from the forum but didn't succeed. And if u can pls do review my code which i attach with it and tell me where i m going wrong with it. its the same example of socket notification from knowledge base but with some changes in for client connection nothing more changes in it just tell what to do to correct my problem its very help full to me . Thanks -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/ SockNotifyTestApp.c Description: Binary data
re: invalid chunk ptr
Mail me your code i would check out that . -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Netlib socket dat read problem second time
I m developing a client application in which what i m doing is to connect with the server which is a PC and after connection continuous read the data from the socket the data which send by the server i m able to read the data only once after my login is conform on the server but what i want is to continuous read the data from the socket when ever the server send data , without reconnected(make connection again and again what i m doing right now ) it every time with the server I go through lots of code in the forum but i didn't get the proper solution for that So where do i add my code so it can read data when ever their is data send by sever in the socket i connected with the server .without making connection again and again or checking socket explicitly for the data so than i start the reading The way i want is if their is data its prompt me so than i read it And some snap shot of code or some link will more help full to me and i already go through the lots of code in the forum but i didn't get the proper things done what i want. Thanks in advance -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: DynamicMemory free error
yes i m using my pointer in the various function and its value is changes in it but i don't think it make the problem and pointer is global so it call in the various files also but i take care of that when i m freeing it no other function try to initialize it buy any value means when i move from 1 file to other if their is no use of that variable i just free at that time before moving to other file or function call and when needed re initialize but it start giving error message free pointer when i just Free it. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: DynamicMemory free error
I resolve the problem it is due to some thing else in the program during initializing the pointer -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: DynamicMemory free error
Thanks a lot -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Old mail count Query
I m trying to count the unread mails in inbox the problem is that the counting is proper on the emulator which have Mail application but the device which may have the other mail application like Versmail snnapermail or any other the counting is not correct what is the reason i dont understand and struggling with frm so long time i fadup of that . I write my code by going through the source code of mail application come with SDK. is it the problem that the structure of different Mail application is different so that it not counting properly so pls help me out of this if any budy knows ,what r changes i have to made in my code so that i can count properly in case of any mail application. Please help m -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
DynamicMemory free error
Is it always necessary that the memory that we allocate to variable or string pointer (by MemPtrNew) only free when the application comletely exit not any where else in middle inthe program bcz when ever i try to free it any where else in the program in middle(by MemPtrFree) its start giving the error message freePointer But i think it is possible to do that but what i m doing wrong i don't understand so if any 1 give me suggestion regarding this will helpful to me -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Database Structre
Is their any API by which we r able to get the database structure of any palm application means we dont have the source code of SMS or versa mail application but if i want to know what is the database field they r using in their application is their any way to do that so that i can understand the behaviour of the application bcz i have to wrk with the Mail ans SMS in my application but the code i write is based on the structure of the default palm Mail and SMS application open source code database structure so it is not wrking properly on the device on which their is VersaMail SO I want to know is their any changes in the fields of database structure on Mail application on emulator and VersaMail. But the important thing is that is their any API or the way to get the structure of any application. thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
SMS MAILCount
I m trying to count the Sms And Mail in inbox outbox and draft But the problem is that my emulator have the default Mail application and SMS application but my device(tungsten w) on which i m testing it has versaMail application and default SMS application on the emulator the counting is correct and their is no problem but when i load my application on device and check it is not giving the proper count on it means count is incorrect So my question is that is their database structure difference in the application on the emulator and the device Means VersaMail and default Mail application and SMS application So in that case what r the changes should be need in my application and i try it frm long time but didnt succeed so pls help me to resolve it thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Tracking Memory Leaks
Hi I actually work With PODS a open source for palm development so i not know much abt CW and emulator come with PODS and You can download it frm the palm site and u can also dowload the ROM for 4.0 version from the palmsource site .And i dont know weather the 4.0 emulator ROM in built come with CW or not but with PODS you just download the PODS from the site and test your application on the emulator for memory leak and see the log files for the description of the memory and continue your debug process on the CW. this link will help you to download emulator http://www.access-company.com/developers/downloads/index.html -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
palm .net frame work
Is it possible to develop the palm os application by the use of MS .net frame wrk can any budy guide me regarding this and provide some good link and examples to develop the palm application with the MS .net. thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Tracking Memory Leaks
You can check your memory leak in the palm emultor 4.0 at the run time it gives all the memory leak and their address and show details in the log file -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
No memory region for code section
In my code during segmentation when i debug it give error message No memory region specified for section 'code2' so i want to ask where do i define that in my code -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: segmentation hang me out
IN my defination file this thing r written application { _today_ ToDay } multiple code {code1 code2} and in the sections.h file #ifndef _SECTIONS_H #define _SECTIONS_H #define EXTRA_SECTION_ONE __attribute__ ((section (code1))) #define EXTRA_SECTION_TWO __attribute__ ((section (code2))) #endif and where i m wrong can u clear me please so that i can resolve my this problem -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: segmentation hang me out
And yes im wrking with Palm on PODS with prc tools -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
segmentation hang me out
Frm last some day i m strugling with the segmentation but not get succeed i got 1 example in the palm database 4 PNO but it not include global variable in it But during segmentation my global variable are creating problem and in the forum some 1 suggest me to use the feature manager but still their r some issue and still some error which i m unable to undestand in the error line it is giveing the error message /usr/m68k-palmos/bin/ld: warning: no memory region specified for section `code2' DebugSim/ToDayAppMain.o(.text+0x25e4): In function `NewMailFormHandleEvent': ToDayAppMain.c:19: undefined reference to `__text__code2' collect2: ld returned 1 exit status make: *** [DebugSim/ToDay] Error 1 so if some 1 provide me a proper example 4 segmentation with global or some link regarding it will more help full 4 me thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: writing database problem
why u place the same Query with diff sub it cnt solve the problem i reply u if it not solve the problem than reply 4 that first and pls give more details of your prolem so that people can understand it -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: writing database problem
and u can see the log file at C:\Program Files\PalmSource\Palm OS Developer Suite\PalmOSTools\Palm OS Emulator 4 each time u debug it make a new log file in which it give the details of the leak and the size. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
global variabl intial in segmentation
How do i set the global variable which is used in both the segment means if a global variable value frm 1 segment is used in the 2 second segment in that case how do i initialise that variable in my program... so that it can be used in both segment -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: global variabl intial in segmentation
thanks 4 ur reply but wat do u mean by feature manager and how do it store the address of structure would u pls explain it in detail it will help full 4 me thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: global variabl intial in segmentation
thanks 4 ur reply but wat do u mean by feature manager and how do it store the address of structure would u pls explain it in detail it will help full 4 me thanks ... -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: database writing problem
May it is due to not set properly the offset and size of recordmeans the size of each field is not properly set -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: sayfatalAlert
some where in the program u r not assign value to the pointer variable -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Showing Dynamic popup list
wat do u mean by pop up list weather it is pop up tigger on clicking on which it show a list if u want to create that list dynamically in that case u have to also pass the list id to the pop up tigger which is created dynmically bcz it desplay only tht list whose id we pass to it..or just to display a dynamic list on the frm... -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Global variable in segmentation
I have problem with global variabe in the segmentation when i call function frm the second segment in that case it give the error message related to the memmory leak see in the log file but i did'nt assing any memmory in that segment but i think it is due to the 1 segment. And i m not using any global variable in the function in the second segment . So how do i assign my global variable so it not creating any problem during function call frm second segment. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: relocation truncated
All my previous error r solve but the progmar now come with new error message now i m resolving them bcz it is due to my code not bcz of segmentation that i can undersatnd so i solve them first than i tell u weather my segmentaton problem is completely solve or not thanks but 4 all u kind support -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: relocation truncated
Now i m unable to reach the function which i have written in the segment i wrk like this in the section.h #ifndef _SECTIONS_H #define _SECTIONS_H #define EXTRA_SECTION_ONE __attribute__ ((section (code1))) #define EXTRA_SECTION_TWO __attribute__ ((section (code2))) #endif Int16 today (UInt16 data ,char* str) EXTRA_SECTION_TWO; Int16 today (UInt16 data ,char* str) { here i define my function } and at the top of the file in which i m going to use this function declare the prototype of this function bcz without that it is giving error and include this section.h file in file which have PilotMain function But when progrm reach at the function call it give error message their is memmory leak see the log file but in debug folder i dont find any log file ... -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: relocation truncated
I think the problem is due to my globle variables so how to i define them in my files.. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: HowTo: Use FrmSetControlGroupSelection?
It is 4 to make the group of button such that if u have 5 button than u place them in the same group means give them the same groud id in the XRD frm but not 0 reather than 0 bcz i tested it doest wrk when u give the group id as 0 .Means u can give it 1 2 or any thing else so that the group of button wrk as radio button so that u can make selection any 1 of them In this way u can make as money number of group as per ur need and u have to pass the grop id of that buttton to which grop it belongs to and the time u need so that the system get the currect button id May it help to u -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: HowTo: Use FrmSetControlGroupSelection?
And Bcz u here dynamicaly give the group id to the button so u hve to set the grp id 4 each button individually ... that may be the cause of u r problem . -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
relocation truncated
On my console This r the error message on pods and wat is the cause of that i dont understand so cna any budy tell me wat is the cause of this error and wats the solution 4 that... thanks ...Linking 68K portion... m68k-palmos-gcc -o DebugSim/ToDay DebugSim/ToDayAppMain.o -g /usr/m68k-palmos/bin/ld: region coderes is full (DebugSim/ToDay section .text) /usr/m68k-palmos/lib/crt0.o(.text+0x5a): In function `start': crt0.c:67: relocation truncated to fit: DISP16 __do_ctors /usr/m68k-palmos/lib/crt0.o(.text+0x70):crt0.c:72: relocation truncated to fit: DISP16 __do_dtors /usr/m68k-palmos/lib/crt0.o(.text+0x7a):crt0.c:74: relocation truncated to fit: DISP16 __do_ehook /usr/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0x64): In function `__do_ehook': hooks.c:44: relocation truncated to fit: DISP16 start /usr/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0xa6): In function `__do_ctors': hooks.c:60: relocation truncated to fit: DISP16 start /usr/m68k-palmos/lib/libcrt.a(hooks.o)(.text+0xe0): In function `__do_dtors': hooks.c:76: relocation truncated to fit: DISP16 start -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: relocation truncated
The size of my application is 40 k and is it the cause of the error is only multi segment the pls tell me how do i do that bcz i try to do that as it give in section.h and section.def but unable to do so will u pls help me out frm this stuff or give an example how to make segment in the application... thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: segment size of app
Thnaks a lot i resolve my problem and it is not due to size its some where else in my code ... thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
segment size of app
Wat is the Max size of the palm single segment application weather it is 64k or 32k i m confused ? my appl size is 40k so may i need the segmenting of my application and i dont know how to make the segments and i search for example appl but i didn't get any good example which guide me in proper way to makes segments of my application. so please give me the proper guide line to make the segment of my application or some exampl i m wrking with pods with 68k application i search in knowledge base which have 1 PNO example but i m unable to undersatnd it how it wrks thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: segment size of app
My problem is that my application is open only once after installation and when i exit frm my applcation and start it again the launcher only blink but not to open my application and their is no any error or warning message so wat is the cause of tht problem i cant understand..Is it due to the size of application or any memmory leak inernally but i think their is no memmory leak bcz it is not giving any error mesage .. And if it is due to the size than i dont know how to make the segment of -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: trying to release some memory block
now try to this way i allready stuck with this fucking problem and waist my lot of time to solve but i finally resolve it. i dont want that it fuck to any 1 else , so this may help u static void TodayAppList(FormType* frm) { SysDBListItemType *dbListIDsP; MemHandle dbListIDsH; static UInt16 dbCount = 0; UInt16 counter; Booleanstatus; ListType* lst; static char **ItemType; UInt16 ListItemNum; if(ItemType) { for(counter=0;counterdbCount;counter++) { MemPtrFree(ItemType[counter]); } MemPtrFree(ItemType); dbCount=0; } if(frm) { status = SysCreateDataBaseList('appl', 0,dbCount, dbListIDsH,true); ItemType = (Char**)MemPtrNew(dbCount * sizeof(Char*)); dbListIDsP = (SysDBListItemType*)MemHandleLock (dbListIDsH); if (status == true dbCount 0) { for (counter = 0; counter dbCount; counter++) { ItemType[counter] = (Char*)MemPtrNew(dmDBNameLength+1); StrCopy(ItemType[counter], dbListIDsP[counter].name); } lst = (ListType*)FrmGetObjectPtr(frm,FrmGetObjectIndex(frm, PrefList)); LstSetListChoices (lst,ItemType,dbCount); ListItemNum= LstGetSelection (lst); Item= LstGetSelectionText(lst,ListItemNum); wat ever u like to do here } and when u want to free this memroy than call this fumction with TodayAppList(0); before u close all frm in the appstop() function this will free all ur memory alloted in it and it wrk definately . -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: trying to release some memory block
MemHandleUnlock(dbListIDsH); MemPtrFree(dbListIDsP); } } } include this in last of that code it will close all the brecket properly -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: WinPaintChars() causes weird crash on Tungsten-E
Are u drawing the chars before frmDrawForm() may be it may giving the error -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
BatteryIcon on the frm
I create the battery icon but unable to give that look and fill to icon as it in launcher application and not able to give propery the charging status to my battery . here is my code can any budy help me regading this i m using simulator for 5.4 devices on pods . i m searching it frm long time and not get any proper option so can any budy help me to modify my code to give that look and fill to my battery static void BatteryStatus() { RGBColorType fg; int basex=45, basey=0; UInt8 percent; Boolean pluggedIn; FormType *frm=FrmGetActiveForm(); SysBatteryInfo(false,NULL,NULL,NULL,NULL,pluggedIn,percent); fg.r=0;fg.g=0;fg.b=0; WinSetForeColorRGB(fg,NULL); rect.topLeft.x = 93; rect.topLeft.y = 91; rect.extent.x = 60; rect.extent.y = 10; rect.topLeft.x=basex+1; rect.topLeft.y=basey+2; rect.extent.x=35; rect.extent.y=9; WinSetDrawMode(winPaint); WinPaintRectangle(rect,2); rect.topLeft.x=basex+36; rect.topLeft.y=basey+3; rect.extent.x=2; rect.extent.y=7; WinPaintRectangle(rect,2); fg.r=190;fg.g=190;fg.b=190; WinSetForeColorRGB(fg,NULL); rect.topLeft.x=basex+36; rect.topLeft.y=basey+4; rect.extent.x=2; rect.extent.y=5; WinPaintRectangle(rect,2); fg.r=190;fg.g=190;fg.b=190; WinSetForeColorRGB(fg,NULL); rect.topLeft.x=basex+2; rect.topLeft.y=basey+3; rect.extent.x=34; rect.extent.y=7; WinPaintRectangle(rect,2); fg.r=240;fg.g=1;fg.b=1; WinSetForeColorRGB(fg,NULL); if(pluggedIn) { fg.r=10;fg.g=100;fg.b=240; WinSetForeColorRGB(fg,NULL); rect.topLeft.x=basex+2; rect.topLeft.y=basey+4; rect.extent.x=34; rect.extent.y=5; WinPaintRectangle(rect,2); fg.r=230;fg.g=0;fg.b=0; WinSetForeColorRGB(fg,NULL); rect.topLeft.x=62; rect.topLeft.y=1; rect.extent.x=3; rect.extent.y=10; WinPaintRectangle(rect,2); } else { rect.topLeft.x=basex+2; rect.topLeft.y=basey+4; rect.extent.x=(34*percent)/100; rect.extent.y=5; WinPaintRectangle(rect,2); } } very thanks in advance -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: BatteryIcon on the frm
It means that reather to draw the rectangle i have to draw the bit map now ? arises that where do i get the bit map 4 the battery icon can u have the link to get the bitmap of battery 4 the palm Bcz i m not that much good in creating the bitmap icons so it is help full 4 me if u provide me some good links 4 that thanks any 4 u r suggestion -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Making todo list
i want to create the list of todo item for due today in my application and 4 that i am loading just only the description field in the list but it is giving the error message invalid pointer 4 that and when i look the code of actul todo they r loading it in a table so i cant understand that why it is creatingg problem . here is my code static void ToDayDue(FormType* frm) { Int32 Rec=0; LocalID dbID; DmOpenRef dbPP; Int16 result; MemHandle recordH; DateTimeType today; ToDoItemPtr toDoItem; UInt16 indexP=0; Int16 offset=0; static char **ItemType; TimSecondsToDateTime (TimGetSeconds(),today); dbID = DmFindDatabase (0,toDoDBName); if(dbID) { dbPP=DmOpenDatabaseByTypeCreator ('DATA',sysFileCToDo,dmModeReadWrite); ItemType = (Char**)MemPtrNew(1 * sizeof(Char*)); while (true) { DmSeekRecordInCategory(dbPP,indexP,offset,dmSeekForward,0); if (DmGetLastErr()) break; recordH = (MemHandle)DmQueryRecord (dbPP,indexP); toDoItem = (ToDoItemPtr) MemHandleLock (recordH); if (DateToInt (toDoItem-dueDate) == toDoNoDueDate) { if (!(toDoItem-priority completeFlag)) { FrmCustomAlert(DateAlert,toDoItem-description,NULL,NULL); //giveng error message at this line ItemType[indexP] = (Char*)MemPtrNew(sizeof(toDoItem-description)); StrCopy(ItemType[indexP],toDoItem-description); break; } } result = DateCompare(today,toDoItem-dueDate); if((result==0) (!(toDoItem-priority completeFlag))) { ItemType[indexP] = (Char*)MemPtrNew(sizeof(toDoItem-description+1)); StrCopy(ItemType[indexP],toDoItem-description); break; } MemHandleUnlock (recordH); } lst = (ListType*)FrmGetObjectPtr(frm,FrmGetObjectIndex(frm,ToDayDueList)); LstSetListChoices (lst,ItemType,indexP); } } the code is only 4 to show the single item in the list than i extand later but it is giveng error 4 toDoItem-description invalid pointer and why idont under stand to retrive the description is their and thing wrong to retrive the description frm data base of todo. please help me out -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: debugging on palm os
wat i understand in that way the problem can be solve by Windows-preference-run-debug-view management just chek only the palmos c/c++ development not to others may be it solve ur problem. bcz it the debug is check than it will not go back to that prospective -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Location base service
Is thier any api in palm 4 location base service is it have the facility to do that which devices supports this can anybudy provide me good exmaple on that so that i can understand the things or give me some good link regarding that -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Location base service
Means to detect the person according to its loction where is he most of the operator provide this facility to thier user is this api r release 4 palm or not -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: smsapplicationcode
No i dont get the database structure but i use a trick to do get it i make a guess that it has the simillar structure as Mail and it little bit work 4 me bcz i need it to count the un read sms and i make change in the mail structrue only the name Look this both structure /**/ /***STRUCTURE FOR THE MAIL APPLICATION / /**/ typedef struct { UInt16 read : 1; UInt16 signature : 1; UInt16 confirmRead : 1; UInt16 confirmDelivery : 1; UInt16 priority : 2;// MailPriorityType UInt16 addressing : 2; // MailAddressingType UInt16 reserved : 8; } MailFlagsType; /**/ typedef struct { DateTypedate; TimeTypetime; MailFlagsType flags; CharfirstField; UInt8 reserved; } MailPackedDBRecordType; typedef MailPackedDBRecordType * MailPackedDBRecordPtr; /**/ /***STRUCTURE FOR THE SMS APPLICATION */ /**/ typedef struct { UInt16 read : 1; UInt16 signature : 1; UInt16 confirmRead : 1; UInt16 confirmDelivery : 1; UInt16 priority : 2;// SmsPriorityType UInt16 addressing : 2; // SmsAddressingType UInt16 reserved : 8; }SmsFlagsType; /**/ typedef struct { DateTypedate; TimeTypetime; SmsFlagsTypeflags; CharfirstField; UInt8 reserved; } SmsPackedDBRecordType; typedef SmsPackedDBRecordType * SmsPackedDBRecordPtr; /**/ when u make comparision u find that they r all most similar but only the name of structure is different that is my hit and try and it wrk .But 4 some more functionality i dont know the other structure and i m still searching 4 it but these r sufficient to make count of read and unread sms. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Treo 680 and 750 devices
try tis link http://www.psionplace.com/articles/2006/10/2006-10-24-Cingular-to-Carry.html -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Finding Local ID
if u know the creator id of the database then u can find the local id by DmGetNextDatabaseByTypeCreator and it will give u the local id of the database whose creator id u give. But for this u must know the creator id of that application. and 4 phone application creator is 'phop'and type is 'panl' and 4 messaging application means sms application creator 'smsm' and type 'appl' and 4 mail application creator is 'mail' and type 'appl' But it may be possible u not find the mail application in the simulator but in the emulator it is . -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Load BMP from a specified location
Here is the code given in a thread may be it help to u try it After that we tried displaying image using the following code. The image displayed in device is distorted and not clear .Please go through this code segment and guide us. void createbitmap() { Err error; char *pData; // UInt8 *pBitmapBits; BitmapType *bmpP; BitmapTypeV3 *bmpV3P; ColorTableType *_ctbl; // //MemHandle hBitmap; _ctbl = (ColorTableType *)MemPtrNew(sizeof (ColorTableType) + (256 * sizeof(RGBColorType))); _ctbl-numEntries = 256; bmpP = BmpCreate(95, 90, 8, NULL, error); pData = bmpRead(); // reads bitmap data bmpV3P = BmpCreateBitmapV3(bmpP,kDensityDouble,pData,NULL); WinDrawBitmap((BitmapType*)bmpV3P,50,50); } char* bmpRead() { FileRef fref , nfref; Err err,err1; MemHandle bufH; char *bufBaseP; UInt32 rb; //FileRef fileRef = 0; char path[] = /Palm/programs/test.bmp ; UInt16 volRefNum; UInt32 volIterator = vfsIteratorStart; while (volIterator != vfsIteratorStop) { err1 = VFSVolumeEnumerate(volRefNum, volIterator); } err = VFSFileOpen (volRefNum, path, vfsModeRead, fref); bufH = MemHandleNew (9716); bufBaseP = MemHandleLock (bufH); err = VFSFileRead (fref, 9716, bufBaseP, rb); VFSFileClose (fref); MemHandleUnlock (bufH); MemHandleFree (bufH); return(bufBaseP); } -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Memory errorfree
My application wrk fine on the simulator But it give some memory error on the emulator. I want to ask that is it always necessay to check the application on the emulator bebore install on the device always if that error of memory free is not remove before installation than wat happen with the other application in the device. And that error now shown in simultor. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory errorfree
It is necessary to delete the object or remove it which is dynamically created before exist the application i m creating the alabel dymanicaly on my frm when i need and draw some text on it but not remove that label when i exit the application so is that meory lik erro is due to that label. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory errorfree
yes it wrk fine so when we have to use this function why we not always use it in case of memmory free if we forget to free a memory in that case how do the os free the memorry of our application is their any function which is useto free all the memorry allocateded in our application without cair that wat r the variable use to initiallise it. thanks 4 u suggestions -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Compilation Problem..
Can u explain in detail what the exact problem is so than i can help u and in examples their r sourcefile which u should be import -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
WinDrawCharslabel
i m using WinDrawChars to draw my string it wrk propery bt 1 thng iwant to know is that weather it not accpt th new line character mean i want to show my string in to line 4 that i wnt to break it in middle bt the function display a box reather to make the new line in place of \n and simliar thing happen with the FrmCopylabel funtion why they not take new line chracter \n. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Adding custom field to address book db ?
But why u need to this that it may be possible but it alter the original database of the addressbook so in that case the original to do application may not wrk -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: imagesbitmap
I m reading the icon of the default application like todo databook sms frm their database . -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: imagesbitmap
yes i know that their r changes in various release but not tht much i think so . But i hve only problem with images that it not display but other things wrking fine and well on emulator and if i use other bit map it display also very well but when i chouse applicationicon it not. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
imagesbitmap
My application Bitmapimages r display in simulator but not in the emulator i dont understand why Can any help me regarding this why this happen ? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: imagesbitmap
So wat should i do if i wat to run my application compactible with older and new both. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: imagesbitmap
And i m drawing only the application icon of other applications in my application like todo date book so why do the create problems. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: imagesbitmap
I m fetching the right image icon frm the resoure of the application database and it display propery in the simulater but it disappear in the emulater And last poin ti dont understand wat usay Open PRC file in database view mode in simulator and read how low density bitmap resources are organized in a bitmap family resource. How do i do that read low density bitmap resources organized in a bitmap family resource i can opendatabase in view mode . -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Dynamically drawing list
Mostly the record r save in the database r in shorted order means at the sorted posion if u see, in all the default application the resord is sorted according to its posion in database and after that it is inserted in the exact position means firt they make the room 4 that record. And so Record come in the sorted order frm database it increase the speed of wrking so u not always find the new record at first. If the problem is 4 your application in that case u can solve it by not to insert data in sorted order so the new record will be at top. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
battery status
I m trying to display the battery status in percent on a label that how much battery is charged means if it is 100 % then i show 100% on label else according to the level of the battery. SysBatteryInfo(false,NULL, criticalThresholdP,NULL,NULL,NULL,percent);give the value in variable percent but the value it return is 6553975 when the status is 100% so how do i calculate it as 100 means wat r the other calculation i have to make more to show it actual 100. And wat is this 6553975 i dont understand. And the similar thing happen why i get the voltage of the battery so wat r the calculation other to be made in both the cases. thanks. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
please hhelpss
I m trying to display the battery status in percent on a label that how much battery is charged means if it is 100 % then i show 100% on label else according to the level of the battery. SysBatteryInfo(false,NULL, criticalThresholdP,NULL,NULL,NULL,percent);give the value in variable percent but the value it return is 6553975 when the status is 100% so how do i calculate it as 100 means wat r the other calculation i have to make more to show it actual 100. And wat is this 6553975 i dont understand. And the similar thing happen why i get the voltage of the battery so wat r the calculation other to be made in both the cases. thanks to all. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/