Android App Share
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND b.name = 'Bug' AND a.category_id = b.id AND a.status <> 90 ORDER BY a.id' at line 1]
SELECT a.id AS 'ID', summary AS 'Description' FROM mantis_bug_table a, mantis_category_table b WHERE a.project_id = AND b.name = 'Bug' AND a.category_id = b.id AND a.status <> 90 ORDER BY a.id
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (b.name = 'Enhancement' OR b.name = 'Maintenance') AND a.category_id = b.id ' at line 1]
SELECT a.id AS 'ID', summary AS 'Description' FROM mantis_bug_table a, mantis_category_table b WHERE a.project_id = AND (b.name = 'Enhancement' OR b.name = 'Maintenance') AND a.category_id = b.id AND a.status <> 90 ORDER BY a.id
Android App Share makes use of the AppBrain website to provide lists of your current Android Apps.
Description
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.
There are 3 ways to display a list - 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 Administation. 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.
Parameters
The following parameters may be used for any of the list methods that this plugin employs:
- user - Your AppBrain username.
- listname - The name of your app list.
- offset - How many items into the list to start (defaults to 0).
- limit - How many items to display (defaults to 10).
- order - What order the results should display - either
nameordate(dateis default). - list - Should it be displayed as an unordered list?
Noto switch off (in which case each item is encased with aDIV. Defaults toYes. - desclen - The maximum length, in characters, of the description. Set to 0 to not display.
- target - The link target. By default, none it specified.
- nofollow - If set to
Yes, thenrel="nofollow"will be added to all links.
Installation
- Upload the entire
youtube-embedfolder 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.
Frequently Asked Questions
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
Feel free to report any problems, or suggestions for enhancements, to me either via my contact form or by the plugins homepage.
Changelog
1.0
- Initial release

Known Bugs
No bugs are currently recorded.
Planned Enhancements
No enhancements are currently planned.
















Copyright © 2000-2012
Artiss.co.uk is checked by
Question: How can I remove an application from the App Share list. I shared it accidentally and I really don’t want it to be on the market in this version… Anyone?
As the content is provided by AppBrain, you should direct your query to them – however, it’s not based on sharing but on which you have installed. If it’s still installed it will appear until you uninstall and then sync your list with AppBrain again (via the Android app).