How do I use the unofficial Android Market API?

后端 未结 3 1582
我在风中等你
我在风中等你 2021-01-02 10:24

I\'m trying the sample code from here. But my app is crashing.

I added logging and found out that it\'s crashing at session.flush(); so I removed that l

3条回答
  •  无人及你
    2021-01-02 10:45

    There is a problem with androidId. Instead of:

    String AndroidId = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID);
    

    Use this:

    String AndroidId = "dead000beef";
    

    It Works.

提交回复
热议问题