In my makefile, there is a location that specifies the version of my program...
DATABASE_VERSION = 1
When the user goes to AppInfoVersion they see the following...
MyProgram v.1.0
If I want to make it version 2.0, I simply change it to
DATABASE_VERSION = 2
My questions is how do I
In my makefile, there is a location that specifies the version of my program...
DATABASE_VERSION = 1
When the user goes to AppInfoVersion they see the following...
MyProgram v.1.0
If I want to make it version 2.0, I simply change it to
DATABASE_VERSION = 2
My questions is how do I change
In PODS, where can I set "tver"?
[EMAIL PROTECTED] 5/10/2006 2:40 PM
DATABASE_VERSION is an integer -- it doesn't correspond with theversion number shown in the Info list which is from the 'tver'resource.On 5/10/06, Tony Janke [EMAIL PROTECTED] wrote: In my makefile, there is
What is actually happening when you say"handled = true"? Sometimes I get "Form already loaded" issues if I use it incorrectly. My latest issue involves setting a global variable in my closeEvent. If I use handled = true, it works OK the first time though, but the next time I come to this form, I
try...
typedef struct{
UInt16 ptNum;
char desc[30];
double northing;
double easting;
} ptType;
~Tony
Sincerely,
Tony Janke
Design Engineer II
Rockford Corporation
600 S. Rockford Dr.
Tempe, AZ 85281
480.337.1539
[EMAIL PROTECTED]
There are 10 kinds of people
Did you try running the debugger? When you run in there, you can click the
debug button when the simulator crashes and it will show you the point where
the code crashes. goodluck
Sincerely,
Tony Janke
Design Engineer II
Rockford Corporation
600 S. Rockford Dr.
Tempe, AZ 85281
480.337.1539
Try this...
FrmGetObjectIndex(pForm, 1001), so your code would be
FrmGetObjectId(frmP, FrmGetObjectIndex(pForm, 1001))
where:
FormType* pForm = FrmGetActiveForm();
and
1001 is the control ID of the object you wish to manipulate.
~Tony
[EMAIL PROTECTED] 7/27/2005 8:10 AM
Try
I'll try it out for you.
~Tony
[EMAIL PROTECTED] 7/21/2005 12:28 PM
Heres the deal. I have an SMS application that needs to search the Address
Book for the senders number. If the senders number is in the address book
(given the setting to force this action is on) then it will allow the
I am trying to figure out if there is a maximum size the resource can be for an
application? Currently, I have 30 forms 48 Bitmaps and have had no problems
using PODS. Today when I tried importing a bitmap (300k), the project compiled
fine, when I ran the simulator however, I received the
Hmm, let me start by apologizing, this is my first Palm application and I think
I have the process of 68k applications down pat (but I prolly don't know all I
need to). I thought I was developing a 68K app, but don't know how to check if
I'm right or not. Some of my resources (bitmaps) are
I wrote multiple apps that may be installed at the same time. Initially, I had
a problem where both programs would be listed under one name in the APPDelete
menu. I fixed this by changing the creator ID's to be unique. This worked,
the problem I have now is that only the first application I
I tried sticking that command in my AppEventLoop function following the
function EvtGetEvent and that didn't work for me, the device still went to
sleep. Where else can you place it so it is constantly accessed while my app
is running?
~Tony
[EMAIL PROTECTED] 5/24/2005 8:24 AM
If you're
I am writing an application that will be sold worldwide. What is the level of
difficulty to have the GUI/interface translated into different languages?
thanks,
~Tony
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see
sysWinEnter enterWindow=0xF03268, exitWindow=0xF03D10
31 18.377 penUp pos=(82,145)
There are no frmUpdateEvents generated. Were you suggesting adding this event
to the event queue manually?
thanks,
~Tony
[EMAIL PROTECTED] 4/21/2005 4:44 AM
Tony Janke [EMAIL PROTECTED] a écrit
I have an event handler which is accessed from many other event handlers.
Essentially, I create a HELP button on each form. When this button is pressed,
I use FrmPopupForm() to display a screen with help instructions. I have a
separate event handler for the help form. When the user presses
I am writing 2 separate applications for the Palm. The problem I am having is
that they are interacting with each other. For example, when I go into the
list of applications I would like to delete, only 1 app shows up on there. If
I delete that one app, it deletes both of my applications.
then they will show up as one item in 'delete'
Best to use separate creator ID's for the programs.
Chris Brooks.
-
Protected by: http://mail.spaminspector.com
- Original Message -
From: Tony Janke [EMAIL PROTECTED]
To: Palm
the event handler of the new form to a different reoutine directly after
the FrmGotoForm line? Does the first reoutine still recieve frmOpenEvent
but with formID = 1800?
Tim
Tony Janke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Tim-
The frmOpenEvent inside HardwareFormHandleEvent
Does anyone know why frmOpenEvent is executed twice per form? Once when opened
and again when closing. Maybe I shouldn't ask why, I do know that FrmGotoForm
generates a frmOpenEvent and frmLoadEvent. My application, upon opening a
form, initializes fields within the form by retrieving data
] 4/14/2005 11:33 AM
You define pForm as the active form. Is it possible that the frmOpenEvent
is meant for a non-active form? The form ID is within the event structure,
if you want to check.
Tim
Tony Janke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Does anyone know why
I wrote my first app from the sample app. The problem I have is that the PRC
file generated is still called sample.prc. The project has been renamed, but
I do not know where to go to change what the application will be called.
please help.
thanks,
~Tony
--
For information on using the
Jim, try this...
/
static MemHandle GetTextFromField(UInt16 controlID)
{
FormType* pForm;
FieldType* FieldPtr;
MemHandle h,
Ever since I upgraded to version 1.1.0, this auto build feature has given me
problems. I don't know how to disable it! Many times when I make changes to
my code, the only way to get the tool to recompile my code is to select CLEAN.
Does anyone know how to fix this?
thanks,
~Tony
--
For
I am having problems scrolling the text field in my application. I check the
box Has Scroll and I wrote more lines than can fit in the viewable window. I
have tried changing parameters such as Max Vis Lines but this seems to change
nothing. Am I missing something?
thanks in advance.
I am trying to write a function to implement a vertical slider, one
which I can assign my own thumb and background image. I detect a
penDown event and pass the coordinates located in screenX/screenY. Here
is an excerpt:
case penDownEvent:
AdjustSlider(pEvent-screenX,
and install it
on their Palm. I use a database as the folder for the files and treat
each record as a file. I don't want to have the user share the entire
database, just individual records.
~Tony
[EMAIL PROTECTED] 11/24/04 01:41AM
Tony Janke wrote / skrev:
I appreciate the suggestion but my
Palm OS Developer Suite
Version: 1.0.0
Build ID: 46E_100GM
~Tony
[EMAIL PROTECTED] 11/19/04 04:37PM
At 05:15 PM 11/19/2004, you wrote:
I created my 1st application using a sample application as a
template.
I thought I changed all o the necessary info to use my own project
and
filenames, but
I am trying to implement a timer but have a few questions. Let me
explain my application a little more, maybe there's a different (easier)
way to do this...
A user is able to write a number into a field. Not all numbers are
allowed, say the number has to be a multiple of 5. If they write 7, my
I am trying to draw a simple line on the screen, but get the error Bad
Error Does anyone know why I get this error?
RGBColorTyperedRGB;
IndexedColorTyperedIndexed;
redRGB.r = 255; redRGB.g = 0; redRGB.b = 0;
redIndexed = WinRGBToIndex(redRGB);// ERROR = bAD wINDOW
())
WinSetDrawWindow(WinGetDisplayWindow());
and see if that helps get rid of the error. It may not be the solution
that you need in the long term.
Bob.
Tony Janke wrote:
I am trying to draw a simple line on the screen, but get the error
Bad
Error Does anyone know why I get this error
I created my 1st application using a sample application as a template.
I thought I changed all o the necessary info to use my own project and
filenames, but the PRC fie still says sample.prc Where can I change
this so the PRC file generated is my own application name?
Also, during development
http://kb.palmsource.com
~Tony
[EMAIL PROTECTED] 11/18/04 03:50PM
Does anyone know how to get the today date?
is there any function like sysdate() or date()?
TIA
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see
Vcal for meetings and Vcard for addresses.
These
Formats are widely accepted by Outlook, Mobile Phones,... .
You can find the specifications online!
Best Regards
Tam Hanna
Veronica Loell wrote:
Tony Janke wrote / skrev:
I am writing an application that will allow users to share their data
from
PLEASE DISREGARD THIS AS I FIGURED OUT MY MISTAKE, THANKS!
[EMAIL PROTECTED] 11/15/04 03:25PM
I use a few key global variables in my application. One of which is Refresh.
I use it at the beginning of each FormEventHandler to determine if there are
fields and/or buttons that need to be
I use the following code to retrieve text from a field...
---
h = MemHandleNew(50); // allocate chunk of memory in
heap
I use a few key global variables in my application. One of which is Refresh.
I use it at the beginning of each FormEventHandler to determine if there are
fields and/or buttons that need to be initialized from data contained in a
specific record. This worked fine until today and now for some
I am writing an application that will allow users to share their data from
records with others over the internet. I'll explain the example as a calendar
program to simplify everything. Say one user sets a date and time in a
calendar program for a meeting. his data is stored in a record and
I am trying to create a dynamic list and am going off of the example show in
the Palm OS Programming Bible. Below is my code (essentially the example in
the book) but I get the following errors:
(1) passing arg 2 of `LstSetDrawFunction' from incompatible pointer type
(2) `ListElements'
click on the Navigator tab, then right click in the window and chose Import...,
then import an existing project into the current work space.
[EMAIL PROTECTED] 11/11/04 01:20PM
Ok I can't seem to find this in Palm OS Developer Suite.
I closed a project in the C/C++ projects tab. Now I want
I am trying to store a data structure in a record and have a few questions.
There seems to be (at least) 2 ways to store data in a record. You can either
create a new record, and over write an old record with the new copy that
contains the new field values. The other way is to edit the
I get this error field.c, Line:6001, FldSetText - text longer than
maxChars ONLY when trying to read a number larger than 255 (8-bit).
The variable I store the data in is 16 bit Int (data).
the error occurs on line: FldSetTextHandle(FieldPtr, h);
Code:
I am using a field to report the position of a slider in my application.
The problem I am having is that the field doesn't seem to refresh
itself to the new value. Unless you HIGHLIGHT the field, then the new
value will be displayed! Also, not all of the old data is erased when
the new value is
Is it possible to set the focus in a field on a pop up form? I am popping up a form
for the user to enter a file name.
case 1003: // CREATE NEW
// get filename from user
FrmPopupForm(SaveFileNameForm);
pForm = FrmGetActiveForm();
// PROGRAM CRASHES HERE CUS
Ralph-
How do we securely protect our software then?
~Tony
[EMAIL PROTECTED] 10/29/04 02:47PM
Yes it will prevent beaming etc. But it can be easily defeated using a
tool
like Filez. Refer
to docs for setting the bit (DmSetDatabaseInfo);
Giorgos Sarris [EMAIL PROTECTED] wrote in message
According to the Palm philosophy, the user never QUITS an application, instead they
start another.
~Tony
[EMAIL PROTECTED] 10/27/04 10:36AM
I have tried calling the AppStop function to close an application but get an error.
What is the proper way to use a button to close an application and
I don't know if this works or not, haven't tried it myself but...
Why don't you try overloading the function FrmGotoForm() such that you have the
default version that accepts a form ID and another that will accept a form ID and the
form ID that sent it there
FrmGotoForm(NewFormID,
I think there is a problem with my Debugger. When I step thru my code, I get some
very weird results. Here is a section:
==
Declarations
==
typedef struct{
I would like to use a slider in my application but I need to slider to
move vertically instead of horizontally. I haven't been able to
figure
out how to rotate it and I can't use the scroll bar resource because
you
are unable to substitute your own slider and background image. Has
anyone else
48 matches
Mail list logo