Yesterday, we discussed the second part of our tech giants coming to the west series with Huawei. What people may not know, however, is that Huawei owns a company by the name of HiSilicon. Hisilicon's processor department may not be the most popular in the west but their technology is impressive, with year on year improvements being easily seen. In the coming years, manufacturers such as Qualcomm may have to face the fact that there are other companies just as able...
Make Your Taskbar Faster and Smoother
As of late, we at the XDA Portal have been trying to offer an expanded focus on tutorials and teaching materials rather than simply finished applications. There is simply no better way to learn about software development and overall hacking than by doing it yourself. This has fueled some of XDA’s latest moves such as the release of XDA-U as well as the upcoming live event, XDA-DevCon. If you are just getting your feet wet in the development world, you need to start somewhere, regardless of how basic it may seem to some. With this in mind, simple tweaks are a great (and normally safe) thing to try and get going on your device, and the following is no exception.
XDA Forum Member Mr.Nigma… has written up a very nice and easy to follow tutorial on how to speed up the taskbar pull down and up actions, making them smoother and faster. The first thing to know is where to look for such code. There is a wealth of information on AOSP’s main page as well as scattered throughout XDA forums for this, let alone the countless minds on the site that would be glad to help you find things like this. In this particular case, the target is located in SystemUI.apk. Because it is not a simple variable, the code needs to be modified and as such, the APK needs to be cracked wide open (decompiled) with apktool. Once the apk is decompiled, you will need to look for
Once there, you will look for a .xml file called dimens.xml. These files need to be opened with a text editor such as the native Notepad program present in Windows. Having said that, most devs prefer to use richer apps such as Notepad++.
Once you have the .xml file open, you will need to look for a few lines of code, specifically self_expand_velocity and self_collapse_velocity. These are the lines that command how quickly your bar will go down and up when swiped. These lines have a “stock value” for speed. The higher the value, the faster the animation will be. Mr. Nigma suggests to use a value of over 2000, but your mileage may vary. You may need to play with these until you have it “just right.”
Finally, after you are done with your changes, simply save your changes and recompile it using apktool once again. Once SystemUI.apk is back in one piece, you can adb push it back to your device. You could also turn the APK into a flashable ZIP and flash it via recovery, but doing this takes away the fun of using adb.
As the dev suggests, there are other “fun” things you can do while having SystemUI.apk open. Much like the two lines above, there are various entries that are pretty much self explanatory. Feel free to mess around with it. The worst thing that can happen if you mess something up is that your device will go on a bootloop, in which case you can easily revert back if you have a “stock” copy of your SystemUI to push or a Nandroid backup.
All in all, your devices are open playgrounds for you to get dirty with the sands of code. You should definitely try it; it’s fun! You can find more information in the original thread.
Want something published in the Portal? Contact any News Writer.
Want something on the XDA Portal? Send us a tip!
There are many great Android handsets on the market today that are much cheaper than the flagships from the major players like Samsung and HTC. The OnePlus One and Nexus 5 are two great examples of high-end phones being offered at prices much cheaper than competitors. But there are phones in the mid-range that may offer even more bang for your buck. Let us know which smartphone deal you think has the best value.
TapDeck which has just entered beta, is a smart wallpaper app that allows you to change to a random wallpaper by simply double tapping your screen. After selecting images you like from a selection, your wallpapers will be chosen based on similar images from Flickr, Imgur, Reddit and Wikipedia. If you see one you like, simply swipe up and you will see information relevant to the image. After spending a day with this app it is clear that it is still...