Creating android camera intent app using Kotlin - Displaying scaled bitmap
Creating android camera intent app using Kotlin - Displaying scaled bitmap
1 - Kotlin Camera Thumbnail https://youtu.be/5wbeWN4hQt0
2 - Kotlin Camera Bitmap https://youtu.be/qYnZx0lBAFU
3 - Kotlin Video Intent https://youtu.be/5XqfcFp2wjg
To get access to the code descriptions, code and github bonus videos signup here https://goo.gl/6tDV38
For any questions I provide paid support here https://www.codementor.io/mobapptuts
This is an introduction to the Kotlin programming language based on an existing tutorial series https://www.youtube.com/playlist?list=PL9jCwTXYWjDJ5Lok6Lba8U_629xeegj_h
Where we implement the application using Kotlin instead of Java.
The android camera intent tutorial is designed to suitable for people new to programming and android. And by combining the camera intent app with the kotlin programming language makes an ideal android tutorial for beginners.
Part 1 - Displaying thumbnail https://youtu.be/5wbeWN4hQt0
Part 2 - Displaying scaled bitmap https://youtu.be/qYnZx0lBAFU
This android kotlin development tutorial continues on from https://youtu.be/5wbeWN4hQt0 Where in the previous tutorial we passed a thumbnail to thumbnail to the image view, in this tutorial we will be passing a scaled bitmap to the image view.
In this tutorial we will cover:
- Setting up a content:Uri with sharable permissions
- Setting up unique filenames
- Creating a File to hold the bitmap
- Passing the sharable intent to a camera application
- Creating a scaled bitmap whose dimensions match the destination image view
- Setting the scaled bitmap to the ImageView
API's covered:
- SimpleDateFormat
- getExternalFilesDir()
- getExternalFilesDir.mkdirs()
- createTempFile()
- File.absolutePath
- BitmapFactory.Options()
- BitmapFactory.Options().inJustDecodeBounds
- BitmapFactory.Options().inSampleSize
- BitmapFactory.decodeFile()
- Math.min()
- ImageView.setImageBitmap()
- FileProvider.getUriForFile()
- Intent.putExtra()
Youtube playlist:
https://www.youtube.com/playlist?list=PL9jCwTXYWjDJwCVaF0l2ZwsLSqchEmsxl
For questions, training and consultancy support I can be contacted here https://www.codementor.io/mobapptuts
Disclaimer - The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base.
For much more information checkout
Website - https://www.nigeapptuts.com
Codementor - https://www.codementor.io/mobapptuts
Twitter - https://twitter.com/MobAppTuts
Facebook - https://www.facebook.com/nigeapptuts
Google+ - https://plus.google.com/b/115884642086760882044
Pinterest - https://www.pinterest.com/mobapptuts/
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Creating android camera intent app using Kotlin - Displaying scaled bitmap», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.