BrowserPlugin works Simulator, but the device does not recognize the mime type

Hello world

Use the BrowserPlugin class in JDE samples, I was able to record a personalized with my BlackBerry mime type. When the browser makes a redirect to a specific page with the mimetype, the browser will recognize and use getBrowserContent() to move my application to the foreground, above the BlackBerry browser.

I have this working on the Simulator, but on the device, I get the message: "unable to display the selected item. You want to save the item? »

When I click 'No', I get the message: "Unsupported media type: application/x-vnd.rim.xxxtest.

Like I said before, it works on the Simulator. I supported by the web server mime type, and I created a library project that will run at startup that will record the mime with the device type.

I've debugged on my real device and confirmed that my library project is actually the launch...

Someone know why this might work on the Simulator, but not on the device?

Ah,.

I'm embarrassed. I had unconsciously assume that when I used Javaloader to load my application to my phone that it would also include the referenced library projects... I was wrong!

I loaded the library project separately and it works very well.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for