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

Web and WebWorks Development

Reply
New Developer
dreiu
Posts: 3
Registered: ‎03-25-2009
My Device: Not Specified

Load .aspx page in application?

Hello.

Can i load a .aspx web page in a BlackBerry app?I whant to create an app and when i click the app start buttonto be able to view my .aspx web page and work in it.

 

Can i do that?

I tried but when i'm opening the page a java error appears.

It works fine for .html pages. So i tried create a .html page whit a ifram in it src was my .aspx page location. The error is not displayed but the app is not working.

so.....

 

help please....

thank you.

Please use plain text.
Developer
jwargo
Posts: 395
Registered: ‎12-18-2008
My Device: BlackBerry Torch 9800
My Carrier: AT&T

Re: Load .aspx page in application?

What is the error you get? Is your aspx using any ActiveX controls for anything? They're not supported in the BlackBerry browser.As long as your ASPX returns HTML, it shouldn't matter what the file extensionis for the page as long as your server can serve it.  You can access the same URL from a Desktop browser, right?

Please use plain text.
New Developer
dreiu
Posts: 3
Registered: ‎03-25-2009
My Device: Not Specified

Re: Load .aspx page in application?

[ Edited ]

My .aspx page works fine in BlackBerry browser.

I've tried with a sample from BlackBerry site: BrowserFieldAPIDemo. I tryed to load my .aspx page butsomethig is not ok:

"Uncaught exception: finishLoading is called on the event dispatch thread".

 

After this i descovered over the internet the PhoneGap application.When i run the app on phone screen  appears JVM Error 104 Uncaught : IllegalStateException.

 

Can you hepl me with a sample or somethig ...

 

Thank you.

Message Edited by dreiu on 03-26-2009 06:43 AM
Please use plain text.
Developer
jwargo
Posts: 395
Registered: ‎12-18-2008
My Device: BlackBerry Torch 9800
My Carrier: AT&T

Re: Load .aspx page in application?

I would take this over to the Java forum. I don't have any experience working with this.
Please use plain text.