Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM Apps - Android APK

Avatar

Level 1

I am trying to generate and deploy an apk file for the Geometrixx Outdoors demo app in AEM 6.1, for which I followed the documentation step by step.

After installing the apk on my android phone, it is stuck on the Splash screen and I am not able to navigate further.

Has anyone tried installing the apk file on an android phone? Please share the steps for generating and deploying so that I can validate my process.

Thanks,
Ashwin

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You can create a account for yourself on the phonegap cloud here -  https://build.phonegap.com/apps. You are allowed to build 1 free app for development purposes. You can follow these steps to register it with your AEM instance-

1. Register this service in AEM, by going to cloud configurations http://localhost:4502/etc/cloudservices/phonegap-build.html

2. Go to Apps dashboard - http://localhost:4502/libs/mobileapps/admin/content/dashboard.html/content/phonegap/geometrixx-outdo... 

3. Register the newly created phonegap service with the build UI (See the attached screenshot). 

4. Then click on build remote. 

5. After the build is complete you will be  be able to download the built file directly from AEM or phonegap cloud (https://build.phonegap.com/apps)

View solution in original post

4 Replies

Avatar

Employee Advisor

Have you built the application using the phone gap cloud service in AEM ? You can either deploy the generated apk file manually using Android developer tools. Or else you can test it on your mobile device by using the Phonegap Enterprise application available on Android Playstore. When you will launch the Phonegap Enterprise on your mobile it will ask you the hostname and port of AEM and after you are connected it will show you the list of apps available for testing. 

Avatar

Employee Advisor

I just  installed the generated apk file on my device by just double tapping on the downloaded file. I don't see any issues and can browse all the content in the application. 

Avatar

Level 1

Hi Kunal,

Thanks a lot for turning up. I have actually created the app using phonegap CLI since I do not have access to cloud environment from here.

Avatar

Correct answer by
Employee Advisor

You can create a account for yourself on the phonegap cloud here -  https://build.phonegap.com/apps. You are allowed to build 1 free app for development purposes. You can follow these steps to register it with your AEM instance-

1. Register this service in AEM, by going to cloud configurations http://localhost:4502/etc/cloudservices/phonegap-build.html

2. Go to Apps dashboard - http://localhost:4502/libs/mobileapps/admin/content/dashboard.html/content/phonegap/geometrixx-outdo... 

3. Register the newly created phonegap service with the build UI (See the attached screenshot). 

4. Then click on build remote. 

5. After the build is complete you will be  be able to download the built file directly from AEM or phonegap cloud (https://build.phonegap.com/apps)