I know I'm saying this 6 years later but this could've all been avoided if Android's entire API was written entirely in C and THEN adding that C api into Android's native JNI... That would've made everything so much damn simpler than having to tack on C/C++ into the JNI just to get good performance...
@lunardust201 actually it was the PNGs that were slower and it was an interesting question. Seeing as how the DCT transformations for decoding the JPGs should take more CPU time than the PNG decoding. Maybe he should've let it go after it was clear that they didn't know why but no reason to get upset. Just chill.
thanks for this very helpful overview. i have an windows/c++/mfc application called tabtrax youtube id q0N019VHshc that i want to put on an android tablet. it uses simple 2D graphics and a custom ttf font for rendering music notation to screen. would you recommend i use C++ and the NDK or the other more native thing, Dalvic? for my "port" (maybe re-write is a better word). thanks
i am going to look into the new NDK. i've got an x86 PC emulator that I wrote in plain old C that i would love to port to android, and i sure as hell am not going to rewrite THAT in java. can you imagine an interpreting x86 CPU emulator running in java on the processors that you find in a phone? :shudders:
can someone tell What is current state of the fixes for those problems questioned at end part of video. Also: is it not exaggerated how much they want support Native Code / C++ , like i keep hearing?
@chillipepper117 Your missing the point the development process is a lot easier and you can now program I'm C/C++ Young Developers can get there foot in the door, its never been so easy to make apps.
goooood very goood .....Hello .. possible help if you allow .. method of connecting opencv with eclipse Mokth blow up the program correctly .. I hope that you will help me out of necessity. Thank you
While there does need to be a wider(and a more consistent) feature set in the native side of android, the control you need for making the speed critical parts of the game are already available, and you can have 99% of your project in c++. Why would scrapping java completely be better for android developers than the choice of either? There are places where java is the less painful way to go on android (and I really don't like java).
I know I'm saying this 6 years later but this could've all been avoided if Android's entire API was written entirely in C and THEN adding that C api into Android's native JNI... That would've made everything so much damn simpler than having to tack on C/C++ into the JNI just to get good performance...
i tend to agree. c++ is (sometimes) a convinient code generator for patterns you should understand how to write in C.
Looks like no matter what managed layers there are, there is always people looking for more control. I cant see C++ ever going away :)
Why oh why didn't I attend this session!!!?
See 49m 52s into this video for my motivations :)
@lunardust201 actually it was the PNGs that were slower and it was an interesting question. Seeing as how the DCT transformations for decoding the JPGs should take more CPU time than the PNG decoding. Maybe he should've let it go after it was clear that they didn't know why but no reason to get upset. Just chill.
the first guys sarcasm is on hundred thousand trillion
thanks for this very helpful overview. i have an windows/c++/mfc application called tabtrax youtube id q0N019VHshc that i want to put on an android tablet. it uses simple 2D graphics and a custom ttf font for rendering music notation to screen. would you recommend i use C++ and the NDK or the other more native thing, Dalvic? for my "port" (maybe re-write is a better word). thanks
C++ is pretty much the same as C,just more object oriented. C# is completly different.
i am going to look into the new NDK. i've got an x86 PC emulator that I wrote in plain old C that i would love to port to android, and i sure as hell am not going to rewrite THAT in java. can you imagine an interpreting x86 CPU emulator running in java on the processors that you find in a phone? :shudders:
I cannot find the project he was mentioning at 11:00
can someone tell What is current state of the fixes for those problems questioned at end part of video. Also: is it not exaggerated how much they want support Native Code / C++ , like i keep hearing?
OMG... Now I understand how noob at C++ I am...
I need to continue learning! I want to develop something for android... :)
C++ was C modified to fit with OOP easier. C# I think is closer to Java.
@bustaballs I thought iOS didn't support Java?
Screw C++, C is the way how to do it!
Do you have to know C prior to learning C++?
I'm Coding in C++ while watching this :)
@chillipepper117
Your missing the point the development process is a lot easier and you can now program I'm C/C++ Young Developers can get there foot in the door, its never been so easy to make apps.
@mathgeekphysics nope, im learning C++ and i dont know strict C, there are bascilly the same from what i hear
can any 1 recommend me some c sharp tutorial. i was learning c++, but then i realized that unity3d doesnt support c++, so i switched to c sharp.
goooood very goood .....Hello .. possible help if you allow .. method of connecting opencv with eclipse Mokth blow up the program correctly .. I hope that you will help me out of necessity. Thank you
C++ RULES!!! :)
Screw them all! Real programmers use butterflies!
Don't be silly now. We all know the best, fastest, easiest way is to write the bytecode yourself, which is how any real programmer would do it!
Mac on Google Android presentation :D
Screw C, Fortran, Lisp and Cobol is the way to do it! XD
C# look like a fusion C++ and Java ;)
C and C++ are actually the exact same. In c++, oop is just easier.
congrat
And that's why you shouldn't touch strings.
Java is the best language for very little of anything...
1:59 OMG! It's MAC!
like both
oh wut...
Free Sony Ericson Xperia??
Oh hell yeah!
thumbs up if you'd rather code for Windows phone 7 (mango)
damn fine skullet
@chillipepper117
DON'T MAKE ME LAUGH!!
get rid of java... completely useless for games
What language would be good for making games?
While there does need to be a wider(and a more consistent) feature set in the native side of android, the control you need for making the speed critical parts of the game are already available, and you can have 99% of your project in c++. Why would scrapping java completely be better for android developers than the choice of either? There are places where java is the less painful way to go on android (and I really don't like java).
dey iz cousins.
@Mega1hacker He would look better bold xD
Really long video
@15:02 No, its not it is awful.
Yaa why are my jpegs slower duurrr. Um shut up now dude
Bla bla bla bla and Android Studio not support C++
Fantastic!
999 VIDEOS!
I WILL SUBSCRIBE FOR THE 1000th
then i will unsubscribe
Yfuk
Gd""' r