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

Java Development

Reply
Highlighted
Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to paste text into ANY editable field (email/sms/browser address bar/contacts/ any other app)

"Will this work when the active screen is from another application?"

basically no

"I keep getting a null value when I call getActiveScreen and I seem to remember reading that you can't get access to other applications screen"

That is the problem, you need to access the screen instance and unless you are on Friendly terms with the Application, you won't find it.

"So I am curious as to how you got this working."

Look at Event Injector, I think it is in your only chance. 

Regular Contributor
Posts: 51
Registered: ‎05-11-2010
My Device: 8900
My Carrier: Rogers

Re: How to paste text into ANY editable field (email/sms/browser address bar/contacts/ any other app)

Thanks for your reply Peter, that makes total sense.  I thought I was missing something.  I will take a look at the Event Injector.

 

Thanks.

Regular Contributor
Posts: 51
Registered: ‎05-11-2010
My Device: 8900
My Carrier: Rogers

Re: How to paste text into ANY editable field (email/sms/browser address bar/contacts/ any other app)

Ahuja, did you ever find a way around (or the reason for) the 16 character limit on the EvenInjection?