Support for WordPress Gallery Module For Android

Popular questions for this item

There are so many errors with new AdMob.

That should be a problem with path to google play service project. In the documentation is explained how to set that correctly. You must add “google-play-services_lib” again: right click on “NameOfYourProject”>Properties>Android->(Library)Add->”google-play-services_lib”.

Where to find ?

On this path: src/

Why share doesn’t work on Facebook aplication?

The problem is Facebook app (with Facebook Messenger it works)…Facebook does not allowed sharing from other apps. Test with other apps…Viber, Gmail…we using the same principle for sharing, and its work with all apps who allowed that.

Why share doesn’t work on WhatsApp?

With WhatsApp it is only possible to share title, and we can not manage sharing images. It is working with other app (Viber, Gmail, Facebook Messenger…), but in some reason its not working with WhatsApp. We will consider that problem and we will try to manage that in next upgrade.

How to import project?

After downloading packed file, unzip it.

Open Eclipse, click File -> Import… Under Android folder, choose Existing Android Code Into Workspace and click Next. Browse for unzipped folder and choose android folder. Import project call “MainActivity”. Click OK, then click Finish. Before clicking Finish, you may rename project name by clicking MainActivity under New Project Name tab. When you imported project, repeat steps, and then import “google-play-services_lib”. Click OK, then click Finish.

If you have a problem with import “google-play-services_lib”, then right click on “NameOfYourProject”>Properties>Android->(Library)Add->”google-play-services_lib”

How to set server?

Put “service.php” (you recive that from us and that is in server folder) in: wp-content/uloads, on hosting of your WordPress site, and thats all. Now you have JSON for wordpress gallery.

This app is not meant to be used only with WordPress and it can be used with any other folder structure on your hosting. Create folder structure like: DEFAULT_FOLDER/CATEGORY_FOLDER/SUBCATEGORY_FOLDER/ Then set images in SUBCATEGORY_FOLDERs, and that is all. Now you have JSON for gallery.

How to set client?

Way how to change link to yours server is this:

Open: src/

Then change 16th and 17th lines of code. Instead of: public static final String ROOT_URL = “”; public static final String WALLPAPER_URL = ROOT_URL + “csform/wp-content/test/”; put public static final String ROOT_URL = (name of yours hosting); public static final String WALLPAPER_URL = ROOT_URL + FOLDER_NAME_OF_SITE/wp-content/uploads/

Just watch if the “wp-content” is correct, or if there is something else instead “wp”.

Do I get the full application or just part of it?

You will get the full app. All you need is to put images on your hosting, change path correctly in source, and that’s all. After that you can upload the app on Play Store.

Can this project also be used for iOS or only work for android?

This is native Android app only.

Show more