Monday, 11 July 2016

Google Maps API Error Missing Keymap Error


Google recently changed the terms of use for Google Maps APIs. if you were already using Google Maps API on your website (different from localhost) prior to June 22nd, 2016, nothing will change for you. After 22 June,2016, you Must Need an API key in order to fix your error. You Can't Use Google Maps API With Generating Key To Use Google API's . The free API key is valid up to 25,000 map loads per day.

As per Google recent announcement, usage of the Google Maps APIs now requires a key. If you are using the Google Maps API on localhost or your domain was not active prior to June 22nd, 2016, it will require a key going forward. 

Google no longer support keyless access (any request that doesn't include an API key). Now You must include API Key in your googleMap API Request .It includes all API Request like GoogleMaps Places , Autopicker , Google Maps Javascript API , Location Picker API .You can't Use Google Maps API without API Key generated for Google Maps . API keys allow us to contact developers when required and help us identify misbehaving implementations.

How To Generate Google Maps API Key

GOOGLE CHANGED STANDARD PLANS FOR USING GOOGLE MAPS



New Features of Android N




Virtual reality In Android N

Virtual Reality is a big piece of the Android N puzzle. Google Has Powered Android 'N' with a new Android-powered platform called Daydream .But that also needs SmartPhone Makers To Upgrade their SmartPhones You Will need a Daydream-certified phone with the required Type of Compatible display and sensors, So that they can work with VR mode in Android

Companies will now have to produce their own headsets that fit the Daydream standard . Samsung, HTC, LG, Xiaomi, Huawei, ZTE, Asus, and Alcatel are providing onboard Daydream-compatible phones.

Keyboard themes! In Android N

Not a Big Features But Style Has also a Importance While Operating OS .
There are a Number of themes available for Google keyboard. You can choose various colors, add or remove the borders between keys, and even set a photo as a backdrop. It’s honestly kind of neat.



Android N Performance Improvements


Google Claimed Performance Improvements in Various Aspects of Android OS , Android N is Improved in various Performance aspects As compared to All Previous Versions . Android N is Using New Graphics API Called Vulkan , Vulkan is also targetted to be used in PC gaming and it provides high visual performance on Tabs and Smartphones performance on phones and tablets.

Android N is Using JIT Compiler . JIT Compiler will help to improve Battery Life

Split Screen In Android N

In Android N you can use Task-Switching Button or you can double-tap it to instantly switch to your most recently used app. Google Named it Quick Switch, you can alsouse Alt-Tab in Android to do this .

Android N supports the split-screen. This Feature is very popular in Multi-Tasking Long pressing on the multitasking button now gives you the open to run two apps side by side on your Android phone. This is very useful for people with Large Screen Smartphones

Better Notifications 

Android N Is no having A new Improved Look For Notifications Panel . If more wider with Small Icons . You Can now Expand Notifications and No need to Swap For taking actions in Notifications panel.  Long pressing on notification for an app will will take you to panel to control how you'll receive alerts from the app in future. You can choose whether to display Notifications for that app or  block them .
















New Emonji

Android N is also Have Improved New Emonji Icons .Its have 13 new Emonji


Sunday, 10 July 2016

Meet Google Cast


Check Out Details About Google Cast Here ....

Google Cast is a technology that lets you cast your favorite entertainment and apps from your phone, tablet or laptop right to your TV or speakers.

Google Cast, the technology working as base of Chromecast, is now made available on Chrome

Google Chrome browser will now have a new ‘Cast’ feature . This Feature Will Be Available in Google Chrome Version 51

What is Google Cast

Cast will allow you To Cast your Chrome Browser Tab To Tv or other Cast Enabled Monitor .

As you can with the extension, Cast simply lets you cast your browser tab onto a TV or other Cast-enabled monitor. Previously It was handles using an Extension Now Extension is no longer needed, it’ll continue to work without that extension . It is also available in Chrome os .

Google has also offloaded streaming rate and screen resolution to boilerplate functions.  you’ll soon just be streaming while Google Cast does the heavy loading .

Chrome 51 is stable release, but not all users are seeing the new Cast option in the drop-down menu. If you don’t find Cast as an option, Have patience and wait for some time — Google Is doing Updations 

Wednesday, 6 July 2016

Object Pooling in Csharp


What is Object Pooling in Csharp ?

Object Pooling is Technique for Efficient Resource Allocation.A Performance Optimization Technique that is based on using Pool of Pre-Allocated Resources Such of Objects For Efficient Resource Allocation . It refers to Reusing of Allocated Memory again and again instead of demanding for more memory as there are chances that more required  memory may be not available at runtime (In Running Application) 

Why We Need Object Pooling & How It Works?

Have you Heard about Car Pooling ? Let me tell you about that . Car Pooling and Object Pooling is based on Same Concept . 

Both are based on Re-using / Proper Utilization of Resource . Instead of Having or using new Resource Each Time We Require . 

In Car Pooling We Use Same Resource Car for Multiple Person Instead of Using Car for Each Person . If 4 Person are going to office instead of going from their own car . Car Pooling Tells to Use one car For all 4 People That will save various Natural Resource and money .

Similarly In Object Pooling Memory is assigned to Program Execution and When more objects are required to initialized then instead of demanding and getting more memory resources it waits for previous memory block to get free to be used .

Didn't Got it Don't Worry See Below  


Real Time Example of Object Pooling  ?

Problem :
Let’s assume we are running an application which needs allocation of memory for its execution and this application is using Multithreading. This means more than one threads can allocate the same amount of memory simultaneously . 

Consider that the application needs 100K memory for its execution and there are 50 threads running simultaneously. All 50 threads will call a method of the application simultaneously.

All the threads will try to allocate 100000 bytes in the heap simultaneously. The OS may not get enough time to swap pages. Thus the application will be under heavy concurrent access, and the application may fail due to misleading memory management!

Solution :

WE can also create a pool of large Memory Block as much we can according to how much memory we require, at startup. That way, say we create 100 times 100K bytes in memory at startup. If it fails, well enough - we know that right at startup! So there is no surprise at runtime, when the application is live! So we can reduce that number to 75 (from 100) and try again to start our application. Once up and running, we know that there will be barely a need for it to allocate more memory at runtime, as we already have the memory for 75 or 100 arrays allocated. It just uses that as "an object pool", pulls from it, and when done, returns the byte arrays for subsequent use. Chances are that unless truly "concurrent", the already allocated byte arrays will be re-used over and over again, and at runtime, no extra memory will be allocated. If all 75 or 100 arrays are in use, and a 101st request comes in, it will need to allocate an additional memory of only one array - which is easy for the OS to manipulate in RAM.

Still Din't Got Don't Worry Feel Free! To Comment  

Tuesday, 5 July 2016

Amazon : Buy Products With Amazon Echo



What Is Amazon Echo 


Amazon Echo is a voice-enabled wireless speaker developed by Ecommerce Giant Amazon (www.Amazon.com) . Echo is a  9.25-inch Device Structure is something looks like cylinder that contains speaker with a seven-piece microphone array. Amazon Echo Can also be called as "Alexa" . As It Responds to Words "Alexa" . We can also change this word to Amazon or Echo But Default One is Alexa .



Amazon Echo was initially limited to Use For aAmazon Prime members or by invitation, but became widely available in the USA on June 23, 2015

ORDER PRODUCTS WITH AMAZON ECHO 



We Can Order Products Like - 
User : Alexa , Show Me Levis Jeans

Amazon Echo is on the way to be best approach For Voice Driven Website In which websites will function by voice driven commands .

Amazon Echo Can also do voice interaction, music playback, making to-do lists, setting alarms, streaming podcasts, playing audiobooks, and providing weather, traffic etc

At last Amazon has featured the Order from Amazon Echo it was most awaited thing expected from Amazon Echo . Amazon Has taken some time to implement this very useful feature, you know, Amazon.

How Amazon Echo Works

You Need to Say alexa the type of item you want to buy or name / brand of item . Example -

YouSay: Alexa order Sandisk Pendrive

Then Alexa with respond with Options for available brands and cost
Alexa : We Have 8GB Pendrive for $10 , 16 GB Pendrive for $18

You Say: Alexa Get Me 8GB Pendrive
Alexa : Thank you ! You Order is in Process