actually wat i want is that i want to display the list of name no my home page means the 1 page of my application i use the string list. is it the string list is use only with the menu bar then how do display the name bcz i m new programmer in palmos application actually i try SysStringByIndex by
i am creating an application in which it is using the data base of
todo applicaton such that when i click on a graphic button then it will open
the 1 form(default) of todo application.
Then i will add the new task for today in todo and calculate the number of task
for today in my application .
i
i m trying to call todo as application.but it is giving error message cannot
record data base . im not understanding ehy my code is like this
static void search(void)
{
Err err;
DmOpenRef dbP;
LocalID dbID;
UInt32 resultP;
UInt16 cardNo = 0;
i read some where that 68k app use mp4 format and ther are some tools avail
that can convert the mp3 to mp4 format so may be that can help you.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
I want to switch frm my application to todo application but
using function sysAppLaunch givng run time error that the data base can't be
launch.Even i open the database by DmOpenDatabaseByTypeCreator and it open the
todo database.
please help me
thanks
--
For information on using the PalmSour
Hai here is my code so can u help me.
it will give open data base alert but dont launch the data base
i use the search function with the button click on the form.
Here the toda.dll is the name of my application file from which i want to
launch the todo application.
static void search(void)
{
what is the function in the palmos to type cast any UInt value into the string
or char value as like itoa & atoi in c.
bcz i want to type cast the UInt16 value in to the string .
and display in txt field.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please s
when i try to count the records frm todo database using the function
DmNumRecords it give the count for those records also which are deleted frm
the data base.
for example
we have 5 records in the data base its show still 5 after we delete the 2
records
But it should show 3 records.
and
I m working in a application in which i use the date book. i m counting the
number of appointment for today such that if the endtime of appointment is less
than current time in that case it will not count that appointment and count
only those appointment which have starttime after the current sy
i get the way to do.
thanks
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
how do i display a custom string in a text field
ex: i want to display "[0] Due today " in the text field where number inside
the square bracket is changing dynamically.
how do i do this?
please helpme
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please
i m working on PNO application and from that i want to launch todolist 68k as
sub application but it is giving the error message application database can't
launch even the database is open.
i unable to understand the problen.
i also try that SysUIAppSwitch but the same problem
please help me
t
is their any 1 who can tell me where i find the source code for the default sms
application given palm simulator.
bcz i search it every where but dont get it .It is not in the default example
of the palmsuite,where their r other example for mail,totdolist,addressbook etc.
i need it that to under
So wat should i do? bcz the application in which i m working i need to count
the number of unread sms, thats why need the source code to understand that.
Is their any other way to do that.
so please help me
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
pleas
when i m using the SysUIAppSwitch it is giving the error message application
database not launch .why i dont understand
here is my code
static void TAppLaunch(void)
{
Err err;
LocalID dbID;
dbID = DmFindDatabase (0,toDoDBName);
if(dbID)
{
thanks it is working as per u r suggestion and full fill my requirement.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
But i dont get the suitable result please.
give me the address of the site where i can find the suitable example for the
sms in which they have describe the way to connect to the sms application data
base .
actually ifound some but the dont have the proper guideline to me they use the
SysFileC
i need to count the number of sms in inbox for that i need the SysFile name
just like the todo application have SysFileCToDo. wat is the name For sms
SysFile i try SysFileCSms but it not work
i also see an example in which they use the SysFileCSmsLib but it also not give
proper result how do
i need to count the number of sms in inbox for that i need the SysFile name
just like the todo application have SysFileCToDo. wat is the name For sms
SysFile i try SysFileCSms but it not work
i also see an example in which they use the SysFileCSmsLib but it also not give
proper result how do
Is it possible that we can write the click event on the text field just as
the button click .
I m displaying a dynamic non editable text field on which i like to write
click event such that when some 1 click over the text field it would move on to
new form or launch the other application how
i want to open the sms database how do i do this i saw in an example
they work like this.
err = SysLibFind(kSmsLibName, refNumP);
if (err == sysErrLibNotFound)
{
err = SysLibLoad(sysFileTExgLib, sysFileCSmsLib, refNumP);
if (err)
{
if (err != sysErrL
i want to launch the sms default application as sub application
is it possilble by the use of SysUIAppSwitch.
if yes then how do i find out the LocalID dbID bcz i dont know the
SysFile name for sms .In 1 example they use SysFileCSmsLib but it give refnum .
is their a other way todo this plea
I m working in the application in which i have to count the sms in inbox of
default application but i dont understand how do i do this i went through an
example of knowledge database but it show the sending of the sms.
and i also not understand the use of exchange lib it is using
so please help
how do i launch an sms application i use SysFileCSmsLib which give
refnum but i need data base ref wat should i do.as like in todo applcation we
use .
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
i done it by my self
thanks
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
To launch an application we needcreator name in the function
DmGetNextDatabaseByTypeCreator like sysFileCToDo after that we use sysUIswitch
or sysAppLaunch function to launch the sub application .
But the poblem to launch the sms application is that it has sysFileCSmsLib as
ceaator which i
Is it necessay to register first our application in the sms library
thenwe can launch the sms application as sub application frm our application.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
i m displaing time and date in my application by geting system time and date
in a sting and draw that string in the textfiled or lable but it will not show
changes dynamically with the system date and time .
Bcz by coping the date and time in text field or lable it become static and
refresh onl
iwant to show the battery status in my application by the icon of the battey
how i do this?
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
I want to show the batter status by the help of status bar at the top of my
application wat should i do I found an api but it only give the information but
not give the status bar icon.
help me please.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see ht
i m working with simple palm application in that i have to create my own icon
Is it?
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Even itnot wrk and have the same problem
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
i want to create a list in which i want to show name of all the installed
application within the palm and select 1 of that launch that application.How do
i create such list or how do i get the names of all installed application in
the palm.
--
For information on using the PalmSource Developer
thanks 4 reply .it wrk as ilike to do.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
when i m using `SysCreateDatabaseList' it is giving the error implict
decleration of the function and undefined reference to `SysCreateDatabaseList'
why it so i dont understand.
can anybudy solve my problem.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
ple
thanks yer very sill mistake by me.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
when i create the list of all the palm application using
'SysCreateDataBaseList' the list is created succesfull but on exit the form it
give the error mesage
Minor error while exiting app: un-freed chunk at 0x00F7BCA8, size 20 (ownerID 2)
here is my function for that
static void Preference()
{
I all ready try it but it is not wrking and giving same error.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
wher do i find it ?wil u please sugest that or is their any other way to do
that?
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
The first problem is short out when i comment out that line i think the list is
drawn with the frm draw and i m using frm draw after calling that function but
the second problem is still their
i write that function like that
static void TodayPreference(FormType* frm)
{
SysDBListItemType
I am wrking on pods 4 garnet 5.4 simulator on the eclipse 3.0.1 i also
try to write the memory free code at frm close event it also not wrk.
static void TodayPreference(FormType* frm)
{
SysDBListItemType *dbListIDsP;
MemHandle dbListIDsH;
static UInt16
sorry to reply u late
i all ready make the FrmCloseAllFomr in my application exit event even it has
the problem so wat can i do more so thanks to help me i m still trying if i
solve the problem i tell u reason or if u get the solution so please help to
me.
--
For information on using the Pal
I want to change image on the Graphic button dynamically.
I have a ghraphic button on the click of which i launchany palm application as
sub application within my application but i want to show the bitmap of that
application on my Graphic button For example if i open the datebook then it
show
I do that and if i not call that function the application wrk fine and no
memory lick so surely the lick is bcz of that function
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
here is my code 4 the list it is give memoy lick error when exit the
application
static void TodayAppList(FormType* frm)
{
SysDBListItemType *dbListIDsP;
MemHandle dbListIDsH;
static UInt16 dbCount = 0;
UInt16 counter;
Booleanstatus;
Do u help me on my 1 more problem that how do i dynamically change the bitmap
on my Graghic button.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Actually the way i wrking is different wat i m doing is
I have the graphic button and the list of all application store in palm and
the application selected frm the list is launch by that graphic button i m
able to launch the application but dont know
how do i get the bitmap on the graphic
If i want to get the bitmap of any application or u can say the application
icon on any graphic button how do i do that 4 example if iwant the application
icon of the datebook application how do i reterive it frm datebook data base.
--
For information on using the PalmSource Developer Forums, o
wat i m doing i send u the whole code and i call the function twice in the way
that the selected item text frm the list and store text first in the variable
item and the i display it on the button label. after that i free the item
variable.but it create some proble that why imake the item vari
thanks john 4 u kind help and time very thanks to u.
I solve my problem the iwrk is that
1)i initialise my global variable static char* item;with 0 means static char*
item=0;and the write that function like this
static void TodayAppList(FormType* frm)
{
SysDBListItemType *dbListI
Means i draw the bitmap on the button by the use of winDrawBitmap .
can u give me any example code for that which make me more clear bcz i m
unable to draw that on button .
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/supp
yes it is right that the application icon id is 1000 but in that case it take
the id of my application but i need the icon id of the date book or any other
application so how do i retrive that frm data base with the Dmdatabaselist
--
For information on using the PalmSource Developer Forums, or
But i dont understnad the way toget the icon(or bitmap image) of any
application frm the database bcz if i want to launch any application by use of
any graphic button then i want to show the default icon (or bitmap image)of
that application on graphic button and thats the problem, to get that
U can also switch to other application without the use MemHandleSetOwner i
think the handle is depend on weather u want to handle any resource of your
application after swtiching i even not use the MemHandleSetOwner and switch and
my code wrk fine i find this code some where may it help to u. w
wat is the purpuse of doing that u can do it just by exiting u r application
come to the main screen .
we switch to other application in the case we directly want to launch the other
application without moving to main screen mostly .
Err error;
LocalID dbID;
UInt16 cardNo = 0;
I want to create the data base of my application in which i want to store some
variable values when the application exit.when their is no data base it create
it and store the default value 4 the variable.
and if database allready their in that case read the valus 4 that.
the problem with me is
My problem is solved
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Thanks 4 u suggestion but the problem may be still remain same let i explane how
let u store the value 4 the btmapid by the btmapPtr 1 problem is how do we get
the id by that Ptr.bcz i think we can only draw the bitmap not to get the id of
btmap frm pointer and even if u know that u can do pleas
I all ready send 3 4 thread related to my this problem but no budy give me the
answer which solve my problem. i want to draw the defalut icon of any
applicaiton on any graphic button it means if i want to open the datebook
application with the graphics button in that case i want the default ico
U actually dont understand my problem my problem is not to get the icon of date
book. my problem is to get the icon of any applicaion from the database in the
way that if i launch any application by a graphic button in that case i need
the bitmap of that application on the graphic butoon.
The w
How do i refresh my application forms with time means automatically refresh
every second or refresh each time if any change is made so the change is
displayed on the frm without the restart of the application.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
ple
it is help full 4 me if u provide the example code to use it bcz i m unable to
get how i u use it in my application .
ex
the system clock time i m displaying in my application is not refresh
automatic bcz the value of the system clock is copied in the label and then i
display the value of the l
wat i m telling is that i open the frm on which i had watch means time and
watching the system watch when their is change in the time at same time i want
the change in time in my frm but it will show only when we reload the frm so is
it possible to do that .
--
For information on using the P
Thanks 4 ur reply but i dont understand u r second and 3 point how to wrk on
them so please make me clear by some example.specially 3 point how to en-Que
FrmUpdateEvent so please short out it with any example.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
ple
Thanks it wrks as wat i want .
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
But create a new problem that my buttons are not wrking means every thing goes
hang on the palm only watch is wrking properly and my frm is displayed.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
R we able to read the bar by inabling the infrared of our palm is their any
application to do that.
Can any budy provide me knowledge regarging this is it possible to read the
bars by palm and use it as bar code reader .
--
For information on using the PalmSource Developer Forums, or to unsubs
Im retrivingg the bit map pointer like this
status = SysCreateDataBaseList('appl', 0,&dbCount, &dbListIDsH,true);
dbListIDsP = (SysDBListItemType*)MemHandleLock (dbListIDsH);
if (status == true && dbCount > 0)
{
for (coun
I m retriving the bit map pointer like this
status = SysCreateDataBaseList('appl', 0,&dbCount, &dbListIDsH,true);
dbListIDsP = (SysDBListItemType*)MemHandleLock (dbListIDsH);
if (status == true && dbCount > 0)
{
for (counter = 0; counter < dbCount; counter++)
{
if( StrCompare(dbListIDsP[
Can we able to attach any barcodereader with our palm and than the data which
it read can be store in our database.Is it possible to do this.Bcz i want to
create an application which read the bars and matain information read frm bars
in the database.
--
For information on using the PalmSource
But it is able to draw only the bitmap of only my application means if i give
the creator id of my application it will draw bitmap on frm but if i give the
creator id of any other application it is not doing any thing.And if i use
'ovly' wat u suggest it will give baddbref error
And my actual
your suggestion is very good and even wrk very fine also
But 1 thing is that when u use the simple button and when we click on that it
will show the black square over the bitmap of the size of button and looks
dirty.
so how to over come with this problem.
--
For information on using the Palm
I think my problem would be solve by the way the start up from wrk means the
application launcher frm on which all the application icon are show and when we
click any 1 of that the associate application will launch
and if u watch carefully u find that when u click on any 1 a rectangle is draw
Thanks john the way exact wat u say is right to do my jobs But that time i
don't know how to apply the ctlEnterEvent onmy button but now i do and find my
way .
Very thanks to u.
And abut my infrared thread u told me that we cant make the barcode reader by
the help of palm bcz the infrared focus
Ok thanks once again .
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
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 percen
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 percen
no in my case it is give the value wat i allready told u and even vary each
time u start the palm
My function is like
static void BatteryStatusVolt(FormType* frm)
{
//UInt8 percent;
char *RecNo;
UInt16 criticalThresholdP;
UInt16 volts;
unsigned char percent;
volts=SysBatteryInfo(
the error is with %ld it should be %d . it solve the problem
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
the voltage of battery is multiple of 100 means 420 and i should be divide it
by 100 after that it display actual 1 4.20 but wat format specifer i should
use to display that bcz %d show 4 and their is no such %f init. i knowit is
simple question
and some 1 give me the answer.
--
For informa
i m wrking on an application in which i use the sms application database but i
dont have the sms default application source code .
Would any budy give me link where do i find it. bcz i need to retrive the
records frm the data base for that i need the structure related to the various
fields means
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/
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/
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/
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 organ
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 Reco
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/
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 infor
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
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/
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 s
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
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.
--
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 cai
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;
// UInt
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 'pan
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/
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
/**
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 Fo
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/
1 - 100 of 180 matches
Mail list logo