在我的应用程序中获取其他应用程序图标 [英] Get other application icon image in my Application

查看:86
本文介绍了在我的应用程序中获取其他应用程序图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我正在显示应用程序商店中的一些应用程序列表。

In my application, I am showing some applications list which are on app store.

我想在我的应用程序中获取这些应用程序的图标图像。

I want to get those application's icon image in my application.

我只是搜索但没有得到任何相关的帖子。

I just search but not getting any relevant post on this.

有什么方法可以得到它吗?苹果允许得到?如果有任何办法,请建议。

Is there any way to get it? Apple allows to get? Please suggest if there is any way.

感谢您的帮助。

推荐答案

apple有一个 JSON服务,你可以获得每个应用程序的大量元数据

apple has an JSON Service for that, where you get a lot of meta data for every application

这是Facebook App
http://itunes.apple.com/lookup?id=284882215

This is the URL for the Facebook App http://itunes.apple.com/lookup?id=284882215

这是Facebook和Twitter应用程序的URL组合:
http://itunes.apple.com/lookup?id=284882215,333903271

and this a the URL for the Facebook and Twitter App combined: http://itunes.apple.com/lookup?id=284882215,333903271

in您将在属性artworkUrl60,artworkUrl512和artworkUrl100

in the JSON you will find URLs of the app icons in attributes artworkUrl60, artworkUrl512 and artworkUrl100

artworkUrl100中找到应用图标的网址的JSON: http:/ /a1170.phobos.apple.com/us/r30/Purple4/v4/37/7 e / 9e / 377e9e31-388e-8d10-e414-f478a2f18d29 / mzl.pacepjmm.png

"artworkUrl100":"http://a1170.phobos.apple.com/us/r30/Purple4/v4/37/7e/9e/377e9e31-388e-8d10-e414-f478a2f18d29/mzl.pacepjmm.png"

遗憾的是,这些应用图标是平方的并且没有圆角,您将获得开发者上传它的应用程序图标。

unfortunately those app icons are squared and don't have the rounded corners, you will get app icon how the developer uploaded it.

更新:获取其他国家/地区的数据

如果您想获取不同国家/地区的数据,您可以在两者之间添加国家/地区代码,例如

if you want to get the data for different countries you can just add the country code in between e.g.

  • for Germany: http://itunes.apple.com/de/lookup?id=284882215
  • for France: http://itunes.apple.com/fr/lookup?id=284882215

这篇关于在我的应用程序中获取其他应用程序图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆