Placing ads in my android app
I am planning to create an android application that may contain some ads. The ads shall be pushed from a web site that hosted in my server. I can push different ads from my 开发者_如何转开发server and the users of the application can be able to like, dislike the ads. Based on the user's like/dislike input I can create a rating for the product.
Have anybody did the same things before.
Is there any specific controls in the android stack for this? Can I use Android App widget for this?
I dont think you need more than a custom ad view , a db and network calls.
The whole idea I think it would be:
- create the ad view with buttons.
- onButtonPressed() stores the like or dislike value to the db
- and fire the server sync.
Android Widget is limited, but it can do these simple things too.
:)
精彩评论