Researching performance gains from using NDK

by Ivan.Memruk  on  27. August 2010 05:45

Contrary to what some inexperienced developers think, NDK is not a silver bullet for any performance problem that you face in your app. Before you make a decision to rewrite a portion of your code in C, you have to think twice. Your effort might not pay off as much as you think, as NDK is not unconditionally faster than Dalvik code. If you already spent some time learning NDK, then you know that ... [More]

Adding MapView to your app, step by step

by Ivan.Memruk  on  16. August 2010 06:07

Everyone is familiar with Google Maps. The Maps are available on almost any platform, and whenever you want to look up something on a map, most of the time you will use the one from Google. The Maps are also available for Android, as a control that you can embed in your app and use for various geographic features. Although MapView itself is quite easy to understand and it has a nice API, creating... [More]

Making a simple custom Android UI animation

by Ivan.Memruk  on  10. August 2010 05:34

Animations are a great way to spice up the UI of your app. Although using too many animations can freak out the user, applying one or two in the right places can make the interface look professional and add some points to the user experience. Most developers have no problem learning and using the standard animations that Android provides, such as TranslateAnimation, RotateAnimation or AlphaAnimat... [More]

Moving from Java Web development to Android

by Ivan.Memruk  on  5. August 2010 11:22

If you are a Java developer interested in learning more about Android, or if you're determined you want to master that new and thriving mobile platform, chances are you have more experience working on the server side than on embedded platforms. After all, most of the success that Java has had has been concentrated around Web and Enterprise applications rather than mobile apps. (Yes, Java ME has ... [More]

Avoiding excessive GC in simple apps

by Ivan.Memruk  on  2. August 2010 10:54

If you started your mobile development on a platform like Java ME, you will probably appreciate the heap sizes that Android gives to its apps. In fact, the minimum heap size that the Android compatibility guide requires is 16 Mb, and the more typical size is 24 Mb. This seems to be large enough for a typical app, so you should rarely run into out of memory issues with simple apps. That, however, ... [More]

Use MVC and develop a simple Star Rating widget on Android

by Ivan.Memruk  on  19. July 2010 05:33

The MVC (model-view-controller) pattern has been extremely popular in web application frameworks, but even if you never developed for the Web, I am sure that you at least heard this term before. Today we will develop a simple star rating widget that looks like this: This widget works the following way: every time you tap it, the number of stars increases by 1. If there were 5 stars, the rating... [More]

Porting existing Java code to Android

by Ivan.Memruk  on  16. July 2010 07:27

One of the major reasons why Java became so popular is the vast amount of existing code such as libraries, examples and open source applications, that is available to Java developers. When you develop in Java, chances are most of the "chore" code that your application needs has already been written, and good chances are that the code that you need is open source and has a flexible license. Thus, a... [More]

Correct thread management in Android apps

by Ivan.Memruk  on  14. July 2010 04:18

Android supports almost the API of Java SE almost completely (except the Swing classes and some other minor features). Among all the core classes, there is the fabulous Thread class and other concurrency-related classes of JDK 5. You are absolutely allowed to use multiple threads in your Android apps. In fact, most non-trivial apps can be challenging to implement without threads - develope... [More]

Intro to the three Android Audio APIs

by MasterDroid  on  13. July 2010 08:54

Mobile devices of the first generation were not capable of playing any sounds except monophonic ringtones. Today any smartphone platform supports playback, record and to some extent manipulation of digital sound, often up to CD quality. Android is no exception to that. Even older 1.5 devices can do a lot of things with digital audio. However, due to lack of guidance, a develope... [More]

HTC has increased profits by 33% due to Android

by Admin  on  7. July 2010 06:31

HTC has summed up the preliminary results of the activities throughout the spring of 2010 and reported that this period was one of the best in terms of financial performance in the history of the company. It is noted that during the period net profit increased by 33% compared to the same period in 2009 and reached a value of $ 268 million in the same time, net income increas... [More]

� 2010 WiseAndroid