Can I use Symbian code to Blackberry - blackberry

Is it possible to convert Symbian code into Blackberry?
if possible tell me the procedure

you cannot use c++ code in j2me. but, you can write a symbian application that listen a port. then you can connect to that port in j2me. so you can pass some task from j2me to symbian. I didnt try it, but I think this is possible.

Related

Send Commands to Delphi Application with Lua Script

I would like to be able to access TButton TCheckBox TEdit etc.. of a running Delphi application from a Lua script.
It is a retail Delphi application so I have no access to the source code. I would normally use AutoHotKey but would like more control.
Is this possible as I seem to be able to change things with the Enabler below. Could it be done by integrating Lua into a Delphi app and use it to send to the retail Delphi app ?
Or is there another way ?
An open source solution would be best so to make it available to others.
I use Reaper DAW and it has API for Lua scripting I would like to be able to do similar with the Delphi app without the API available.
In order to run any script in a specific application then that specific application needs to have suitable scripting capabilities built into it in order to be able to interpret that script accordingly.
Now I'm guessing that "retail" application you are using doesn't have LUA scripting built into it otherwise you probably wouldn't be here.
So I'm afraid that the answer is no. You can't interact with a third part application from LUA script unless that application is designed to work with LUA scripts.

how to use datagram socket class in Blackberry

I want to know how can i use the datagram socket class which is provided by java.net package in blackberry. I tried to use it but it the compiler is not able to find the java.net package.
You've confused Java-SE with Java-ME. BlackBerry devices do not run the full desktop Java. The language is close to Java 1.3, which was released around the year 2000. The APIs available are intentionally cut down, to save on device storage. Specifically, it looks like you want to use java.net.DatagramSocket, but as you've noticed, that isn't available for Java-ME BlackBerry devices. Instead, you should use the Connector class to create a DatagramConnection

Xstream in 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.

Best way to port an iOS game to WP7

Does exist any tool or procedure to easily port a iOS game (made with cocos2d for example) to Windows Phone 7 (XNA)?
Thanks!
You can use Cocos2D-XNA which is a good port of the cocos2d-x project to XNA and C#. You can find the source for Cocos2D-XNA at https://github.com/Cocos2DXNA/cocos2d-xna
Not any I know, but if you know C++ it is easy to learn C#.
I found this link; http://i2w.codeplex.com/
I dont know if it is any help at all but still.

is it possible to use swing/awt with blackberry/j2me?

just want to know that if i can use swing/awt component with blackberry or j2me.
if yes how can i plugin it into eclipse.
finally it is not possible to use swing component with blackberry/j2me.Mobiles doesnt support swing/awt.
If you are familiar with Swing, you might like to take a look at LWUIT: http://lwuit.blogspot.com/2008/08/lwuit-for-swing-developers.html, which has Blackberry support (to some extent).
That said, ideally I'd go for native Blackberry UI.
The blackberry UI APIs resemble swing/awt (including things like layout managers). So swing code isn't directly usable but if you know swing you'll be at home.

Resources