SDK For Lineage OS Custom ROM
Android custom ROM LineageOS launches its own SDK
LineageOS is a free and open-source operating system for smartphones and tablet computers, based on the Androidmobile platform. It is the successor to the highly popular custom ROM CyanogenMod, from which it was forked in December 2016 when Cyanogen Inc. announced it was discontinuing development and shut down the infrastructure behind the project. Since Cyanogen Inc. retained the rights to the Cyanogen name, the project rebranded its fork as LineageOS.
According to Lineage.org, users have a giant playground in their hands with many customization options, and they will also want to make LineageOS a fun place for developers. The standards for official builds help ensure developers that their app will not end up in a bad state because of inappropriate Android API changes or broken hardware support, but this is not enough for us; we’re announcing some new APIs that will allow your apps to do more when they’re running on a LineageOS-powered device.
The Lineage platform SDK (LineageSDK for short) is a powerful resource that allows us to both keep our features out of the core Android frameworks (for better security and easier bringup processes) and expose some extra functionality to app developers.
Initially, the LineageSDK includes two new APIs (application programming interfaces)
Lineage OS Custom ROM Styles API
Gives apps an optional dark theme automatically or allow apps to tune the overall system theme
Lineage OS Custom ROM Profiles API
A profile contains a set of instructions to control the device’s hardware and software, including (but not limited to) networks, volumes and display adjustments that allow apps to trigger a profile manually or automatically based on a WiFi, Bluetooth, or NFC trigger.
LineageSDK isn’t a replacement for the Android SDK. But it does allow developers to incorporate features that are specific to LineageOS into their apps. learn more – Download CM12.1: CyanogenMod12.1 Custom ROM For Gionee M5 Mini
While I suspect it wouldn’t make a lot of sense for most custom ROMs to release their own SDKs, LineageOS is a special case. Formed by the former members of the CyanogenMod team, LineageOS is one of the most popular custom ROMs for Android phones, allowing users to replace the operating system that came with their phone with an alternative OS.
The LineageSDK API 9 is now rolling out with this week’s LineageOS 15.1 builds, and new versions will be announced in future regularly irregular blog posts as new APIs are added and stabilized.