Android Developer? This tool will be signed Facebook you may be of great use.
Year Device Class is a software component proposed by Facebook to allow Android developers to better adapt apps to different categories of devices.
See This : Microsoft bring Android apps to Windows 10
According to the results of a study published by Open Signal , Android was used by as many as 18 000 different devices in August 2014. Android developers, fragmentation can quickly become a real headache.
To adapt, I guess every developer already has its tricks. However, if you were looking for a new tool to assist you in this process, know that Facebook has a component called Device Class Year (it's open source and free).
"Device Class Year is an Android library that implements a simple algorithm that combines the RAM of a device, the CPU cores and clock speed in the year when these characteristics were considered high-end . This allows the developer to easily change the application behavior based on the capabilities of the phone equipment " , says the number of social networks.
The developer will be able to ensure that the app does not behave in the same way a phone Class Year 2011 and another in 2014. Year Class Of course, it is not a magic wand, but a fairly simple and easy to implement (for the developer) to manage Android fragmentation.
For the user, this may mean there will be fewer crashes, because the app used will adapt better to the performance of its smartphone.
In the example below, you have code that will display an advanced animated if the Year Class is greater than or equal to 2013, a simple animation if the Class Year is 2011 or 2012 and no animation if the Class is Year less than in 2011.
Year Device Class is a software component proposed by Facebook to allow Android developers to better adapt apps to different categories of devices.
See This : Microsoft bring Android apps to Windows 10
According to the results of a study published by Open Signal , Android was used by as many as 18 000 different devices in August 2014. Android developers, fragmentation can quickly become a real headache.
To adapt, I guess every developer already has its tricks. However, if you were looking for a new tool to assist you in this process, know that Facebook has a component called Device Class Year (it's open source and free).
"Device Class Year is an Android library that implements a simple algorithm that combines the RAM of a device, the CPU cores and clock speed in the year when these characteristics were considered high-end . This allows the developer to easily change the application behavior based on the capabilities of the phone equipment " , says the number of social networks.
The developer will be able to ensure that the app does not behave in the same way a phone Class Year 2011 and another in 2014. Year Class Of course, it is not a magic wand, but a fairly simple and easy to implement (for the developer) to manage Android fragmentation.
For the user, this may mean there will be fewer crashes, because the app used will adapt better to the performance of its smartphone.
In the example below, you have code that will display an advanced animated if the Year Class is greater than or equal to 2013, a simple animation if the Class Year is 2011 or 2012 and no animation if the Class is Year less than in 2011.