LWUIT 1.4 player not working in blackberry OS 6 - blackberry

I am trying to port a J2ME LWUIT app on blackberry. I am able to play videos through my app on Blackberry OS 5.0 and below. But it does not work on blackberry OS 6.0 It is something related to OS version. I was able to play videos through my app on Bold 9700 with OS 5, but when i upgraded the device to OS 6, the video player blinks for a moment and then it is not seen again. I am able to hear the audio until i press pause.
Please help.

This is a RIM bug which unfortunately RIM is unwilling to fix since they just don't care about anything other than QNX. See here, for some details. The only workaround is to use a native RIM UI for this portion of the UI. We intend to add such a UI to LWUIT but it didn't make it to 1.5.

Related

WebKit + WebRTC without Safari 11/Safari Preview and High Sierra

I'm really intrigued with WebRTC and want to start building web based technologies that have access to hardware and other aspects of what a native application might have. My question is, how might I implement WebRTC into WebKit, without using High Sierra for macOS or Safari 11/Safari Preview? This goes beyond using Chrome or Firefox to test some WebRTC components. I want to be able to implement an instance of WebKit, maybe using webview in a macOS app, and include WebRTC.
Maybe even, a framework that I could use in Xcode and Swift for a macOS app or iOS app? That would be even more awesome!
What I've looked at so far:
https://webkit.org/blog/7763/a-closer-look-into-webrtc/
http://www.webrtcinwebkit.org
https://www.openwebrtc.org
https://webrtc.github.io/samples/
https://www.openwebrtc.org/bowser/
Also found this to be interesting:
http://thejackalofjavascript.com/node-webkit-webrtc-and-angularjs-a-video-chat-client/

Mjpeg broken on recent Mobile Safari?

I am playing with live mjpeg streams from IP cameras and found that support for mjpeg seems to be broken on recent Mobile Safari releases.
I am using a simple HTML test page with an embedded image as follows:
<img src="http://[ip_address]/[path]">
This works fine on an iPhone 4S with iOS 5.1, but doesn't show anything on an iPad with iOS 7.0.3.
Can someone confirm this? Any known workarounds?
MJPEG support on iPhone (and on OSX also) has been often broken in the past, and I can confirm that right now I'm having the same problem with MJPEG streams on my iPhone 5, version 7.0.4.
You can find some threads talking about this problem in the apple website, dating from mid 2013 and with a few recent answers, like this one https://discussions.apple.com/message/22933450#22933450
This one posts a possible solution, if you can control the stream:
https://discussions.apple.com/thread/4347848
I have not tried if this solution works, because I can't change the stream itself.
And the problem was also on OSX Lion :
https://discussions.apple.com/message/19028348#19028348
They say it has been fixed in OSX, and that some bug reports has been filed for ios, but can't find if and when they will be fixed.
I can't find it again, but in a comment someone speculate that MJPEG support was disabled/limited on purpose on iPhone because some users had their mobile bandwidth consumed when forgetting mobile safari connected to a site streaming mjpeg images, but can't find a reference to that claim.

How to execute Blackberry OS 6 app in Blackberry 10 OS

I developed one application in Blackberry OS 6.I deployed that app in to Blackberry world successfully.But it is not working in Blackberry OS 10.I am getting following error:
Unsupported for this device
Please help me how to run application in OS 10.
Thanks in Advance.
OS10 is a completely different system. It no longer supports the BB6/7 Java environment. You will need to port your app to one of the new supported platforms:
http://developer.blackberry.com/develop/platform_choice/index.html
Cascades (c++ & qml)
Webworks
Android
Adobe Air
With WebWorks it is possible to run your application in both BlackBerry 6 and BlackBerry 10, you may need to make some changes to your code, but it is certainly possible and there are plenty of resources available.
You can start from here.
Specifically BlackBerry states:
Your BlackBerry WebWorks app can be targeted to run on a variety of
BlackBerry device models or ported to a different OS, such as iOS or
Android.
Developing your app with BlackBerry WebWorks gives you the flexibility
to target users of the latest BlackBerry devices and those who are
using older models. Depending on the OS you want to target, versions
of the BlackBerry WebWorks SDK available for:
BlackBerry 10
BlackBerry PlayBook
BlackBerry 7 and earlier
See here for a tutorial on creating an application which is able to work on old and new BB devices (Simple Hello World application).
A good article to look at can be found here, which explains some of the fundamentals and differences with webworks.

Will BlackBerry application for OS 7.1 work for BlackBerry OS 10?

Please tell me will BlackBerry application till OS 7.1 work for new BlackBerry OS version 10?
It wouldn't work if it's written in java. If you used webworks,html5 etc, it will work on os 10
At BlackBerry10Jam London yesterday, it was said on stage that in future RIM aim to offer support for apps that ran on previous versions of BB OS. By that I guess they mean they are looking to adapt the Android App support they have for BB 10 (which is in effect a java/dalvik runtime within which you can run some Android apps). No time frames though.

Will Phonegap current version work on BlackBerry OS version 5?

I am new to mobile development and I was wondering if the applications I develop using phonegap will work correctly on Blackberry OS 5 since they don't support it yet. I won't need any fancy features in my app and wanted to use phonegap to develop for Android, IPhone and Blackberry. But of course I am having problems with the different versions of Blackberry OS just like everyone else.
Thanx.
I had a chance to test this once. I have put my Phonegap application on 5.0 and observed how it behaves. Application has launched properly. But i Observed following issues.
HTML5 is supported but localStorage and sessionStorage is not supported.You need to find an alternative.
HTML Page transition is too slow. End used will certainly not accept the performance.
Few jQueryMobile API's don't work.
You cannot be sure that page will be viewed same as you see in 6.0+. Few elements get distorted.
You need to test each and every UI element and see if it is working proper.For example datepicker displays date on right side of the page instead of left
Few PhoneGap API's don't work or they crash.For example API to launch camera crashes.
After observing above issues i felt that even if phonegap is supported in 5.0 it doesn't make big sense.
Yes, but to run on OS version 4.x you have to target the PhoneGap BlackBerry application, while to run on OS version 5 or 6 you need to target BlackBerry Widgets / WebWorks -- the same application may work on both if you use compatible features, but you'll need two different builds, as though they were two different kinds of phone.
Now the support for earlier versions of BlackBerry has been withdrawn from Cordova 3.0 onwards, which in turn supports BlackBerry 10 only. Refer the following link for more details.
PhoneGap - BlackBerry Support
Thanks,
prodeveloper

Resources