Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,201 Members 52,493 Now Online
XDA Developers Android and Mobile Development Forum

[APP] myA - Develop your assistant using JavaScript

Tip us?
 
matzen97
Old
(Last edited by matzen97; 31st March 2014 at 02:47 PM.) Reason: Added JavaScript information on title
#1  
matzen97's Avatar
Member - OP
Thanks Meter 24
Posts: 92
Join Date: Feb 2012
Location: Bocholt

 
DONATE TO ME
Info [APP] myA - Develop your assistant using JavaScript



myA - Develop your assistant
myA lets you download and customize mobile assistants (known as As) to automate your daily tasks and connect you with your devices.
Simply install the myA app to start using As on your Android device


What are A's?
As are digital mini-programmes, which simplify and automate your everyday. Whether its finding nearby cafs, sending messages automatically
to your loved ones, or managing your devices remotely, As integrate with all your services to make life easier.
Here are just a few examples of how As can help you:


myA offers a full API that lets you program your own scripts!
See our API Documentation at mya.me/api



Boost your productivity
Automatically mute your mobile at night,
Receive smart notifications,
Control your phone by voice.





Be closer to the people that matter
Automatically send messages to your loved ones,
Know what to give your friends on their next birthday,
Find out which of your friends are single.





Discover the world around you
Get restaurant suggestions for dinner after work,
Find great deals when visiting a new city,
Never miss your favourite bands when they are in town.



Get started now!
Learn how to make myA your own at http://mya.me/learn


Discover myA at mya.me



Download


or download APK from lnk.to/myA-APK



Code Examples

You can develop A's with JavaScript using our API
See Code Examples by visiting our Blog
PHP Code:
/*********************************************************
 *  Setup
 *********************************************************/
var baseUrl "http://api.jamendo.com/v3.0/radios/";
var 
avatarIcon "http://icdn.pro/images/es/j/a/jamendo-icono-7192-128.png";
icon avatarIcon;

var 
isVoicefalse;
var 
askedRadio;
/*********************************************************
 *  Setup
 *********************************************************/
function getRadio(radio){
    var 
uri web.makeUri(baseUrl+"stream")
                .
param("client_id","5728989a")
                .
param("format","json")
                .
param("name",radio)
                .
build();
    
log.info(uri);
    return 
web.readJson(uri);   
}

function 
getCategories(){
    var 
uri web.makeUri(baseUrl)
                .
param("client_id","5728989a")
                .
param("format","json")
                .
param("limit",50)
                .
build();
    
log.info(uri);
    return 
web.readJson(uri);   
}


function 
checkRadio(said){
    var list = 
t.text.list.split(",");
    for (var 
i in list){
        if (
said.indexOf(list[i])>=0){
            return list[
i];
        }
    }

The Following 3 Users Say Thank You to matzen97 For This Useful Post: [ Click to Expand ]
 
Galaxy Latino
Old
(Last edited by Galaxy Latino; 31st March 2014 at 01:25 PM.)
#2  
Galaxy Latino's Avatar
Senior Member
Thanks Meter 171
Posts: 102
Join Date: Oct 2012

 
DONATE TO ME
Thanks!
The Following User Says Thank You to Galaxy Latino For This Useful Post: [ Click to Expand ]
 
matzen97
Old
#3  
matzen97's Avatar
Member - OP
Thanks Meter 24
Posts: 92
Join Date: Feb 2012
Location: Bocholt

 
DONATE TO ME
Thumbs up Thank you!

Quote:
Originally Posted by Galaxy Latino View Post
I download the app from the Play Store but when i open the app is givin me FC

LG G2 with Android 4.4.2 Mahdi Rom [AOSP]
We'll check that!
Thanks for your response!
 
matzen97
Old
#4  
matzen97's Avatar
Member - OP
Thanks Meter 24
Posts: 92
Join Date: Feb 2012
Location: Bocholt

 
DONATE TO ME
Thumbs up Fixed

Quote:
Originally Posted by Galaxy Latino View Post
I download the app from the Play Store but when i open the app is givin me FC

LG G2 with Android 4.4.2 Mahdi Rom [AOSP]

A new version was deployed to play. In the meantime: please use the following link to directly load the APK.

https://xndme-static.s3.amazonaws.com/releases/latest.apk


Thank for your help
https://xndme-static.s3.amazonaws.com/releases/latest.apk
 
Galaxy Latino
Old
#5  
Galaxy Latino's Avatar
Senior Member
Thanks Meter 171
Posts: 102
Join Date: Oct 2012

 
DONATE TO ME
Thanks!
The Following User Says Thank You to Galaxy Latino For This Useful Post: [ Click to Expand ]
 
matzen97
Old
#6  
matzen97's Avatar
Member - OP
Thanks Meter 24
Posts: 92
Join Date: Feb 2012
Location: Bocholt

 
DONATE TO ME
Thumbs up Does it work now?

Quote:
Originally Posted by Galaxy Latino View Post
Thanks!
Is the issue fixed now?
Does it work now?
 
Limit8
Old
#7  
Limit8's Avatar
Senior Member
Thanks Meter 145
Posts: 121
Join Date: Jan 2011
Location: Dsseldorf
Interesting! I will continue to follow your project for sure
Google Nexus 4
Nexus 5 Experience [R 1.5.1 - 07Dec]
franco.Kernel r198
 
matzen97
Old
#8  
matzen97's Avatar
Member - OP
Thanks Meter 24
Posts: 92
Join Date: Feb 2012
Location: Bocholt

 
DONATE TO ME
Quote:
Originally Posted by Limit8 View Post
Interesting! I will continue to follow your project for sure
Nice to hear that, thanks!

Tags
api, assistent, cards, mya, smart
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Cast Your Device Screen the Way it Was Meant to be with Second Screen

Not too long ago here on the XDA Portal, we covered how Google had made … more

Samsung Gear Live Unboxed the XDA Way – XDA Developer TV

XDA Developer TV Producer AdamOutleris known for his XDA Unboxingseries where … more

Make Your Own DIY Capacitive Stylus

The XDA Portal is a place where we like to talkabout things that are interesting, fun, and sometimes … more