Xiaomi is a great phone brand, outstanding performance and price with a good finished, however is a little bit tricky for developers: some options are not at first sight and you have to check extra permissions.
Similar to other Android phones first of all you have to enable Developer Options:
- Settings
- SYSTEM & DEVICE / …Aditional settings
- Developer options
- Switch On:
- Developer options
- Stay awake (recommendation)
- USB Debbuging
Extra for Xiaomi:
1. Switch On Install via USB: it will make you activate your Mi Account using your phone number. If you don’t do it, you will not be able to debug/install your app and will get an error as follow:
Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
2. USB debbuging (Security settings) will open 3 Important Warning dialogs with a default timer (countdown) to make you read it before press Next. At the end, if you haven’t rejected them the option will switch on. If you don’t do it, you will not be able to debug/install your app and will get an error as follow:
Failed to execute shell command "input,keyevent,82"" on device: Error: adb: Command failed with exit code 137
Note: I’m developing with Apache Cordova and Xiaomi Mi.
Star Rating
/in CSS3, HTML5/by GénesisPure CSS and semantic HTML to use Star Ratings.
Remember that if you defined a new custom HTML element without a dash, it would be considered as an HTMLUnknownElement. You will not see any errors in your browser but it’s an invalid HTMLElement. New HTML elements without dash are reserved for future capability when standard groups add new tags to HTML.
Valid custom element names.
Standard Web Development
/in Design/by GénesisXiaomi for developers
/in Tooling/by GénesisXiaomi is a great phone brand, outstanding performance and price with a good finished, however is a little bit tricky for developers: some options are not at first sight and you have to check extra permissions.
Similar to other Android phones first of all you have to enable Developer Options:
Extra for Xiaomi:
1. Switch On Install via USB: it will make you activate your Mi Account using your phone number. If you don’t do it, you will not be able to debug/install your app and will get an error as follow:
2. USB debbuging (Security settings) will open 3 Important Warning dialogs with a default timer (countdown) to make you read it before press Next. At the end, if you haven’t rejected them the option will switch on. If you don’t do it, you will not be able to debug/install your app and will get an error as follow:
Note: I’m developing with Apache Cordova and Xiaomi Mi.
Space Odyssey
/in Design/by GénesisHackerRank
/in Design, Recognition, Tooling/by GénesisJust earned my 6th star on the Problem Solving Badge on HackerRank using JavaScript (Node.js)!
Rank: 15.304 of a million and a half. 108 challenges solved.
I will keep my stars but I will lose that rank because I’m not doing more code challenges. I have really enjoyed this platform but I’m moving to something different where I can help people with their real code/apps. However, if you have plenty of time and want to level up your problem solving skills, and even find good jobs, you can try out, the interface is really intuitive and they have many different programming languages to choose 🙂
I thought that they would give me a t-shirt or something but not, so I designed my own one about solving daily problems!