2 ms·
We experimented with a lightweight bootstrap service, but there was too much resistance from the manufacturers. It'd pretty much require changing our contract
by BoorishBears 10y ago
We experimented with a lightweight bootstrap service, but there was too much resistance from the manufacturers.
It'd pretty much require changing our contract to have much more expensive terms because from their pov it crossed the line from them providing pre-installed software (our apps) , to them providing custom devices ("our image").
I also tried some tricks with replacing the launcher since we have full root access, but the launcher process was getting killed almost as often as our custom services.
Since I moved to a single-process model I've had fewer killed services, but we still have the AlarmManager kicking them off just in case.
A lot of the moves Google's been making, from shutting down file uris for content providers feel like they're meant to shut down the "easiest way out for developers", things that are easy for devs, but bad for the average mobile user, but they're also hurting Android for other usecases. I guess the plan is to push Brillo for that, but being able to leverage Android's ecosystem on embedded has some advantages
- Zigurd 10y agoYou don't need any special access to replace the launcher. They just need to set your Launcher as default as part of the pre-load. Since I don't know your product it's a little hard to say but the combination of a Home app that check on configuration sanity and a watchdog, which it sounds like what you are using AlarmManager for should do you. Point of sale system?
- BoorishBears 10y agoNo, we do something like "bespoke" digital installations for different brands, sometimes it's simple digital signage, sometimes it's stuff that's a little more interactive, but we try and centralize the apps involved on a platform we built on one specific Android device which has now spread out onto different models for certain clients that had special requirements like large touchscreens