Hello. I'm not sure how to say what I'm trying to do, with a few words, so I'll start from the beginning...
Bing.com has a rewards program. You earn points and spend them when you've collected enough. You gain 1 point for every 2 searchs you do. With a max of 15 points a day by using Bing search. So I created an app that randomly generates letters and uses them as the search phrase. It works fine when the user runs it manually. I also made it do an autorun daily at a time they specified. For now, in order for it to run, the screen has to be turned on then back off after it finishes the searches. It does work this way, but only when I have my lockscreen disabled.
So, what I'm trying to figure out is how to do this by using a service module. I tried using an HttpJob. I think it was accessing the url I told it to, but wouldn't count its search towards my reward points. I know when I use a WebView, I have to set its UA to a desktop because the rewards from Bing only accepts pc/desktop searches, not mobile. So I'm not sure if thats my problem or if I'm just doing it incorrectly. I also tried setting the username/password properties, but still no luck.
If I could get any help, it would be much appreciated. Thank you.
Bing.com has a rewards program. You earn points and spend them when you've collected enough. You gain 1 point for every 2 searchs you do. With a max of 15 points a day by using Bing search. So I created an app that randomly generates letters and uses them as the search phrase. It works fine when the user runs it manually. I also made it do an autorun daily at a time they specified. For now, in order for it to run, the screen has to be turned on then back off after it finishes the searches. It does work this way, but only when I have my lockscreen disabled.
So, what I'm trying to figure out is how to do this by using a service module. I tried using an HttpJob. I think it was accessing the url I told it to, but wouldn't count its search towards my reward points. I know when I use a WebView, I have to set its UA to a desktop because the rewards from Bing only accepts pc/desktop searches, not mobile. So I'm not sure if thats my problem or if I'm just doing it incorrectly. I also tried setting the username/password properties, but still no luck.
If I could get any help, it would be much appreciated. Thank you.