Search This Blog

Thursday 6 October 2016

Pixel android made by Google launch, specification

Pixel ended Google nexus phone. Pixel is very high end phone and supposed to be compete with iPhone 7. It seems very exciting piece of product with best performing camera standard.

Pre order of Pixel two variant Pixel and Pixel XL will be start from 13th October. Pixel and Pixel XL both will be powered by latest android O.S i.e. android Nougat.

User will be interacted with following unique feature of Google Pixel

  • The first phone with the Google Assistant built in.
  • The highest rated smartphone camera. Ever - With a best-ever 89 DxOMark Mobile score, Pixel's camera lets you take brilliant photos in low light, bright light or any light. 
  • Unlimited storage for all your photos and videos.
  • Care by Google – 
will be the greatest feature of this phone. With your Pixel, you can get support no matter where you are. Your Google expert is just a tap away, day or night. Need help? Just open the Settings app and tap the Support tab. 


Thursday 15 September 2016

Source code of flip front camera mirror flipped video, Reverse flip front camera video

While taking video from front camera, its shows preview like a mirror. Your left ear will be shown as right in camera preview.

If you pick example from snapchat, they simply show video same as like camera preview was showing. And that feature looks good. User want the exact picture which one’s seeing in preview, if it translate it can completely change video look.

Contact me for source code, implementation help and following features

  •  Ready to use code
  • Camera preview rotation fix on most of the device
  • Android flip front camera mirror flipped video
  • Video player and Camera preview full source with ownership
  • Extra support in integrating

Email me your requirement on codeinandroid@gmail.com/abdul.tofeeq@gmail.com.


Stop front facing camera from mirroring (inverting) image programmatically?

While taking picture from front camera, its shows preview like a mirror. Your left ear will be shown as right in camera preview. Referhow to take picture from Camera and SurfaceView for camera basics.

If you pic example from snapchat, they simply show picture same as like camera preview was showing. That feature looks good. User want the exact picture which one’s seeing in preview, if it translate it can completely change image/picture look.
When you capture bitmap from byte array, you can translate it back to what was showing in camera preview. Look at code below –

Matrix matrix = new Matrix();
if (face) { // reverse flipping of image should only need to be handle for front facing camera
    matrix.preScale(1.0f, -1.0f);
}

Apply matrix to bitmap and create a new one –
Bitmap new_bitmap = Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), 
bitmap.getHeight(), matrix, true); 
// bitmap is old bitmap which we created from byte array of camera stream


See how to reverse flip video taken from front facing camera. 


Wednesday 27 July 2016

Release of Blackberry DTEK50 powered by android, survival effort

In 2010 Blackberry lost top spot to iPhone and since then only downfall of blackberry continues. There was a time when thumb injury cause by blackberry phone was named blackberry injury.
No hardware can match blackberry in the field of security. Now blackberry has decide to launch their feature combine with android o.s. being a fan of android and blackberry I am very happy to see this news. Blackberry is launching BlackBerry DTEK50.
Blackberry will possibly be lauded will latest android version Nougat.

DTEK50, The World’s Most Secure Android™ Smartphone Keeps the private details of your life safe.



Features:

Fully Android
Access to over a million apps from Google Play
5.2” scratch resistant display
Intelligent Keyboard
Convenience Key
8MP front camera with flash and 13MP auto-focus rear camera
2TB microSD card support
BlackBerry Security that protects the private details of your life from being hacked


Extra Features - BlackBerry MP-12600 Mobile Power Charger, a high capacity portable charger that powers all your mobile devices to maximize your productivity and play time.
Release date
The bundle is expected to start shipping the week of August 8th 2016

Price Estimated Total Incl. VAT: £294.58




Monday 18 July 2016

Evolving android, points where Google android sucks because of OEM


 I was thinking a lot lately that Google is working hard to provide user a great android experience. Google is launching new fixes on monthly basis, launching a new version almost every year with ton of new features. But if we see distribution of android version over the phone market, we will be stunned by statistics. Many android customer have outdated version of android.

Some OEM believes in concept of loading hardware and software once in a lifetime like Micromax, Chinese mobile maker while most OEM only providing update to their premium phones or say flagships.

This approach is killing Google Android. I admit providing software update to existing hardware takes lot of money which OEMs don’t want to do for cheap phones. Only flagship which meant to bind with their reputation is their priority. Unlike iPhone its very hard to bring OEM and Google at same level while providing update

Look at current android distribution. Almost 70% percent of market is occupied by Kitkat and lower version of android while Google announced a new android nougat to be launch soon. I presume only some phone with Lollipop have possibility to get update of android nougat. So again the gap will only increase over the time





Who is suffering?

Obliviously android and its user are the one who suffer most by this. Android’s team hard work and latest update are not reaching to millions of users, on the hand people are willing to move but they bound by limitations of their OEM. Eventually android suffers in the whole process

Solution!

For current market strategies, competition is so high to sell devices for android manufacture that they are not going to pay attention on hardware which can support some level upgrade for new android version. Their only purpose is to sell android phone. So one solution is customer will have to buy new android phone every year.
Second possible solution is OEM should do minimum changes in android source so that they will prepare new upgrade for their existing customers at minimum cost. But this will wipe out the creativity and diversity in android market

Continue…..


Sunday 17 July 2016

Android Nougat Developer Preview Multi Window Support in application

Android didn't have support for running multiple activities and application in a single screen. Android phone screen was used only by single App. Even though some OEM like Samsung was supporting this on their level by customising android source code.

But now android officially supported multi window features. On handheld devices, two apps can run side-by-side or one-above-the-other in split-screen mode. On TV devices, apps can use picture-in-picture mode to continue video playback while users are interacting with another app.Lets discuss how developer has to cope with new changes

Types of  Multi-window Support 

  • Split screen Mode - In this mode, the system fills the screen with two apps, showing them either side-by-side or one-above-the-other. The user can drag the dividing line separating the two to make one app larger and the other smaller.
  • Picture in Picture Mode - On Nexus Player running Android N, apps can put themselves in picture-in-picture mode, allowing them to continue showing content while the user browses or interacts with other apps.
  • FreeForm Mode - Manufacturers of larger devices can choose to enable freeform mode, in which the user can freely resize each activity. If the manufacturer enables this feature, the device offers freeform mode in addition to split-screen mode.

Configuring Your App for Multi-Window Mode  Android Multi-window support provide attributes to customise your application 


  • android:resizeableActivity - True or False decide either you want your app to support Multi-Window
  • android:supportsPictureInPicture - Boolean value decide this feature is supported or not. This attribute is ignored ifandroid:resizeableActivity is false.
  • Layout attributes - Layout width, height can  decide how much minimum space your app required to run.You can query either your application  running in picture in picture mode or running in Mult-Window support

Thursday 14 July 2016

Google Assistance Android Nougat, Ambitious project of google in 2016


Allo, a smart messaging app
 


Allo is a smart messaging app that makes your conversations easier and more expressive. It’s based on your phone number, so you can get in touch with anyone in your phonebook. And with deeply integrated machine learning, Allo has smart features to keep your conversations flowing and help you get things done.

 

 Duo, a video calling app for everyone
 



Duo is a simple, fast one-to-one video calling app for everyone—whether you’re on Android or iOS, a fast or slow connection, in New York or New Delhi. Like Allo, Duo is based on your phone number, allowing you to reach anyone in your phonebook. And its simple interface fades away when you’re in a call, so it’s just the two of you.



Google Home Always on call.

Google Home is a voice-activated home product that allows you and your family to get answers from Google, stream music, and manage everyday tasks.


Note – Image shown in this article are taken from google so we don’t have any right over these image.

Wednesday 13 April 2016

Meet HTC 10: HTC 10 Launch, Specification, Hardware information

HTC’s new flagship phone HTC 10 is complete transition from HTC previous variant with Ultra Pixel camera, Hi-res audio and full metallic body.

HTC quote
HTC 10. It’s more of what you’re looking for in a flagship phone. Unparalleled performance. Superb 24-bit Hi-Res sound. The world’s first* Optical Image Stabilization in both front and back cameras. And one of the highest smartphone camera rankings ever from DxOMark. All in a beautifully crafted metal unibody.

HTC 10 release date and price


HTC 10 is fully launched and preorders have been started at HTC official site. But HTC 10 will take time to land in stores.


HTC's new flagship smartphone will be out on May 2016 worldwide and it will cost around US$699.99 (it’s very early estimate)

Preorder HTC 10 


Dimensions and Weight1 

145.9 x 71.9 x 3.0 - 9.0 mm, 161g
Platform Android2
Android™ 6 with HTC Sense
Main Camera
12MP (HTC UltraPixel™ 2 with 1.55μm pixel)
Laser Autofocus
BSI sensor
Optical Image Stabilisation (OIS)
Sound
HTC BoomSound™ Hi-Fi Edition
Dolby Audio™
Personal Audio Profile
Hi-Res audio certified
Hi-Res audio earphones
Display
5.2 inch, Quad HD (2560 x 1440 pixels)
Pixel density at 564 ppi (pixel per inch)
Super LCD 5
Curve edge Gorilla Glass
Display colour personalization
SIM Card Type
Nano SIM
Front Camera
5MP (1.34μm pixels)
Autofocus
BSI sensor
Optical Image Stabilisation (OIS)
Battery and Charging Speed5
Capacity: 3000 mAh
Talk time on 3G/4G network: up to 27 hours
Standby time on 3G/4G network: up to 19 days
Power saving mode
Extreme power saving mode
Quick Charge 3.0 with cool charge
Up to 50% charge in 30 min
CPU Speed
Qualcomm® Snapdragon™ 820, Quad Core, 64bit, up to 2.2GHz
Memory3
ROM: 32GB / RAM: 4GB
Available storage for users: about 23GB
Extended memory: microSD™ up to 2TB
Flex Storage supported






Tuesday 29 March 2016

Bluetooth low energy points : Android BLE (Bluetooth Low energy) works and save power

BLE is a low energy version of Bluetooth specified in the version 4.0 [1]. Two of the lowest layers of BLE stack are Physical (PHY) and the Link Layer (LL). PHY takes care of transmitting and receiving bits. The Link Layer provides medium access, connection establishment, error control, and flow control. The upper layers are Logical Link Control and Adaptation Protocol (L2CAP), Generic Attribute protocol (GATT), and Generic Access Profile (GAP). L2CAP is able to multiplex the data channels from the above layers and provides fragmentation and reassembly for large data packets. Similar to classic Bluetooth (BT), BLE uses adaptive frequency hopping spread spectrum to access the shared channel. However, the number of hops is 43 and the channel width is 2MHz as opposed to 79 hops and 1MHz channel width in classic BT.

How BLE save energy?


BLE device can operate either in master or slave role. A master can manage multiple simultaneous connections with a number of slave devices, but a slave can only be connected to a single master. Therefore, a BLE network topology is a star. Differently from classic BT, discovery is done so that slave advertises on one or several of the three designated advertisement channels. Master scans these channels in order to discover slaves. After discovery, data transmission happens in the form of connection events in which the master and the slave wake up in synchrony to exchange frames. Both devices sleep the rest of time.

Things to know about BLE/ BLE android –


  • BLE operate on GATT/ATT profile
  • Use very less power compare to classic Bluetooth. Used for small burst of data exchange such sensors, Remote controllers
  • BLE doesn’t support streaming
  • BLE have data rate of 1 mbps but is not optimized for data transfer
  • Design for sending small bundle of data exposing state


Android News and source code