About ads account, you must login in AdIQuity and check is your Ad id is active. During app registration they ask for APK location, where app is published. After that we will be able to link your id with xmtv ad id, which must be passed as parameter, from addon.
for xmtvs, there is a option to develop API which can encrypt link and add session timeout value, if somebody tryng to shere it it will work 5 min for example, and also you will be able to pass some mp4 for example to be loaded if session expire like internal ad
Here is some sample how to encode/decode Base64 with Android
// Encode text to Base64 byte data = text.getBytes("UTF-8"); String base64 = Base64.encodeToString(data, Base64.DEFAULT);
// Decode text to Base64 byte data = Base64.decode(base64, Base64.DEFAULT); String text = new String(data, "UTF-8");