Posts

Showing posts from February, 2019

Notification with action buttons - Java

Image
Show Notification, Add action button, handle button clicks In this tutorial we will learn the followings: ✓How to show notifications ✓How to add action buttons in notification ✓Handle action button clicks Video: Step 1:  Create a new project   OR   Open your project Step 2: Create two activities 1) LikeActivity 2) DislikeActivity Step 3: Code activity_main.xml <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android= "http://schemas.android.com/apk/res/android" xmlns:app= "http://schemas.android.com/apk/res-auto" xmlns:tools= "http://schemas.android.com/tools" android:layout_width= "match_parent" android:layout_height= "match_parent" tools:context= ".MainActivity" > <Button android:id= "@+id/showNotificationBtn" android:layout_width= "wrap_content" and

Show Notifications on any device - Java

Image
Working with android notifications using Android Studio and Java In this video we will simply show notification on clicking of button. The notification will work on any Android OS. Video Step 1:  Create a new project   OR   Open your project Step 2: Code: activity_main.xml <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android= "http://schemas.android.com/apk/res/android" xmlns:app= "http://schemas.android.com/apk/res-auto" xmlns:tools= "http://schemas.android.com/tools" android:layout_width= "match_parent" android:layout_height= "match_parent" tools:context= ".MainActivity" > <Button android:id= "@+id/showNotificationBtn" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:text= "Show Notification"

iOS Application Development Course

Image
The iOS Application Development Course - Xocde A complete course to learn iOS application development using Xcode IDE and Swift language from scratch. From beginners to expert The iOS Application Development Course - Xocde Videos

Options Menu Fragment - Kotlin

Image
Options Menu Fragment - Android Studio - Kotlin This will cover the followings: ✓Use Options Menu / Actionbar menu ✓Use Options Menu in fragments ✓Add items with icons in options menu ✓Show different options of an options menu in each fragment ✓Handle options menu's item clicks >>Watch For Java Video: Step 1:  Create a new Project   or   open new project Step 2: Code menu_main.xml <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android= "http://schemas.android.com/apk/res/android" xmlns:app= "http://schemas.android.com/apk/res-auto" > <item android:id= "@+id/action_settings" android:title= "Settings" /> <item android:id= "@+id/action_sort" android:title= "Sort" android:icon= "@drawable/ic_sort_white" app:showAsAction= "always" /> </menu> FragmentOne.kt

Options Menu Fragment - Java

Image
Options Menu Fragment - Android Studio - Java This will cover the followings: ✓Use Options Menu / Actionbar menu ✓Use Options Menu in fragments ✓Add items with icons in options menu ✓Show different options of an options menu in each fragment ✓Handle options menu's item clicks >>Watch For Koltin Video: Step 1:  Create a new project   OR   Open your project Step 2: Code: menu_main.xml <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android= "http://schemas.android.com/apk/res/android" xmlns:app= "http://schemas.android.com/apk/res-auto" > <item android:id= "@+id/action_settings" android:title= "Settings" /> <item android:id= "@+id/action_sort" android:title= "Sort" app:showAsAction= "always" android:icon= "@drawable/ic_sort_white" /> </menu> FragmentOne.java