2013年5月6日に横浜Android and モバイルOS プラットフォーム部で発表した資料です。Androidアプリ開発者向けにOutofMemoryErrorの発生原理とメモリ管理について最新事情を加味してまとめました。Androidアプリにおけるメモリ事情は(初期に比べたら)改善していますが、OpenCVなど画像処理の需要、高解像度対応を踏まえると依然として十分とは言いがたいユースケースもあります。そんな中でメモリ資源をうまく使うための指標となれば幸いです。
ET West 2013 テクニカルセッション
【講演概要】
モバイル分野においてAndroid OSは大きなシェアを占めており重要性は日々、高まっている。本セッションではAndroidの最新動向を解説するとともに、実際のAndroidアプリ開発ワークフローに即して、組込みデバイス特有の課題の抽出と解決に向けたテクニックを解説する。またアプリ開発におけるセキュリティ・安全性リスクへの考察を通し、Androidへの理解を深める。
※受講対象者:Androidアプリ開発をこれから始める方、日頃から取り組んでいる方
Ml based detection of users anomaly activities (20th OWASP Night Tokyo, Japan...Yury Leonychev
This is a Japanese slides of my presentation about machine learning implementation for model web application. Some advices for developers, which decided to create the same implementation in real production environment.
DroidKaigi 2019 Day.1 WelcomeTalk #droidkaigi のウェルカムトークです。
https://droidkaigi.jp/2019/
What is DroidKaigi?
DroidKaigiはエンジニアが主役のAndroidカンファレンスです。
Android技術情報の共有とコミュニケーションを目的に、2019年2月7日(木)、8日(金)の2日間開催します。
What is DroidKaigi?
DroidKaigi is a conference tailored for Android developers.
It's scheduled to take place on the 7th and 8th of February 2019.
Google I/O 2018 KeynoteとDeveloper KeynoteのOverviewMasahiro Hidaka
5月15日(火)に開催するGoogle I/O 2018報告会(Google Play APP DOJO)での講演資料です。Day.1のKeynoteおよびDeveloper Keynoteでのトピックをまとめた概要資料です。
Google AIの活用事例(アシスタント等での利用)に触れながらAndroidプラットフォームへの影響、今年一年の動きをカンファレンス参加した経験から共有します
20. public class BitmapFactory extends Object
android.graphics.BitmapFactory
Class Overview
◦ Creates Bitmap objects from various sources, including files,
streams, and byte-arrays.
Public Methods
◦ static Bitmap decodeFile(String pathName,
BitmapFactory.Options opts) Decode a file path into a
bitmap.
◦ static Bitmap decodeResource(Resources res, int id)
Synonym for decodeResource(Resources, int,
android.graphics.BitmapFactory.Options) will null Options.
20
21. Free up the memory associated with this bitmap's
pixels, and mark the bitmap as "dead", meaning
it will throw an exception if getPixels() or
setPixels() is called, and will draw nothing.
isRecycled() Returns true if this bitmap has been
recycled.
「今は使わない」というタイミングで呼んでおくと
メモリが不足したときに自動的に解放してくれる
21