Android

android-sdk/samples/android-8/ApiDemos にあるサンプルで、Android API を学ぶ。 API Demos [App]_[Activity]_[Forwarding] src/com/example/android/apis/app/Forwarding.java Intent intent = new Intent(); intent.setClass(...詳細

ダイアログ

android-sdk/samples/android-8/ApiDemos にあるサンプルで、Android API を学ぶ。 API Demos [App]_[Activity]_[Dialog]...詳細

android-sdk/samples/android-8/ApiDemos にあるサンプルで、Android API を学ぶ。 API Demos [App]_[Activity]_[Custom Title] src/com/example/android/apis/app/CustomTitle.java // カスタムタイトル指定 getWindow().setFeatureInt(Win...詳細

カスタム ダイアログ

android-sdk/samples/android-8/ApiDemos にあるサンプルで、Android API を学ぶ。 API Demos [App]_[Activity]_[Custom ...詳細

Activity アクティビティの画面遷移アニメーション と カスタム Spinner

android-sdk/samples/android-8/ApiDemos にあるサンプルで、Android API を学ぶ。 API Demos [App]_[Activity]_[Animati...詳細

LuaEclipse Corona は、Lua という言語で作成します。Eclipse で開発できるように Lua 用プラグインをインストールします。Eclipse ということで、Flash Builder でも OK です。 LuaEclipse: An integrated development environment for the Lua programming language htt...詳細

Corona プロジェクトをビルドして、apk ファイルを出力する。 Corona [File]_[Build] Application Name:Hoge Version:0.0.1 Package:ms.creator.hoge Target OS Compatibility:Android 2.2 Keystore:C:\Program Files\Ansca\Corona Simulato...詳細

毎フレームごとに処理を実行する。 -- 背景画像 local background = display.newImage( "background.png" ) -- 画像 local target = display.newImage( "target.png", xpos, ypos ) local radius = target.width / 2 -- x, y 方向 local xdir...詳細

一定のインターバルでイベントを実行するタイマーイベント。 local function updateTime() -- 時間取得 local time = os.date("*t") -- 時 local hourText = time.hour if (hourText timer.performWithDelay() ...詳細

-- ロード サウンド local beepSound = audio.loadSound( "beep.wav" ) -- テキスト追加 local textObject = display.newText( "Hello World!", 50, 50, native.systemFont, 24 ) -- テキスト色 textObject:setTextColor( 255,255,255...詳細