Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Problems running Sample Native Android App with AEM 6.0

Avatar

Avatar
Validate 10
Level 2
doeringa
Level 2

Likes

3 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
doeringa
Level 2

Likes

3 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
doeringa
Level 2

15-10-2015

Hi, 

I am currently investigating on how to integrate content from AEM to mobile apps.  I've found this sample project on Github:

https://github.com/Adobe-Marketing-Cloud/app-sample-android-phonegap

I am having extreme problem getting this project to run. Apart from a lot of Android issues, I can't get quite a lot of dependencies to be resolved.

A lot of the dependency versions are not available in the Adobe Repository (e.g com.adobe.granite.ui.commons version 5.5.130) and I switched to other versions. And the "cq-mobile-phonegap-wcm-core" jar I can't find at all in the Adobe repo. Where can I get this from?

Additional questions:

Are there any samples on integrating content from AEM into native apps (not phonegap) out there?

A lot of the AEM/Mobile app resources state that you can 'reuse existing content'. How exactly can this be achieved? I would want to reuse content from a desktop website for a mobile app but thought that the app would need app-specfic components. Where is my gap of understanding this? 🙂

Thanks for any help, 

Alex

View Entire Topic

Avatar

Avatar
Boost 3
Level 2
Anthony_R
Level 2

Likes

4 likes

Total Posts

26 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile

Avatar
Boost 3
Level 2
Anthony_R
Level 2

Likes

4 likes

Total Posts

26 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile
Anthony_R
Level 2

15-10-2015

Hi Alex,

Thanks for bringing up the issues you are encountering with the sample native Android app.  I am going to look into the build issues you encountered and will update the Git project.

Did you follow the README for setting up your local Maven environment for Android?

This sample in particular demonstrates how web content from AEM can be embedded into a native app via a Cordova web view.  If you don't want to access device APIs you could also embed AEM web content directly into a native web view instead.  Another option would be to have AEM only render data that your native app can consume.  I don't know of any publicly available samples yet that cover these latter examples.  

Are you interested in still using the AEM authoring environment to create content?  In some cases it should be possible to reuse components from your desktop site but more often this is not possible since your mobile app doesn't look identical to your desktop site. Another option would be to just share image and text assets between your web and mobile content. If you split up your clientlibs appropriately you may also be also to share some common designs.

Anthony