Does android support c++ - Acer Iconia A500

As im now beginning too learn and compile in c++ and objective c i was wandering does android support it could i build a game in openGL and c++ or is it strictly java? thanks
Also i want to be able to work on the go but the best environment i could find was this https://play.google.com/store/apps/details?id=com.didactic.DeuterIDE&hl=en
any suggestions please don't say run Ubuntu natively.
sorry if this post is better suited in Q an A or Development

gears177 said:
As im now beginning too learn and compile in c++ and objective c i was wandering does android support it could i build a game in openGL and c++ or is it strictly java? thanks
Also i want to be able to work on the go but the best environment i could find was this https://play.google.com/store/apps/details?id=com.didactic.DeuterIDE&hl=en
any suggestions please don't say run Ubuntu natively.
Click to expand...
Click to collapse
Take a look at the Android NDK (Native Development Kit). You can build native code and compile with C/C++, although it is best integrated with a Java project to build the final APK. You can't use Objective-C, however. We don't have Cocoa Touch haha
I personally haven't used the NDK but I've looked at it and it does provide a complete ARM toolchain. NVIDIA also provide some additional Tegra profiling tools that integrate with the NDK.

blackthund3r said:
Take a look at the Android NDK (Native Development Kit). You can build native code and compile with C/C++, although it is best integrated with a Java project to build the final APK. You can't use Objective-C, however. We don't have Cocoa Touch haha
I personally haven't used the NDK but I've looked at it and it does provide a complete ARM toolchain. NVIDIA also provide some additional Tegra profiling tools that integrate with the NDK.
Click to expand...
Click to collapse
hmm thanks so objective c is out most likely i will integrate it with Java to since my c skills are not great yet....for a mobile environment you recommend Android NDK?

gears177 said:
hmm thanks so objective c is out most likely i will integrate it with Java to since my c skills are not great yet....for a mobile environment you recommend Android NDK?
Click to expand...
Click to collapse
Well, the SDK for proper app development (in java mainly) but you can integrate that with the NDK for native code in C/C++
Sent from my A500 using Tapatalk 2

blackthund3r said:
Well, the SDK for proper app development (in java mainly) but you can integrate that with the NDK for native code in C/C++
Sent from my A500 using Tapatalk 2
Click to expand...
Click to collapse
thanx will do so if i got this right building a game in c++ in openGL will work but recommended to integrate it into java for the apk

Related

Dev tools and Ide's

Im a c# desktop developer and would like to start messing with mobile application development but i find that .net compact is a bit limited and slow.
What other freeware/open source tools are there ?
I recently found XFlib - it's intended mainly for games and it's still on an early stage of development, but looks really interesting and might probably be used for other kinds of software as well. For compiling it depends on ceGCC - an opensource compiler for ARM CPUs, and for development you can use pretty much any text editor/IDE:
http://www.xflib.net/
you could try this
Meme IDE is now available for download.
Build with a drag and drop editor. Develop complex functions using the unique MemeScript. A language created to make elements simple and cohesive on any platform.
It is currently in beta release and at the moment you can develop for Android and WM. IOS will be included in the full release and Blackberry further down the line.
OH and its FREE
find out more or download and play with it at www.memeapps.com
this is a community based beta release so we want to hear what you have to say about it

[Q] java developing

I am driving a lot in busses and I thought naybe there is a way for me to develop java in my a500 tablet.
Is there any java IDE or something for developing java on honeycomb?
Eclipse is the most versatile. You also need: Android SDK, ADT and JDK 1.7
For introduction, look here. it is the first video for a very very very popular and useful series of tutorials.

Visual Basic, C#, or Java programming?

I am currently working on my associates and I need 4-5 credits in BPC, CIS, and some others. I was wondering which classes would better suite me if I wanted to start getting into the hacking and rom building scene.
I have all ready taken a class on C++ so I have a basic starting point on how programming languages operate, but that class didn't transfer to the school I'm currently going to. So my question is, which classes would better suite me (I only need 2 in order get my degree seeing as they are 3 credit classes) to assist with becoming better developer for android?
all insight is welcome, but searching for developers insight...
Java would be best if you want to work with Andriod, as a lot of the code is java, and what isn't in java is mostly C I believe, and possibly a few other languages thrown in.
imnuts said:
Java would be best if you want to work with Andriod, as a lot of the code is java, and what isn't in java is mostly C I believe, and possibly a few other languages thrown in.
Click to expand...
Click to collapse
In the android source there should be c++ besides Java. As for kernel it's mostly C and ASM
Sent from my Incredible 2 using XDA App
FORTRAN 77
Seriously, though, you might consider adding a Linux course or two if they're available and you haven't done so already...
Has anyone seen John Connor?
Checked for linux and there was none. That was my first search. Now should I do c++ and the course that follows c++2. Or a little of both. C and Java. There is also a Java level 2
Sent from my SCH-I500 using XDA App

C# programming - anyone use Xamarin?

Has anyone used Xamarin to build their android apps? I have been programming using C# for sometime now but have never used it to build anything for android.
They have tons of free libraries, but as for licensing, I am skeptical in purchasing. Anyone like or dislike Xamarin? If you do or do not, can you explain why? Thanks a bundle!
Haven't used it but you have to think whether it's worth the price. The advantage is you can write in C# and share code between Android/iOS. However the UI is still platform-specific, so it has to be implemented twice. A free alternative is to use C++ for shared code (Android: via NDK, iOS: compiles directly), but that definitely needs more initial setup effort than buying Xamarin's product.
Here is an informed opinion
There is a gaming studio that used Xamarin to port their WP stuff to Android and iOS, and they're quite happy with how it turned out.
Do a search for "FourBros Studios, Cross-Platform Game Development with Xamarin and MonoGame". I can't post a direct link because of forum rules here.
Of course games are entirely different beasts than regular apps (for example, UI-wise), so not everything may apply to your situation.
I've plaid with Xamarin... and its a good system.. but Is it worth $300 to not learn java?
Cross platform development tools have their place, but IMHO unless you have a large project and NEED a cross platform development tool you are hurting yourself by not going native.
Just my .000002c
Java is so similar to C# I would think you'd be fine just going native - in terms of syntax they're virtually identical. I do kind of miss the var keyword though lol
I agree with LostByte - there's no real point to going cross platform unless you really need it. Don't stay with C# just because it's what you know! Use what's most appropriate for the app

Creating An Android App with No Java Experience

Hi everyone!
I hope everyone is having a great Christmas. I just got a nexus 7 for Christmas and really want to make an android app now. I've learned other languages before like HTML 5, CSS3, but not java. How should I go about learning java and then making an app? Thanks and enjoy the break!
Sent from my Nexus 7 using xda app-developers app
In my opinion best thing is to buy a book about developing android apps.
---------------------------------
Phone : Samsung Galaxy Mini S5570
OS:
•AOSP ICS Touchwiz V5 by A_U
•Android 4.0.4
•Baseband XWKS2
•Kernel: 2.6.37.6 Badass v1.9 by alin.p
•Recovery CWM v4.0.0.5
Mods:
PureAudio, Mounts2SD, ODEX through Universal ODEX script, AdBlock by AdAway
---------------------------------
Gesendet von Tapatalk
Sorry, html nor css3 is comparable with java!! If you know JavaScript or PHP that would be an advantage.
Don't buy a book about android developing: you'll get frustrated! Learn java first: It isn't as hard as you think after a week: Don't give up. If you know java, android will be much more easy!
Regards
EmptinessFiller said:
Sorry, html nor css3 is comparable with java!! If you know JavaScript or PHP that would be an advantage.
Don't buy a book about android developing: you'll get frustrated! Learn java first: It isn't as hard as you think after a week: Don't give up. If you know java, android will be much more easy!
Regards
Click to expand...
Click to collapse
What's the best way to learn java?
Sent from my Nexus 7 using xda app-developers app
way many java tutorials are available on the net.
And java is very easy language to learn, and developing android is very easy as well.
TIProgrammer84 said:
What's the best way to learn java?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I always recommend the Head First Java book.
krikor1 said:
way many java tutorials are available on the net.
And java is very easy language to learn, and developing android is very easy as well.
Click to expand...
Click to collapse
Do you have some tutorials links regarding Java for android ? I am looking for a good tutorial to start but with all the options I'm scared of wasting my time with tutorial that are too complicated or just bad...
The "Programming Mobile Applications for Android Handheld Systems" course starts on Coursera on 21-th january. May be it will be useful for you.
Java for Android is slightly different from regular Java. That is, the programming language itself is the same, but some of the packages (libraries) are different.
I think it's best to start with regular Java (for desktop apps), because there's a lot more books, tutorials and other resources to get you started. Once you know the basics of the Java language, you can then move to Android.
I can recommend Netbeans as a good IDE for starting with Java development.
The official IDE for Android is Eclipse, with a special Android plugin provided by Google. I don't find Eclipse very userfriendly, and it is not that stable either, so I don't think it's that good for beginners.
Some code I develop for Android today, I develop with Netbeans as a regular Java app first, then import the code into Eclipse and modify it to work for Android. But that's mostly the 'business end' code (I mainly develop graphical/rendering stuff...). UI code is entirely different for regular Java and Android, so it wouldn't make sense to do that in Netbeans first.
Youtube or Amazon will help you.
For learning Java I can recommend the newboston videos on youtube, his Android series even explains the java in good detail.
There are some good books for java, check Amazon reviews for the best ones. I like the Dietal How to Program, Java: The complete reference, and Java for Dummies.

Categories

Resources