Archive for the ‘Android’ Category

 

PhoneGapハジメテミル。

2月 3rd, 2012

11:06 開始。 本サイトを見てみる。 http://phonegap.com なかなかかわいいサイトです。 http://phonegap.com/about/features/ こんな機能に対応してるそうです。 下のリリースを読む。 http://www.adobe.com/aboutadobe/pressroom/pressreleases/201110/AdobeAcquiresNitobi.html adobe acquires nitobi : アドビがニトビを買います。 adobe製品と連携しているのでそっちになれている人は良さそうです。 + google groups http://groups.google.com/group/phonegap ちょうど 1.4 が 1/31にリリースされたようですね。 11:20 start いちおxcodeを更新しておく。 http://phonegap.com/start ダウンロードした、callback-phonegap-xxxx の中の lib/PhoneGap-1.4.1.dmg を開く。 PhoneGap-1.4.1.pkgを開いてインストール開始 xcode からPhoneGap-based Applicationを作成 名前を付けて Run するとbuild は成功して www/index.htmlがないよとエラーが表示される。 プロジェクトを作成したディレクトリの中には、wwwティレクトリーがある( index.html phonegap-1.4.1.js が入ってる。) Next step is IMPORTANT! Drag the www folder into Xcode 4. […]

Read full article | コメントは受け付けていません。

スワイプで戻る。swipe gesture android | titanium

11月 17th, 2011

2013/03 1年ほど前にandroid swipe実装されていました。 新記事修正版を更新。http://blog.bbtune.com/archives/2515/titanium-android-swipe スワイプで戻る。を設定してみた。 android タッチの始点と終点で・・・ resultListWin.addEventListener(‘touchstart’, function (e) { resultListWin.x_start = e.x; resultListWin.y_start = e.y; }); resultListWin.addEventListener(‘touchend’, function (e) { if( resultListWin.x_start !== ‘undefined’){ if(e.x > resultListWin.x_start) { // right backView(); // **** like swiping } else { // left } } }); http://code.google.com/p/titanium-mobile-doc-ja/wiki/Views 2013/03 1年ほど前にandroid swipe実装されていました。 新記事修正版を更新。http://blog.bbtune.com/archives/2515/titanium-android-swipe

Read full article | コメントは受け付けていません。

画面の向きを固定する orientationModes | titanium android iphone

11月 15th, 2011

orientationModesを固定してみる。 var searchWin = Titanium.UI.createWindow({ url:’search.js’, title:’Search’, backgroundColor:’#fff’, tabBarHidden:true, orientationModes : [Titanium.UI.PORTRAIT] }); Titanium.UI.orientation = Titanium.UI.PORTRAIT; http://code.google.com/p/titanium-mobile-doc-ja/wiki/guides_device_accelerometer 状態の種類は次のとおり ・Titanium.UI.PORTRAIT ・Titanium.UI.UPSIDE_PORTRAIT ・Titanium.UI.LANDSCAPE_LEFT ・Titanium.UI.LANDSCAPE_RIGHT ・Titanium.UI.FACE_UP ・Titanium.UI.FACE_DOWN ・Titanium.UI.UNKNOWN

Read full article | コメントは受け付けていません。

smartphone ad 0929

9月 30th, 2011

今日聞いた話の全体の印象としては、 やるなら結局 「とりあえずアイテム課金のゲームかな。みたいな」 良い話?メモとしては、 ・アクティブ率を上げる⇔プッシュ機能の活用 ・出稿目的 iPhone: storeランクをあげるため android: まぁ安く出稿できる 注意点:リワード広告だとアイテム欲しさにやってるだけなので・・・ ・某ゲームアプリ:課金率3%,月2-3000万,arpu8000円くらいかな? 某ブラウザ三国志もarpu1万って言ってたから、稼げるアプリはこんなもんなのかな ・CPIだけでなくCPAも出稿して残存率を上げる。 ・アンドロイドアプリ増えてきました。 ・中国はマーケットがたくさん、キャリア、オリジナルいろいろ、アプリもたくさん。 android派生OSも増えてるとかなんとか。 ・windows phoneわかりません。 ・KDDI + mediba ・★ほとんどの人はアプリインストールしないよ。月平均1.3個。7割くらいの人は0個 自分もしない。 ・applog,国内のパーミッション許可したユーザー数が14日間ログを送ったら x 1円。 やる人いないでしょ・・・、まぁ価値のないコンテンツでバラまけるアプリの人は良いのかな? 以上。 あと適当に思ったことメモ ■ mobage , gree リワードの人は、仲間になれる部分もあるかもしれないけど、 それ以外やキャリア側の人にとっては、敵かな ■ 短期的?に大きな収益を目指すならデジタルコンテンツ+仮想通貨 とりあえず、ゲームで。みたいな。 ■ なんとなく思ったこと。「日本は」 ・広告出稿はそれなりに使えそう。良いと思います。 広告で収益向上はおまけ程度かなという印象。 国内外のあれこれも難しそう。というか簡単ではない。 ・キャリア決済が重要になってくるのは間違いない。 月額課金。ゲーム(月315円みたいなやつ)、デコメ、占い、着うた?とか普通のやつ。 スマートフォンでしかできないこともあるかもしれないけど ・海外はそれぞれ違ったものがあるみたいなないみたいなどうでしょう? iPhoneは別だけど、androidや他のは、入口はキャリアの作ったHOMEだなと思います。 docomo spモード http://www.nttdocomo.co.jp/service/developer/smart_phone/index.html au one market http://www.au.kddi.com/seihin/ichiran/smartphone/app/index.html ソフトバンク […]

Read full article | コメントは受け付けていません。

sleep mode setting | titanium

9月 25th, 2011

Titanium.App.idleTimerDisabled = true; これでスリープしてもアプリ自体は動き続けます。

Read full article | コメントは受け付けていません。

android screenshot

8月 24th, 2011

SDKのddmsというのをつかうそうです。 /Users/junichi/Library/android-sdk-mac_x86/tools/ddms finderから開いたら起動できました。

Read full article | コメントは受け付けていません。

distribute android market | titanium

8月 24th, 2011

titanium studioの[Distribute Android]でファイルを作成します。 Select Distribution Locatio: 適当にディレクトリを作っておきます。 Key Store Location: Key Store Password: Alias: さてKeyを作るそうです。 http://developer.android.com/guide/publishing/app-signing.html#cert $ which keytool /usr/bin/keytool 上記URLのサンプルコマンドは以下のようです。 $ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 my-release-key.keystore => junichi.keystore alias_name => junichiapp とかで良いのでしょうか、junichi部分をアプリの略名にしました。 $ keytool -genkey -v -keystore junichi.keystore -alias junichi -keyalg RSA -keysize 2048 -validity […]

Read full article | コメントは受け付けていません。

titanium android YQL return e.success=false everytime. | titanium

8月 24th, 2011

titanium android YQL return e.success=false everytime. if iPhone YSQL e.success == true, android ‘s success is false. we should not check e.success.

Read full article | コメントは受け付けていません。

android menu icon | titanium

8月 24th, 2011

var menu1 = menu.add( … menu.setIcon( ‘/images/icon.png’); this location is “Resourse/android/images/icon.png” size of android menu icon http://developer.android.com/guide/practices/ui_guidelines/icon_design_menu.html

Read full article | コメントは受け付けていません。

object dump | titanium

8月 22nd, 2011

Titanium.API.debug(JSON.stringify(obj)); で表示できます。 他の方法も是非教えてください。

Read full article | コメントは受け付けていません。