Dear Friends, Today I will show you how to create a simple alert with two buttons and how to write a callback for each button. The code is simple. Its written for Swift 3. Send your comments to firstname.lastname@example.org
This demo will show how to 1. Create and add a new Notification, 2. How many notifications are active in the current Application? 3. Delegate method for Notification Deletion. For Adding a Notification we can use the following snippet. For reading the number of currently Active notifications we can use To know when a Notification is deleted. ActiveNotificationActivity.java… Read More »
This demo explains how you can create a Custom Notification in Android old and New versions. The notification appears expanded in Versions > 16. Let’s jump into the code… Below is the MainActivity that creates the notification. You can download the complete Android Studio Source Code from here.. Send your comments to email@example.com
This sample application does that. First create an xml for your notification. custom_notification.xml Now the java code.
Hello everyone… I have shown in my previous tutorials on how to create notification in android and cancel it. This is the post showing this . Now today I am going to show how to send data when you click on the notification message. Here I am creating two activities. One the main activity that creates the notification… Read More »
Hello everyone…. In today’s tutorial I will show how to start with a HelloWorld Application in PhoneGap for ANDROID. So what is PhoneGap PhoneGap is an HTML5 app platform that allows you to author native applications with web technologies and get access to APIs and app stores. Follow these steps exactly to build the helloworld application. 1.If you… Read More »
Multiple Notifications are a unique feature in ANDROID phones. This tutorial will show you how to create notification from your application. ANDROID uses the NotificationManager class to create the notification. Let’s look at the code. Explanation. mManager.notify(APP_ID, notification); This line in the code sends the notification where notification is the object of the Notification class where you can… Read More »