View Full Version : cant find my app on the phone!!
rkuppala
01-16-2003, 07:43 PM
hi,
i created a mod file, mif file and sig file and transferred them to my phone. But I cant find the app in any of the menus on the phone.
Further when I follow the step of power recycling I loose the files which were transferred earlier.
I am using the Motorola T720.
The Apploader when transferring the files does not give any indication (from the phone) that there is a file being transferred.
Any ideas where to find the app in the menu?
I am following the following steps.
http://www.qualcomm.com/brew/developer/support/kb/49.html
Thanks!!
Exarch31
01-23-2003, 09:51 AM
Hey...
I've got about the same problem. I can successfully compile and run (on a t720) the example programs included with the brew builder. And I can compile my own programs, and they run on the emulator. However, after transferring them to the phone, they just don't show up. If I restart the phone, and connect back to the apploader, all the files are still there. Any ideas?
Thanks,
Tim Chalk
Murray Bonner
01-23-2003, 12:04 PM
Double check the location of your app's MIF file. See step 5 in the earlier provided knowledge base link.
rkuppala
01-23-2003, 12:29 PM
Hi Murray,
I cross-checked for the MIF file location and it is correct. But still I cannot find it on the phone.
Any other ideas?
Thanks
Murray Bonner
01-23-2003, 12:38 PM
does your mif file's prefix exactly match the name of your app directory? Have you forgotten to include a resource file?
The symptoms sound like the BREW AEE isn't seeing your app's mif file.
Is the color depth of the icons you specified in the mif file appropriate given the hardware you are trying to run on? i.e. did you create a bitmap using greater color depth than what's supported by the phone?
That's all I can think of at the moment.
Good luck!
Exarch31
01-23-2003, 12:49 PM
Ok, I got it.
Perhaps this was silly on my part...
I was using all the 2.0 SDK utils, on a 1.1 phone. From what I read, I thught everything was compatible, but it seems they changed the mif format. I recreated a mif with the 1.1 mif-file editor, and it works.
Perhaps that's what you're doing, too, rkuppala?
Tim
rkuppala
01-23-2003, 04:04 PM
Hi,
Thanks for the suggestion. I just re-did the whole thing with 1.1 editors (resource and mif) and this time i can see it. I am still not sure what the earlier problem was because I remember to have done it with 1.1 editor (except for resource editor). In any case I can find the module now.
Though, now the phone resets when I try to run the app.
Any ideas what might be happening?? :)
Thanks.
Murray Bonner
01-23-2003, 04:23 PM
Are you doing any floating point operations in your code?
e.g.
float a = 1.1, b = 2.2;
a += b;
if(a < b)...
int c = (int) b; // all of these would lock up phone.
Do you have any global variables or static data of any kind?
This will crash the phone.
are you linking in the standard C or C++ libraries that come with the compiler? i.e. you should use:
#include "AEEStdLib.h"
and NOT
#include "stdlib.h"
rkuppala
01-23-2003, 04:43 PM
I do not have any floating point operations or static data. I have static functions though. And I include "AEEStdLib.h".
rkuppala
01-23-2003, 04:49 PM
Actually I have a global enum
typedef enum
{
APP_STATE_TEXT,
APP_SOFT_KEY,
} AppStateType;
which I use in
typedef struct _MenuAppData
{
AEEApplet a; // Mandatory AEEApplet data member appears first
AppStateType m_AppState;
}MenuAppData;
Does this cause a problem?
Murray Bonner
01-23-2003, 05:36 PM
Try taking out references to the enum and see if the phone will load the app. The compiler may treat the enumerators themselves as static data, since they are just names for integer constants. You might have to stick with the preprocessor and #define to associate unique integers with your symbolic constants. Please let me know whether or not this was the issue.
Static functions are no problem.
rkuppala
01-23-2003, 05:48 PM
I tried that but it does not work.
I was looking through the data sheets for Motorola T720 (on the extranet site). There is a comment regarding the AEETAPI.lib. It says that there is support for TAPI except for ITAPI_MakeVoiceCall(). My app uses this function. I dont know if this is the cause for the problem. But if this were the problem, then I would have expected the phone to reset when I actually make the call instead of resetting as sson as the app starts.
Further, the data sheet says that it has BREW 1.1.2. And I am running BREW SDK 1.1. I am not sure how to find out is it is 1.1.2 or not. Could that be causing the problem? Because I have read somewhere that this might happen if there is a mismatch in the SDK versions.
Thanks
Murray Bonner
01-23-2003, 07:16 PM
Have you tried commenting out _MakeVoiceCall()?
You're fine if the phone has >= the version your created your app. with.
rkuppala
01-23-2003, 07:26 PM
My misery continues..
I tried to test the ITAPI stuff by loading the example that comes with the SDK. I presumed that since it was provided by qualcomm, it would be safe. Since then my phone has been resetting in an endless loop. I tried taking the power out by removing the battery. But that does not help it. I cant unload that app. Seems like I might have to re-flash the phone.
nogara
01-24-2003, 09:24 AM
I made the same mistake with a LG Vx10... I really thought an example couldn't do that kind of stuff. I tried every single trick to unload the example, but it wouldn't even let me get to a menu. I guess the application started whenever the phone started to connect to the wireless network... Maybe something related to that mask that is set in the MIF Editor, but I wouldn't know...
Not even Qualcomm here in Brazil was able to fix it... :D
From now on I think twice before putting anything related to ITAPI in a phone :)
rkuppala
01-24-2003, 02:52 PM
You are absolutely right nogara. The phone is gone for good. Qualcomm was not able to rescue it.
Anyone knows a better phone for ITAPI? I think LG vx10 is a better one.
rkuppala
01-24-2003, 02:53 PM
You are absolutely right nogara. The phone is gone for good. Qualcomm was not able to rescue it.
Anyone knows a better phone for ITAPI? I think LG vx10 is a better one. Because one of the mails that I got from BREW support said that they were able to run a ITAPI application on the phone.
Thanks
nogara
01-25-2003, 07:07 PM
Well, I tried another test application in the replacement I got from Qualcomm (another Vx10) and it worked. It just received a directed SMS (in the form BREW://CLASSID) and printed it on the screen. Nothing more. I didn't put anything in the MIF editor like the sample ITAPI app did (a mask in an advanced menu somewhere), and it worked anyway...
vBulletin v3.0.13, Copyright ©2000-2009, Jelsoft Enterprises Ltd.