What do you think about Google's open source development called Google Blockly? Its a web-based, graphical programming language
It's the same as the App Inventor was; a non-programmer's "programming" tool which got me bored after 10 minutes. I prefer native Java coding..
Related
I'm curious if the android platform supports multiple languages java or C++ or C#
Sent from my Motorola Droid 2
android apps are written in java but i think you can download the ndk and write them in c and c++
Thanks I was wondering that for thee longest time... I've had a little book learning about programming and can't yet differentiate languages yet
Sent from my telephone
So this is probably a silly question.
I have this rather complicated app that would be a heck of a lot of work to convert to Java.
It runs in the command line and works fine in Linux.
Trying to run it fails, but x86 bytecode probably isn't very ARM friendly.
Is there a specific way I need to compile the application?
Is it even possible to run it from a console emulator?
Thanks.
Try Android NDK
I am also new to Android Dev ( 15+ years Linux, 10+ years Java, etc.)
I am not an expert but for your purposes you need the "Android NDK" in addition to the "Android SDK" that most developers utilize.
"The Android NDK is a toolset that lets you embed components that make use of native code in your Android applications.
Android applications run in the Dalvik virtual machine. The NDK allows you to implement parts of your applications using native-code languages such as C and C++. "
Basically the tools are needed to cross compile C++ source code for the target ARM environment.
I am prevented from posting the download URL for some bizarre reason, but it is listed under "Native Development Tools" on the left side of the web page for the standard "Android SDK" download.
Yeah that's because you are new. It's a system to prevent spammers from posting URLs.
When you have a couple of posts the restriction will disappear
Anyway; found it, seems to be what I'm looking for.
I'll check it out in the morning.
Big thanks
Dmitry Moskalchukhas written a patch for the ndk to better support c++ see crytax dot net there are posts on google groups android-ndk talking about it
Thxs for the info. I was aware that the NDK did not include all of the libs that desktop Linux/UNIX developers expect. The suggested patched version adds the STL libs back in.
Sent from my PC36100 using XDA App
There are A LOT of libraries missing
I guess I'll just keep it a hosted app.
Thanks for all the input
I'm relatively new to programming and am currently learning Java.
Google provides their API in Java for their various products. I downloaded it, followed the instructions to use ANT to get it all ready to go, but I'm stuck on how to actually start using it. I can't get their libraries to import into my programs using the JVM compiler. It just says a bunch of, "that package doesn't exist", and things of that nature. I can't even get Google's sample code to load any of the API packages.
How does one actually use the API once it's all extracted and in the C:\Program Files\Java\gdata folder? Can I not use the JVM compiler? I had to use ANT to set it all up... does that mean I have to somehow use ANT to use the API? I'm a little confused.
If somebody could write up a step-by-step on how to start using the API, that would be so awesome.
thesecondsfade said:
I'm relatively new to programming and am currently learning Java.
Google provides their API in Java for their various products. I downloaded it, followed the instructions to use ANT to get it all ready to go, but I'm stuck on how to actually start using it. I can't get their libraries to import into my programs using the JVM compiler. It just says a bunch of, "that package doesn't exist", and things of that nature. I can't even get Google's sample code to load any of the API packages.
How does one actually use the API once it's all extracted and in the C:\Program Files\Java\gdata folder? Can I not use the JVM compiler? I had to use ANT to set it all up... does that mean I have to somehow use ANT to use the API? I'm a little confused.
If somebody could write up a step-by-step on how to start using the API, that would be so awesome.
Click to expand...
Click to collapse
Judging from your post, you seem to be referring to the GData APIs. It's worth noting that Google is pushing Google APIs Client Library for Java for all new Google JSON APIs.
These APIs + samples are built with Maven2 and are pretty easy to setup.
Also judging from your post, you might want to get up to speed with basic java stuff like project setup in your IDE (Eclipse / IntelliJ ?), Build tools (Maven / ANT). Learn those things first before getting into the Google APIs. Go to the maven site and see how you can build a simple project. See how to import that project in Eclipse, and checkout the Maven plugin for Eclipse.
Most of the samples for Google APIs Client Library for Java (ex: The Books API Sample) provide step by step instructions on how to get things up and running (starting with checking out the code from the google versioning control to building it and running the sample on your environment).
Hijacking this threat a bit, but I'm also learning about APIs, Facebook and Twitter in particular.
With regard to android and java, I've done the tutorial for logging into facebook and posting basic status update but don't really understand the code; which parts are the API?
Really appreciate it if you could point me to another thread or site that explains how to use the API. I'm stuck on how to create a method that does event creation for facebook.
Thanks in advance!
G'day.
I'm trying to get started developing Android applications but I have hit a bit of a wall.
I've been learning Java, and finally downloaded the Android SDK yesterday. The official Android Developers site says that Android applications are built using Java, but when I started following the "getting started" tutorial I quickly realized that it is not really using Java, and i hardly recognize a thing.
After a bit of searching I found that Android apps do not use Java, they use.... 'Android.'
Now, I understand that the Android language is based on Java, but I still can't help but feel as though I've been wasting my time when I could have been learning Android directly.
My questions are:
1. What is the best non-YouTube resource for learning Android? (I don't have unlimited internet)
2. Why does the Android site claim that it's apps are built with Java?
3. Why didn't they just actually use Java? Why did they have to modify it into a different language? Is it to purposefully make things more complicated and annoy people, or is Java too limited for mobile apps?
Thanks.
I don't know if you remember the big Google/Oracle (developers of Java) lawsuit a while back, although it is unrelated to Java itself, that is probably one of the reasons AOSP decided against using the actual Java language in creating apps. Since it's based on Java, people who have some Java experience would probably have a head start than someone with no Java experience.
To answer your first question, your best bet would be to go to a bookstore like Barnes and Noble and buy an Android development book. They have plenty of books out there for developing for Android and does not require the internet.
Hey guys!
Well, was everyone knows Google will probably cast out Java as their main android language and adopt the Apple's open source language Swift. My question is, should I start learning swift or keep learning Java as android language?
I am asking this kind of questions because I am thinking about take a course, but now I don't know what course should I start(Swift or Java).
Have a good day
Java. Simply learn java (make 1-2 desktop app, later android app)