Android App Share
The AppBrain website (and matching app) allows you to view your installed Android Apps, view the marketplace and even install, right from your browser.
Android App Share allows you to list your app lists via a widget, shortcode or manually added function call.
Download
Download Android App Share (v1.0, 22/07/2010)
Changelog
Version 1.0
- Initial release
Installation
- Upload the entire
android-app-sharefolder to yourwp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- If using the widget, browse to Appearance->Widgets, add the widget, and configure the options
Usage
There are 3 ways to embed a video – a function call (requires PHP coding, but can be placed anywhere), a short code (which can be easily placed in a post or page) or with a sidebar widget.
Let’s go through each of the 3 methods in turn…
1. Function Call
For those with access (and the requirement) to their theme PHP, a function calls adds total flexibility as it can be added anywhere within your theme.
<?php if (function_exists('android_app_share')) {android_app_share('username','listname','paras');} ?>
Where username is your AppBrain username, listname is the name of the required app list and paras is a list of parameters – an ampersand separating each parameter.
Here’s an example that lists my own app list…
<?php if (function_exists('android_app_share')) {android_app_share("dartiss","my-android-apps","limit=5&order=name&target=_blank&nofollow=yes&desclen=100");} ?>
In this case it shows 5 apps, in name order. A description is shown, limited to 100 characters, clicking on any link will open a new window and rel="nofollow" has been added to each link.
2. Short Code
This is an easy one. Within any post or page, simply type the following…
[applist user=x listname=y]
Where x is the username and y is the listname. All the other parameters, as listed with the function call, can be used too. For example, the previous example as a short code would be…
[applist user=dartiss listname=my-android-apps limit=5 order=name target=_blank nofollow=yes desclen=100]
In this case, this would not appear an unordered list, because the default for the short code is that this turned off.
3. Widget
The Widget is available from the Appearance->Widgets menu within Administration. Drag it to the appropriate sidebar and click on the down arrow to modify the default options.
These NEED to be done as you also have to user name and list name.
Problems/Queries
Can I change the look of the output?
Yep. All elements have a class of appbrain. You can also decide, via the parameters, whether you wish to display the output as an unordered list or within a div.
Can I add more stuff like this to my site?
Yes. AppBrain have a number of widgets that can be added to your site quickly and easily. Either add the code directly to your theme files or user a plugin such as Simple Code Embed to add the code directly to your posts and pages.
How can I get help or request possible changes
Please report any problems, or suggestions for enhancements, to me either via my contact form or by commenting on the appropriate entries on my blog.
Updates
Updates to this and any other of my WordPress plugins will be published on this blog.

























Artiss.co.uk is checked by
New WordPress Plug-ins -002 | Mark Vanderberg's Audio Blog