Home
Videos uploaded by user “Coding in Flow”
How to Make a Button Open a New Activity - Android Studio Tutorial
 
03:22
In this video we will learn, how to open a new Activity from a Button click. For this we will create a new Intent and pass it to the startActivity method. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 138387 Coding in Flow
How to Add a Toolbar - Android Studio Tutorial
 
05:27
In this video we will learn, how we can replace the default action bar with a toolbar, which is more customizable and more flexible. We will define it in a seperate xml file so we can include it into different other layouts. We will also change it's theme so the text and menu icon are white instead of black. Source code: https://codinginflow.com/tutorials/android/toolbar ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 26796 Coding in Flow
Batch Import Images for Different Screen Resolutions - Android Studio Tutorial
 
02:19
In this video we are going to use an awesome tool called "Android Drawable Importer" to batch import images for different screen resolutions, instead of creating them one by one. This helps you create Drawable files for mdpi, hdpi, xhpdi etc. at once. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 10614 Coding in Flow
WebView - Android Studio Tutorial
 
04:33
In this video we will create simple WebView to show a website. We will pass a new WebViewClient, load a URL and enable JavaScript by changing the WebSettings. We are also going to provide proper back navigation by overriding onBackPressed(). ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 39485 Coding in Flow
How to Add an Up Button to the AppBar - Android Studio Tutorial
 
02:41
In this tutorial we are going to implement an up/back button into our app, which navigates us back to our parent Activity. For this we have to make some small changes in our Manifest.xml file. If you dont know, how to open a new Activity (for example by clicking a Button), watch this video first: https://www.youtube.com/watch?v=bgIUdb-7Rqo ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 15434 Coding in Flow
OnClickListener for Multiple Buttons - Android Studio Tutorial
 
03:32
In this video we will learn, how to set OnClickListeners for multiple buttons and handle them all in one onClick method. Instead of passing an anonymous inner class to the setOnClickListener method, we will pass the activity itself and implement the OnClickListener interface into our MainActivity. We will then use a switch/case statement to check for the button IDs and handle the corresponding button click. Source code: https://codinginflow.com/tutorials/android/onclicklistener-for-multiple-buttons ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 33983 Coding in Flow
What is Context in Android Programming?
 
04:20
When we call a method or a constructor, we often have to pass a context and often we use "this" to pass the activity context or "getApplicationContext" to pass the application context. But what is this "context" and what does it actually do? ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 11532 Coding in Flow
Text Spinner - Android Studio Tutorial
 
05:14
In this video we will create a simple spinner in Android Studio and fill it with a string array from our xml resource file. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 33875 Coding in Flow
Menu with Sub Items - Android Studio Tutorial
 
06:38
In this video we will create an options menu in Android Studio, which contains icons, drop down menus and sub items. The menu will be displayed in the app bar. For this we will override onCreateOptionsMenu and pass our own menu.xml file. Also we will handle click events on the single items in the onOptionsItemSelected method. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 24232 Coding in Flow
Simple Firebase Notification in 3 Minutes - Android Studio Tutorial
 
02:31
In this video we will connect our app to Firebase through the Firebase Assistant and send a notification to our app in the background. This will be pretty easy and takes less than 3 minutes. Enjoy! You can also find a link to the Firebase Console here: https://codinginflow.com/tutorials/android/simple-firebase-background-notification ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 12662 Coding in Flow
ConstraintLayout Tutorial Part 1 - UNDERSTANDING CONSTRAINTS - Android Studio Tutorial
 
09:49
In this video series we are going to learn, how to use the ConstraintLayout, which is basically an improved RelativeLayout with a flatter view hirarchy, better performance and more functionality. In this video we will learn, how to convert an existing layout into a ConstraintLayout, how to set and delete constraints, use the infer constraints and autoconnect functionality, switch between wrap_content, match_constraint and fixed size, change the margin and bias and everything else we need to get started with ConstraintLayout. Watch the full playlist: https://www.youtube.com/playlist?list=PLrnPJCHvNZuA80lNWNCLICR3qYzhw3iPI ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 36018 Coding in Flow
Create Resizable 9 Patch Images - Android Studio Tutorial
 
04:43
In this video we will learn, how to create resizable 9Patch PNG images in Android Studio, which don't look stretched or distorted when changing their size. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 6245 Coding in Flow
Press Back Again to Exit - Android Studio Tutorial
 
03:04
In this tutorial we will learn, how to implement the "Press back again to exit" functionality, which only leaves the app, if you press the back button 2 times within a certain time frame. This way we won't close our app immediatly. Have fun! ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 5806 Coding in Flow
ConstraintLayout Tutorial Part 4 - BARRIERS AND GROUPS - Android Studio Tutorial
 
05:42
In part 4 of the ConstraintLayout tutorial, we will learn how to use some of the new features and helpers of version 1.1.0 of the ConstraintLayout. We will set the app:layout_constrainedWidth attribute to true to make a view with a width of wrap_content shrink to it's constraints' width if they are smaller than it's wrap_content width. And vice versa there is also an app:layout_constrainedHeight attribute for the height. We will also learn how to use the app:layout_constraintWidth_percent and app:layout_constraintHeight_percent attributes to set the size of a view as a percentage of the parent layout, and how to use barriers to move views dynamically when other views grow in size, by referencing them in the app:constraint_referenced_ids attribute. With the app:barrierAllowsGoneWidgets attribute we can change if the barrier should be constrained by widgets with a visibility of gone. And lastly we will learn how to reference and use groups to change the visibility state of multiple views at once, either directly in xml or in Java code. Watch the full playlist: https://www.youtube.com/playlist?list=PLrnPJCHvNZuA80lNWNCLICR3qYzhw3iPI ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 7952 Coding in Flow
VideoView - Android Studio Tutorial
 
04:12
In this video we will use a VideoView to play a local video file in our app. We will also add a MediaController and display it on top of our VideoView. Source code: https://codinginflow.com/tutorials/android/videoview ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 13899 Coding in Flow
Room + ViewModel + LiveData + RecyclerView (MVVM) Part 1 - WHAT ARE ANDROID ARCHITECTURE COMPONENTS?
 
11:27
In this video series we will build a note taking app, using the Android Architecture Component libraries (Room, ViewModel, LiveData and LifeCycle), a RecyclerView and Java. The data will be stored in an SQLite database and supports insert, read, update and delete operations. For this we will follow the official recommendations from the "Guide to App Architecture" (link below). In part 1 we will learn what the Architecture Components are, how they work and why we need them. We will learn about the problems that arise from the Activity and Fragment lifecycle, configuration changes and bloated, tightly coupled classes and how ViewModel and LiveData can help us with that. ViewModels store and manage UI related data, they survive configuration changes and can be used seemlessly by the newly created activity. LiveData is an observable dataholder and it is life-cycle aware, which means it automatically starts and stops updating the UI-controller at the right times in it's lifecycle. For the backend of our app we will use the "Room Persistence Library", which works as a wrapper around SQLite and helps us reduce boilerplate code by making extensive use of Annotations. Instead of creating an SQLiteOpenHelper, we simply turn Java classes into "entities" to create tables, and use "Data Access Objects" (DAO) to query these tables and make operations on them. Room also provides compile time verification for SQL statements, so we run into fewer runtime exceptions, caused by typos and invalid queries. We will also use a "Repository" class that works as another abstraction layer between the ViewModel and the underlying data model. Together, this whole structure constitues an "MVVM" (Model-View-ViewModel) architecture, which follows the single responsibility and separation of concerns principles. Watch the whole playlist: https://www.youtube.com/playlist?list=PLrnPJCHvNZuDihTpkRs6SpZhqgBqPU118 Official Guide to App Architecture: https://developer.android.com/jetpack/docs/guide ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 22094 Coding in Flow
BottomNavigationView with Fragments - Android Studio Tutorial
 
16:07
In this video you will learn, how to add a bottom navigation to your activity and use it to switch between different fragments. We will fill our BottomNavigationView with 3 menu items and then check which item was selected with the OnNavigationItemSelectedListener interface and a switch statement. We will then create the appropriate fragment and display it in a FrameLayout with help of the getSupportFragmentManager, beginTransaction and replace methods. Example code + dependency: https://codinginflow.com/tutorials/android/bottomnavigationview ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 31739 Coding in Flow
ConstraintLayout Tutorial Part 3 - GONE MARGIN, CHAINS & GUIDELINES - Android Studio Tutorial
 
06:04
In part 3 of the ConstraintLayout tutorial, we will learn how to use the layout_goneMargin attribute to set a different margin for when the neighbouring view is gone, we will learn how to create and position guidelines and how to chain multiple views together and use their spread, spread inside and packed chain styles. Watch the full playlist: https://www.youtube.com/playlist?list=PLrnPJCHvNZuA80lNWNCLICR3qYzhw3iPI ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 10198 Coding in Flow
How to Make a Tic Tac Toe Game in Android - Part 1 - THE LAYOUT - Android Studio Tutorial
 
05:44
In this video series we will create an offline 2 player Tic Tac Toe game. We will code the whole game logic, count player points, add a reset functionality and handle orientation changes, so we don't lose our game state when we rotate the device. In part 1 we will create the layout by creating 9 buttons within nested LinearLayouts and we will even them out over the screen by adding the layout_weight attribute. Our player points and reset button will be in a RelativeLayout. Source code: https://codinginflow.com/tutorials/android/tic-tac-toe/part-1-layout ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 37392 Coding in Flow
Simple HTTP Request with OkHttp - Android Studio Tutorial
 
04:20
In this video we will use the OkHttp library to make a simple asynchronous HTTP request, download a JSON from a URL and display it in a TextView. For this we will use OkHttp's enqueue method which executes the network call in a background thread. To update the TextView we will then access our main thread with the runOnUiThread method. Source code, dependency, links etc: https://codinginflow.com/tutorials/android/okhttp-simple-get-request ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 9261 Coding in Flow
Navigation Drawer with Fragments Part 1 - MENU AND ACTIVITY THEME - Android Studio Tutorial
 
10:35
In this little video series we are going to build a navigation drawer from scratch. When we click any of the menu items in our navigation drawer, we will switch between different fragments or trigger another action. In part 1 we will add the dependency for the design support library and create the vector icons, as well as the menu xml file with a menu group and multiple menu items, which each have an id, a title and an icon set to them. We will also prepare our activity theme by removing the action bar with the windowActionBar and windowNoTitle attributes, so we can later add a toolbar instead. Watch the whole playlist: https://www.youtube.com/playlist?list=PLrnPJCHvNZuDQ-jWPw13-wY2J57Z6ep6G Example code + dependency: https://codinginflow.com/tutorials/android/navigation-drawer/part-1-menu-activity-theme ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 70395 Coding in Flow
How to Save an ArrayList of Custom Objects to SharedPreferences with Gson - Android Studio Tutorial
 
07:05
In this video we learn, how we can save a List of custom Objects to Shared Preferences using Google's GSON Library. For this purpose we will turn the ArrayList into a JSON and save it as a String using the putString method. You can find the GitHub link with dependency and instructions here: https://codinginflow.com/tutorials/android/save-arraylist-to-sharedpreferences-with-gson ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 14037 Coding in Flow
Simple Dialog with 1 Button - Android Studio Tutorial
 
03:56
In this video we will learn, how to create a simple AlertDialog, which shows you just an informational text and 1 Button. For this we will use the setPositiveButton method, which dismisses the Dialog when clicked. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 5164 Coding in Flow
SeekBar - Listening to Progress Changes - Android Studio Tutorial
 
03:53
Hey guys, in this quick tutorial we will learn, how to read the progress out of a SeekBar using the OnSeekBarChangeListener Interface and how to apply the progress to a ProgressBar using the setProgress method and how to display it in a TextView. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 7765 Coding in Flow
How to Parse a Json Using Volley - SIMPLE GET REQUEST - Android Studio Tutorial
 
11:04
In this video we will use the Volley library to parse a JSON Object containing a JSON Array from a URL into our App and display the results in a TextView. We will parse Strings and Numbers. Watch the Retrofit Beginner Tutorial: https://www.youtube.com/playlist?list=PLrnPJCHvNZuCbuD3xpfKzQWOj3AXybSaM Source code, dependency, JSON links etc: https://codinginflow.com/tutorials/android/volley-simple-get-request ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 39913 Coding in Flow
JobScheduler - Android Studio Tutorial
 
16:14
Since Android Oreo, idle apps can't keep background services running anymore. So if you need to do operations even if your app is not running in the foreground, you should use a JobScheduler instead. In this video we will set up such a JobScheduler by creating a class that extends JobService and then scheduling it with the JOB_SCHEDULER_SERVICE. In the JobService class, we override onStartJob and onStopJob. In onStartJob we will start a background thread to do some long running (fake) operations. In onStopJob we cancel our work because the system will release the wakelock when the criteria for our job are not met anymore (for example we required an unmetered network and the user disables WiFi). In this case we will reschedule our task to try again later. When we schedule our job, we pass a JobInfo object to the JobScheduler, which will define under which circumstances we want the system to execute our job. Here we can set criteria like setRequiresDeviceCharging, setRequiredNetworkType, setPeriodic and more. We can even make it survive device reboots with setPersisted. Lastly we register our JobService in the manifest with the android.permission.BIND_JOB_SERVICE permission and the system will then start our service at the appropriate time, even if our app is not running. Example code: https://codinginflow.com/tutorials/android/jobscheduler JobInfo.Builder documentation: https://developer.android.com/reference/android/app/job/JobInfo.Builder.html ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 16915 Coding in Flow
Tab Layout with Different Fragments - Android Studio Tutorial
 
07:48
In this video we are going to take a look at the Tab Layout and learn how to open a different Fragment on every new page by overriding the getItem method, instead of providing a different instance of the same Fragment all the time. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 24933 Coding in Flow
Send Custom Object to Activity Using Parcelable - Android Studio Tutorial
 
08:28
In this tutorial we will use the Parcelable interface, which is a faster alternative to Java's Serializable interface, to send a custom object from our MainActivity to another activity, after we click that particular item in a RecyclerView. Source code, dependencies etc: https://codinginflow.com/tutorials/android/parcelable ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 10759 Coding in Flow
How to Create Separate Layout Files for Landscape Mode and Different Screen Sizes - Android Tutorial
 
05:19
In this video we will learn, how we can provide different layout files for portrait and landscape mode and for different screen sizes by creating separate layout folders with different qualifiers like orientation, width, height, smallest width etc. Further reading: https://developer.android.com/training/multiscreen/screensizes.html ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 12556 Coding in Flow
How to Change the App Icon in Android Studio (With Adaptive Icons)
 
04:38
Adaptive icons were introduced with Android Oreo. They consist of a foreground layer and a background layer and make interesting animations and effects possible. If your app has target SDK 26 (Oreo) or higher and you don't provide an adaptive launcher icon, newer app launchers will downscale your default icon and place it on a white background, which doesn't look very nice. In this video we will learn how to change the app icon in Android Studio with the Adaptive Icon Wizard, which also creates a legacy icon (needed for SDK 25 and lower). Adaptive Icon Playground app: https://github.com/nickbutcher/AdaptiveIconPlayground ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 17330 Coding in Flow
Image Slider - Android Studio Tutorial
 
05:57
In this video we are going to create an Image Slider using a ViewPager and a selfmade PagerAdapter class. There we will override getCount, isViewFromObject and instantiateItem. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 9118 Coding in Flow
Search Functionality for RecyclerView - Android Studio Tutorial
 
05:51
In this video we will implement a search functionality for our RecyclerView so we can filter it's items by their text. For this we will use an EditText, the setTextChangedListener method, a TextWatcher and the afterTextChanged method. Source code, dependencies etc: https://codinginflow.com/tutorials/android/recyclerview-edittext-search ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 10682 Coding in Flow
GSON Tutorial Part 1 - SIMPLE (DE)SERIALIZATION - Android Studio Tutorial
 
06:29
In this video series we take a look at the GSON library, which is provided by Google and makes the process of turning Java objects into their JSON representation (serialization) and JSONs into Java objects (deserialization) very easy. In part 1 we are going to create a simple Java class, create an object of it, turn it into a JSON and then turn that JSON back into the java object. We will also learn how to use the @SerializedName annotation to use different keys and variable names. Watch the whole playlist: https://www.youtube.com/watch?v=f-kcvxYZrB4&list=PLrnPJCHvNZuDeEk_E_DPOtKdf_HQ6BS36 Source code, dependencies, instructions etc: https://codinginflow.com/tutorials/android/gson/part-1-simple-serialization-deserialization ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 9843 Coding in Flow
Animated Gradient Background like Instagram - Android Studio Tutorial
 
04:21
In this video we will create an animated gradient background similar to the one in the Instagram login screen. For this we will use XML drawables and an animation list. Gradient xml files: https://codinginflow.com/tutorials/android/animated-gradient-background ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 4881 Coding in Flow
RecyclerView + CardView - Part 1 - LAYOUTS AND CUSTOM OBJECTS - Android Studio Tutorial
 
09:05
In this video we start building a RecyclerView, which contains CardViews with 1 ImageView and 2 TextViews each. Watch the whole RecylerView playlist: https://www.youtube.com/playlist?list=PLrnPJCHvNZuBtTYUuc5Pyo4V7xZ2HNtf4 You can get the dependencies here: https://codinginflow.com/tutorials/android/recyclerview-cardview/part-1-layouts-model-class ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 17757 Coding in Flow
Slide Animation Between Activites - Android Studio Tutorial
 
05:41
In this video we will learn, how we can add a sliding transition between activities. We will first apply them to specific activities only by using the overridePendingTransition method after starting an intent and also after calling the finish method. Then we will learn how to apply them globally to our whole app by creating a seperate theme in our styles.xml file and apply it to our app theme with the windowAnimationStyle attribute. Source code with animation files: https://codinginflow.com/tutorials/android/slide-animation-between-activities ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 28681 Coding in Flow
RecyclerView + CardView - Part 5 - CLICKING SPECIFIC ITEMS - Android Studio Tutorial
 
04:43
In this video we are going to learn how to handle clicks on specific items within our Cards. Instead of clicking the whole itemView at once, we will just click a singe View. Watch the whole RecylerView playlist: https://www.youtube.com/playlist?list=PLrnPJCHvNZuBtTYUuc5Pyo4V7xZ2HNtf4 You can get the dependencies here: https://codinginflow.com/tutorials/android/recyclerview-cardview/part-5-onclicklistener-single-view ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 10559 Coding in Flow
How to Restore Variables When Rotating the Device - Android Studio Tutorial
 
04:37
When there are runtime configuration changes in your Android phone, like changing the screen orientation or the device's language, your whole app process will be destroyed and recreated from scratch and together with it, all member variables will be reset. The system already takes care of default views like the text in an EditText field or the scrolling position of a RecyclerView or ListView. But we have to restore the variables of our activity ourselves and we do this by overriding onSaveInstanceState and passing the values to the outState Bundle. After the Activity has been recreated, there are 2 places where we can get our values back: onCreate or onRestoreInstanceState, which both get passed the savedInstanceState Bundle. Source Code: https://codinginflow.com/tutorials/android/restore-variables-on-configuration-change ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 3497 Coding in Flow
TimePickerDialog - Android Studio Tutorial
 
07:19
In this tutorial we are going to open a TimePickerFragment and use its onTimeSet Callback to send the time to our Activity and show it there. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 10355 Coding in Flow
Drawable Animations - Android Studio Tutorial
 
05:02
In this video we are going to learn, how to create an AnimationDrawable. For this we will create an Animation List as an xml file which contains different vector assets and set it to an ImageView. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 9351 Coding in Flow
Radio Buttons & Radio Groups - Android Studio Tutorial
 
06:55
In this video we will learn, how to use RadioButtons and RadioGroups. We will react to clicks and display our selection in a Toast message and in a TextView. Radio Groups will make sure, that we can select only one Radio Button at a time. RadioButtons are helpful to implement multiple choice features into your app. Check out the source code: https://codinginflow.com/tutorials/android/radio-buttons-radio-group ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 25231 Coding in Flow
How to Remove the ActionBar from Specific Activities (Or All Activities) - Android Studio Tutorial
 
05:49
In this video we will learn, how to remove the default ActionBar either from all activities within an application or only from single activities. This is necessary for example if you want to implement the more flexible Toolbar into your app. To remove the ActionBar from all activities, we can set the parent of the default AppTheme in the styles.xml file to "Theme.AppCompat.Light.NoActionBar" or "Theme.AppCompat.NoActionBar". If we want to remove the ActionBar only from specific activities, we can create a child theme with the AppTheme as it's parent, set windowActionBar to false and windowNoTitle to true and then apply this theme on an activity level by using the android:theme attribute in the AndroidManifest.xml file. Example code: https://codinginflow.com/tutorials/android/remove-the-actionbar ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 6961 Coding in Flow
How to Get the Current Date and Format It Using DateFormat - Android Studio Tutorial
 
03:05
In this video we will learn, how to get the current date using the Calendar class, how to format the date to the user's locale with the help of DateFormat and how to display it in a TextView. The date then will change according to the language of the user's device and we can also define, if we want to show the full date with the name of the weekday and the full name of the month, or a shorter version with just numbers. Source code: https://codinginflow.com/tutorials/android/get-current-date-dateformat ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 11935 Coding in Flow
How to Play a Sound File Using the MediaPlayer Class - Android Studio Tutorial
 
07:27
In this video we will take a look at a simple MediaPlayer example. We will play a local sound file from our raw folder and we will be able to pause, resume and stop the music. When we stop our MediaPlayer, we will immediately release it to free up system resources. Check out the SoundPool video: https://www.youtube.com/watch?v=fIWPSni7kUk Source code: https://codinginflow.com/tutorials/android/mediaplayer ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 11460 Coding in Flow
Custom Dialog + Sending Information to Activity - Android Studio Tutorial
 
12:50
In this video we will build a custom DialogFragment which is also able to pass information back to the underlying Activity by using an interface and setting the Activity as a listener to the interface methods. We will create a custom layout with 2 EditText fields and we will use setPositiveButton and setNegativeButton to add an Ok and Cancel Button. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 27118 Coding in Flow
How to Delete Emulators and System Images in Android Studio to Free up Disk Space
 
02:12
Android Studio can take up quite a lot of disk space very quickly and a good way to free up some space on your computer, is to remove unused emulators and their corresponding system images. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 1783 Coding in Flow
DatePickerDialog - Android Studio Tutorial
 
08:35
In this tutorial we are going to open a DatePickerFragment and use its onDateSet Callback to send the date to our Activity and show it there. We are also going to format that date to our Locale. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 25014 Coding in Flow
Styleable Toast Library - Android Studio Tutorial
 
04:19
In this video we will take a look at the StyleableToast library, with which we can easily create toasts with customized attributes like background color, text color, borders, icons and more. Example code, dependency, instructions etc: https://codinginflow.com/tutorials/android/styleabletoast ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 5929 Coding in Flow
RecyclerView + JSON Parsing - Part 1 - CHOOSING AN API AND PREPARATIONS - Android Studio Tutorial
 
04:13
In this video series we will learn, how to build a RecyclerView and fill it with JSON data. We will use Volley to get the JSON response from a REST API and Picasso to load and display the images in our RecyclerView. In part 1 we will focus on the preparations. We will choose a RESTful API (Pixabay) to get our data from, add all the dependencies, add the internet permission into our Manifest file and prepare our MainActivity layout. Source code, dependencies, instructions etc: https://codinginflow.com/tutorials/android/recyclerview-volley-picasso/part-1-preparations ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 23674 Coding in Flow
How to Save Variables in SharedPreferences - Android Studio Tutorial
 
11:34
Today we will learn how to use Shared Preferences in Android to store data. We will use a SharedPreferences.Editor to save Strings and Booleans, but you can also save other data types like Integers, Floats or Long variables. ____________________ Subscribe to my channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 Want more Android tutorials? Check my playlist section: https://www.youtube.com/c/codinginflow/playlists Follow me on social media: Facebook: https://www.facebook.com/codinginflow Instagram: https://www.instagram.com/codinginflow Twitter: https://twitter.com/codinginflow Blog: https://codinginflow.com/
Views: 15243 Coding in Flow

Custom writing service you
The cube 2012 application letters
Typo in college admissions essay question
What is a cover letter for a resume definition
Internships cover letter samples