Version: Smart Feature Phone 3.0
New API Samples
Let's use a simple app to display how to use the KaiOS3.0 new APIs.
The App will simple display how to simple use th below services:
- AppsManager Service
- AudioVolume Service
- Contacts Service
- DeviceCapability Service
- PowerManager Service
- Settings Service
- Time Service
- TcpSocket Service
- Telephony Service
To run this application on your KaiOS device or simulator, follow these steps:
- Clone the project with the follow command:
git clone https://github.com/kaiostech/daemon-api-sample
- Install the project's dependencies with the command
npm install
oryarn
To finish, execute the command npm run build
or yarn build
in your terminal, and test your application by sending the contents of the build folder to the device by appscmd.
You can consult the source code of this project and other projects consulted the KaiOS Workspace in GitHub