Admob の不具合が SSL 6/8 期限切れだった件

なんなのかと思っていたら。

nagamatsu

https://twitter.com/nagamatu/status/343745264982564865

こんなことあるんですね、Googleでも。

6月9日Nikolay Elenkov
On Sun, Jun 9, 2013 at 7:32 PM, Kerem wrote:
>
> Same here.
>

The SSL certificate for api.admob.com expired on the 8th. This might
have something to do with it.

Not Before: 7/20/12 12:57:58 PM
Not After: 6/8/13 4:43:27 AM
Serial: 33:77:68:51:00:00:00:00:63:95
Subject: CN = *.admob.com, O = Google Inc, L = Mountain View, ST =
California, C = US

If someone is listening, please update it. It is breaking pretty much
everything that uses the API.
1:22Aladin Q
Indeed, including the intermediary CA cert "Google Internet Authority".

Stats of Sites & Apps seem to work again, in the contrary of the mediation reporting.

https://groups.google.com/forum/m/?fromgroups#!topic/google-admob-ads-sdk/qz8kjuIFnrE

けど、mediation はどうなんでしょうね。
関係あるのかなあ。

スクリーンショット_2013_06_10_2_33

https://twitter.com/search?q=mediation%20admob


そのアプリがインストールされているかを調べる方法

packageManager

こんなのとか。

 
public static boolean handleRequiredApp(Context context,
                    PackageManager pm, String packageName) {

    Intent iApp = pm.getLaunchIntentForPackage(packageName);
    try {
        pm.getApplicationInfo(packageName, 0);
        return true;
    } catch (Exception ex) {

        // launch the market for installation
        launchMarket(context, packageName);
        return false;
    }
}
 
public static void launchMarket(Context context, String packageName) {
    Uri uri = Uri.parse("market://details?id=" + packageName);
    Intent iDown = new Intent(Intent.ACTION_VIEW, uri);
    context.startActivity(iDown);
}

Util にいれておこ?


library module と library の dependencies がなんかしっくりこないのですが。

なんとなく 動いてしまうのが 高機能IDEのいいとこなのでしょうか。

Google MapAPI V2 でいつのまにか、はまったりして。

map api v2

Google Maps Android API v2 のメモ

Android Studio でいうところの以下の3つ。

・Project
・Modules
・Libraries

実際はよく分かってなかったのでしょうね、あたしは。

「Google Play Service」なるよくわかんないライブラリ中心に
いろいろ試行錯誤していましたが、Google Map v2 については
もうこんなかんじで許して欲しいです。

続きを読む >>