Liferay Enterprise Portal has some tools that can be leveraged to create powerful mobile applications, while bypassing all of the boiler plate implementation. Today we will be demoing some of the capabilities of the Liferay Mobile SDK and also Liferay Screens in an Android application.
The Liferay Mobile SDK allows us to easily access our Liferay Portal using remote services:
- Spend time on the functionality that matters and not on the connection to and from the portal
- Use *ServiceUtil classes that you are already used to using in the portal
- Create custom remote services using service builder and access those *ServiceUtil classes in the Mobile SDK!
Liferay Screens is a collection of native components for Android and iOS. Plug these components in like other UI elements and the “screenlet” handles the user interface and the back-end connection to Liferay. For example, including the login screenlet allows the user to sign in and all of the user’s session is handled automatically.
- Plug and play in the same fashion as other native components
- Screenlets come with both UI and back-end functionality
- Multiple style choices to pick from, like material design (for Android)
- Customize, extend and create your own screenlets
A couple of important notes:
- Liferay generally does not allow unauthenticated access using remote services. This will be an issue if you want to have a mobile application with guest access. To get around this issue you will need to create your own custom services using service builder and include the annotation @AccessControlled(guestAccessEnabled = true)
- Liferay Screens is fairly new and because of that there are a limited number of screenlets available. Some of them appear to be more for demoing purpose rather than real world use.
I hope you enjoyed the video and stay tuned for part 2 where we will be demoing Liferay Push Notifications!