the POLICY thing...

Hi guys, I do not know if you have used the application policy. It's a free app and its homepage is here:http://blog.berrycoder.com/search/label/QSMS

SO, I have a few problems. My shortcut "q" is used by another application, and I can't throw. So, I tried to write my Xsms

It seemed easy to use like this MessageArguments:

MessageArguments msgarg = new MessageArguments (MessageArguments.ARG_NEW_SMS);
Invoke.invokeApplication (Invoke.APP_TYPE_MESSAGES, msgarg);

Soon, I found that this method cannot be used without a UiApplication.So call him in a UiApplication.

But later, another problem came: after I pressed X, he showed the list of contacts, that was right, so I chose a contact, but nothing happened! Seemed that I should push a screen first, before I invoke.

So I like it, I pushed a blank screen before calling Invoke.invokeApplication (.), so that it works just fine now.

Then the tragedy comes again... If I just press on escape, I got a white screen, and after the sending of sms, I don't know how to close the application. It seemed more and more complex...

I wonder if I'm wrong... I just can't understand how it works... Someone has an idea?

Hello

create a separate thread that checks for the application called life.

If the application is closed, then close your uiapplication.

Kind regards

Jochen

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for