Iphone Application Porting to Blackberry RIM - java

I have developed an application for iPhone. Is there any way to port that application on to Blackberry RIM so that i can avoid rewriting the application in Java for Blackberry RIM?
I am rewriting my application for black berry,suggest me the way to rewrite so that later stage I can port that directly to Android.
Thanks in advance.

The short answer is no.
The closest thing I am aware of is projects like PhoneGap (and others, including Appcelerator Titanium) which allow for cross platform development for smart phones including iPhone, Android, and Blackberry by creating hardware specific wrappers around WebApps. PhoneGap essentially allows for Web Apps to have more complete access to the hardware and operating system of these devices (like the camera, motion detection, push notification, etc.) by wrapping the Web App in a customized browser that provides javascript handles for accessing the hardware.
PhoneGap will even build binaries for each of the supported platforms on their servers (with limitations...for example, if you want to submit to the Apple App Store, you currently need to build the iPhone binary yourself due to developer certificate issues).
So if your app could be (re)conceived as a Web App with some extra help accessing device specific hardward features, then PhoneGap or similar development kits might provide some shortcuts to cross platform deployment.

not really. If your app is written in custom objective-c code, then you will need to manually port it to blackberry java. there are some cross-platform app frameworks out there though that may allow you to do what you need, but youd have to redevelop your app with those frameworks.

Related

Play DRM encrypted video stream with "pure" Java

I am investigating whether is it possible (I am sure it is, I mean simple way) to build a Java-based client desktop App to play DRM protected video stream.
DRM: DASH CENC DRM1, PlayReady, Widevine Classic\Modular, FairPlay.
VLCJ supports the input-from-memory feature to implement custom protocols or DRM but it looks like a painful digging into DRM specifications.
There is a Node.js open-source project DOWNstream for Electron which can help with Widevine DRM.
The article describes Java and Electron integration (source) but I guess it is accidental complexity in this case.
Previously I didn't face with video-streaming domain and I wouldn't like to reinvent the wheel so my questions are:
It seems that there are no "pure" Java implementations. Why? Because of format wars? security issues?
Do you happen to know any simple way (DalvikVM supports Widevine out of the box) to create App without involving "browser techs" like JS?
Thank you. I would appreciate hearing your thoughts.
I think looking at how the DRM's are provided on platforms may help you understand the options and let you think about how you want to approach your solution.
The DRM client functionality, i.e. the DRM functionality which resides on a phone or tablet or laptop etc as opposed to the DRM server side functionality, is generally built in by the device or OS vendor when it the device or OS is being produced/manufactured. For some DRM's on some devices it is also possible to add it via a SDK.
Most DRM's are used via 'native' players in mobile devices and tablets and via the browser on PC's, laptops etc so this is the usual default that you can generally rely on to be supported. Smart TV's and games consoles are more varied and can be either via browser or native depending not he device.
Recently, nearly all mobile and tablet browsers have added support for browser based DRM also, but many DRM's on laptops are restricted to the browser, or more specifically the CDM (Content Decryption Module) browser add on which is DRM specific.
There are DRM's which are supported outside the browser on PC's and laptops - for example Windows based devices will generally support PlayReady DRM in a way that can be accessed by applications. Microsoft provide more infomrtaiopn on this here:
https://learn.microsoft.com/en-us/playready/overview/developing-applications
There is a nice diagram which summarises different devices at the above link which I've copied below also as it helps explain:
I am not aware of a similar Widevine or FairPlay support on PC's or laptops although ones may exist or be in development.
So, going back to your problem, the reason that most cross platform applications use Javascript and browser technology for DRM on laptops and PC's is not really a language issue, rather it is because via the browser is the only way to access the DRM functionality on some laptops and PC's.
For Windows you have the option to use the Universal Windows Platform API but this still may not give you want you are looking for and is Windows and PlayReady specific.

JVM in iOS app to run Android apps?

If one were to implement a JVM into an iOS app, couldn't it run Android apps inside of iOS?
If so, how would he go about doing so?
He (or she) would need to
Implement a JVM that can run Dalvik Executable (DEX) files
Build an emulation layer that
Translates Android UI layouts into roughly equivalent iOS layouts (or interprets the layouts and renders them directly)
Maps calls to Android's system APIs and UI toolkit functions into their iOS equivalents
Interprets iOS events (touch interactions, notifications, lifecycle, etc) and maps them to reasonable Android equivalents
...
It's worth noting that the folks at Blackberry have built a mechanism for running some Android apps within the Blackberry OS. However, it has been a major effort and is limited to relatively simple apps that do not use native code, complex layouts, private APIs, etc. While technically feasible, this type of emulation is difficult to do well.

I would like to develop application for iPhone and Android. Which framework it is better to use?

I would like to develop applications for iPhone and Android devices. Which language it is better to use Java or Flash?
I have read that Adobe Flash CSS 5.5 support compatibility for ActionScript on both devices. Will be interesting to know plus and minus sides for both languages?
Remember that we have to develop application for both devices, and we have a small part of that application already written in Java.
Titanium by Appcelerator,
A superb tool to develop apps for all major Mobile Computing platforms.
You could get yourself a MonoTouch license and write your App in .NET, for deployment on both iOS, Android and Windows Mobile. It's not quite cheap though.

What applications or libraries are available for screen scraping applications on Windows?

We develop an application that clients use side-by-side with in-house custom software. One of our clients has requested that we investigate the use of screen scraping software to provide a sort of integration layer between the two applications.
Our software is written as a Java (QT Jambi) desktop application, which hosts a web browser control, that runs the application in Javascript.
The client software is a Windows desktop thick client. Unsure what it is written in (managed .NET or unmanaged win32? Maybe even Java).
We need to get data out of our application, and input it into their application. Their application can not be modified under any circumstances. They have suggested using screen scraping to read the information from our app, and input into text fields within their app.
Are there any screen scraping applications that can be used for this purpose? Are there any libraries that use some kind of OCR tech written in .NET? I think I want to avoid the type that hook into WM_Messages, but I'm unsure why.
Any pointers in the right direction would be appreciated.
What about making Windows API calls to interact with the GUI controls directly? If its written in .NET, this should be rather straightforward.

Desktop compatible Java Web Framework

I need a Java Framework for Web development with these caractheristics:
Rich graphical UI;
Development tools available for most known IDE (Eclipse or Netbeans);
Free (preferencially non GPL);
Large community;
Easy to generate Web/Desktop/Mobile with the same code.
After some research we've found ZK Framework but we couldn't understand if we can compile for desktop or mobile.
Thnks
ZK Mobile is a native client running on Java Mobile (or Android API). It does not require a modern browser, but, as I know, there is only a limited set of components (much less the number of Ajax components).
I would be seriously surprised if a framework exist where the same GUI code can be used for web/desktop and mobile apps. The service -and model layer of your application should be reusable without any problem but you can't expect JSP's for isntance to be displayed in a swing or android application.
I didn't know ZK yet, looks nice but I guess there mobile part is intended for mobile webbrowsers and not mobile applications.
You could also consider vaadin, GWT or apache wicket.
I would recommend you to consider GWT seriously. Although it is not the best choice for mobile clients, gwt applications could be executed in your mobile device , if your mobile device's browser can execute javascript. But again I should express that native mobile applications would be better choice than browser based mobile applications.

Categories