Posts

Building With the Twitter API: Using Real-Time Streams

Image
While the Twitter REST API is suitable for many applications, if you want immediate updates and access to a broader array of notifications, the Twitter Streaming API is essential. For example, only the streaming API will tell you when another user favorites one of your tweets. Using the Streaming API requires a persistent, keep-alive connection between your web server and Twitter. This type of implementation may be unfamiliar to many PHP developers. As soon as tweets come in, Twitter notifies your server in real time, allowing you to store them into your database without the delay of polling the REST API. Use of the Streaming API is also not subject to Twitter's API rate limits. Here's a visualization of how it works: There are three variations of the Twitter Streaming API: The Public Stream. This allows your application to monitor public data on Twitter, such as public tweets, hashtag filters, et al. The User Stream. This allows you to track a user's tweet stream in real t...

What You Can Learn From Google’s Material Design

Image
Not too long ago, Google introduced Material Design, a brand new set of guidelines for designers and developers alike. Material Design introduces a fresh perspective on user interfaces, motion, and interaction states, and are a great foundation for you to build a product upon. Introduction In essence, you can summarize Google's Material Design by two components: Material Motion Material Material provides context in design, the surface and edge of a "material" provides us visual cues. Let's compare this to real life. We understand the dimensions of a room, because we see walls. At the same time, the interior provides us an understanding of the context of the room. Your kitchen looks very different than your bathroom for example. The same is applied in Material Design. The combination of style and content provides context to the user in a digital space, much like physical walls and interiors. A user has a better understanding of the user interface, because the designed ...

Getting Started with XML Layouts

Image
This tutorial will teach you the fundamentals of building Android interface layouts with XML. Read on! When you’re getting started with developing Android apps using Eclipse and the ADT plugin, Eclipse’s powerful graphical layout editor is a great place to start visually designing your user interface. However, this "what you see is what you get" approach has its limitations, and at some point you'll need to switch to XML. One of the major benefits of declaring your UI in XML is the ability to keep the UI and the behavior of your app separate, giving you the freedom to tweak your app’s presentation without disrupting its underlying functionality. In this article, I’ll show you how to design a basic XML layout from scratch, including defining the root element, specifying height and width parameters, and adding some basic UI elements. Finally, I’ll use this basic layout to demonstrate some advanced XML options, such as allocating different amounts of space to ...

battery callibration

Image
Battery backup is one of the biggest problem in Android devices. Even though Google have added some new battery tweaks in Android Kitkat which makes it last longer than usual but still it's not at its best phase. On an average battery backup of android devices is around 8 hours. But if you have noticed a sudden decrease in your battery performance like the battery is draining too fast or your phone switch off automatically at 5-6% battery level (and shows 0% when you turn it on) then its the right time for you to calibrate your device's battery. Battery Calibration What Does Battery Calibration Means? In all android device there is a file names 'batterystats.bin' which saves the battery information. When you charge your phone multiple times daily, when the battery is not even half empty, this file become corrupted and shows wrong battery stats, which causes the phone to switch off before it reaches 0%. The process of repairing this corrupted file is known as calibratio...

Build Your Own Smartphone Says Project Ara

Image
In today’s world almost every individual owns a smartphones, and there has been a lot of development in the field of smartphone application ever since smartphones started working on Android. There is absolutely no such task that a smartphone cannot let you do. Starting from the basin Internet surfing or instant chat messengers to complex functionality like Bluetooth controlled robot. We have applications for image editing and processing, voice modulation and navigational tracking. Every customization is possible. But still it does not allows us to modularize our smartphone from the scratch. To eradicate this deficiency Google has stepped up on the platform with its Project Ara. Teams at Google have been searching for a way to swap phone components as better ones release, much like someone with a high-end PC might do when they upgrade. And with new details on Project Ara, Google may be one step closer. Google’s modular phone, Project Ara, has been in development for quite a w...

10 Things you need to know about Windows 10

Image
Microsoft already shown the first look of  Windows 10 operating system on Tuesday at San Francisco. Microsoft promised an OS that will be more intuitive for the millions of workers still on Windows 7 and older OSes. It will span all hardware from PCs to phones and try to address the ills that have dogged Windows 8. Here are 10 things you need to know about Windows 10: 1. Why Windows 10? The natural name would have been Windows 9, but Microsoft is eager to suggest a break with the past. “We’re not building an incremental product,” said Terry Myerson, head of Microsoft’s Operating Systems Group. Microsoft considered the name “Windows One,” he said, to match products like OneNote and OneDrive and its “One Microsoft” business strategy. But he noted the name was snagged a long time ago, by a young Bill Gates. Perhaps Microsoft didn’t like the idea of being numerically one step behind Apple’s OS X. Whatever the reason, Windows 1...

Flock: A whatsApp Like App For Professionals

Image
Serial entrepreneur Bhavin Turakhia, The CEO and founder of Directi Group has launched a professional chat app called Flock. The application would be available for free to download on Android, iOS, Windows, Mac and Chrome. Flock aims to be the WhatsApp for business users that allows employees to sign in using their work e-mail and sync the entire office directory to the employees’ devices. “This is not a duplication of existing applications such as Viber, WeChat, WhatsApp or any other applications. Chatting is a crowded space but nobody has really nailed it yet for business,” Turakhia told a website ‘Business Line’. Flock allows employees to sign in using their work email, and automatically syncs the entire office directory to every employee’s device. This is something services like WhatsApp and Skype don’t provide. Also, on public instant messaging services an employee’s personal and business communications get mixed up, which won’t...