I am very interested in beginning to develope for android.. I just simply do not know where to start. (I am only 15..)
http://www.vogella.de/articles/Android/article.html or google "android tutorial"
Android's own guides are pretty good
http://developer.android.com/resources/tutorials/hello-world.html
(This assumes that you already know how to program in Java)
If you've got c++ background, google the Android NDK - that lets you sidestep the Java and work in c++ instead
If you know any C++ like programming language (this includes Java, php and similar), then simply follow the Android Developer Resources.
If you have no programming knowledge, you can either learn Java, or try the AppInventor: http://appinventor.googlelabs.com/about/
Related
Hi there,
I'd like to do some Windows Mobile development but, quite frankly, I do not have the time or energy to learn Visual C++.
I'm good with Perl, PHP and Visual Basic and au fait with Windows Mobile - so the concepts of development on this platform aren't an issue. It's just simply a case of learning C++ does not fill me with any kind of excitement.
I looked at eVB, but its ancient and lacking in many respects. I thought about Visual Basic .NET but there appears to be no documentation around - you can't even buy a book on Windows Mobile development with it.
Any suggestions on something I can use which doesn't have a steep learning curve and allows me to get on writing useful things without spending the next 2 years learning dull stuff?
Thanks.
any of the c languages would be the best as they are native to winmo. you can use vb.net and it will work just fine. i have developed a few simple apps with vb.net and am working on one now i hope to release on here when i am finished. i am in the process of furthering my knowledge of vb.net and also learning asp.net, ado.net and c++ so i am very busy with programming. i would recommend learning one of the c languages if you really want to get in depth with winmo programming but like i said vb.net will work just wont be the best.
ps if you are comfortable with vb.net learning c++ should not be that difficult for you.
When you're using .net it doesn't matter if you use vb.net, visual c++ or any other .net language because eventually you'll end op with MSIL (Microsoft Intermediate Language). All .net languages are equally fast (except vb.net when you use the old visual basic namespace, so don't use it!)
"Visual Basic .NET"
.net compact framework is pretty well documented
come to think of it all msdn's examples are first vb.net
then c#.net and then c++.net and maybe j# or jscript.net
so plenty of documentation in that department
c# is not that hard if you know java it's much of the same
but if what you wanna do is pretty "basic" then mortscripts goes along way
Hey guys, as the title says i study computer science, and i use java and c#.
But its only on desktop platforms.
How much does it differ on an android platform?
Is it really just differences the APIs or is it a completely different approach to programming fundamentals?
Also what is the best way to go about developing? Can i get an SdK that plugs into netbeans or the like??
thanks
I too, study computer science - besides already working in these and related fields. My first impression of Android development is that there are a few paradigm differences that one has to accept.
For example, on desktop platforms, development and execution of applications follows a clear line through your code while on Android (and possibly other mobile platforms I am not currently aware of) your application architecture is based around the concept of activities. Traditional predictable execution like you would know it from a console application has to be emulated as the activities virtually replace the usual entry point (that would be, the main method or function). Anyhow, once you're actually developing anything serious, you'll get used to it pretty fast, so I wouldn't worry too much about it.
Furthermore, if you're coming from C# and have used WPF or Silverlight, the Android SDK/NDK does indeed look like hell to you. I came to Android and iOS development from C++ (indeed I have gained a lot of experience with C++; that's why I learnt C# and used WPF in a week's time) and at this point, you really start to feel how Android has grown very fast over the past 12 months. Deprecated APIs aside, it seems really hard to me to keep up with the developments so far.
What personally annoys me the most - that is, by far the most - is the Java programming language and it's omnipresence in the system. For an at least somehow experienced C++ programmer, the way concepts are implemented in Java, and this statement is not limited to Android in particular, seems awefully redundant and painful to use. But if you like it that way, you'll be fine. I have set up a template for myself so I can write most of my code in C or a bigger subset of C++ even though the NDK guidelines explicitly oppose it.
You are not limited to Java, you can use C and C++ through the NDK. I use the Eclipse IDE along with the ADT plugin, you could use Netbeans as well.
Hello,
With Visual Studio 2005 C++ from microsoft I have developed
some useful win.mobile-programs for my own purpose
(running on the HTC HD2).
Is there any chance to transfer this programs to a android system
and for what expense?
Thanks
The APIs between old WinMo and Android are way too dissimilar, it may be easier to just rewrite it in Java. Check out the Android NDK for Native development. You may be able to port a little bit of your C++ code (depends on what it is) but most likely you'll have to rewrite it.
Hm, Ifound this
"The NDK can, however, can be an effective way to reuse a large corpus of existing C/C++ code."
I was told that I can't use my C++ code on a windows phone WP7
but I have to rewrite it either in C# or VB.Net.
How crazy is Microsoft?
When I read the sentence above, I think I should change to android,
also I was very happy with Win.Mobile for many years.
I can''t believe it.
Thanks
Ernst
Welcome
I want to explain here shortly what is NDK ?
NDK stands for Native Development Kit. It is a good tool which enables you to use native languages like c/c++ in your apps besides android development code in java.
You may ask why i should this tool and write code in hard languages like c++ ?
Well, actually c++ is more complex than android code with java but it is very helpful in some apps like games
Especially, if you are ios and android developer and want to make a game, you will develope it for android by java then you will develope it by xcode and objective c for ios.
But if you made it by c++ using NDK, you will almostly use the same code in ios version and maybe make a little tweaks, so you will save a lot of time :good:
So it is very useful and time saver for apps will be made for ios and android platforms.
For more information about that, check android website by google for NDK and many other resources
Thanks for reading
........ and to think I thought NDK was the spark plugs you add to the development kit...... to give your work some Zing !
Do I need to learn Java to program in Android Studio? Or I can just jump straight into it? If I must learn it, can u guys show me a great way of learning Java? (I have a Pascal basic BTW).
You definitely must. Java is the main language for android development and without knowing it you can't do anything advanced.
To start learning you can use docs.oracle.com/javase/tutorial/. But learning is nothing without practice so start your own project and use Java in it. It's relatively easy language so you can start quickly.
s0nicyouth said:
You definitely must. Java is the main language for android development and without knowing it you can't do anything advanced.
To start learning you can use docs.oracle.com/javase/tutorial/. But learning is nothing without practice so start your own project and use Java in it. It's relatively easy language so you can start quickly.
Click to expand...
Click to collapse
Thanks Brother i was also looking for some tutoral sites....and found nothing for my choice...i have basic knowledge in Java and Codes 2apps also..check my threads but can u plz send me some Video tutoral video for android app development i want to add advanced Features & libraries
ARGHA_DAS said:
Thanks Brother i was also looking for some tutoral sites....and found nothing for my choice...i have basic knowledge in Java and Codes 2apps also..check my threads but can u plz send me some Video tutoral video for android app development i want to add advanced Features & libraries
Click to expand...
Click to collapse
You are welcome. To be honest I don't know any video tutorial and personally I think the best way to learn programming is practice. So just use any Vogella's tutors and code your apps but always try to make them more complex.
Java is important for Android studio
Yes, you need to learn Java properly before visiting android studio.
Because Java is key to do programming in android studio for Android developers.
appninjaz.co.uk/services.html
I learned from a YouTube series called "mybringback" 5 years ago. It's still a good place to start. Also, a great website that interactively teaches you to code is Codecademy.com. They are mainly a web-development website, but recently added java to their courses. It may be worth trying as well.
Root it and boot it!
Current device: Asus ZenFone 2 (Z00AD/ZE551ML)
ROM: Resurrection Remix
Kernel: FlareM
Service: Straight Talk
Check out my apps on Google Play
I have collected many good tutorials for Java and Android here.
Hope it helps
It best to learn Java, but today you can also use Xamarin to develop cross platform apps using .net (Visual Studio 2015).
java is main language to android studio
if you are using android studio, Java is a must. But you don't have to learn core java, you can just jump in to android programming, coz there are lots of different library there.
i would suggest using android studio instead of others, beside they are free, they are directly from google
Yes, java is must in order to develop android apps. Android virtual machine runs java codes. So android apps needs to be in java.
Now a days, there are so many frameworks and tools available which allow you to develop android apps in other languages and convert the apps developed in other languages to java code to deploy and run on android.
I think it is a good idea to directly code in java as you can easily understand concepts involved in android os and develop apps that perform well proving best user experience.. It is not difficult to learn java and android framework to develop android apps.
As others have pointed out, yes you must. However, if you have Pascal/Delphi background, that helps a lot! So loops/ifs/functions are no stranger to you. You "only" need to learn about classes, interfaces and such stuff, not very hard.
Luckily for you, there's literally thousands of Java tutorials, books, videos, anything you can think of. I always like to stick with books from respected authors and/or the language authors. So for Java, I'd go with https://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html (just an example, there's tens of other valuable books/tutorials).