Xstream in Blackberry - blackberry

Can anyone tell me how to use Xstream in Blackberry . In java there are tutorial available but not for blackberry. anyone has used in project. i want an example if possible plz provide the code .
thanks in advance

Xstream (if this is what you are talking about) is a separate package from the BlackBerry Java API (which is based on Java ME not Java SE). It isn't available from the OS so you will either have to port it yourself, or find someone who has already done so.

Related

how to test and export iOS app made with LibGDX

much of the title already establishes what I need help with. The problem is that RoboVM is shutting down and no longer providing any service :( so I cant use it, nor can I find anything similar. Please help, thank you.
I'm using a mac, AndroidStudio, and I already have Xcode installed.
As stated on the oficial libgdx site there's a lot of alternatives like:
Mobile OpenJDK 9
J2ObjC
Avian
Xamarin + IKVM
Intel Multi-OS Engine
Tomski is writing the multi-os engine backend for a oficial release, if you need any help with it you could probably ask him personally on the #libgdx freenode irc channel.

porting wireshark to qnx based system

I am a newbie to industry and as a part of my internship I have been assigned the above project.I have no experience in how to go about porting a particular application to a different OS.
So far,i have tried to understand the basic structure of a component(thats what an application is called IOS-XR) but as far as I can understand,porting wireshark will also require porting the libpcap lib to XR.
Can someone please shed some light as to how should i go about approaching it?
I know nothing about QNX;
However, I will note that Wireshark has a lot of dependencies on various libraries:
Some examples;
libgLib
libgtk
libffi-5
libfontconfig-1
libfreetype-6
libintl-8
libjasper-1
libjpeg-8
liblzma-5
libpixman-1-0
libpng15-15
libtiff-5
libxml2-2
...
Are these libraries available on QNX ?
With respect to libpcap:
libpcap is needed for capturing files. If not available, it certainly would need to be ported. I could imagine that this might be a large effort given that presumably the code is presumably quite dependent upon the exact OS capabilities to get access to the network level data.
For information about developing Wireshark (on Windows and *nix) see the
Wireshark Developer's Guide.

Blackberry dev - Question about jre 1.5

I THINK I know the answer to this, but can't find any plain English to confirm it.
I am currently porting an Android app to blackberry. I've gotten over most problems, but ArrayLists are the one I'm stuck on, since they were only introduced in 1.5 .
Can anyone tell me if it is possible to develop for newer blackberry devices, while having java compliance set to 1.5?
I'm thinking that J2ME is the deciding factor with blackberry. So if that only supports 1.3, then EVERY app made for blackberry must be written in eclipse with a compliance level of 1.3 set, and any newer blackberrys would be the same, and therefore ArrayLists are impossible.
Can someone confirm this for me?
Thanks.
PS Would it be possible to create my own ArrayList class, with the angle brackets < > as well?
You have to use Java 1.4 compliance for BlackBerry because they use J2ME.
Use Vector for your dynamic list. You can't use Generics<>.

BlackBerry JRE independent java coding

How can i develop BlackBerry JRE independent java code for an application. Here we have so many types of JREs for blackberry so i would like to run my code in all versions without having code modifications. For example, in iphone we use preprocessor statements to avoid versioning problem like that do we have any alternatives?
Thanks
venu
There is a preprocessor for BB as well. See the docs for how to use it.

BlackBerry java UI development

Is there a tool for BlackBerry java application UI development. I do not find drag and drop options in xml file in eclipse like in Android SDK. Is there something like Droid Draw here too? I am new to BB Java dev, any pointers are appreciated.
Unfortunately no... There is no designer tool for blackberry ui, it must all be done in code. I heard that RIM plans on coming out with something of the kind but there is no such tool available at the moment.
There are tutorials on how to create many of the common UI, if you are searching for something specific I'm sure you can find some sample code to get you started.

Resources