android-market-api

码农软件 · 软件分类 · 其他开发相关 · 2019-10-28 06:26:51

软件介绍

这是一个 Android Market 的开源 API 项目。基于Google Protocol Buffers 议实现。它使用java.net.URL来与google应用商店服务器通信,能够运行在GoogleAppEngine和Android应用程序中。你可以利用它来浏览任何国家或本地的Android应用商店。通过关键字或包名来搜索Android应用。并通过返回的应用ID来获取这个应用的详细信息,包括评论、图标与软件截图。

示例代码:

CommentsRequest commentsRequest = CommentsRequest.newBuilder()

                                .setAppId("7065399193137006744")

                                .setStartIndex(0)

                                .setEntriesCount(10)

                                .build();

 

 session.append(commentsRequest, new Callback<CommentsResponse>() {

  @Override

    public void onResult(ResponseContext context, CommentsResponse response) {

        System.out.println("Response : " + response);

        // response.getComments(0).getAuthorName()

        // response.getComments(0).getCreationTime()

        // ...

    }

});

session.flush();

本文地址:https://www.codercto.com/soft/d/17718.html

JavaScript and Ajax for the Web, Sixth Edition

JavaScript and Ajax for the Web, Sixth Edition

Tom Negrino、Dori Smith / Peachpit Press / August 28, 2006 / $24.99

Book Description Need to learn JavaScript fast? This best-selling reference’s visual format and step-by-step, task-based instructions will have you up and running with JavaScript in no time. In thi......一起来看看 《JavaScript and Ajax for the Web, Sixth Edition》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器