Hi Andrew and Steve.
I'm going there into JNI.
I'm going to make demo from B4A to JNI and beyond (ARM assembler).
C is my native language. I don't do Java, which is one of the reasons I love B4A.
But I'm going lower, like my RasPBX g729a project. I am making a fixed point FFT spectrum analyser demo, which will be up here with full source code, ( as a precursor to the thing I need it for ).
My issue is that the app I want to release needs to run on the oldest most basic hardware and not get me a negative review in the play store.
My thinking is that if I can get good performance on a Raspberry Pi (ARM v6) then it should run on almost any android old phone/tab) that doesn't have the NEON extensions. My B4A app runs in realtime on the S3 but won't on the cheap AllWinner (which is why I bought it as a test device for £40).
I have to make it work on everything.
This is work in progress, but it's going well. Current benchmarks are approaching NEON like speeds in terms of relative CPU speed (though I'm cheating by using fixed point arithmetic)!
Raspberry Pi has single core 700 MHz ARM v6 processor.
Results:
100 x 4096 point transforms/sec
1.6 seconds for 10000 256 point transforms. (this will improve I hope)
This is a dual project though as it will be for the Raspberry Pi community too.
A credit to
http://pulsar.webshaker.net/ must be mentioned.
Progress so far:
http://pulsar.webshaker.net/ccc/sample-775e8972
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33&t=43841