tasker and setxperia

32 views
Skip to first unread message

Mircea Sotir

unread,
Aug 14, 2013, 11:06:50 AM8/14/13
to tas...@googlegroups.com
Hello,

I am trying to automatically change OC profile via tasker but I donno how to pass the profile. For OC I am using setxperia software: https://play.google.com/store/apps/details?id=com.SetXperia.Inteks.org

the author sais:

the new version supports the following actions:
<action android:name="com.SetXperia.Inteks.org.APPLY_PROFILE" />
<action android:name="com.SetXperia.Inteks.org.PICK_PROFILE" />
profilename is in -> intent.getStringExtra("profile");
this is to switch OC profiles from SmartQRTags but should also work from other apps i.e. Tasker


so:

on Action field I wrote:com.SetXperia.Inteks.org.APPLY_PROFILE
on Cat: Default
and on extra: 1.6 on dem 40 witch is one of my setxperia profiles. I also tried "1.6 on dem 40" and '1.6 on dem 40'  nothing works.. all of them changes to an unnamed profile: min=134Mhz max=134Mhz
on Target I chose Activity


Please help!  This is very frustrating!!!  I donno how to use this feature..

I've send this email to setxperia authors and they replied:

Looks right so far...
this is how i call it from smartQRTags ->

Intent intent = new Intent("com.SetXperia.Inteks.o
rg.APPLY_PROFILE") ;
intent.putExtra("profile",setx
periaprofile);
intent.setFlags(Intent.FLAG_AC
TIVITY_NEW_TASK);
context.startActivity(intent);

i dont know how Tasker works. maybe its a problem that there are spaces in profile name. pls try a profile without spaces.



I've changed the name of one profile to 1.6ondem40 (so without spaces). Still doesn't work.

I've tried making a JavaScriplet on which I wrote exactly:

Intent intent = new Intent("com.SetXperia.Inteks.o
rg.APPLY_PROFILE") ;
intent.putExtra("1.6ondem40",setx
periaprofile);
intent.setFlags(Intent.FLAG_AC
TIVITY_NEW_TASK);
context.startActivity(intent);

but I get an error: Unexpected identifier..


I donno how to do this... I don;t want to use tasker OC feature as I cannot chose the threshold...

Please help me use tasker with setexperia (how to sent the profile as intent). I bought the app just for this only...


Thanks

Matt R

unread,
Aug 14, 2013, 12:58:22 PM8/14/13
to tas...@googlegroups.com
In Tasker, the extra field needs to be:

setxperiaprofile:1.6ondem40

Matt

Reply all
Reply to author
Forward
0 new messages