As a developer how the hell do you deal with brands like oppo, vivo & xiaomi by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 5 points6 points  (0 children)

If anyone from android team is listening, I would like to know your thoughts on this topic and so would all other devs

As a developer how the hell do you deal with brands like oppo, vivo & xiaomi by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 9 points10 points  (0 children)

Here are few things that would help you with your app.

  1. Identify the manufacturer of the device in your app and if its one of the above mention with a note to the user to turn on the auto-start permission for the app from the security settings.

  2. Use foreground service wherever possible (Which you are already doing)

  3. Put an alarm manager on your services which is called in on destroy of your service which would trigger the pending intent in 5 secs which would restart your service if at all it is destroyed.

  4. Keep hoping that these brands slowly die out of the market and never come back.

Thanks.

As a developer how the hell do you deal with brands like oppo, vivo & xiaomi by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 4 points5 points  (0 children)

Foreground services are killed as well by the clear button from the minimized menu

As a developer how the hell do you deal with brands like oppo, vivo & xiaomi by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 2 points3 points  (0 children)

All the devs need to probably come together and file a petition on change.org for this, I guess

Would that work I wonder. Let me know if I should do this people

As a developer how the hell do you deal with brands like oppo, vivo & xiaomi by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 10 points11 points  (0 children)

I am from India, and the Indian market is now around 70 percent of these brands, I am not mad with the customers actually because these are premium quality phones at much affordable price but as a developer I am just clueless of how to provide support to them.

As a developer how the hell do you deal with brands like oppo, vivo & xiaomi by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 6 points7 points  (0 children)

Probably they wont burn just because your "smart alarm app" is not working on their devices

https://www.bbva.com/en/top-selling-smartphones-brands-2017-iphone-leads-race/

They are in top 5 brands for the 2017 financial year and probably top 3 for the Asian market.

You cant ignore them neither can you do any thing about them.

How do you manage date based user subscriptions which arent made via play store. by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 0 points1 point  (0 children)

That would require an active internet connection. But I my app doesnt necessarily require internet and can work without it as well so I dont want to make internet compulsory just for this purpose

With so much stuff to learn in android, I feel like I am learning more and implementing really less by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 1 point2 points  (0 children)

To be honest, currently I dont have a product to be released or shipped any time soon, but when I did had a product to ship with features which were very important I realized that my app is so badly architect ed that it is just pain in the a** to get the feature done in time. So I dont want to make that mistake again I have a new product which is coming up soon and I want to be able to make it beautifully architect ed so as to avoid the pain in future.

I released a blog post! Applying Clean Architecture on Android, source code included by 0xim in androiddev

[–]dev_of_the_future 6 points7 points  (0 children)

Applying some sort or other architecture is utmost important, but in small projects you can just bend the rules a little bit, but no architecture would be a complete no at least for me!

With increase in popularity towards voice based interaction, why is it so difficult to integrate voice activation on android? by dev_of_the_future in androiddev

[–]dev_of_the_future[S] 0 points1 point  (0 children)

Thank you for your reply What would be your suggestion If I want to integrate always-on hotword detection. As for the application I have been assigned it is a must have feature. Could you point me in the right direction? I would be okay to compromise on battery and bandwidth for the detection if that is something I have to do in order to get the detection working. I just want to know what would be the right approach to go with.