Android Studio 4.0 is now in action! π¬
Android Studio 4.0, including a new motion editor, build speed window, live layout inspector, and more.
Watch here β https://t.co/qjwQsUQR3N
@AndroidDevelopersUpdates
Android Studio 4.0, including a new motion editor, build speed window, live layout inspector, and more.
Watch here β https://t.co/qjwQsUQR3N
@AndroidDevelopersUpdates
YouTube
What's new in Android Studio 4.0
The Android Studio 4.0 release introduces a new Motion Editor, Build Speed window, Live Layout inspector, Multi Preview for your layouts, support for Kotlin ...
Jetpack Compose Developer Preview 2 arrived!
Dive into this #Android11 video β https://t.co/fiRTVEq456
@AndroidDevelopersUpdates
Dive into this #Android11 video β https://t.co/fiRTVEq456
@AndroidDevelopersUpdates
Useful Open Source libraries for Android development series starting from today π€©
PR DOWNLOADER
Dependency:
PRDownloader can be used to download any type of files like image, video, pdf, apk and etc.
This file downloader library supports pause and resume while downloading a file
PRDownloader gives callbacks for everything like onProgress, onCancel, onStart, onError and etc while downloading a file.
Supports proper request canceling.
Many requests can be made in parallel.
How to use: https://github.com/MindorksOpenSource/PRDownloader#using-prdownloader-library-in-your-android-application
Join @AndroidDevelopersUpdates
Dependency:
'com.mindorks.android:prdownloader:0.6.0'
PRDownloader can be used to download any type of files like image, video, pdf, apk and etc.
This file downloader library supports pause and resume while downloading a file
PRDownloader gives callbacks for everything like onProgress, onCancel, onStart, onError and etc while downloading a file.
Supports proper request canceling.
Many requests can be made in parallel.
How to use: https://github.com/MindorksOpenSource/PRDownloader#using-prdownloader-library-in-your-android-application
Join @AndroidDevelopersUpdates
GLIDE
Dependency: '
Glide is a fast and efficient open source media management and image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.
Glide supports fetching, decoding, and displaying video stills, images, and animated GIFs.
How to use: https://github.com/bumptech/glide#how-do-i-use-glide
Join @AndroidDevelopersUpdates
Dependency: '
com.github.bumptech.glide:glide:4.11.0
'Glide is a fast and efficient open source media management and image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.
Glide supports fetching, decoding, and displaying video stills, images, and animated GIFs.
How to use: https://github.com/bumptech/glide#how-do-i-use-glide
Join @AndroidDevelopersUpdates
DEXTER Runtime Permissions
Dependency: '
Dexter is an Android library that simplifies the process of requesting permissions at runtime
Dexter frees your permission code from your activities and lets you write that logic anywhere you want.
How to use: https://github.com/Karumi/Dexter#usage
π Join @AndroidDevelopersUpdates
Dependency: '
com.karumi:dexter:6.2.0
'Dexter is an Android library that simplifies the process of requesting permissions at runtime
Dexter frees your permission code from your activities and lets you write that logic anywhere you want.
How to use: https://github.com/Karumi/Dexter#usage
π Join @AndroidDevelopersUpdates
MZIP
Dependency: '
MZip is a compress and extract library which supports zip & rar
The simple and useful library for android app developers to read/write archives like zip , rar.
How to use: https://github.com/ghost1372/Mzip-Android#how-do-i-use-mzip
π Join @AndroidDevelopersUpdates
Dependency: '
com.github.ghost1372:Mzip-Android:0.4.0
'MZip is a compress and extract library which supports zip & rar
The simple and useful library for android app developers to read/write archives like zip , rar.
How to use: https://github.com/ghost1372/Mzip-Android#how-do-i-use-mzip
π Join @AndroidDevelopersUpdates
SPRUCE ANIMATION LIBRARY
Dependency: '
Spruce is a lightweight animation library that helps choreograph the animations on the screen. With so many different animation libraries out there, developers need to make sure that each view is animating at the appropriate time. Spruce can help designers request complex multi-view animations and not have the developers cringe at the prototype.
How to use: https://github.com/willowtreeapps/spruce-android#basic-usage
π Join @AndroidDevelopersUpdates
Dependency: '
com.willowtreeapps.spruce:spruce-android:1.0.1
'Spruce is a lightweight animation library that helps choreograph the animations on the screen. With so many different animation libraries out there, developers need to make sure that each view is animating at the appropriate time. Spruce can help designers request complex multi-view animations and not have the developers cringe at the prototype.
How to use: https://github.com/willowtreeapps/spruce-android#basic-usage
π Join @AndroidDevelopersUpdates
HOLO GRAPH LIBRARY
This library is ideal for adding impeccably designed graphs and charts into Android applications.
How to use: https://github.com/Androguide/HoloGraphLibrary#usage
π Join @AndroidDevelopersUpdates
This library is ideal for adding impeccably designed graphs and charts into Android applications.
How to use: https://github.com/Androguide/HoloGraphLibrary#usage
π Join @AndroidDevelopersUpdates
CHUCK (βοΈ )
Dependencies:
[debug] '
[release] '
Chuck intercepts and persists all HTTP requests and responses inside your application, and provides a UI for inspecting their content.
Apps can optionally suppress the notification, and launch the Chuck UI directly from within their own interface. HTTP interactions and their contents can be exported via a share intent.
How to use: https://github.com/jgilfelt/chuck#setup
π Join @AndroidDevelopersUpdates
Dependencies:
[debug] '
com.readystatesoftware.chuck:library:1.1.0
'[release] '
com.readystatesoftware.chuck:library-no-op:1.1.0
'Chuck intercepts and persists all HTTP requests and responses inside your application, and provides a UI for inspecting their content.
Apps can optionally suppress the notification, and launch the Chuck UI directly from within their own interface. HTTP interactions and their contents can be exported via a share intent.
How to use: https://github.com/jgilfelt/chuck#setup
π Join @AndroidDevelopersUpdates
LOCALIZATION LIBRARY
Dependency: '
It helps support multiple languages in your app.
Its easiness comes with a limitation. The language of your application follows your Android System language. Life is hard when you change your application language on-the-fly. E.g., you have a language switcher button in your application. If you have this problem, you come to the right place. I have created a library to handle language changing at application level. It is called "Localization Activity".
How to use: https://github.com/akexorcist/Localization#usage
π Join @AndroidDevelopersUpdates
Dependency: '
com.akexorcist:localization:1.2.5
'It helps support multiple languages in your app.
Its easiness comes with a limitation. The language of your application follows your Android System language. Life is hard when you change your application language on-the-fly. E.g., you have a language switcher button in your application. If you have this problem, you come to the right place. I have created a library to handle language changing at application level. It is called "Localization Activity".
How to use: https://github.com/akexorcist/Localization#usage
π Join @AndroidDevelopersUpdates
π Activity Lifecycle:
The Activity class provides a number of callbacks that allow the activity to know that a state has changed.
The 6 lifecycle method of Activity describes how activity will behave at different states.
β’ onCreate(): Calls when the activity is first created. This is where most initialization should go.
β’ onStart(): Calls when the activity is becoming visible
to the user. This is a good place to begin drawing
visual elements, running animations, etc.
β’ onResume(): Calls when the activity starts interacting
with the user.
This is an indicator that the activity became active and ready to receive input.
β’ onPause(): The system calls this method as the first
indication that the user is leaving your activity.
β’ onStop(): Calls when activity is no longer visible to the user.
This is a good place to stop
refreshing UI, running animations
and other visual things.
β’ onDestroy(): The Final call you receive before your
activity is destroyed.
π Join @AndroidDevelopersUpdates
The Activity class provides a number of callbacks that allow the activity to know that a state has changed.
The 6 lifecycle method of Activity describes how activity will behave at different states.
β’ onCreate(): Calls when the activity is first created. This is where most initialization should go.
β’ onStart(): Calls when the activity is becoming visible
to the user. This is a good place to begin drawing
visual elements, running animations, etc.
β’ onResume(): Calls when the activity starts interacting
with the user.
This is an indicator that the activity became active and ready to receive input.
β’ onPause(): The system calls this method as the first
indication that the user is leaving your activity.
β’ onStop(): Calls when activity is no longer visible to the user.
This is a good place to stop
refreshing UI, running animations
and other visual things.
β’ onDestroy(): The Final call you receive before your
activity is destroyed.
π Join @AndroidDevelopersUpdates
π Prepare your app for package visibility and enhanced privacy in #Android11.
https://android-developers.googleblog.com/2020/07/preparing-your-build-for-package-visibility-in-android-11.html?linkId=93873420&m=1
https://android-developers.googleblog.com/2020/07/preparing-your-build-for-package-visibility-in-android-11.html?linkId=93873420&m=1
β¬οΈ Improve performance. Reduce code size. β¬οΈ
Leverage Googleβs toolkit to easily deploy PGO tools and improve native Android apps in 3 easy steps:
1οΈβ£ Identify representative workload
2οΈβ£ Collect profiles
3οΈβ£ Build application
Details β https://medium.com/androiddevelopers/pgo-for-native-android-applications-1a48a99e95d0
Leverage Googleβs toolkit to easily deploy PGO tools and improve native Android apps in 3 easy steps:
1οΈβ£ Identify representative workload
2οΈβ£ Collect profiles
3οΈβ£ Build application
Details β https://medium.com/androiddevelopers/pgo-for-native-android-applications-1a48a99e95d0
Medium
Profile guided optimization for native Android applications
Posted by Pirama Arumuga Nainar, Software Engineer
π With the APK Analyzer, you can:
π View the absolute and relative size of files in APK
π‘ Understand composition of DEX files
π Quickly view final file versions
π€ Compare two APKs side-by-side
Learn how β https://developer.android.com/studio/build/apk-analyzer
π View the absolute and relative size of files in APK
π‘ Understand composition of DEX files
π Quickly view final file versions
π€ Compare two APKs side-by-side
Learn how β https://developer.android.com/studio/build/apk-analyzer
Android Developers
Analyze your build with the APK Analyzer | Android Studio | Android Developers
Android Studio includes an APK Analyzer that provides immediate insight into the composition of your APK after the build process completes.
Learn coding from scratch with Android Basics in Kotlin! π
An online course for very beginners without programming experience, focused on the basics of building Android apps with Kotlin.
An online course for very beginners without programming experience, focused on the basics of building Android apps with Kotlin.
From Java β‘οΈ Kotlin
This learning pathway is for Java developers who want to ramp up quickly on Kotlin. Learn how to convert Java code to Kotlin, add Kotlin to an existing app, and more!
This learning pathway is for Java developers who want to ramp up quickly on Kotlin. Learn how to convert Java code to Kotlin, add Kotlin to an existing app, and more!
π Fragments:
β’ A fragment is a piece of an app's users interface that can be placed in activity
β’ Interaction with Fragments is done through FragmentManager
β’ A Fragment is closely tied to the Activity it is in, and can not be used apart from one
β’ The Fragment class can be used in many ways to achieve a wide variety of results
β’ Fragments can be used as part of your application's layout
β’ You can add or remove fragments in an activity while
in the activity is running
β’ You can combine multiple fragments in a single activity to build a multi-pane UI
π Join @AndroidDevelopersUpdates
β’ A fragment is a piece of an app's users interface that can be placed in activity
β’ Interaction with Fragments is done through FragmentManager
β’ A Fragment is closely tied to the Activity it is in, and can not be used apart from one
β’ The Fragment class can be used in many ways to achieve a wide variety of results
β’ Fragments can be used as part of your application's layout
β’ You can add or remove fragments in an activity while
in the activity is running
β’ You can combine multiple fragments in a single activity to build a multi-pane UI
π Join @AndroidDevelopersUpdates
π£ Introducing in-app review API! π£
Developers can now ask for ratings and reviews from within your app with the new in-app review API.
See how β https://t.co/sUTLcKTTX1
Developers can now ask for ratings and reviews from within your app with the new in-app review API.
See how β https://t.co/sUTLcKTTX1