There already are many solutions on the Google Play store if you want to send a link to one of your devices -- but what if you wanted to do it quickly without having to install any software or logging in to a website on the recipient end? Most apps require you to do either or both, which can be a hassle (or even a security risk) in some cases. Luckily, XDA Forum Member wyemun has developed CaastMe. Inspired by...
Learn about Concurrency in Java, and Optimize Your Applications
Understanding the structure of Java code is key to being a good Android programmer. One topic that should be understood better by most developers is concurrency. Every machine can perform more than one task at a time. For example, you are able to listen to music, browse the Internet, and have Android compiling in the background. Java, which is the main language of Android, is perfectly ready to handle more than one process at the same time.
There are two basic units of execution: processes and threads. New CPUs available both on PCs and phones have more than one thread, that’s why some new Intel chips can run up to 12 threads at the same time. The number of processes is greater, and shared among the number of currently available threads. That does not mean that a single-core processor doesn’t support concurrency. It does, but the performance will be lower than on an eight-core machine.
If you want to learn about concurrency in Java, you should check out a guide written by XDA Senior Member sak-venom1997. Sak-venom1997 put forth tremendous effort to thoroughly explain concurrency handling in Java. By following suggestions from this guide, you can get the most performance from your application and optimize it to use all threads available on your device.
The guide can be found in its original thread. If you are an app developer or you are planning to become one, don’t hesitate to go there to learn more.
Want something on the XDA Portal? Send us a tip!
Do you like MOBAs? Do you like gaming on your phone? Given that MOBAs (multi player battle arenas) have amassed millions upon millions of players, there's a chance you play LoL or DOTA. And here at XDA we love phones, and we spend a lot of time on them, so if you were to like gaming outside of smartphones you probably like some on them too. I personally like neither, and I simply download the latest 3D games to see the progression...
According to myLGphones, a version of the LG G4 will not feature neither a 2K nor a 4K display - but 3K. If you are anything like me, your reaction to this news will be confusion. While we don't have many details about the sources of this leak, it has apparently been confirmed true by a poster at hardare.fr that gave some more details on model names for each version of the upcoming LG flagship. However, these leaks don't point towards all G4...