Answer the question
In order to leave comments, you need to log in
Are Miui and other android based systems suitable for android development?
I write under android on java. And it would be possible to write the same way, but under xiaomi, etc. because I heard there is not pure android and there is even MUIU. Will there be differences or problems?
Answer the question
In order to leave comments, you need to log in
Well, firstly, it should be understood that MIUI is also Android, just with its own nuances. Therefore, in terms of whether it is suitable or not - yes, it is suitable, but with some reservations.
The first caveat is that the version of MIUI and the version of Android that underlies it live parallel lives. This causes the same MIUI 9.6 on Xiaomi Redmi Note 3 Pro to be version 6.0 and on Redmi Note 4 to be 7.0. And newer phones may have 8.0. So checks for the Android API version are required.
The second caveat is that the design of applications for MIUI is slightly different from that adopted in pure Android, so in any case you will have to check somewhere else, and not just on Xiaomi.
The third nuance is that Xiaomi has its own system of permissions, power optimizations and so on, so what will work fine on a regular phone with pure Android may work in a slightly unexpected way on Xiaomi, especially for any background services, which can easily be killed, simply because the system considers that they are wasting energy, and the user has not made the application an exception. A similar thing can happen with push notifications.
Thus, yes, you can test the application on Xiaomi, you can also conduct the main development on them, but it’s better to check the work on something else in parallel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question