Mukesh Singh wrote:
> Hi All,
>     To explain my problem, let assume there are two applications App1 and 
> App2. I am launching App2 through App1 using SysUIAppSwitch() function call, 
> in normal launch of App2, I am checking for low memory, and return back 
> memErrNotEnoughSpace if there is not sufficient memory to launch App2, now my 
> problem is that after showing alert in App2 and pressing on OK button, App2 
> get Launched again through App1, its a repetitive process until I am not 
> explicitly pressing on Home key, According to Palm KB, "SysUIAppSwitch() 
> first closes(Sends appStopEvent to) the current application and then launch 
> the other application. I am anxiously waiting for a reply, also if there is 
> any alternate solution of it.
> 
> Thanks
> Mukesh
> 

The easier thing might be to just switch to the launcher if your app2
does not have enough memory.

What happens when you "close" app2 app1 will get called again since it
called app2. You go into a loop. Calling the launcher would be the most
simple way.

You might also check to see if app2 closed because of an error when app1
is called. Then app1 can just close instead of recalling app2 (i.e. app1
can break the loop).

Regards,
Donald

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to