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.
Related
I have such problem. I had order on React Native App for Android. After provide prototype client told me that he want it on device (huge tablet) with chrome os. Google answered me that impossible is run on this device Android native apps.
My question is: Does it possible to make in ReactJS/React native webapp for Chrome OS what use device camera and use it for barcode scan? The best by ready barcode scanner component.
I found react-native-for-web but I'm not sure how I should use it. Will appreciate for any hints. Unfortunately information what I found so far are not clear for me.
Also helpful would be information, how I can run any emulator on macOS because this device is far away from me.
Thanks in advance for any information.
As described in the blog post THE 7 SCREENSHOTS OF IOS with an IOS build a Codename One app is run on the build server to create screen shots for the possible resolutions of devices.
I would like to detect whether the app runs on the build server. Is that possible and what way of detecting that would You recommend?
I would suggest enclosing screenshots in the native iOS directory as explained in this developer guide section. It would probably be the simplest solution.
How to launch the app(android) when the device startup?
I want my app has to run in background even the app is not open.To overcome the issue,i want to launch it on device startup,but i cannot find any solution.Please help me to resolve the issue in codenameone.
While launching on startup is doable in Android it is not doable in any other OS. Background execution is also severely limited outside of Android and is now facing restrictions in Android too thanks to project doze.
In that light you can use native interfaces to do this on Android. We support background use cases that work on iOS/Android as explained in the developer guide.
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 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.