Posts

Treble : Manufacturers to update devices to a new version of Android very easily

Image
I am happy that google has introduces new framework where manufacturer can update OS very easily & test with new OS.
> The Android 8.0 release includes Project Treble.
> Android OS framework designed to make it easier, faster, and less costly for manufacturers to update devices to a new version of Android.
> Treble separates the vendor implementation (device-specific, lower-level software written by silicon manufacturers) from the Android OS framework via a new vendor interface.
> Android 7.x and earlier, no formal vendor interface exists so device makers must update large portions of the Android code to move a device to a newer version of Android
> With Treble, a new stable vendor interface provides access to the hardware-specific parts of Android, enabling device makers to deliver new Android releases simply by updating the Android OS framework—without any additional work required from the silicon manufacturers

For details on the new Treble architecture, see the f…

Apple event on September 12th at Apple Park

Image
This year, Apple's big reveal is at a new location: the 1,000-people Steve Jobs Theater in Apple Park,the company's brand-new "spaceship" headquarters in Cupertino, California.


Expect it to be as much of a presence at the event as Tim Cook and the new iPhones.
Apple is planning to break with tradition and release three phones in September: the iPhone 8, iPhone 7s and iPhone 7s Plus.
iPhone 7s and 7s Plus are anticipated to feature minor upgrades to the iPhone 7, such as a faster chip and longer battery life.
The iPhone 8, as it will probably called, will feature a radical redesign in celebration of the 10th anniversary of the first iPhone. 
It could give the device a new name in honour of the splash, The company is also expected to unveil a third generation of the Apple Watch and a 4K Apple TV.


A price tag of almost $1,000 would make the new device 54 per cent more expensive than Apple's current iPhone 7. 

Google's Android One Makes a Comeback with Xiaomi Mi A1

Image
Xiaomi just launched Mi A1. This phone is a great example of what Android One represents: a collaboration between Google and our partners to deliver a software experience designed by Google.
Mi A1 will be available in dozens of markets, including India, Indonesia, Russia, Vietnam and Taiwan.
Android One phones are Google endorsed devices that run a simple, fresh, and secure experience.
Android One launched in India back in 2014, the goal was to get the next billion people online by providing them with high quality, affordable phones.
Phone manufacturers build phones that run a software experience designed by Google.
Buy it here: http://buy.mi.com/in/buy/product/mi-a1
All Android One phones are powered by a Google designed software experience that is:
Simple and smartAll Android One phones consistently run a pure Android experience with a clean design and a small, carefully curated set of preinstalled apps.
The latest technology from Google is built right into Android One phones and core to t…

Google expected to launch Pixel 2!

Image
Google is prepping to launch the Pixel 2 and Pixel XL 2 in October, specifically October 5. At least that's according to Twitter tipster @evleaks, aka Evan Blass, who has proven a reliable source on pretty much everything in the past, so we think this is 100% legit.Pixel XL 2 will be manufactured by LG, while Pixel 2 will be made by HTCvirtually bezel-less displayGoogle Pixel XL 2 won’t be the only smartphone with a bezel-less display. Samsung Galaxy S8, S8+ already have Infinity Displays with no bezels on the sides and reduced bezels on top. The newly launched Galaxy Note 8 also has the same display. Apple iPhone 8 is also supposed to get rid of the bezels and opt for a full-frontal display with no home button. Xiaomi Mi Mix 2 will also launch in September with no bezels at all.However, sources claims that the standard Pixel 2 will have a 4.97-inch screen, while a larger model will land with a 5.99-inch one.
While Pixel 2 XL will have a 6-inch AMOLED screen, supplied by LG.Google …

Step by step installation of Android 8.0 Oreo for Pixel and Nexus

Image
Google has released factory system images of the much awaited Android 8.0 Oreo update for compatible devices.




Android Oreo for Pixel and Nexus Google has started to roll out the final version which should be soon available to compatible devices. However, it does take some time before you receive the over the air notification. Google said that for now it’s pushing the AOSP update for its OEM partners. Android Oreo system imagesare now available on the developers' site.  https://developer.android.com/about/versions/o/download.html#flash The system images are available for compatible devices:  Nexus 5X,  Nexus 6P,  Nexus Player, Pixel C,  Google Pixel,  and Google Pixel XL users.  You need to ensure that you have an unlocked bootloader and ADB running on your computer before installing. All your data will be removed while installing system images, so ensure that you backup beforehand.
Steps to install OS:
Download the appropriate system image for your device below, then unzip it to a safe di…

Get ready for the Android Nougat and update your application

Image
Multi-window
A new manifest attribute called android:resizableActivity is available for apps targeting N and beyond. If this attribute is set to true, your activity can be launched in split-screen modes on phones and tablets.  You can also specify your activity's minimum allowable dimensions, preventing users from making the activity window smaller than that size.
Implementation:

<activityandroid:name=“ActivityName”android:configChanges="orientation|screenSize|keyboard|keyboardHidden|screenLayout|smallestScreenSize"android:resizeableActivity="true”></activity>
Direct reply notifications: 
With Android Nougat, you can reply to your notifications directly from their spot in the tray. You won't have to open the app or install anything extra, either. Once the folks who built your app support the feature, it will just work. Don't worry though. When you need to see more or do more than just send a quick reply, you can still tap the notification to open an app…

Retrofit in Android

Image
Type-safe HTTP client for Android and Java by Square, Inc.
Retrofit is a REST Client for Android and Java bySquare. This library is easy learn and has more features. This is beginner friendly compared to other Networking libraries. You can GET,POST,PUT,DELETE  ..etc using this library. You can also use picasso for image loading.
3 classesIn Retrofit,we need to create 3 classes.
POJO (Plain Old Java Object) or Model Class :– The json retrieved from the server is added to this class. Interface :- Now we need to create an interface for managing url calls like GET,POST..etc.This is the service class. RestAdapter Class :- This is RestClient Class. Gson is used in default for the retrofit.You can use setup your own converter
Adding Retrofit Library to Project Gradle    : compile 'com.squareup.retrofit2:retrofit:2.0.2'      MAVEN <dependency>