タグ

ブックマーク / blog.appforandroid.info (19)

  • LeapMotionStatsβ AS3 | android application

    LeapMotionStatsβ AS3LeapMotion用のStatsを作ってみました。Statsの横においてイケてる感じになるようにつくってあります。まだキットを持ってる人があんまりいないと思いますが、公開しておきます。 LeapMotionStatsでは両手の座標と速度、指の認識数を表示させています。 ※このライブラリを使用するにはLeapMotionAS3が必要です。 ※キャプチャはStatsが含まれていますが、大きさの比較用のためで別途読み込みが必要です。 使い方 var lstats:LeapStats = new LeapStats(); lstats.x = 61; addChild(lstats); swcのダウンロードはこちら

    yasu-log
    yasu-log 2013/04/02
    [B!]LeapMotionStatsβ AS3 | android application / リープモーション用のスタッツ
  • LeapMotionその 2 NativeExtension LeapMotionAS3について | android application

    yasu-log
    yasu-log 2013/03/29
    [B!]LeapMotionその 2 NativeExtension LeapMotionAS3について
  • as3 条件付きコンパイル定数 | android application

    as3 条件付きコンパイル定数少し前までこの便利な機能を知りませんでした。。 たとえばFlashでアプリをつくっているとデバイスごとに同じ関数でも処理を変えたい場合があります。 またデバッグ時だけデバッグ用のコンソールやSTATSを表示させたいなど処理を分岐させたい場合に条件付きコンパイル定数が便利です。 Flashでの設定の方法 ここでは例えばAndroidとiOSで処理を分岐させたいと仮定してその方法を解説しています。 ・メニュー「ファイル」>「ActionScriptの設定」を開き、「条件付きコンパイル定数」タブをひらきます。 タブ内の「+」ボタンをおして定数を追加します。 ここではとりあえずネームスペースを「PLATFORM」にして定数をANDROIDとIOSの2つをつくります。 ・次に分岐処理させたいコードを書きます。 PLATFORM::ANDROID function Myt

    yasu-log
    yasu-log 2012/12/27
    [B!]as3 条件付きコンパイル定数
  • ARライブラリ IN2ARを試してみる for AIR | android application

    ARライブラリ IN2ARを試してみる for AIR最近ARアプリ作れるのかって問い合わせがよくあるので、IN2ARというライブラリを試してみました。 デモはこちら。 上のデモIN2ARのサンプルプロジェクトをそのままGalaxy NEXUSに書きだしたものになります。 このライブラリがすごいと思うのは、認識するものがQRコードや定型のマーカーではなくて登録した画像がそのままマーカーになる点です。たとえば製品画像を認識させたり、広告イメージを登録することでそれを認識して動画や3Dを表示させることができます。とにかく画像の内容を問わず認識するのがすごいと思います。 以前SURFという画像認識ライブラリをそのままモバイル用に移植したときはここまで滑らかに再生できませんでしたがGPUやANEを使えるようになってからはかなり実用レベルだと思いました。 書き出すにあたりつまずきそうな点をメモしてお

    yasu-log
    yasu-log 2012/11/23
    [B!]ARライブラリ IN2ARを試してみる for AIR / GPUやANEを使えるようになってからはかなり実用レベル
  • どんなAIR Native Extentionがあるのか一覧できるようにまとめてみました。 | android application

    どんなAIR Native Extentionがあるのか一覧できるようにまとめてみました。twitter サッカー日本代表STADIUMに参加!日本代表を応援するぞ! http://t.co/ziY5jlkn #日結束 about 44日 ago サッカー日本代表STADIUMに参加!日本代表を応援するぞ! http://t.co/ziY5jlkn #日結束 about 56日 ago ♥ about 101日 ago え~。。。。#flash http://t.co/lg5KjBLg about 116日 ago #AIR #Flash こんなドキュメントがあったなんて。。。「ネイティブライブラリの構築」 http://t.co/3OEfErHg about 123日 ago おつかれさまでした。 http://t.co/srVVp5K2 #yosegaki_live about

    yasu-log
    yasu-log 2012/07/22
    [B!]どんなAIR Native Extentionがあるのか一覧できるようにまとめてみました。
  • AIR fo Androidでの機種判定 | android application

    AIR fo Androidでの機種判定今日のfxugでGREEの方から教えて頂きました。 URLLoaderで端末の固定パス上にあるbuild.propというファイルを見に行くそうです。 <pre>package { import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLRequest; import flash.text.TextField; public class ProductSample extends Spri

    yasu-log
    yasu-log 2012/02/23
    [B!]AIR fo Androidでの機種判定
  • Google Weather API for Flash | android application

    Google Weather API for FlashGoogle Weather API を最近知ったのでFlashで利用できるライブラリを作ってみました。 Google Weather APIは指定した地点における現在の情報と四日間の天気予報を提供してくれるAPIです。 Google Weather APIは非公式、非商用、ガジェットのみとあったので利用される際は注意お願いします。 このAPIは引数に地点名を入力するモードと緯度経度を入力して近くの地点の情報を取得するモードがあります。 ここでは緯度経度を用いて天気予報を取得しています。 package { import flash.events.Event; import flash.events.EventDispatcher; import flash.events.IEventDispatcher; import flash.

    yasu-log
    yasu-log 2012/02/15
    [B!]Google Weather API をFlashで利用できるクラス
  • 3d studio max から Altanativa3D への書き出し | android application

    3d studio max から Altanativa3D への書き出しMAXからDAE書き出しを行なって、Flashbuilderで読み込むところまでやってみます。 プラグイン Alternativa3DS Max 2012 plugin が入ってることを前提にwindows7/3d studio max 2012の環境を前提にしています。 3DSmaxでの作業 maxを起動して適当なサンプルファイルを開きます。 左上のMAXロゴからexport>exportをたどり、書き出し設定ダイアログから拡張子を「opencollada+A3D」を選択し、任意の場所に書き出します。 これでmax側の作業は終了。 FlashBuilder/Flash側の作業 Alternativa3DのswcをBuilder/Flashに登録します。 Flash側の作業は ・書き出したDAEファイルをロードする。

    yasu-log
    yasu-log 2011/12/17
    [B!]3d studio max から Altanativa3D への書き出し
  • appforandroid.info

    appforandroid.info 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy

    yasu-log
    yasu-log 2011/08/16
    [B!]Flashで作るAndroidアプリ開発ガイドブック 発売!
  • appforandroid.info

    appforandroid.info 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy

    yasu-log
    yasu-log 2011/07/07
    [B!]Papervision3DをMultitouch対応にさせる方法
  • appforandroid.info

    appforandroid.info 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy

    yasu-log
    yasu-log 2011/06/29
    [B!]AndroidでのActionScriptエディター
  • airfornadroid 目次 | android application

    airfornadroid 目次Air for Android 関連記事 一覧 [環境構築について] FlashDevelopでの開発環境について airforandroidの実機テスト環境について PackageAssistantProの設定方法 PackageAssistantProの使い方 apkファイルのインストール方法 デバッグについて [新機能について] Multitouch GPS (GeoLoacation) Accelerometer Camera CameraUI CameraRoll StageOrientation File(ファイルの読み込み書き込み) android forum SQLConnection android forum StageWebView DisplayObject.cacheAsBitmapMatrix [tips] application

    yasu-log
    yasu-log 2011/06/05
    [B!]Air for Android 関連記事 一覧
  • appforandroid.info

    appforandroid.info 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy

    yasu-log
    yasu-log 2011/05/30
    [B!]FlashDevelopやFDTからFlashBuilderに乗り換える時に役立つ便利な設定
  • appforandroid.info

    appforandroid.info 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy

    yasu-log
    yasu-log 2011/05/22
    [B!]AIR for AndroidでのSharedObjectの保存容量について
  • appforandroid.info

    appforandroid.info 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy

    yasu-log
    yasu-log 2011/05/21
    [B!]AIR for Androidでパッケージしたapkファイルの構造について
  • appforandroid.info

    appforandroid.info 2020 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy

    yasu-log
    yasu-log 2011/05/01
    [B!]FlashDevelopでのairforandroid開発環境について
  • appforandroid.info

    yasu-log
    yasu-log 2011/02/24
    Flashクリエイターが買うべきAndroid/iOS/BlackBerry開発用端末
  • appforandroid.info

    appforandroid.info 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy

    yasu-log
    yasu-log 2011/02/01
    AIR for Androidにおいて、実機でtraceを確認する方法
  • ListActivityみたいなものをair for androidで! | android application

    ListActivityみたいなものをair for androidで!※作ってから気がついたんです。。。。。Heroに同じようなコンポーネントが用意されているのを。。。。そっちを使ってください。。。 androidiphoneosでよく見られる、Twitterのタイムラインなどでよく使われるListActivityをair for androidで作ってみた。 いままでどうやって作るのか分からなかったけど、以下のような方法で実現できました。我流なのでもっといい方法がある可能性高いです。 普通に作った場合、スクロールを終えたタイミングでTOUCH_TAPとTOUCH_ROLL_OUTが両方発生してしまうのでListActivityのような希望している動作が得られない。 仕組みは簡単でTouchEvent.TOUCH_BEGINを受けたときに指の座標をキャプチャしておき、TOUCH_MOV

    yasu-log
    yasu-log 2010/12/08
    [B!]Androidのタッチスクロールバー実装方法、startTouchDrag()メソッドを利用(日本語)
  • 1