Pages

Showing posts with label improve. Show all posts
Showing posts with label improve. Show all posts

Friday, April 15, 2016

How Twitter used Doze in Android 6 0 Marshmallow to Improve Notification Performance

Posted by Laurence Moroney, Developer Advocate

In October, we published a blog post about how Google Cloud Messaging (GCM) works with Doze in Android 6.0 Marshmallow to bring performance and usability improvements to the user. In this scenario, normal priority messages allow the device to stay in Doze, while high priority messages take the device out of Doze. For a great example of this capability and best practices on Android, we’ve spoken with the engineering team at Twitter.

Twitter has researched extensively which messages should get high priority -- given that this priority can awaken a device in Doze. To meet their particular need, Twitter wanted Direct Messages to be delivered on high priority, where mentions would be at normal priority.

Luke Millar, Android Engineering Manager at Twitter commented "With Android M we have a greater ability to be good citizens when it comes to conserving battery life. This feature lets us specify which notifications will wake up a device in Doze and which ones wont. Normally, we tell GCM to wait to deliver push notifications until the next time the users phone wakes up. However, users expect to receive some push notifications immediately, like notifications for Direct Messages, so we set those as high priority. Its nice being able to specify when and how those notifications make it to our users."

To test Doze, Twitter’s engineers followed the steps outlined on the Android Developers site. These guide you to use adb commands to simulate doze on either a physical or virtual device. Following this method, Twitter was able to successfully test how their messaging priorities would work in a real-world environment.

One other best practice that Twitter used was in transmitting larger payloads, such as when delivering Twitter Highlights. In this case, they opted to pass metadata in the notification, which was then used to sync the application to get the requested Highlights. In other words, they didn’t transmit the contents of Highlights in a notification, instead triggering a sync mechanism to update the contents of the app.

For more details on using GCM with your app in standby environments, check out the documentation.
You can learn more about Google Cloud Messaging and how to use it for notifications in your Android, iOS and Web Applications at the Google Developers site here.

Read More..

Tuesday, March 22, 2016

Granny Smith v1 3 2 Full

From the makers of Sprinkle!
"Mediocre is proving themselves the Pixar of the mobile gaming scene, and has once again, hit one out of the ballpark." [Phandroid]
"Gaming app of the day" [Kotaku]
"Another great looking release from the Sprinkle crew, one that provides hours of entertainment without a steep learning curve" [JayIsGames]

"Buying the Granny Smith game is the best buck youll spend this week" [Android Central]
Granny Smith loves her apples, but a bewheeled thief is stealing from her precious garden! Help Mrs. Smith as she swiftly skates through farmland and cityscapes, crashing through everything from barns to offices in the pursuit of fruit. Get to the apples before the thief does!
Granny Smith is a fast-paced racing platformer filled with spectacular crashes and amazing stunts. Jump, glide, swing and smash your way through 57 hand-crafted levels in four distinct settings. Just be sure to land on your feet!

Features:
* Spectacular physics – Granny Smith uses some of the most advanced destruction physics in mobile games. Crash through crates and windows and watch the pieces fly all over!
* Dazzling visuals – Zoom through dozens of vibrant, whimsical worlds! Each level is like a fanciful, three-dimensional storybook.
* Intuitive controls – Help Granny pull off crazy moves with simple two-button controls – perfect for both tablets and phones.
* Vintage replays – Watch your best runs in retro movie style with cool camera angles and slow-motion effects!
* Power Granny up – Collect coins and equip Granny with a helmet, banana peels and baseballs. If Granny is getting old, you have two alternative characters to play with – Scruffy and Stanley!
* Additional breakable objects, grass, flowers and dust particles on NVIDIA Tegra 3 devices.
With the apple thief on the loose, Granny is going to need some help. Hop to it!

Whats New
* Leaderboards and achievements through Google Play Game Services. Challenge your friends and collect trophies!
* Resume from lock screen bugfix on some phone models
* Faster switch to main menu

Read Here: How to Install APK

Requirements: Android 2.3+
File Size: 20 MB
Download Link: Mediafire.com
Read More..