Does codenameone support liferay screens? - liferay

Liferay screens is available for iOS and android allowing development of native apps using Liferay portal as backend - sort of. Is this supported in codenameone?

No.
Unlike Lifray with Codename One you only build the UI once to do that you need to use our GUI builder or API both of which would be incompatible with Lifray.

Related

xamarin.forms integration of zendesk chat

I am new to Xamarin development. And, currently I want to integrate the zendesk chat.
As per my RnD and after contacting Zendesk support center they are not supporting the xamarin yet.
Currently they have sdk for native android and ios respectively.
I need you expertize people's guidelines for the development regarding what scenario i should follow to achieve the same using xamarin.forms :
Integrate the both platforms native sdk's for xamarin in each platform and later call it from Xamarin.Forms by adding platform dependency using Device.OnPlatforms . ( I am not sure about this scenario, please suggest)
Create a jar/aar of Zendesk SDK and use it using binding library concept.( I am not sure it will be accessible into ios platform)
Kindly, suggest me the best approach for this.
Any sample reference for suggestions will be grateful.
Thanks in advance.
I think it's a mix of number 1 and number 2 (and a little extra).
You will need to create the Binding libraries for both iOS and Android. Xamarin has a good documentation of how to do this: Android/Java and IOS/Objective-C
Then you can go either with Xamarin Native (Xamarin.iOS and Xamarin.Android projects) adding the binding to each project. Or you can go with Xamarin.Forms but this will require a little more work as you will need to create an interface of the methods you want to use from the SDKs (most likely all off them) and create the implementations for each platform.
Let's say your interface is called: ISendeskSdkService you will need at least two implementations: ISendeskSdkServiceiOS and ISendeskSdkServiceDroid. These implementations will be on the Platform project and they will be calling the binding libraries you just created and added to each of these projects.
You will be developing your app on top of your interface and which implementation to use will be set on the application load when you are configuring your IoC.
Hope this gives you an idea.

UI on windows CE 5.0

I am a windows phone developer. I recently started working on windows CE. I noticed all I have for the UI is a toolbox with a few controls and drag and drop. As a mobile developer I am used to a design language XAML and a backend logic language c#. My question how do i design an application on windows CE. does it has any language (like XAML for windows Phone). and why can't I find a code editor for the UI in visual studio 2008 developing for windows CE
I see many people use Qt. You can easily create UIs like the one on smartphones or even complex 3D ones. Also Qt is cross platform, so if you decide to change the OS you should be able to take your UI with you.
XAML is possible, but is also works with C++ and not with C#.
You will use Blend for creating the UI.
Here some info to get you started:
http://developer.toradex.com/knowledge-base/how-to-create-a-silverlight-application
Some other UI frameworks for WinCE:
http://developer.toradex.com/knowledge-base/gui

how to use onsen-ui 2.0 to use flat design on iOS and material on Android ?

Onsen-ui 2.0 provides material and flat components. If we want to follow vendor design guidelines we should use material for android and flat for ios. How should I do without using full switch android or ios on my templates ?
With Onsen 2.0, they are enabling this exact feature. Onsen 2.0 will automatically detect the platform and switch between iOS and Material for you. Check out this blog post from yesterday that explains it all in detail: https://onsen.io/blog/what-is-material-design/
This is the relevant quote though from that link:
We have also gone one step further by adding automatic styles. What
this means is that an Onsen UI app will use the Material Design
components when running on the Android platform while it automatically
switches to the flat design when running on iOS.
I will be waiting for Beta 7 , Have you decided the date of release. Switch based on platform is going to be a fantastic feature.

Need help Android and iOS-App developed on Xamarin

Need some help on xamarin Platform. I understand it can be used to develop Android-base and iOS-base App on Xamarin. I have the following questions:
For Android and iOS-based app develop on Xamarin, can the app run on Android-tablet ad iOS-tablet respectively? what I need to do for both tablets respectively?
If there are new controls for android and iOS, how Xamarin will update this for development?
1) Yes they can run on Android Tablet and iPad. Your code logic would remain the same but you would need to provide for the UI since the resolutions are different.
For iOS, Xamarin makes it simple by providing for a Universal template which allows you to provide different layouts for iPhone & iPad.
For Android, there is no template as such but the process remains the same just as you would for phones with different resolutions.
2) Assuming you are talking about the default controls, they will made available in the Xamarin framework via their regular update channels. First they are in Alpha, then in Beta and once the bugs have been ironed out, they are made available to Stable channel which can then be used in the production apps safely.
I would recommend you go through their docs which are quite good and explains this whole thing in quite detail. Xamarin Docs

LWUIT in a enterprise J2ME application?

We are developing a J2ME application and sometimes we face constraints while working with the default lcdui library. Whenever we want some extra in the UI, the only option is to work with canvas which is not so easy. Now we are thinking to use LWUIT as UI library instead of ludui but having some question before starting -
Is LWUIT mature enough to be used in a enterprise J2ME application?
Can we mix LWUIT and LCDUI in same application ?
In my point of view. lwuit is mature enough to be used in enterprise applications. It's still in permanent development and it's progressing fast.
Yes you can mix both of them. If you use an lwuit form you can only add lwuit components and vice versa. It should be possible to implement and draw you own container objects (canvas style).
LWUIT is mature enough to be used as enterprise application and though J2ME has some limited classes when we talk about JDK but still its mature enough to build many applications

Resources