Developer kit
Your app on the home screen people actually look at.
A Sofaly plugin is your own Android TV app. It sends a short card and Sofaly draws it on the home screen, in large text and in the house style.
Why build a plugin
Up front, not in a drawer
Your card sits on the home screen, where the family looks every time the TV turns on, not lost in a list of apps.
No SDK, no fee
One ContentProvider and one row of data. No library of ours to install, no fee to pay.
Your app, your business
Publish on Play however you like, free or paid. Sofaly only draws the card; the app and the customers are yours.
What you can build beyond ours
- Your deliveryOrder is out, 12 min away.
- Your busLine 42 arrives in 6 min.
- Your gymToday's class at 7 pm.
- Your buildingWater off tomorrow, 9 am to noon.
- Your shopDeal of the day: 20% off coffee.
- Your clubPractice moved to Saturday.
Two steps
Declare a provider with Sofaly's action
<provider android:name=".CardProvider" android:authorities="com.example.score.card" android:exported="true"> <intent-filter> <action android:name="tv.sofaly.plugin.CARTAO" /> </intent-filter> </provider>Answer with one row: title, value, detail and color
override fun query(uri: Uri, p: Array<String>?, s: String?, a: Array<String>?, o: String?): Cursor = MatrixCursor(arrayOf("titulo", "valor", "detalhe", "cor")).apply { addRow(arrayOf("Match score", "2 x 1", "38' second half", "#1E7A46")) }
Rules that protect the viewer
- You never draw on the home screen: you send text and a color, Sofaly draws.
- Sofaly never sends you anything about the person's apps, accounts or what they watch.
- Plugins are part of the Pro plan, and the person chooses which ones show.
Ready-made template
Two sample apps you can build today: a countdown to a date the person picks on the TV, and today's moon phase. No internet, no account. MIT No Attribution: copy it, rename the package, publish.
Coming soon
Background plugins and a plugin showcase right on the TV.