codenameone theme.res error - lwuit

I've a problem to deploy Codenameone application in some some devices like Samsung.
I tried to create application in manual mode without have an "theme.res" file. I added a form manually and ran it in Samsung device that hasn't OS (just support MIDP 2.0) and it ran successfully.
I tried to add some forms to "theme.res" file and work with it (you know, it's so simple to work with it). So after that I ran it in Samsung device and I got error.
What's the different between them?
Why can't it run with "theme.res" file? What's the problem?

Try to do Display.init(this) before getting resource.

Try loading with the correct path from the src file of your project "/resource.es"

Some devices can't run the application in which designed by codenameone or lwuit. You should hard coding all of your design either with codenameone or lwuit theme.
Or you can choose manual template on codenameone wizard to develop your application.

Related

How do I access the same flutter projects from different computers (not at the same time) (Android studio, flutter)

How can I access my flutter projects from different computers?
I use Android studio to build my flutter projects and currently I am working on an app, and I would like to access this project while at home and at my workplace. Is there a way to save the project in cloud or elsewhere to be able to access it from any device. I have tried to copy and paste the project, it does seem to work, but there is so much issues that I have to take care of before I can start working on the app again.
Thank you for any help.
There are many version control systems available for this purpose.
Here are a few you can use:
-GitHub
-GitLab
-BitBucket

Can I run IOS app built by ionic2 for a simulation on Windows?

Are there any ways to simulate ionic hybrid apps on Windows 7 without using MacOS or virtual machine such as VMware/virtual box?.
Specifically, I read ionic documents and references and tried to apply sim-ios & sim-deploy on Windows 7. However, on Windows, sim-deploy seems not supported.
and the information I am looking for related to this is pretty much out-dated.
NO..., To simulate a app you need Xcode installed which you cannot on windows, You can get away with browser testing using Chrome built in browsers but that's about it.
I had the same issue when I wanted to Deploy a IOS app on windows

Telerik Nativescript for Blackberry

We know that Blackberry 10 can run Android app. Does somebody tried Telerik Nativescript for Android and make it run for Blackberry 10?
If so, is it possible to explain the steps to be able to do it? Does Webworks gives any help?
Telerik NativeScript for Android does indeed work on BlackBerry OS 10 I've tried on (10.3.2.2474). I'll list some tips to get you started, but please keep in mind that NativeScript doesn't officially support BlackBerry OS.
Deployment with the {N} CLI tool (tns) might be problematic - it produces an apk for the app, but it can't deploy it on the device itself, so you need to transfer it somehow and install it on the device.
Alternatively you can use Telerik AppBuilder to build the app (either version will work - VS plugin, CLI tool, Windows or Web clients) and deploy it on the device via QR code scan and install. However, apk installation is a bit slow process on a BB10, so you may choose to use the NativeScript companion app for development. Deployment to the companion app is done via QR codes - it has an integrated QR code reader - and since no installation is necessary, development cycle is faster. There is a small issue with the app - it may seem to crash on the first run, but you can still find the Sync and Scan buttons in the BlackBerry Hub, which you can use to scan the code and start your app.
Releasing the app in the BlackBerry store is out of my scope, but you can check these documents:
https://developer.blackberry.com/android/documentation/rpkg_with_bb_plugin_for_android_stdio.html
https://developer.blackberry.com/android/documentation/publsh_your_app_to_appworld.html
Make sure you've built the app for release as mentioned.
Let me know if this helps.

Build my cross platform applications using intel XDK without cloud support?

I recently start using Intel XDK. I found that for each platform creation my code will go to Intel cloud center to perform the build. Its a feature mentioned at Product Brief IntelĀ® XDK.
Can I build that locally? I mean can I build locally in my system itself using Intel XDK? If so, then how?
are you afraid of intel knowing your code? in cordova\html5 app your code is available to anyone just get the apk from the store open with winrar and your code is there
if you want offline build there is no problem just read the cordova\phonegap docs step by step.
As you, I needed to build locally my application, principally to debug once Intel XDK, at least in the version 1621, does not provide support to load third-party-plugins(eg: PhoneGap Push Plugin) on Intel App Preview debug mode. Another problem was generate an iPhone build for beta tests.
My solution was, as the others suggested, to create an similar cordova project and copy the main files from my Intel XDK Project, www folder to be more specific. Config files will be found in platforms folder once you build using cordova/phonegap.
It allowed me to build for android on my machine. Debug was easy using "Chrome Inspect" because cordova generates an debug-unaligned.apk.
Allowed me to have access to the iOS build files, this is a good thing to do if you want to build using Xcode instead.
I Hope it help you.

How can i deploy my worklight project to my blackberry device..?

I have packaged my application successfully using ripple with chrome.
What process i have to follow to deploy my app to my blackberry device for testing purpose?
There are several ways.
You can try using the BlackBerry Desktop Manager software which should allow you application syncing.
You can use the JavaLoader commandline tool, provided by BlackBerry.
Personally, I use JavaLoader.
It is a simple one-liner in CMD: javaloader load path-to-cod-file
The one-liner above assumes you have added JavaLoader (an .exe in the bin folder of the BlackBerry WebWorks SDK for BlackBerry OS 6/7) to your PATH, so that it will be available for useage like in the example)
Please keep an mind that after you generate the .cod file using Ripple, what you basically have is an actual BlackBerry (WebWorks) project, the way to deploy it would be the same as any other BlackBerry application, whether it was created by Worklight or any other software.