ちょっと、USBまわりでMacがハングするのは耐えられないので、Ubuntuに環境作成。 自分メモなので、文字ばかり。他人が読んでもわからないかも。 公式の環境構築手順やマシンスペックはこのあたりに書かれている。 http://developer.android.com/intl/ja/sdk/installing.html 入れたのはこれ。 Intel Core i7-980 3.3GHz / 12GB RAM Ubuntu 11.04 (すでに入っている) Oracle Java JDK 1.6 (すでに入っている) Eclipse 3.6 Helios ADT Plugin Android SDK 16 ビルドしたHello Worldアプリをエミュレータと実機に流しこむところまで。 動作条件 ここにある。 http://developer.android.com/intl/ja/s
_ Android開発を行う際の eclipse の便利設定 今日は Android Advent Calendar 2011 参加のエントリです。Advent Calendar って何という方は こちら をどうぞ。 多くの方が Android 開発に eclipse を使用していると思いますが、eclipse の機能を使いこなして快適な開発・効率のよい開発をしているでしょうか。今日は、わたしが普段使っている開発環境で行っている eclipse の設定を紹介したいと思います。まぁどっちでもいい好みの問題といえるような設定から、是非皆さんに使って欲しいお勧め機能までいろいろ紹介します。 今回のエントリでは eclipse の設定画面がたくさん出てきますが、どこにある設定であるかを示すのに [ aaa > bbb > ccc ] という表記をします。一番左が設定画面(Preferences)
Androidはソースが公開されているので、中身が自由に見れるし自分でソースの改良(改悪?)もできます。それじゃぁ、やってみたくなるのが人情です。 そこで、AndroidというかDalvikVMのデバッグ環境を作ってみようと思います。 ソースを取得する 今回、froyo(Android-2.2.2_r1)をデバッグしてみたいと思います。いろいろなところで説明されているように、repoを使ってAndroid-2.2.2_r1のソースを取得します。私のブログだとこの辺りに書いています。ブログはGingerbread(2.3.3_r1)を取得していましたが、2.2.2_r1に置き換えれば、froyoソースが取得できます。 makeする froyoをmakeします。といっても、GingerbreadはJava-6でmakeできましたが、froyoはJava-5対応です。←何も考えないでmakeした
Yes. You can use Eclipse for debugging of C/C++ code. I personally prefer cgdb but if you want to debug in Eclipse here is how. See my previous spot how to set up cgdb debugger if you think it will suit you. See my blog spot how to set up Eclipse for compiling and editing C/C++ code. 0) Prerequisities You need Eclipse with CDT installed. See my previous spot how to do it. You also need Android ndk
前回の<その1>ではどこのサイトでもAndroid SDKをインストールする解説と同じですが、最後の方は面倒になったので端折ってしまいました。まぁ、あまり細かく書いても初心者さんが見ることはあまりないのでは?って思っていますので。 私(だけなのかもしれません)が今まで作業した方法は、JNIのC部分を別プロジェクトとして作成し、コマンドラインからCコンパイル後、Javaに取り込んで連携させる方法でした。EclipseにCDTをインストールしても、エディタ程度にしか使えないのであまり意味が無いと思っていました。 久しぶりにJNIを本気で取り組むことになり、何か方法が無いかと思い調査を繰り返してたどり着いたので、備忘録的に記載します。因みに参考としましたのが、CDT AndroidというYouTube動画(英語)です。そのままではNDKバージョン、Eclipseバージョン等が異なり環境もCygw
ローカルサービスについては“AndroidのServiceについて”に書いたので、ここではリモートサービスについて書き留めておく。ここで取り上げるリモートサービスとはサービスとサービスを呼び出すクライアントが別々のアプリケーションとして動作しているケースを指す。(後で実際に動かしてみたサンプルを載せておくが、サービスとクライアントは別々のアプリケーション、別々のパッケージとして動かしている)。 基本的はローカルもリモートも同じサービスには変わりないのでstartServiceでサービスを起動、stopServiceでサービスを終了、bindServiceでサービスとの接続を確立、unbindServiceでサービスとの接続を切断、というのは全く同じ(詳しくは“AndroidのServiceについて”参照)。 ただ、リモートサービスの場合は、サービスのオブジェクトを直接参照したりメソッドを呼
Sooner or later in your Android game development foray you may find the need to have some code that runs faster. It turns out that Android code written in C runs 10-100 times as fast as its Java counterpart. I can verify this, as I've already moved a few major components in my newest 3D game engine into native land. That's quite a boost but let's face it - C is a pain in the ass and while Eclipse
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く