Writing an Android App for Liferay Portal

Users expect to access Liferay Portal content from their mobile devices. As an intrepid developer, you naturally want to turn these expectations into reality. Thankfully, Liferay provides a way for your mobile apps to access Liferay Portal content and applications with Liferay Screens! Screens contains native components called Screenlets that can call Liferay Portal’s remote services and display the results in your app. Each Screenlet comes complete with its own fully pluggable UI that you can customize to your liking. Although the Screenlets included with Screens only work with Liferay Portal’s built-in remote services, you can write your own Screenlets that work with your custom portlets’ remote services.

If you’re an experienced Android developer but need a start-to-finish guide on how to integrate Android apps with Liferay Portal, you’re in the right place. This Learning Path walks you through the creation of an Android app that interacts with the Guestbook portlet developed in the Developing a Web Application Learning Path. Since this is a custom portlet, you’ll write your own Screenlets that let your app retrieve and display guestbooks and their entries.

You should note that although this Learning Path provides complete code snippets of the app, not every aspect of Android development is explained in detail. Focus is instead placed on the code that leverages Liferay Screens. Therefore, you must have significant Android development experience before attempting this Learning Path. Otherwise, you’ll likely be confused. Google provides extensive documentation of the Android APIs as well as some basic tutorials on developer.android.com.

Experience in Android development is all you need to start working. You needn’t have completed the Liferay MVC Learning Path to obtain a working Guestbook portlet. The complete Guestbook portlet’s modules are provided for installation into your local Liferay Portal instance.

Now that you know what you’ll be doing here, it’s time to move on to the first series of articles: Beginning Android Development for Liferay Portal. These articles walk you through the steps required to get started developing an Android app that interacts with Liferay Portal.

Beginning Android Development for Your Liferay Portal Instance

Getting started with Liferay Screens for Android is a straightforward process. This series of Learning Path articles walks you through creating an Android app and preparing it to work with the...

Read More

Creating Guestbook List Screenlet

In the previous section, you created an Android app that contains the Guestbook Mobile SDK and Liferay Screens. You also used Login Screenlet to implement authentication to Liferay Portal. That’s...

Read More

Creating Entry List Screenlet

In the previous section, you created Guestbook List Screenlet to retrieve and display guestbooks from the Guestbook portlet. You still need a way to retrieve and display each guestbook’s entries,...

Read More

Using the Guestbook List and Entry List Screenlets

Now that you have the Guestbook List and Entry List Screenlets, you’re ready to put them to work. As you’ll see, using these Screenlets isn’t much more difficult than using Login Screenlet. This is...

Read More
0 (0 Votes)
Enabling Staging and Export/Import Previous