Coding Chase - Projects

My 3D Hub

Thank You For Donating:

Ikeeki (linux-sunxi@irc.freenode.net)
Computer Troubleshooters Brasil

Sunday 23 February 2014

Jolla TOH SDK - creating ambiences for your Jolla

Jolla recently released the TOH SDK, or The Other Half SDK, allowing anyone with the creativity and means to hack the back cover on the mobile device - and some people have already come up with some nifty solutions.

In the meantime and on a different angle, the SDK also includes a template ambiance, a theme, to be activated by the cover over NFC, upon contact.

Hoping to build the template and have it "just work", I fired up the SailfishOS SDK IDE - Qt Creator - and opened the project. Building the RPM resulted in some curious error messages.

Talking to some of the people on the #SailfishOS channel on freenode didn't get me that far in terms of loading the template, but eventually I got it and here's how to do it:

- Install the SailfishOS SDK
- Update the SDK (SailfishOS option on the left)
- Update the IDE (update notifications on the bottom right of Qt Creator's main window)
- Import the template project
- Modify the included template.spec file
- Create a missing "translations" directory inside the defined shadow build dir for the project
- Release > Deploy as RPM Package

At this point, Qt Creator complained about not being able to remotely execute the deployed binaries - to be expected, so I closed the popup message.

Moving onto the phone, ssh into it and checking the /usr/share/ambience directory didn't show the template files - but rebooting the phone made them show up, and the template ambience was then available in the Gallery app.

I removed the template ambience from the pulley menu but the /usr/share/ambience files still remained, so I manually removed those with devel-su

Redeploying the template ambience and rebooting the phone once again got me my template to be chosen from the Gallery.

I've placed the modified ambience template project on bitbucket, maybe it'll be useful to someone else as well.

Update:

There are two (unofficial) bitbucket repositories available with ambience template versions for Windows and Linux:


No comments :

Post a Comment