how to build j2me applications using codename one? - codenameone

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.

Related

How to do react project from the cloud with cross platform workstations?

I am rather new to several of the technologies involved here but here is the scenario:
I have a Windows PC at home, a PC laptop and an iPad Pro. I have a React project that I am working on and would like to be able to do so from anywhere. I dont have any kind of VPN solution available, and a usb stick is mostly out for the iPad, so I was wanting to use Google Drive (or as a last resort iCloud) to store the project. Also I do not wish to use github for a number of reasons.
Can anyone outline the best way to work on a React project (With NodeJS) in a cloud based storage and further how to run / deploy it from the iPad station? Thank you!
I Think you have to use a git repository (github, gitlab or bitbucket works great), and all your machines should have the tools pre-installed (node, code editor).
If you want to code without any tool, I recommend https://codesandbox.io, it works great with small/medium projects. One of it's downside is that your projects will be public on the internet.

Creating a website that doubles as an app using Codename One

I've been creating apps using AppSheet where an app is usable from both a desktop computer as well as Android and iOS mobile devices. We recently became disillusioned with the AppSheet platform due to bugs that they refused to fix, and so decided to move on to Codename One. My only question is, will an app I create on Codename One be usable from both a desktop and an Android/iOS device?
Thanks.
Tiffany
Yes if you have a pro account. Codename Ones desktop support requires a pro level subscription.
iOS/Android work fine in the free subscription too.
Notice that the web support for Codename one (running in the browser) requires the enterprise level subscription.

Codename one: Dont allow to create dual app on same device

I have created app using codename one which can be installed on same device two times with dual app features which provided by android.
I dont want to allow my app to install multiple time on same device so I want that my app should not support that dual app feature so what should i do for that?can you help me to solve this problem?
thanks in advance.
It doesn't seem to be an Android feature but rather a vendor customization. As far as I can tell the whole idea is to hide the fact that this is the same phone from the app developer so there is probably no easy way to detect this.
If you find native Android code that detects it I can explain how you would do this in Codename One.

Porting an app developed with Android SDK to codenameone

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.

How to make a cloud and all platforms offline apps together?

I know is hard to develop web application and make a individual app versions in each device.
But i just want to know how that works with big companies.I want to know how they write there code
The best example is Evernote and Google Drive.
They make a cloud application and individual apps for each device.
So the questions are..
How do sync the data with the cloud apps ?
Do they use version control ?
Can i get software requirement specification anywhere ?
Platforms and Languages:
iPhone and Mac - Objective C
Android and Other Mobile Apps - Java
Windows 8 - C#
Web Apps - PHP or Python
How do you solve this solution languages differ?
I guess i it's not possible with version control..
How to minimize coding ?
I recommend you use a version control tool.
make a individual app versions in each device.
I assume you mean developing different versions with few differences. The branch feature in a version tool can help you manage these versions easily.
How do sync the data with the cloud apps ?
You can use the web deployment feature to upload the applications/modifications to your web server.
I list some version control tools here for your reference:
Git
SVN
SourceAnywhere (I work for the company)
Team Foundation Server

Resources