月別アーカイブ: 9月 2010

Android マーケットに14ヶ国追加

Android マーケットからメールが届きました。 === We’re writing to inform you about some changes to Android Market that require your attention. Over the next few weeks, we’ll be adding paid apps support for additional countries. If you have selected to publish your paid … 続きを読む

カテゴリー: Android アプリ ビジネス情報 | 4件のコメント

LinearLayout をスクロールさせる方法

LinearLayout って コンポーネントが増えたら自動でスクロールバーがつくのかと思ってたら そんなことはないんですね(汗) 下の方がしっかりはみ出て、見えなくなっちゃいました。 android:scrollbars みたいな属性もあるので試してみたけれど上手くいかない・・・。 そしたら「ScrollView」というのがあって 「これ使ったら上手くいくじゃん!」 と思ってやってみたらエラー・・・。 どうやら ScrollView は 子コンポーネントを1つしか持てないみたいです。 で、けっきょくどうしたらいいかと言うと こうやったら解決しました。 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"> <ScrollView android:layout_width="fill_parent" android:layout_height="wrap_content" > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" >   ここにコンポーネントを記述。 TextViewやらImageViewやらButtonやら。   </LinearLayout> … 続きを読む

カテゴリー: Android アプリ 関連 情報 | 2,979件のコメント

How to scroll LinearLayout

I LinearLayout What I thought more people automatically get a scroll bar component I’m not such a thing (sweat) Firmly protruding lower, I felt invisible. android: scrollbars I tried but not successful because some attributes like that. Then “ScrollView” that … 続きを読む

カテゴリー: Android アプリ 関連 情報 | 4件のコメント

CheckBox だけを右寄せにする方法

ListView でも LinearLayout でもいいんですが、 一行のアイテムの中で 左側に TextView、右側に CheckBox を表示したいときとか、 どうやってCheckBoxを右寄せにしたらいいかわかりませんでした。 文章だけだと何言ってるかわかんないかもしれませんが 同じようにハマっている方ならわかってもらえると思います(笑) ↑こうやりたい android:layout_widthを調整したり android:gravityをいじってみたりしたんですが、 CheckBoxが消えて見えなくなっちゃったり、 両方左に寄っちゃったりして どうも上手くいかない。 カギは android:layout_weight にありました。 以下のようにすると上手く表示されます。 <LinearLayout android:orientation="horizontal" android:gravity="center_vertical" android:layout_height="wrap_content" android:layout_width="fill_parent"> <TextView android:id="@+id/TextView01" android:textAppearance="?android:attr/textAppearanceLarge" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:text="TEXT"> </TextView> <CheckBox android:id="@+id/CheckBox02" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="right"> … 続きを読む

カテゴリー: Android アプリ 関連 情報 | 5件のコメント

CheckBox only way to right-justify

But I hope LinearLayout ListView, but Line item in Left TextView, if you want to display to the right or CheckBox, CheckBox did not know how do I align the. I do not know what you might say it is … 続きを読む

カテゴリー: Android アプリ 関連 情報 | 9件のコメント

finish() でActivity が終了しない

よくAndroid関連の書籍やサイトなどで 『 finish() で Activity を終了させる』 と書いてあるんですが、 ちょっと微妙な思い違いをしていたようで めちゃめちゃハマってしまいました(=_=;) finish() は、 『Activity を即時終了させる』 と思っていたんですが、 どうやらそうでないようです。 とあるアプリを開発していて ある条件下で Activity を終了させたくて finish() を使っていたんです。 こんな感じ↓ — 前処理; if (式) finish(); 後処理; — そしたら、どうも finish() が効いていないようで 後処理の部分でエラーで落ちてしまう・・・。 試しに、 — Log.d(“CHECK”, “before finish()”); finish(); Log.d(“CHECK”, … 続きを読む

カテゴリー: Android アプリ 関連 情報 | 4件のコメント

finish () does not terminate in Activity

Well sites, and books relating to the Android [Finish () to terminate in the Activity] But I have written, The misunderstanding seems to have been a little sensitive I hooked (=_=;) wreck finish () is Immediately terminate] [Activity But I … 続きを読む

カテゴリー: Android アプリ 関連 情報 | 13件のコメント

AdMakerの管理画面がパワーアップ!

AdMakerの担当者さんからメールがきて 「なんだろ?」 と思って開いてみたら、 管理画面がパワーアップしたとの連絡。 さっそく開いてみたら・・・ 管理画面がリニューアルとのこと! 「見積収益の確認」 「アプリの追加登録」 「自社広告の設定」 ができるようになっていました。 【サマリー画面】 広告全体の情報が確認できます。 今月の見積広告収益、 メディア別(アプリ別)の見積収益、 ネットワークごとの平均クリック単価など。 【レポート画面】 月ごとのメディア別(アプリ別)の インプレッション数、クリック数、クリック率、平均クリック単価、eCPM、見積収益額が確認できます。 【配信設定】 広告表示用URLの管理と新規発行ができます。 自社広告の設定もできます。 おお、しかも収益が先月の2倍くらいに上がってる!!Σ( ̄□ ̄;)!! クリック単価も上がってます! 確定額ではないようですが。 確定収益は翌月の10営業日以内に レポート(EXCELとPDF)で報告してくれるようです。 正直、AdMakerはAdMobにくらべて ・広告表示率が100%なので機会損失がない ・単価が高い ので魅力はあったんですが、 ・管理画面で収益が確認できない ・新規広告の発行が人力なので遅い というのが正直不満でした。 ですが今回のリニューアルで、 管理画面で収益が確認できるようになったので かなり使い勝手がよくなりました。 新規広告の発行は管理画面からできますが どちらにしろ人の審査が入るようです。 少しは早くなったのかな? 広告システムもだんだんと整ってきて … 続きを読む

カテゴリー: Android アプリ ビジネス情報 | 13件のコメント

AdMaker power management screen!

AdMaker’s got an email from a representative “Is not it?” Why do I open it, Contact with the power management screen. Why do not immediately open Renewal and an administration that! “Reviewing revenue estimates” “Add all apps” “Setting the house … 続きを読む

カテゴリー: Android アプリ ビジネス情報 | 22件のコメント

Galaxy Tab のプロモーション映像

世界中で注目されているAndroid搭載型タブレット Samsung Galaxy Tabのプロモーション映像です。 こういうプロモ見てると、欲しくなっちゃうよな~。 図書館で本を山積みで勉強している学生が となりでGalasy Tabでスマートに勉強している女の子に見とれるシーンがあるんですが、 たしかに『かっこいいな~』って思っちゃいますw Galaxy Tabは 『iPadに対する最高の競合製品』とまで言われ 業界にひと風起こしそうです。 Galaxy Tabはまもなくリリース予定。 どこまでiPadに食らいつくか、楽しみです。

カテゴリー: Android 関連情報 | 40件のコメント