Skip to content

Instantly share code, notes, and snippets.

wrygiel / Smart AudioBook Player intents
Created Apr 15, 2020
Smart AudioBook Player intents
View Smart AudioBook Player intents
I bought a Flic button and wanted to use it with Smart AudioBook Player, so I decompiled the APK to discover intents.
Perhaps this might help someone.
package: ak.alizandro.smartaudiobookplayer
<action android:name="ak.alizandro.smartaudiobookplayer.ActionPlayPause"/>
<action android:name="ak.alizandro.smartaudiobookplayer.ActionPlay"/>
<action android:name="ak.alizandro.smartaudiobookplayer.ActionPause"/>
<action android:name="ak.alizandro.smartaudiobookplayer.ActionRewindBig"/>
wrygiel / providers.xml
Last active Dec 10, 2015
Example configuration of Locus map provider for OpenCaching.PL
View providers.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Google maps classic -->
<provider id="10020" type="0" visible="true" background="-1">
wrygiel / nearest_unfound.php
Last active Nov 21, 2018
Finding nearest unfound caches with OKAPI
View nearest_unfound.php
/* Enter your OKAPI's URL here. */
$okapi_base_url = "";
/* Enter your Consumer Key here. */
$consumer_key = "YOUR_KEY_HERE";
/* Caches found by this user will be EXCLUDED from the result. */
$username = "USERNAME_HERE";
wrygiel / users.php
Last active Nov 21, 2018
View users.php
$okapi_base_url = "";
$json = file_get_contents($okapi_base_url."services/apisrv/stats");
$data = json_decode($json);
print "Number of OpenCaching.PL users: ".$data->user_count;
wrygiel / proxy.php
Created Dec 6, 2012
USOS API proxy
View proxy.php
/* USOS API Base URL, trailing slash included. */
$usosapi_base_url = '';
/* Consumer Key to use. */
$consumer_key = '';
$consumer_secret = '';
wrygiel / hello.php
Created Dec 6, 2012
View hello.php
ini_set("display_errors", 1);
/* USOS API Base URL, trailing slash included. */
$usosapi_base_url = '';
/* URL of THIS script. Required for callback support. */
$self_url = '';