Android -- How to post app rating/comments to Market from within app?

Posted by borg17of20 on Stack Overflow See other posts from Stack Overflow or by borg17of20
Published on 2010-05-20T16:06:00Z Indexed on 2010/05/20 16:10 UTC
Read the original article Hit count: 207

Filed under:
|
|
|
|

Hello all,

This is a simple question. Is there a way to allow users to enter in a comment and or rating for my app from directly within my app and have that data posted back to the Android Market? If so, what would the code for that look like if I used an EditText view to allow user input? If not, then is my only other option directly linking to my app in the Market (i.e. the user clicks the link in my app, or a button, and the Market app launches with my app page displayed)? For example:

view.setOnClickListener( new OnClickListener(){
    public void onClick(View v) {
        startActivity( new Intent( Intent.ACTION_VIEW,
           Uri.parse("market://details?id=packagename") ) );
    }
}

*where "packagename" is replaced by my app's package name from the manifest.

Thanks.

© Stack Overflow or respective owner

Related posts about android

Related posts about marketplace