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
Contributor
tnavabothu
Posts: 48
Registered: ‎08-07-2013
My Device: z10
My Carrier: blackberry
Accepted Solution

how to invoke browser from my app

hi

 

 i am new to blackberry cascades,in my app i had to select the recharge amount and the payment time i wanted to use the native brower and the transaction should go there,after the successfull transaction it should return to my app showing the transaction status weather it is success or failuer.    

 

   i had seen the invokation frame work documentation at developer site also but i didn't understand how to do it.please provide some links which has sample examples or tutorials

 

thank u

Please use plain text.
Developer
pushkaraj9009
Posts: 72
Registered: ‎06-20-2013
My Device: Blackberry 10
My Carrier: idea

Re: how to invoke browser from my app

use InvokeActionItem for this

 

 InvokeActionItem {
            id: browser
            title: "Open Browser"
            query
            {
                invokeActionId: "bb.action.OPEN"
                invokeTargetId: "sys.browser"
                uri: "http://www.abc.com"
            
            }

 


Did this post help you? If so, please make sure to "like" it!

Please use plain text.
Contributor
tnavabothu
Posts: 48
Registered: ‎08-07-2013
My Device: z10
My Carrier: blackberry

Re: how to invoke browser from my app

thanks for the replay.
yes i used it but i want to get the response from the opened browser and i have to use that response in my app.so i need to know how to get the response from the browser.is it possible
Please use plain text.
Developer
pushkaraj9009
Posts: 72
Registered: ‎06-20-2013
My Device: Blackberry 10
My Carrier: idea

Re: how to invoke browser from my app

I have not tried this,but u can try using QNetworkRequest and QNetworkReply for this....

Please use plain text.
Contributor
tnavabothu
Posts: 48
Registered: ‎08-07-2013
My Device: z10
My Carrier: blackberry

Re: how to invoke browser from my app

i think it might be helpful for me.thanku
Please use plain text.
Developer
pushkaraj9009
Posts: 72
Registered: ‎06-20-2013
My Device: Blackberry 10
My Carrier: idea

Re: how to invoke browser from my app

ur welcum :smileyhappy:

 

plz make sure to like this if the post helped u and mark the thread as solved if it solved ur issue.... 

Please use plain text.
Regular Contributor
lunaplena
Posts: 205
Registered: ‎06-11-2013
My Device: Blackbery z10
My Carrier: RIM

Re: how to invoke browser from my app

Thanks

Please use plain text.
Regular Contributor
lunaplena
Posts: 205
Registered: ‎06-11-2013
My Device: Blackbery z10
My Carrier: RIM

Re: how to invoke browser from my app

THis will launch a separate browser app, what if i want to show the webpage within my app.

Please use plain text.