I have recently became interested in android development however the biggest road block for me has been even the mere thought of using java to develop for a mobile phone. I do not have confidence in java's ability to make possible a high performance game with a consistent frame-rate and I do not want my program to stall during garbage collection. I am a C/C++ programmer primarily (I also use assembly if needed) who has programmed in java before and have from past experience found that due to the fact that I have more control over various aspects such as memory allocation I can optimize my program further and I general prefer low level programming.
I have already read questions and answers here and they suggest using the NDK, now I have looked at the NDK and it still introduces the bloat of java. Basically if I understand correctly what I would have to do is write some short java code that would call my native code. The problem with this java is still running in the background therefor consuming valuable ram which mobile phones lack of and java would still need to launch and even on my computer java takes a little bit to start-up and given the fact that I am programming for a mobile phone which I am sure has a much slower cpu it will take even longer. I have found that java and low memory footprint to be a oxymoron and do not want java running in the background idling using ram. I want this program to be accepted in the official application store which I believe is know as "google play". Given the fact that I am programing for such a resource limited device I am very surprised that java is the recommended way.
The official language of Android app development is without any doubt, Java. It makes things better because it has a large number of open-source resources, as well as valuable libraries and software. It also defends against many problems in native code, such as memory leaks and incorrect pointer use.
Yes, it's possible to develop Android Apps without programming knowledge.
Java is an object-oriented, high-level programming language developed by Sun Microsystems in 1995 and used for developing software for multiple platforms. It is supported by all the platforms like Android, OS X, Linux, and Windows.
The applications developed by android developers can be accessed by an android device with or without the requirement of the internet.
First, I believe you are worrying too much about the performance of java. You cannot avoid "java running in the background", because most of Android is implemented in Java, anyway. And the resources of smartphones are not so limited.
Now if you really can't stand java, you can use a NativeActivity: http://developer.android.com/reference/android/app/NativeActivity.html And make your game with OpenGL.
See also that question: 100% Native C Application on Android?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With