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

Native Development

Reply
Developer
ankursahu19
Posts: 64
Registered: ‎03-20-2013
My Device: Z10(Red Limited Edition)

Fill username and password in browser

Hello All,

           Suppose,A page which have username,password and link of website. when we clicked on website it open a browser and fill username and password in its respective place.

 

So, can anyone suggest me that how do i achieve this scenario.

 

thanks,

Ankur

       

BlackBerry Development Advisor
Kareem_ELSayed
Posts: 81
Registered: ‎09-09-2013
My Device: BlackBerry Z10

Re: Fill username and password in browser

You can use WebView instead of invoking the browser and use evaluateJavaScript function to fill in the HTML fields using Javascript if you know the input fields IDs/Names.
Kareem ELSayed | Application Development Consultant | Developer Relations | BlackBerry | Twitter:@kemobyte