SwagBucks Videos on Android
Thread DetailsLast Edited by bschrib March 27, 2012 at 09:53 AM
I purchased the Samsung Vitality Cricket bundle awhile ago and found from that thread that you can watch SwagBucks from your Android device to earn points (every 450 points == $5 Amazon Gift Card). With that in mind I decided to see if I could get Tasker (an Android app) to automate watching SwagBucks for me. So far I've had good success with this method so I figured I'd share with everyone else.
The instructions below will wake your phone up at 1AM and let SwagBucks watch movies until 4AM. After that it will kill the program and then at 8AM return your phone to normal phone mode.
So here goes:
1.) First things first, you'll need to root your phone. It's unavoidable because without rooting it you can't emulate certain input events. The simplest way is to use the one-click method provided at this link (Note that it says Samsung Admire -- that's the same as the Samsung Vitality that we bought). Just follow the instructions on the post for "How to Install".
2.) After you've rooted you should make sure that you get Busybox updated. I use BusyBox Free from the market to achieve this. Just install the app, go into the app and leave everything in its default configuration and click "Install".
3.) Go ahead and find and install SwagBucks Mobile TV from the Play Store.
4.) Purchase and install Tasker from the Play Store -- If money is an object you can get it for a cheaper price directly at their site but it won't automatically update from your phone.. you'll have to download the new version from their site everytime it updates (not a big deal). Also if you get it from their site you get a 7-day trial.
5.) Tasker alone isn't enough, you'll need to get a plug-in to emulate screen touches since D-Pad presses won't open a video. Go install the Locale Execute Plug-in .
6.) Lastly, due to some limitations that were implemented in Android as of the Gingerbread update you'll also need to install another application called AnyUnlock (and enable it after it's installed, by opening the app and clicking enable). This app will let us wake the phone up when it's time to run our SwagBucks videos, otherwise the event would run but nothing would happen since the screen isn't on (and as such not accepting our screen inputs).
7.) I've already taken the liberty of making the Tasker script to automate this, so enjoy it. You'll just need to download this and then copy it to your sdcard. Put the Tasker folder on the root of your sdcard (e.g. /sdcard/, or drive F: or whatever it is in your system) (Don't forget that you'll need to turn on USB storage from your phone to see the SDCard on your computer). Once you've put it on to the root of your SD card, go ahead and disable USB storage from the phone, then open Tasker and press Menu > Data > Restore and agree to overwrite data.
**One note, the touch input event that we're emulating occurs in the center of the left side of the screen, so I have only tested this script when the phone is in portrait view.
*Second note, I haven't verified that this will add the Locale Execute Plugin data yet, so if you need to enter the Locale Execute Plugin data please enter it as shown below.
!sendevent /dev/input/event4 3 54 281 !sendevent /dev/input/event4 3 48 120 !sendevent /dev/input/event4 0 2 0 !sendevent /dev/input/event4 1 330 1 !sendevent /dev/input/event4 0 0 0 !sendevent /dev/input/event4 0 2 0 !sendevent /dev/input/event4 0 0 0
I'll provide steps at a later time as to how to build the tasker script (I'm by no means an expert). I'm posting this mostly complete guide so that everyone in the Android/SlickDeals community can benefit from it. Please also be aware that I haven't added any sort of error-checking yet (sometimes the SwagBucks app force closes, othertimes it just stops loading videos altogether). At some point I plan to add these error-checks in but I don't know when I'll have to the time to do it.
*******The input events in this script are specific to the Samsung Vitality/Samsung Admire. It may work with other phones but from what I read it likely won't be many. If you need help with figuring out how to get your screen input events for your device please go ahead and let me know and I can make an effort to put together a guide about how to do it.