06-07-2012 01:58 AM
Hello, I made a mobile web that I would like to put in my blackberry application. So I used BrowserField, however the flash videos/items do not load, althougth they load in the mobile's defualt browser ....
Any idea as to what I can do to fix this ? is it normal ? should I add any specific config ?
All help is appreciated. Thanks in advance for every reply.
This is my code:
BrowserFieldConfig myBrowserFieldConfig = new BrowserFieldConfig();
BrowserField browserField = new BrowserField(myBrowserFieldConfig);
06-07-2012 02:49 AM
AFAIK, videos and flash are not supported in BrowserField.
You can try and detect the content type and open the video player or the default browser.
06-07-2012 02:56 AM
Ok, Thanks for the information...
But can you direct me a little bit more details.. ?
1.how can I detect the flash Items in the html content using java. ( is thr any link/tut u can refer me to please.)
2.And When I do detect the content should can I launch the video within my app.
Thanks ) really appreciate your help.
06-07-2012 03:48 AM
Basically, flash is a resource and video can be either resource or a link.
The ProtocolController handle both of these options.
Check out this link for some nice browserField features (including the controller):
Hope that helps,