Expand my Community achievements bar.

SOLVED

AEM PhoneGap Kitchen SInk example

Avatar

Level 1

Hi, 

I am new to AEM and exploring the mobile apps part of it.  The AEM help section has a phone gap kitchen sink example at https://github.com/blefebvre/aem-phone gap-kitchen-sink

 I downloaded the zip file but when I try to extract it ,it throws an error 'The zip file is invalid". Is there an alternate location where the example is available?

 

Thanks,

Sakshi

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hello Sakshi,

 

Is this the link you used to download the ZIP from GitHub? https://github.com/blefebvre/aem-phonegap-kitchen-sink/archive/master.zip

I just tried this link on a Mac and was able to unzip successfully. If you are using Windows you may be running into path length issues. This sample includes all the required plugins [0] which results in some very deep path structures that Windows complains about.

Another option you could explore are the samples over at https://github.com/Adobe-Marketing-Cloud-Apps. In particular https://github.com/Adobe-Marketing-Cloud-Apps/aem-phonegap-starter-kit is a good place to start. This sample doesn't have as many features as the Kitchen Sink example but doesn't include the plugins in the source which should make downloading and unzipping the project on Windows possible. The README for this project will walk you through all the steps required to install the package into AEM. This sample however does require the use of a shell script to customize it which again may not work on Windows. You could skip this step and still install the package to AEM by just leaving the placeholder values.

Anthony

[0] https://github.com/blefebvre/aem-phonegap-kitchen-sink/tree/master/content-dev/src/main/content/jcr_...

View solution in original post

4 Replies

Avatar

Correct answer by
Level 3

Hello Sakshi,

 

Is this the link you used to download the ZIP from GitHub? https://github.com/blefebvre/aem-phonegap-kitchen-sink/archive/master.zip

I just tried this link on a Mac and was able to unzip successfully. If you are using Windows you may be running into path length issues. This sample includes all the required plugins [0] which results in some very deep path structures that Windows complains about.

Another option you could explore are the samples over at https://github.com/Adobe-Marketing-Cloud-Apps. In particular https://github.com/Adobe-Marketing-Cloud-Apps/aem-phonegap-starter-kit is a good place to start. This sample doesn't have as many features as the Kitchen Sink example but doesn't include the plugins in the source which should make downloading and unzipping the project on Windows possible. The README for this project will walk you through all the steps required to install the package into AEM. This sample however does require the use of a shell script to customize it which again may not work on Windows. You could skip this step and still install the package to AEM by just leaving the placeholder values.

Anthony

[0] https://github.com/blefebvre/aem-phonegap-kitchen-sink/tree/master/content-dev/src/main/content/jcr_...

Avatar

Employee

Sakshi Utekar wrote...

 

 I downloaded the zip file but when I try to extract it ,it throws an error 'The zip file is invalid". Is there an alternate location where the example is available?

 

On windows, I used http://www.7-zip.org/ and it extracted things just fine - however winrar didn't like it. 

Avatar

Level 1

Yes, I was able to get it working using 7-zip. Thanks.

Avatar

Level 10

Also - i strongly recommend that you watch the AEM Ask the Community Experts on this subject. The link is at the bottom:

Creating Enterprise Mobile Applications for Adobe Experience Manager 6