Skip to main content

Email notifications with Firebase, Android Studio and App Engine

With today’s Android Studio 1.4 release and the latest version of the Firebase Android SDK (2.4.0), it’s incredibly easy to add data storage & synchronization and background jobs to your Android app. You can get started in minutes by following this tutorial - it walks you through building an Android todo app that uses Firebase for data storage and Google App Engine to send daily email notifications.
Todo App
If you’re new to Firebase, Android, or App Engine (or all three) the tutorial is a great place to start.
In the past, developers had trouble integrating Firebase and App Engine and we recommended Cloud Compute instead. We’ve made a few modifications to our Java client to help mitigate those issues, so now you can take full advantage of the Firebase SDK from inside App Engine.
Note that App Engine also lets you send push notifications based on changes to Firebase data using Google Cloud Messaging. Check out the push notifications tutorial here.

Enabling Firebase from Android Studio

If you’ve got an existing Android app, you can now add Firebase to your app directly from Android Studio by navigating to File > Project Structure > Cloudand then selecting Firebase:
Firebase Android Studio

Comments

Post a Comment

Popular posts from this blog

Intel announces the first 14 nanometre processor

At the Computex conference in Taipei, chipmaker Intel has revealed a fanless mobile PC reference design using the first of its next-generation 14nm "Broadwell" processors. The 2 in 1 pictured here is a 12.5" screen that is just 7.2 mm thick with keyboard detached and weighs 670 grams.  The Surface Pro 3  – for comparison – is 9.1 mm thick and weighs 800 grams. It includes a media dock that provides additional cooling for a burst of performance. The next-generation chip is purpose-built for 2 in 1s and will hit the market later in  2014 . Called the Intel Core M, it will be the most energy-efficient Intel Core processor in the company's history with power usage cut by up to 45 percent, resulting in 60 percent less heat. The majority of designs based on this new chip are expected to be fanless, with up to  32 hours of battery life,  offering both a lightning-fast tablet and razor-thin laptop. Intel is also delivering innovation and performance for the ...

Use Cortana to define words for you in Windows 10

Microsoft’s Cortana has many uses including sending emails or checking the weather. One of the best uses though is a simple look-up feature for words and their definitions. Combined with the Hey Cortana voice recognition using Cortana to tell you quickly what a word means is a great hands-free tip. There are multiple ways to get Cortana to define a word. If you have Hey Cortana enabled you can simply blurt out your request: “Hey Cortana what is the meaning/definition of  inchoate ?” “Hey Cortana define  ubiquitously “ You can, of course, also just type in your request e.g “ define beatitude ” although this admittedly takes some of the speed (and fun) out of using the personal digital assistant. For many words, Cortana displays the definition within a card, and OxfordDictionaries or EncartaDictionaries powers it. Sometimes, if Cortana misunderstands you or does not have the definition, the assistant opens up a web page after performing a web search for...

How ad-free subscriptions could solve Facebook

At the core of Facebook’s “well-being” problem is that its business is directly coupled with total time spent on its apps. The more hours you pass on the social network, the more ads you see and click, the more money it earns. That puts its plan to make using Facebook healthier at odds with its finances, restricting how far it’s willing to go to protect us from the harms of over use. The advertising-supported model comes with some big benefits, though. Facebook CEO Mark Zuckerberg has repeatedly said that “We will always keep Facebook a free service for everyone.” Ads lets Facebook remain free for those who don’t want to pay, and more importantly, for those around the world who couldn’t afford to. Ads pay for Facebook to keep the lights on, research and develop new technologies, and profit handsomely in a way that attracts top talent and further investment. More affluent users with more buying power in markets like the US, UK, and Canada command higher ad prices, effectively...

New wearable tracker can transmit vital signs from a soft, tiny package

Body sensors have long been bulky, hard to wear, and obtrusive. Now they can be as thin as a Band-Aid and about as big as a coin. The new sensors, created by Kyung-In Jang, professor of robotics engineering at South Korea’s Daegu Gyeongbuk Institute of Science and Technology, and John A. Rogers, Northwestern University, consists of a silicone case that contains “50 components connected by a network of 250 tiny wire coils.” The silicone conforms to the body and transmits data on “movement and respiration, as well as electrical activity in the heart, muscles, eyes and brain.” This tiny package replaces many bulky sensor systems and because the wires are suspended in the silicone you are able to create a denser electronic. From the release: Unlike flat sensors, the tiny wires coils in this device are three-dimensional, which maximizes flexibility. The coils can stretch and contract like a spring without breaking. The coils and sensor components are also configured in an unusual spi...