Android

Gabor Paller's picture

RenderScript in Android - the parallel version

In the previous post I promised to revisit the parallel case. The big promise of RenderScript is to exploit parallelism among different CPUs, GPUs and DSPs in the device at no additional cost. Once the algorithm is properly transformed into parallel version, the RenderScript runtime grabs whatever computing devices are available and schedules the subtask automatically.

Taxonomy upgrade extras: 
Gabor Paller's picture

RenderScript in Android - anatomy of the benchmark program

     In the previous post I have presented our RenderScript benchmark and demonstrated that RenderScript implementation of the same algorithm can be 2-3 times faster than Java. How can a "script" be so fast? In order to understand this speed difference, let's see how the RenderScript fragment is executed.

Taxonomy upgrade extras: 
Gabor Paller's picture

RenderScript in Android - Java optimization in the benchmark program

I got into discussion with Michael Leahy with regards to the benchmark program posted at the end of the previous post. Michael claimed that the Java implementation of the benchmark algorithm in my test program is suboptimal and he contributed an optimized version that he claims could deliver 70% better performance. 

Taxonomy upgrade extras: 
Gabor Paller's picture

RenderScript in Android - the benchmark program

     The previous post of this series tried to present argument, why it is a good idea to consider implementing part of your code in RenderScript, instead of Java or native code. This part presents a benchmark that we will use to evaluate the technology. I intentionally chose the benchmark not to be an image manipulation algorithm or a convolution filter. I wanted a use case that processes large amount of data. Sound processing yields itself as a quite evident choice.

Attached file: 
Taxonomy upgrade extras: 
Gabor Paller's picture

RenderScript in Android - why should you care?

Before 3.0, Android application development meant either using the SDK - which is a Java toolchain - or the NDK - which is a C/C++ toolchain based on the gcc compiler. The 3.0 version added a third option, RenderScript. RenderScript was positioned as an auxiliary toolchain for special tasks like image manipulation operations. In this post I will investigate whether it makes sense to use RenderScript for more mainstream coding problems.

Taxonomy upgrade extras: 
Pekka Oilinki's picture

The winner of Mobile OS of year 2016?

The change is here. We are all used to hear how apps work with iPad and iPhone. That used to be the standard of the smart phones for an while.

Then there is Android, which was never a small player.. but more silent compared to the iOS devices.

This is not the case anymore. Android is already bigger than iOS and it's spreading to other places than mobile phones as well.

Enough Software's picture

Mobile Developer's Guide To The Galaxy: 11th edition of free handbook now available

The new edition of Enough Software's popular non-commercial handbook about mobile technologies is now available: Learn everything about what your options are when entering the mobile market as a company and how to get started as an app developer.
The whole content has been updated once again, so all the latest developments have been taken into account. Besides, new chapters have been added. You will now also find information about how to create Enterprise Apps and software for the BlackBerry10 platform.

Jay Park's picture

Help me to solve expandable list view problem..

Recently I'm studying about multi level(4-level) expandable list view using ArrayList.
But there's some problem related getGroupCount function.
Parent Level's getGroupCount function works well, but two child level's getGroupCount function works bad.

I wanna implement listview like below.

. a
. a1
. a11
. a111
. a112
. a12
. a2
. b
. b1
. c

But the rusult of my source program is below. (a112 not shown)

. a
. a1
. a11
. a111
. a12
. a2

Taxonomy upgrade extras: 
Rupal Thanki's picture

How to Support GESTURE, left/right slip, many transition effect in Android application

In My application i want to flip the view.. I have seen such animation in Go SMS pro in Android. And Same thing i want in to my android application. I want to flip the whole activity view. is it possible ? I have seen some example for the flip in android. But in that all example the view is in the same activity. Is it possible to set such view for the different activity. or to do such effect while going from one activity to another ? Please see the snap for the Flip effect in Android

Attached file: 
Taxonomy upgrade extras: 
Róbert Bodó's picture

Fragmentation of Android ecosystem

One of the greatest advantage of Android's ecosystem is its openness. Google released most of the Android OS's code under the Apache License. It is a free software license, so anyone can download it and build the Android OS... almost... some parts are missing but OEMs can implement those hardware specific drivers, etc.

So, basically hardware manufacturers are not forced to deal with Google at all, unless they would like to deploy Google applications (including Android Market) to the device.

Taxonomy upgrade extras: 

Pages