How would one go about porting an app built with Android SDK to Codenameone? The objective is to port to multiple OS.
I suggest checking out the Android trail in the Codename One website http://codenameone.com/android.html generally you would need to rewrite your UI and networking code. Adapt to a smaller subset of Java functionality etc.
You could keep most of the business logic intact though. I would suggest starting with a GUI builder application and some of the How Do I? tutorials just to get the UI right then the rest should be easy.
Related
As far as I am concerned and what I've already implemented there is a way to cooperate somehow with mobile apps such as sending some instructions between mobile and LabVIEW instruments but...
Is there any way to implement mobile application with LabVIEW ?
I suppose that officially not, but what about some external frameworks such as LabVIEW hacker toolkit ?
I've never seen anything that allows you to create native apps. The usual solutions other than data dashboard are using web technologies:
Write a html page that LabVIEW can host that can load on the mobile device and use http or websockets for communications. There are some toolkits to automate this for example LabSocket (though not sure how much mobile testing is done with it).
Remote viewing technologies. I saw one the other day called wezarp which works on mobile.
All of these depending on a Windows based application that you are talking too though. I'm afraid natively I don't think anything exists and would be very hard to implement as you would need to play with the LabVIEW compiler to cross-compile to objective-c, java or javascript.
There was a way: NI LabVIEW mobile module which worked for windows mobile. You would program an app in LabVIEW, compile it and load onto your Windows phone. I recollect it worked pretty stable. The solution is not recommended for new projects
For dashboard style panels, there is Data Dashboard for LabVIEW Android smartphone version allows you to view only. (tablet version allows you to exercise limited control options) Also available for iPhone.
Something available here for select devices only
I want to create an mobile phone app which can run on more than one mobile OS. with a little bit of browsing it became clear that I can use SDK's like Phonegap or Appcelerator so that my app would run on any mobile OS. my problem is that i dont know which SDK should I use ? All that i require from my app is that
1. It should run on the mobile 24x7.
2. It should have access to the GPS functionality of the Mobile phone.
3. It should send a data string to a specified server.
Should I work with Phonegap or Appcelerator or are their any other better SDK's for this tiny task ?
Thank you
It's better to go with Appcelerator titanium because it gives native look to your application..., as the application would be implemented in javascript.
please go through this link
http://docs.appcelerator.com/titanium/2.1/index.html
Phonegap works on 7 mobile platforms vs 2 mobile platforms for Appcelerator
I would say, from my own experience, in order to create a multi-platform application with a native look/feel and native performance it is best to go with Appcelerator Titanium.
It is very easy to have an application run on both iOS and Android with minimal change of code.
Either Titanium (JavaScript) or the combination of PhoneGap and Sencha Touch (HTML/CSS/JavaScript) will suit your purposes, however, as stated above, I advise using Titanium for the native feel.
i try for a few time now to make app for mobiles with appmobi XDK phoneGap XDK from appmobi, sencha and appcelerator but except iphone where the app works ok in android mobiles doesn't work well. Any other program except these or any tricks for make it work better in android and in others?
any help it will be very important
thanks
Actually i want to avoid that.I want to build for all mobiles together in the same time.That's why i used that programs. I don't known a lot of thinks and i am looking for a simple way to do that. I want a way which i can read about it on internet and i can find thinks because except jquery mobile i can't find for any other library. So did anyone known how i can find the best way that's my question.
thanks for your time and your answer.
Not sure why you're asking for a "program" and then referring to some technologies/tools (Appcelerator, PhoneGap, etc).
Anyways, I've been developing cross-platform mobile applications in the last few months using Appcelerator for almost everything. However, they technology you'll choose also depends on your needs.
There are three kinds of mobile development these days:
Native Mobile Development: Using Objective-C (language) + X-Code for iOS and Java (language) + Android SDK for Android, etc. You can always choose something like Appcelerator if you're targeting multiple platforms, as you mentioned earlier. Good for: Performance, Native capabilities (using the camera, for example). Recommended Tools: Titanium Appcelerator.
Mobile Web Development: If you have only web skills (HTML/CSS/JavaScript) you can always make your web application mobile-compatible, using tools like jQuery Mobile or Sencha Touch. Recommended Tools: jQuery Mobile, Sencha Touch.
Hybrid Mobile Development: Using web technologies for your application (you'll be loading a web page), but using a native application (a web wrapper) for making the application Native (and distributable) across the Play Market or AppStore. Recommended Tools: PhoneGap, Trigger.io, or you can even use Titanium Appcelerator and use a Web View Component
How you should take a decision?
Do you need native capabilities (use the camera, accelerometer, etc)? If you, you need to go either native or hybrid.
How many platforms do you plan to support? If it's only Android and iOS, then you can use either Appcelerator or make it native. If you're planning to support more platforms PhoneGap or a Web Application sounds more reliable.
Do you plan to deliver your application through the AppStore/Play Market? Then you need to make it native/hybrid.
Note/Recommendation: By reading your question I noticed that you're really confused on mobile and programming stuff. Before going so far, you should take some time in reading more about overall development.
Perhaps not exactly a program but what can be quite convinient(based on your application needs) is to make it a webapplication. Then you can use libraries such as Jquery mobile to adapt the website to the mobile platform as well as incorporate technologies only available on smartphones, such as swipe, orientationchange etc. Then you can make a simple Webviewer for androind and iphone which can be made seperately.
You can look at Kendo UI
kendo UI mobile have support for : iOS 3.0+, Android 2.0+ and BlackBerry touchscreen devices.
What i really liked about it is native-like UI experiences for end users automatically on same code base for different OS.
You can check demo , change OS using OS SIMULATOR MODE
I am not associated with Kendo.
I create a new netbeans codename one project and it runs on codename emulator but when i build the broject the application does not work on j2me device because there is no MIDlet.
there is an option called send j2me build but it is not available in my country i cant even signup for some
political reasons how to solve this problem ?
thank for any help.
It seems that Google App Engine which we use for infrastructure is blocked in some countries. This is entirely out of our control. We are looking into the possibility of replacing the Google App Engine server architecture but that would take some time.
Technically you can build Codename One applications like you build LWUIT applications but it requires quite a bit of know how.
We have to develop a chat client for mobile. The devices should be for the following:
Android
iPhone
Blackberry
Symbian
Windows mobile
Windows CE
Palm
Which technology we should use for the multiple OS computability. We like the most of code common.
This chat client also support the video and audio chat.
Android and BlackBerry: Java
Symbian and Win Mo: C++
iPhone and Palm: Objective C and C
It is possible from to write the apps so that some common functionality can be reused, but it needs careful design. But you are a bit out of luck on this.
I would recommend starting with Java and Objective C implementations as this will get you Android, BlackBerry and iPhone, which have a lot more traction in market than other platforms.
Look at cross platform frameworks like PhoneGap - that way you can keep the UI and as much code as you care to port to JavaScript common, then do the remaining in native code.
Currently React Native framework gains popularity as a solution for implementing JavaScript based apps for Android and iOS platforms. Here is a guide for React Native.
JavaScript SDK can be also used for preparing desktop app for Windows via Electron for example.
Since you need to cover a lot of platforms, you might need also a backend solution providing an API option to cover all your needs.
Try ConnectyCube. It has React Native support in its JS SDK and provides API to cover the rest of cases. So, it's flexible enough and you can use it for developing apps for all your platforms.