I have developed a Lwuit application and I ported that same app to blackberry bold,curve,storm
but when I gonna port that very same application to blackberry torch it doesnt work and gives
illegal state exception. So I want to know how to port my app to blackberry torch.
Thanks in advance
Use latest LWUIT repository or download LWUIT 1.5. They created separate LWUIT jar file for blackberry domain. you can use that jar file for your blackberry application. More info look here, LWUIT with Blackberry.
Try using the Resource Editor for LWUIT 1.5 to redevelop your app - it will surely make it easier this time around. I suggest this because after development, you can generate a netbeans project, that usually contains sub-projects in 4 platforms - Desktop, MIDP, Blackberry and Blackberry touch. I am sure your problematic platform will be covered as well.
Related
I'm planning to write a software (with GUI and sounds) that should run under Android and Windows 7/8
I guess the best approach for this is to use Java?
I am new to Android and Java development so my questions are:
-So can I use one development platform to create both (APK & JAR), namely Java?
-As far as I understand for Android I need to compile (from same source?) a .APK file and for Windows a .JAR file ?
(The .JAR will run in the Java Runtime that is installed in Windows)
-If I use Java what would be the best IDE, something like Google's Android Studio (will it allow to create .JAR?) or Oracle's JDK (Java SE Development Kit) ?
thank you
I don't think it is possible to write an app that will run on both OS's, since all GUI components are part of different frameworks (Android SDK for Android, SWT/Swing/... on Windows), and not compatible with all OS's.
You best bet is probably a web-based app. You can run it in the browser on dektop and either on a mobile browser on Android, or package it as a fullscreen WebView running your web app. The best part is it would also work on iOS.
You could also write your app for desktop in Swing and then convert it to an Android app, you can find questions on StackOverflow on the subject, such as this one.
Hope this helps ;)
I have learnt android application programming. My command is with java.
Some sites provides their sdk for multi platform development, but i am not getting them
Xamarin can develop androids app using c#. Is reverse possible?
Can i develop windows app using java? If yes how?
Yes, you can. Codename One is an SDK that will allow you to create Android, iOS, RIM, and Windows mobile apps all by using native Java.
Source
yes you can develop windows app using java , actually the main point of java is that you can run it on multiple platform (write-once-run-everywhere) ,i can't get what you mean with how, you build jar file from your app so you can run it everywhere that has jdk or jre
and about android , yes you can write it using c# ,i hope this link will be helpfull.
I have Android Developer Tool Build: v22.3.0-887826 This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP and I want to program HTML5 to create Android application on this version of eclipse , is that possible? , I mean to run HTML5 on ECLIPSE?
You can't (and don't) run HTML5 on Eclipse.
It is possible to create android application with HTML5 though. There are several ways of doing it. You can find literally TONS of information by searching google for html5 android app development - you'll find everything you need. Spend some time researching this - and you'll get to the answer.
One of the most common frameworks is Sencha Touch - again, spend some time researching - you'll get to the answer.
So I developed an application for Android of which uses an SWF file. Now, I did this within Eclipse instead of using Flash CS6's native AIR libraries and such. Many devices of which downloaded the app are seeing it break because they can't support flash.
How would I go about including something like the AIR Runtime bundled with the application so all users could use the application?
Many thanks in advance.
Download the AIR SDK from Adobe. Create an application descriptor that references your SWF file and contains the proper settings for an Android mobile app (all documented on Adobe's developer site). Then use the AIR ADT tool to package it into an AIR app. That's all you should need to do assuming your SWF file is otherwise normal.
Well i `ve made an app using java me and as graphics i used lwuit library which i added into the midlet`s jar. On Nokia it runs smooth and i wanted to port it to android. So i found out about microemulator http://microemu.blogspot.ro/2008/11/running-java-me-applications-on-android.html and i followed those steps and i got the apk. However when i run it into the Android Emulator it closes at start. I don`t know what may be the problem because i was able to convert the demo jar app into apk and it ran succesfuly.
Any ideas on what should i do?
I suggest you port your application to Codename One which should be pretty simple. It has proper Android support which will make your application look and act native on Android.