1. gillbie943's Avatar
    Now I know this is gonna sound really specific .. But i really want to know how to do this!
    Soo I'm trying to create a widget for my homescreen that will activate a button within a 3rd party application.. So ideally I won't have to open the app to activate it!
    I have successfully created the widget but I don't know how to create the activation task/ process.. Do you know what I mean??
    I'm running cm10.1 on galaxy s4

    from my s4!!
    02-15-2014 08:31 AM
  2. someguy01234's Avatar
    I don't think that's possible, you have to open the app first unless that app can run in the background and receive remote commands.

    You can create an automation where Tasker open up the app and tap on the button, then press back to go back out.

    You simply use the "run shell" task, and use the command "input tap xxx yyy". X and Y being the pixel location of the screen. Also make sure root is checked.

    This was how I set Cheapcast to automatically turn on itself after boot. But this is no longer needed since Cheapcast can turn on itself automatically now.
    02-15-2014 01:31 PM
  3. gillbie943's Avatar
    Okay cool. That all makes sense.. I'll Try out those commands.

    from my s4!!
    02-16-2014 06:55 AM
  4. gillbie943's Avatar
    So how do you figure out what pixels xxx yyy to automate the button press?

    from my s4!!
    02-16-2014 07:14 AM

Similar Threads

  1. HELP!
    By LorraineVH in forum Google Nexus 4
    Replies: 4
    Last Post: 02-18-2014, 02:34 AM
  2. help HTC one bought it fairly used
    By Osuagwu Darlington in forum HTC One M7
    Replies: 8
    Last Post: 02-17-2014, 01:29 PM
  3. Nexus 5 Issues... HELP
    By HIMAN1998 in forum Google Nexus 5
    Replies: 7
    Last Post: 02-15-2014, 12:39 PM
  4. help with HTC one
    By Osuagwu Darlington in forum General News & Discussion
    Replies: 1
    Last Post: 02-15-2014, 11:38 AM
  5. What am i to do with this? please help!
    By marktika in forum Samsung Galaxy Note 3
    Replies: 15
    Last Post: 02-15-2014, 10:23 AM