トップページ

AppInventor2beta.png

MITの提供する『MIT App Inventor』の攻略wikiです。それぞれのブロックの扱い方、動き方を中心に情報を保管しています。AppInventor利用者は編集を手伝っていただければ幸いです。


概要

AppInventorはMITが提供しているjavaやandroidの知識がなくても、ブロックを組み合わせてAndroid用アプリを作ることができるビジュアルプログラミング言語です。当初はGoogle.incが開発を行っており、2010年12月15日に一般公開されましたが、2011年12月31日にGoogleは公開を終了しました。その後、MITが同プログラムを引き継ぎました。また、AppInventor2は2013年に12月に公開されました


前作との違い

Webブラウザ(IEは除く)だけで動かすことが可能になりました。ブロックの全体的な見た目といくつかのブロックが変更されました。




お知らせ

アップデートの詳細は下記URLから確認できるようです


変更内容
Changes between nb150d and nb150e (August 27, 2016)

Added Documentation on our Experiments with Virtual Reality

===================================================================


Changes between nb150 and nb150d (August 23, 2016)

Bugfixes and performance improvements

===================================================================

Changes between nb149 and nb150 (July 26, 2016)

Note: This is a component release. The new Companion is version 2.38 available directly from MIT App Inventor or via the Google Play Store. However if you do not use the Scrollable Horizontal and Vertical arrangements, you can continue to use the old Companion (version 2.37). If you have a Companion older than version 2.37, you will be prompted to auto-update your Companion.

Migrate to FusionTables version 2
Google has deprecated FusionTables version 1. It will stop working on November 1, 2016. This update changes the FusionTablesControl component to make use of the version 2 API. No changes to programs are required. However packaged apps built with version nb149 or earlier will stop working in November. Repackage apps with this version to use version 2. If you distributed your Fusion Tables using applications, either directly or through the Google Play Store, you need to distribute a new version built with this version.

Added Scrollable Horizontal and Vertical Arrangements
We added two new Arrangements to provide scrolling versions of Horizontal and Vertical arrangements.

Update Alignment Dropdowns in the Designer
Today we have dropdowns in the Designer for selecting alignment values. However in the blocks you have to use numbers to represent the different kinds of alignment. This change places those numbers in the dropdown items as a convenience and reminder of those values.

Add Comments to Block Save Images
Fix a bug that causes images of blocks to not include any comments.

Rewrite Extensions packaging scripts
This change makes it a little easier for extension authors to build extensions.

Support upgrading of extension components
You can now load a new version of an extension, provided it has the same package name, over a previous version. Any incompatible block changes between the old and new version will result in the blocks being marked “bad”. The MIT App Inventor programmer then has to do some cleanup, but this is way better then having to delete the old component, which removes all associated blocks.

Bugfixes to the MIT App Inventor Gallery
Update to ListView
SelectionIndex() will now return the correct value even when a filter is applied to the ListView.

Update to ActivityStarter
ActivityStarter will now generate an error if no intent “Action” is provided.

We now signal an error on Divide by Zero
If you attempt to divide a number by zero we will generate an error. This error can be caught by the MIT App Inventor Programmer using the Screen.ErrorOccurred event. If it is not caught a Notification is briefly displayed.

===================================================================

2016/6/15/(バージョン:nb149)

Update to Firebase: Add New Blocks:
AppendValue: Takes a “tag” and a “value.” If tag points to a list, it will append the value onto the end of the list. If two devices attempt this at the same time, both will be added (instead of one being lost).
RemoveFirst: This function instructs Firebase to remove the first element of the list pointed to by “tag”. It is returned in the new Event “FirstRemoved.”
GetTagList: Useful when debugging. It gets a list of the known tags in your application. The list itself is returned as an argument to the “TagList” Event.
ClearTag: This function takes a “tag” as argument and removes it from the Firebase system. It is analogous to TinyDB’s ClearTag function.
Persist: New Designer only property. When set to “true” Firebase will keep track of changes when there is no internet connection, even when the App exists. Upon next invocation, if there is an Internet connection variable changes will be uploaded.
Firebase remains an experimental feature.

App Inventor Extensions
This is the first public release of MIT App Inventor that supports “extension” components written by users in Java. Extensions are built using the App Inventor sources and are packaged into “.aix” files. “.aix” files can then be added to projects to add functionality.

Limitations

Currently only non-visible components may be added. Apps with extensions loaded may not be uploaded to the App Inventor Gallery

New Components
BluetoothLE
New BluetoothLE (Bluetooth Low Energy) Component: This component is actually our first official release of an MIT App Inventor supported extension. It is available for download from the following site. MIT App Inventor Extensions.

This extension supports a new protocol similar to classic Bluetooth except that it is designed to consume less power while maintaining comparable functionality. For this reason, Bluetooth LE is the preferred choice of communication with IoT (Internet of Things) devices that have limited power resources. We are currently in the process of creating a new page on our website that will provide documention, tutorials and other materials to help use and understand the new possibilities that this new component. A draft of this page can be found here: BluetoothLE Documentation and Resources

Pedometer
New Pedometer Component: This component uses the accelerometer to determine the number of steps taken while walking with a device.

Components to support LEGO Mindstorms® EV3 Robots
Other
The system is now based on Android SDK 5.1.1: However we still support devices back to Android 2.2 (though not all features of App Inventor will work with all versions of Android)
Listview Update: Font size scales properly in “Responsive” mode.
Labels can now contain a limited subset of HTML as well as text. Check the “HTMLFormat” designer property to enable this feature.
Bugfixes and Documentation fixes


===================================================================

2016/4/25/(バージョン:nb148a)

Bugfix to CheckBox handling
Removal of temporary transition code to smooth the deployment of nb148

===================================================================

2016/4/24/(バージョン:nb148)

No user visible changes. This release restructures some of the internal functions of MIT App Inventor to facilitate future improvements.

===================================================================

2016/4/22/(バージョン:nb147e)

Bugfix to Checkbox resizing. Make sure floating point values work

===================================================================

2016/4/20/(バージョン:nb147c/d)

Fix to a bug which prevented very old Companions from auto-updating

===================================================================

2016/4/20/(バージョン:nb147b)

Gallery Fixes: retry failed searches and return more consistent results
Fix checkbox resizing in the Designer
Fix the “tooltips” on the COS and TAN math blocks
Updated Italian Translation
Updated Swedish Translation

===================================================================

2016/3/15/(バージョン:nb147a)

Documentation updates
Minor fix to Designer Color Dropdown, if there is not enough room to show all colors below the control, the list of colors will show up above.

===================================================================

2016/2/18/(バージョン:nb147)

NOTE: This is a component release which will have a new Companion to take advantage of new features. The older Companion should still function, but not everything will work correctly.

UI Improvements:
Welcome to App Inventor 2 Dialog will no longer prevent the “Start Project” button from working.
Additional validation of new project names to ensure they are valid names.
Fix an issue where the project “Start” button can be pushed multiple times before a new project is created (this can happen on a slow network) which results confusion.
Various features that open a documentation page from the system will now open in a fully functional new window or tab instead of a pop-up.
The Backpack icon has been updated to better show when it contains blocks or is empty
Add a new Menu Item to the Help Menu to facilitate downloading andinstalling the latest companion.
“ScalePictureToFit” property on an image will scale it both on the device and in the UI Designer
Clock Component Update: Additional functions for computing timeintervals and otherwise manipulating dates and times.
Documentation Updates
Updates the Portuguese (Brazilian) Translation
Gallery Improvements: Better search results
Add the new “Firebase” Component:
This is an experimental prototype release of the Firebase component. Feel free to use it for personal apps, but be aware that the component is under active development, and may change in a way that could make your apps stop working.

The Firebase component provides a mechanism similar toTinyWebDB. However it is hosted using a Firebase database (firebase.com) and supports updates to variables from different copies of an application, when multiple copies of an application are running on different devices which are connected to the network. When one device updates a variable the other will get a “DataChanged” event with the new value. This permits a form of “cloud variable.”

The use of Firebase normally requires an account at firebase.com, but by default an account sponsored by MIT is configured (via “branding” commits which are not public) for the MIT sponsored service.


Note: The Emulator that we distribute does not support the Firebase Component at this time.

Camera Component: The UseFront property was removed, it no longer functions on newer versions of Android. Projects that set it in the Designer will receive a warning the first time they are loaded into the system and the property will be removed. Any blocks that reference it will be disabled and marked “bad” (they will have a red border and will need to be discarded).
Location Component: Do not fire the “LocationChanged” event if the location is invalid.
The GyroscopeSensor component was added.
The “HideKeyboard” function was added the the “Screen” component. It is still present in the TextBox component as well.
===================================================================

2016/1/8/(バージョン:nb146k)

Portuguese (Brazilian) Translation
Minor documentation changes

===================================================================

2015/12/11/(バージョン:nb146j)

Security bugfixes – Make sure a person can only “Like” an App Once
Server Performance improvements
Server fix to make sure older projects can load
Other Minor bugfixes
Minor documentation fixes

===================================================================

2015/12/1(バージョン:nb146i)

Fixes to the Russian Translation
New document on how to use Images in App Inventor

===================================================================

2015/11/19(バージョン:nb146h)

Gallery Update: Adds “Tutorial” category. Changes how a user’s profile is laid out: List of Apps now shows more than 5 apps and appears below the profile information instead of to the right of it.
Updates to the Korean Translation
Addition of the Swedish Translation
Bugfixes. In particular errors during initial form load of the Companion (which happens when you make changes in the designer) no longer “crash” the Companion.

===================================================================

2015/10/25(バージョン:nb146g)

Korean Translation

===================================================================

2015/10/18(バージョン:nb146f)

Bugfixes.
Right clicking the Backpack brings up a menu with option to see short help message.
Minor updates to French and Russian translations.

===================================================================

2015/9/30(バージョン:nb146)

Blocks Copy and Paste feature (called “BackPack”) documentation is located at http://ai2.appinventor.mit.edu/reference/other/backpack.html
Improvements in how spaces and other characters are handled in Component Names. This is important for some non-English languages.
You can now download a png image of your blocks by right-clicking on the blocks editor background (it’s a new item added to the right-click menu).
Added Background Color and Image to HorizontalArrangement and VerticalArrangement Layouts.
You can now connect or disconnect a BlueTooth keyboard when an App Inventor App is running
Bugfixes and performance improvements.

===================================================================

2015/9/11(バージョン:nb145i)
Renamed collapsed blocks now appear correctly
Add additional features to the Canvas component for the use of Extension Writers
Font Sizes are now reported correctly
Another update to the French translation
Improvements to “Fixed” mode to handle device rotation better.
Fixed bug that caused improper sizing on some devices when the soft keyboard was displayed


===================================================================

2015/9/2(バージョン:nb145g)

フランス語の翻訳機能のアップデート

===================================================================

2015/8/27(バージョン:nb145f)

VideoPlayerが正しいサイズで表示し、サイズの決定にパーセンテージを使用できるようにバグを修正。
「黒いバー」の問題の解消。(ただし、デバイスを回転させた時に起きる可能性がある。)

===================================================================

2015/8/24(バージョン:nb145e)

SDカードを使用する権限がそれを必要とするコンポーネントに付与されていることを保証。
App InventorがChrome 46で動作しない問題の修正

===================================================================

2015/8/23(バージョン:nb145c)

重要なバグ修正:ディスプレイの画面密度が1.0のデバイスでパッケージ型アプリ(及び Companion)が強制終了する問題の修正
重要なバグ修正:Gingerbreadもしくはそれより古いAndroid(エミュレータを含む)を搭載するデバイスでパッケージ型アプリ(及びCompanion)が強制終了する問題の修正
Companion version 2.31の搭載が必須

===================================================================

2015/8/22(バージョン:nb145b)

画像のサイズ決めや拡大方法の更新。これにより、アプリケーションのメモリ不足による強制終了を修正。
MIDIファイル再生時のプレイヤーのNullポインタ違反を修正。
Web Componentが適切なアクセス権を保有することを保証。
これにより、nb145で発生した問題を修正。
Companionに「エラーレポートを送信」メニュー項目を追加。要求があった場合、これによりMIT開発チームにデバッグ情報を送信可能。
(※注意:このリリースは更新版のCompanion (version 2.29)を含むが、特に問題が発生していないか、エラーレポート機能を使いたくなければCompanion (version 2.29)へ更新する必要はない。)
(※注意:Google Playで配信中。auto-updateを有効にしていれば自動的に受信できる。)

===================================================================

2015/8/18(バージョン:nb145a)

バグ修正:Screen1以外の画面が「Responsive(応答)」モードにならない問題を修正。

===================================================================

2015/8/17(バージョン:nb145)

Responsive App Inventor: MIT App Inventorに、複数の画面密度と画面サイズへの対応を追加。これは重大な変更である。使い方の詳細は、Responsive Design in App Inventorを参照。
ドキュメントの修正と更新。
垂直方向の位置揃えの不整合問題を修正。複数行のボタンを正しく整列できるように。
スライダーが動作するAndroidのバージョンとスマートフォンのモデルの範囲を拡大するよう修正。
「My Projects View」から「Export all Projects」をすることが可能に。ActivityStarterに「Extras」プロパティを追加。これにより、App Inventorアプリケーションから他のアプリケーションの起動がより柔軟に。
Playerコンポーネントへの軽微なバグ修正。Playerに音声入力が無くてもon exitでアプリが強制終了することはなくなる。
スプライトのドラッグを認識する閾値の変更。より小刻みにドラッグできるように。
ImageSpriteの回転アルゴリズムを更新。
「Instant」をDate Piker及びTme Pickerと一緒に使用可能に。
特定の状況処理を改善するためのSpinnerコンポーネントに対するバグ修正。
File Componentにファイルを書き出した後に起動される「AfterFileSaved」イベントを追加。
既定の国と言語に関するシステム設定を使用するようTextToSpeechの「デフォルト」選択の追加
Camera コンポーネントの更新:新たに追加した画像をスキャンしてデバイスの既定のメディアコンテンツプロバイダーに取り込む。 scanFileToAddメソッドの追加で既定のメディアコンテンツプロバイダー(Gallery, Google Photosなど)で新たに追加した画像の表示が可能に。
ContactPickerにContactUri と ViewContact とを追加。
Android Version 1.5 (Cupcake) はサポート終了。1.6 (Donut)が必須。
既知の問題に関するドキュメントを閲覧可能。

===================================================================

2015/8/3(バージョン:nb114e)

ドキュメントの更新
最新のChromeで不正な形式の吹き出しコメント(と「Do it」の結果)を修正。

===================================================================

2015/7/26(バージョン:nb144d)

フランス語の翻訳の追加
ロシア語の翻訳機能の機能向上
細かなバグ修正

===================================================================

2015/7/17(バージョン:nb144b)

ロシア語への翻訳の追加

===================================================================

2015/7/12(バージョン:nb144a)

Splash Screenを再表示する項目をヘルプメニューに追加
App Inventor Designer UIへの軽微なバグ修正
新しいプロジェクト名を入力中に検証
Google’s App Engineの変更に合わせてバックエンドを変更

===================================================================

2015/6/30(バージョン:nb144)

When a component is renamed in the designer, any related collapsed blocks will be properly renamed now.
表示されているステータスバーとタイトルバーを非表示が選択可能に
ListViewで選択したアイテムに色をつけることが可能に
"Activity Starter"コンポーネントに“Activity Canceled” のブロック追加
Playerコンポーネントに電話やそれ以外の外部の呼び出しで再生が停止するよう修正
いくつかのデバイスで見られるスクリーンに"ImageSprite"が表示されないバグを修正
Mathブロックに10,16,2進法の変換ブロックを追加
Clock Component now permits you to format a date or time arbitrarily. You provide a “format string”
You can now have both a Background Image and a Background Color and the “right thing” happens
"TextToSpeech"コンポーネントで国や言語を選択するときにドロップダウンメニューを使うよう修正
"TextToSpeech"に国と言語の値を取得するブロックの追加

===================================================================
2015/6/28(バージョン:nb143i)

クロームでのピンチとズーム時のバグを修正
Googleのホスティング環境の変更に適応するためのプロジェクトの保存方法に対する内部変更
プロジェクトをGalleryから読み込む時の確実性の向上
起動時のSplash Screenを閉じる機能を追加(「再表示しない」チェックボックス)
ドキュメントのマイナーチェンジとバグ修正

===================================================================

2015/5/10(バージョン:nb143e)

・MIT App Inventor Gallery でのアプリの人気度を、ダウンロード回数に代わり「いいね」回数で表示。

===================================================================

2015/5/1(バージョン:nb143d)

・GWT アップデート関連のバグを修正
・Gallery UI の軽微な改善
・Gallery アプリでイメージと概要を新たに要件として追加
・プロジェクト一覧ページの UI アップデート。プロジェクト表示をGallery での公開/非公開ステータスで並べ替え可能
・App Inventor での Genymotion エミュレーターの使用方法ドキュメントを追加

===================================================================

2015/4/26(バージョン:nb143)

MIT App Inventor Gallery を有効化
軽微な UI 修正
軽微なドキュメント アップデート
Google Web Toolkit (GWT) バージョン 2.5.1 をバージョン 2.7 にアップデート

===================================================================

2015/3/29(バージョン:nb142)

ロケールに関係なくピリオドを小数点とするように小数点の表示を変更。整数値では、最後に「.0」を付けずに表示させる。
Safari ブラウザーでの Type ブロックを表示する。

===================================================================

2015/3/27(バージョン:nb141)

Fusion Table からレポートされるエラーを改善。
Fusion Table での「DoQuery」メソッドを廃止。2012年から使用停止。ブロック描画での使用は不可となり、「DoQuery」メソッドブロックを含むプロジェクトでは、読み込み時にブロックが無効化され、非推奨 (現在使用されていない) ブロックであることを赤の罫線で表示。
スライダー・コンポーネントに「Thumb 有効化」プロパティを追加。これによりスライダーを「プログレス・バー」として利用可能。
実行時エラーのレポートを改善 (失敗した関数の引数を見分け易い角括弧内で表示)。
進捗ダイアログ メソッドを通知コンポーネントに追加。
EmailPickers と PasswordText ボックスにキーボード フォーカスを新たに要件として追加。
TextToSpeech コンポーネントにプロパティを追加し、対応言語と国リストを実行時に取得。
App Inventor にイタリア語翻訳を追加。言語メニューを「ボール」アイコンから現在の使用言語名を下向きキャレットと共に表示。
「組の参照」が数字とテキスト表現を同じ要領で参照するように修正。
有理数は常に少数で表示。変更前は分数表示 (例: 2/17 は 0.11764 で表示)。
アプリ名でユニコード使用可能。
ドキュメントのアップデートと修正。
ソースからビルドした App Inventor で使用されているビルド システムの改善

===================================================================

2015/3/24(バージョン:nb140c)

バグ修正: コンポーネント名が変更された際にプロジェクトの破損を引き起こすバグの修正。

===================================================================

2015/2/22(バージョン:nb140b)

Google Docs にコメント追加向けにドキュメントを追加。
ドキュメント ページでのログイン要件を排除。

===================================================================

2015/2/xx
  • SensorにProximitySensorコンポーネントが追加されました
  • アプリ名がプロジェクト名と別に設定出来るようになりました(日本語可)
  • 略語で表示してあったブロックの一部の表示が修正されました

===================================================================

2014/9/xxにアップデート(nb136)が行われます
  • 翻訳機能の強化(中国語/スペイン語)
  • タブレットのサポート(これに伴いAndroid1.6未満はサポート外に)
  • twitter機能のアップデート(Twitpicを介さずに直接画像を投稿)
  • 画面のスクロールはデフォルトでオフに
  • アプリごとの認証が可能に
  • 3つ以上まとめてコンポーネントと削除しようとすると確認ダイアログが表示されるように

===================================================================

2014/7/xx User InterfaceからSensorにClockコンポーネントが移動しました

===================================================================

2014/5/26にAppInventor2のアップデートが行われました(ListView、DatePicker、TimePicker、YandexTranslateコンポーネントの追加)




WIKIの編集方法

編集方法は、下記ヘルプを参照してください。


  • 最終更新:2016-09-02 00:25:08

このWIKIを編集するにはパスワード入力が必要です

認証パスワード