Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Posts: 579
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

App freezes on splash screen if I use TextInput

If I add the following line of code to my app:

 

private var textInput:TextInput;

 

... then my app won't load. It freezes on the BlackBerry splash screen.

 

I'm compiling it with:

 

mxmlc +configname=air -library-path+=. Keyboard.as -o Keyboard.swf -swf-version=10 

 

... and the import statement is:

 

import qnx.ui.text.TextInput;

New Developer
Posts: 61
Registered: ‎06-07-2011
My Device: Playbook
My Carrier: Employee

Re: App freezes on splash screen if I use TextInput

I was faced this type of strange problem when I installed the 2.0 sdk, this is because of the installation problem, some of the libraries are not copied to its destinatination folders or to some where else. I just reinstalled the sdk the problem was solved.