Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I have a question. I'm working with an A990 at the BREW lab and having a problem closing the app when I get a EVT_FLIP.

Originally I was calling
ISHELL_CloseApplet(pMe->a.m_pIShell, TRUE);
and it was working a large number of handsets....

but this was failing on both the emulator and the handset for the A990.

So I tried passing false.
ISHELL_CloseApplet(pMe->a.m_pIShell, FALSE);

This fixed the problem on the emulator but NOT on the handset.

I've read a number of posts on the flipping and special things that can be done ....someone mentioned giving extra privlages in the MIF file....

Anyone have similar problems on the A990? As going all the way to the BREW lab
takes time, if anyone has found a similar problem and a fix it would be greatly
appreciated.

Now this is a version 3 handset... so (according to that other thread)

http://brewforums.qualcomm.com/showthread.php?t=11382&highlight=flip

I might need System Privledges to call TRUE (for ver 3) which is what I was doing previously (for ver 2 handsets)... if I add SYSTEM priv... it also works on the emulator. But I don't think an application can be submitted like this.

Anyone have some help?

I've been working on the issue... It turns out that this handset like SOME (not all) ver 3 handsets requires you to pass FALSE always when calling
ISHELL_CloseApplet
Now here's the clincher... after checking with the tester when I pass false it is exiting to Get it Now but there's a problem..... (before I was told it was not exiting but in fact it was)... but it does not clear the screen of all the images, text and components as other handsets do!
While this app on many many other handsets doesn't need to clear the screen and cancel everything when exiting, on this app you have to do so....
So I'm writing all sorts of code to make sure everything is cancelled and the screen is completely cleared. Now it would seem I should need to do this on every handset when exiting, but in reality I only need to do this on the Samsung A990, none of the other handsets have this issue.
This may be because it is a version 3 handset, it may be a bug in this handset, but thinking about it, it seems to me like its a bug (feature?) in every other handset we've used from the LGVX6000, KX414, T720, VX8000 just to name 4 of about 100 or more.
:confused:
But for some reason THIS IS ONLY AN ISSUE when FLIPPING the clamshell. When you exit by other means.... you don't get this problem. I wish I was testing all the handsets so I could be more sure about which handsets this happens on and all, but there is only so much time.
Anyone have any other experiences like this on tha A990 with the clamshell?

I've been working on the issue... It turns out that this handset like SOME (not all) ver 3 handsets requires you to pass FALSE always when calling
ISHELL_CloseApplet
Now here's the clincher... after checking with the tester when I pass false it is exiting to Get it Now but there's a problem..... (before I was told it was not exiting but in fact it was)... but it does not clear the screen of all the images, text and components as other handsets do!
While this app on many many other handsets doesn't need to clear the screen and cancel everything when exiting, on this app you have to do so....
So I'm writing all sorts of code to make sure everything is cancelled and the screen is completely cleared. Now it would seem I should need to do this on every handset when exiting, but in reality I only need to do this on the Samsung A990, none of the other handsets have this issue.
This may be because it is a version 3 handset, it may be a bug in this handset, but thinking about it, it seems to me like its a bug (feature?) in every other handset we've used from the LGVX6000, KX414, T720, VX8000 just to name 4 of about 100 or more.
:confused:
But for some reason THIS IS ONLY AN ISSUE when FLIPPING the clamshell. When you exit by other means.... you don't get this problem. I wish I was testing all the handsets so I could be more sure about which handsets this happens on and all, but there is only so much time.
Anyone have any other experiences like this on tha A990 with the clamshell?

pbl1 wrote:I have a question. I'm working with an A990 at the BREW lab and having a problem closing the app when I get a EVT_FLIP.
Originally I was calling
ISHELL_CloseApplet(pMe->a.m_pIShell, TRUE);
and it was working a large number of handsets....
but this was failing on both the emulator and the handset for the A990.
So I tried passing false.
ISHELL_CloseApplet(pMe->a.m_pIShell, FALSE);
This fixed the problem on the emulator but NOT on the handset.
I've read a number of posts on the flipping and special things that can be done ....someone mentioned giving extra privlages in the MIF file....
Anyone have similar problems on the A990? As going all the way to the BREW lab
takes time, if anyone has found a similar problem and a fix it would be greatly
appreciated.
Now this is a version 3 handset... so (according to that other thread)
http://brewforums.qualcomm.com/showthread.php?t=11382&highlight=flip
I might need System Privledges to call TRUE (for ver 3) which is what I was doing previously (for ver 2 handsets)... if I add SYSTEM priv... it also works on the emulator. But I don't think an application can be submitted like this.
Anyone have some help?
Hi,
Please try this on Samsung A990. It should work.
case EVT_KEYGUARD:
{
ISHELL_CloseApplet(pApp->m_pIShell, true);

break;
M AlBert

pbl1 wrote:I have a question. I'm working with an A990 at the BREW lab and having a problem closing the app when I get a EVT_FLIP.
Originally I was calling
ISHELL_CloseApplet(pMe->a.m_pIShell, TRUE);
and it was working a large number of handsets....
but this was failing on both the emulator and the handset for the A990.
So I tried passing false.
ISHELL_CloseApplet(pMe->a.m_pIShell, FALSE);
This fixed the problem on the emulator but NOT on the handset.
I've read a number of posts on the flipping and special things that can be done ....someone mentioned giving extra privlages in the MIF file....
Anyone have similar problems on the A990? As going all the way to the BREW lab
takes time, if anyone has found a similar problem and a fix it would be greatly
appreciated.
Now this is a version 3 handset... so (according to that other thread)
http://brewforums.qualcomm.com/showthread.php?t=11382&highlight=flip
I might need System Privledges to call TRUE (for ver 3) which is what I was doing previously (for ver 2 handsets)... if I add SYSTEM priv... it also works on the emulator. But I don't think an application can be submitted like this.
Anyone have some help?
Hi,
Please try this on Samsung A990. It should work.
case EVT_KEYGUARD:
{
ISHELL_CloseApplet(pApp->m_pIShell, true);

break;
M AlBert

I think it would be better if we just use the flip/keyguard handling code provided in the knowledgebase article. And it seems to work well in most devices.
Link:
https://brewx.qualcomm.com/bws/content/gi/common/appseng/en/knowledgebas...
and use the code provided under the section "Recommended solution for terminating applications"

I think it would be better if we just use the flip/keyguard handling code provided in the knowledgebase article. And it seems to work well in most devices.
Link:
https://brewx.qualcomm.com/bws/content/gi/common/appseng/en/knowledgebas...
and use the code provided under the section "Recommended solution for terminating applications"

Hello,
I'm working on a Network based application on Samsung A990 device.
I'm facing a problem related to Clamshell Behavior for this device.
On giving Flip on the Splash screen, the application exits to App. Manager.
If we give flip on any other screens, then it exits to OEM.
Please give me any suggestions/solutions...... :confused:

Hello,
I'm working on a Network based application on Samsung A990 device.
I'm facing a problem related to Clamshell Behavior for this device.
On giving Flip on the Splash screen, the application exits to App. Manager.
If we give flip on any other screens, then it exits to OEM.
Please give me any suggestions/solutions...... :confused:

manu3774 wrote:Hello,
I'm working on a Network based application on Samsung A990 device.
I'm facing a problem related to Clamshell Behavior for this device.
On giving Flip on the Splash screen, the application exits to App. Manager.
If we give flip on any other screens, then it exits to OEM.
Please give me any suggestions/solutions...... :confused:
Hi Manu,
Try this solution. it must work.
case EVT_FLIP:
if(!wParam)
{
ISHELL_CloseApplet(pMe->m_pIShell, FALSE); //For BREW 3.x devi..
//ISHELL_CloseApplet(pMe->m_pIShell, TRUE); //For BREW 2.x devi..
return FALSE;
}
return(TRUE);
case EVT_KEYGUARD:
if(wParam)
{
ISHELL_CloseApplet(pMe->m_pIShell, FALSE); //For BREW 3.x devi..
//ISHELL_CloseApplet(pMe->m_pIShell, TRUE); //For BREW 2.x devi..
return FALSE;
}
return(TRUE);
you must include the above 2 events in your application.
Actually Samsung A990 is the BREW 3.x device. so you just copy the above code.
I am sure, it must work. else reply back.

manu3774 wrote:Hello,
I'm working on a Network based application on Samsung A990 device.
I'm facing a problem related to Clamshell Behavior for this device.
On giving Flip on the Splash screen, the application exits to App. Manager.
If we give flip on any other screens, then it exits to OEM.
Please give me any suggestions/solutions...... :confused:
Hi Manu,
Try this solution. it must work.
case EVT_FLIP:
if(!wParam)
{
ISHELL_CloseApplet(pMe->m_pIShell, FALSE); //For BREW 3.x devi..
//ISHELL_CloseApplet(pMe->m_pIShell, TRUE); //For BREW 2.x devi..
return FALSE;
}
return(TRUE);
case EVT_KEYGUARD:
if(wParam)
{
ISHELL_CloseApplet(pMe->m_pIShell, FALSE); //For BREW 3.x devi..
//ISHELL_CloseApplet(pMe->m_pIShell, TRUE); //For BREW 2.x devi..
return FALSE;
}
return(TRUE);
you must include the above 2 events in your application.
Actually Samsung A990 is the BREW 3.x device. so you just copy the above code.
I am sure, it must work. else reply back.