Trick: Using Charles as a Mobile Proxy

While creating some AEM Forms (LiveCycle) demos for some clients, it became very apparent that they wanted to see forms in action on mobiles and tablets. One of the easiest ways I have found to do this is by using Charles.

By ensuring your demo computer and mobile/tablet are on the same network, and manually configuring the proxy settings on your device, you can route all traffic via Charles and force your device to pass through your computer when browsing. So if you have an HTML form on your computer at the URL http://localhost:8080/lc/content/xfaforms/profiles/default.html?contentRoot=repository%3A%2F%2F%2FApplications%2FFormDemo%2F1.0%2Fforms&template=SampleForm.xdp&dataRef=http://localhost:8080/lc/content/dam/lcapplications/temp_archive_storage/tempArchive_4895793046486&dataRef=4895793046486 (as is generated in the Forms Manager preview), you can open this form on your device by substituting localhost with the IP address of your computer – you now can test and demo forms on a mobile device!

I’ve not tested other AEM functionality in this way yet, but I don’t see why it would not work the same way.

For official instructions on using Charles in this way (for an iPhone), check out Using Charles From an iPhone.

This entry was posted in AEM, LiveCycle and tagged , , , . Bookmark the permalink.

Add a comment...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s