Visual basic for Android - Android Software Development

A new development tool is now available for Android devices: Basic4android.
Basic4android syntax is similar to Visual Basic with support for objects.
Basic4android includes a GUI designer that supports multiple screens and resolutions.
I believe that this tool is much simpler to start with than Eclipse + Java.
Compiled applications are regular APK files, and the performance is similar to Java performance.
You can see more information here: basic4ppc[dot]com

Does it have a tutorial or may some one leave a brief training here?

thanks for finding something like this. I've always wanted to create my own apps and now I can and with this program it looks pretty good.

Does it have a tutorial or may some one leave a brief training here?
Click to expand...
Click to collapse
There are several tutorials in the documentation center.
basic4ppc[dot]com/android/documentation.html
Sorry that I cannot post working links...

Erel said:
There are several tutorials in the documentation center.
basic4ppc[dot]com/android/documentation.html
Sorry that I cannot post working links...
Click to expand...
Click to collapse
Godsend. I've been self-learning Java this week and slowing developing my first two apps using Eclipse. I've got a good grasp of the language but I was always better with vb.
Thanks heaps

I had Basic4PPC for WM Development, then Android came along. I'm glad the author has released Basic4Android as well!
Doug

Looks very promising!! Though I would have liked to see C# instead of visual basic coding. I can't even remember it anymore. It's been so long since I have used visual basic!! Lol. Maybe it's time to study up. I have refused to use have for a number of reasons!
Sent from my Droid using magical powers.

Does anyone have now experiences with that programm? I have an application written in VB for Windows Mobile. I want to change that to Android.
Would be nice to get some information before i buy this tool.

Wow, this looks interesting. Might pick this up
Edit: wow this was an old topic..
Sent from my Nexus S using Tapatalk

I tried it, seems to hard to get it to run any app, has a glitch

I tried it, seems to hard to get it to run any app, has a glitch
Click to expand...
Click to collapse
It shouldn't be difficult. If you like you can post this issue in Basic4android forums. I'm sure that it will be solvable.

I use mostly b4a, it is very simple and there is a lot of help on the forums, and people developing libraries and code classes.
I am learning on android studio now, but I have been happy developing with b4a!

Related

[Q] Learning to Dev

I have been a member of XDA for a while and now I want to contribute. I have a basic understanding of computers and want to learn more. Obviously our greatest devs were not born devs they had to learn everything from somewhere. I'm looking for suggestions on where to start on the road to become the best dev I can be. Keep in mind I'm flat broke so I cannot hit up the local bookstore or download any paid software, but with the way the internet is today there must a free legitimate source for everything somewhere. So anyone willing to help a noob If I posted in the wrong section please kindly redirect me rather than flame me. Thanks in advance.
It all depends on what you want to contribute. I'm a beginner myself (only developing since august). It is easy to learn Java, for the most part. I would suggest heading over to http://developer.android.com/index.html for starters. There are many examples and if you want to know something specific, try using the search bar at the top right (it comes in handy). I have already published an app, a simple one, but still an application none the less. I am working on two other projects simultaneously (a live wallpaper and a home-replacement app). You can come to my website http://futurinnovations.blogspot.com/ to see what I'm working on. I am still in the process of learning, and being in college slows things down a bit. Just make sure not to give up. If your stuck, ask someone (or everyone) on forums like this.
Futur Innovations said:
It all depends on what you want to contribute. I'm a beginner myself (only developing since august). It is easy to learn Java, for the most part. I would suggest heading over to http://developer.android.com/index.html for starters. There are many examples and if you want to know something specific, try using the search bar at the top right (it comes in handy). I have already published an app, a simple one, but still an application none the less. I am working on two other projects simultaneously (a live wallpaper and a home-replacement app). You can come to my website http://futurinnovations.blogspot.com/ to see what I'm working on. I am still in the process of learning, and being in college slows things down a bit. Just make sure not to give up. If your stuck, ask someone (or everyone) on forums like this.
Click to expand...
Click to collapse
I forgot to mention I want to learn to dev for Android. I want to start out with simple apps then work my way up to building/porting roms. Also I just downloaded the Java JDK and am using Java's "Greenfoot" Tutorial to get started since I have no experience with Java. And I will be sure to check out your blog and thank you for the reply.
porting and building is something far different from app development...you have to know much more if you want to work with kernel,drivers,basically you have to know everything from hardware level to user level (if you want to be top of the class)...good luck
farukb said:
porting and building is something far different from app development...you have to know much more if you want to work with kernel,drivers,basically you have to know everything from hardware level to user level (if you want to be top of the class)...good luck
Click to expand...
Click to collapse
Well we all gotta start somewhere. Now is probably a good time for me as I'm only 18 and a senior in high school. Since I don't have a job at the moment I have plenty of free time after school and on weekends.
I'm only 18 myself. I started straight with downloading Eclipse and all of the appropriate software for developing and just dove in. I would recommend watching these tutorials: http://www.xtensivearts.com/topics/tutorials/. They helped me A LOT. I am taking a programming in C class in the spring semster, which I am looking forward to. Programming in Java for Android is different than regular programming. It's the same concepts, just different APIs and tools. I like using Eclipse because it is easy to learn and get used to. There are a lot of fancy features like a type of autocorrect (not like on the phone, but smarter). Like you said, just start from the basics, like "Hello World" (Hello Android) and practice creating different layouts using the tutorials given on the Developer site. Explore the site and look through everything because eventually you may need to know where its located for quick access. Just don't set too high of goals for yourself, other wise you might be more prone to give up (like I almost did). Good luck
Im in ths same boat as you we got to start somewhere
mit have a fantastic course in computer science online.
search for MIT open courseware then introduction to computer science.
I'm on 10 now, getting very complicated
crowstar said:
mit have a fantastic course in computer science online.
search for MIT open courseware then introduction to computer science.
I'm on 10 now, getting very complicated
Click to expand...
Click to collapse
Thanks bro I'm checking out that MIT course right now it looks really helpfull
This is a great starting point for Android development, as it deals quite well with getting the Android SDK and Eclipse IDE set up and working together.
http://www.vogella.de/articles/Android/article.html
Futur Innovations said:
I'm only 18 myself. I started straight with downloading Eclipse and all of the appropriate software for developing and just dove in. I would recommend watching these tutorials: http://www.xtensivearts.com/topics/tutorials/. They helped me A LOT. I am taking a programming in C class in the spring semster, which I am looking forward to. Programming in Java for Android is different than regular programming. It's the same concepts, just different APIs and tools. I like using Eclipse because it is easy to learn and get used to. There are a lot of fancy features like a type of autocorrect (not like on the phone, but smarter). Like you said, just start from the basics, like "Hello World" (Hello Android) and practice creating different layouts using the tutorials given on the Developer site. Explore the site and look through everything because eventually you may need to know where its located for quick access. Just don't set too high of goals for yourself, other wise you might be more prone to give up (like I almost did). Good luck
Click to expand...
Click to collapse
Hi, I'm 24. And I learn how to 'program' since 14-15.
It's easy to write apps for Android. But it's hard to write good apps.
You should take Software Engineering course (NOT Computer Science course).
If you take CS (Computer Science) course, than you will learn mainly about algorithm.
But if you enter SE (Software Engineering) course, you will learn about SDLC, software QA/testing, and planning to write programs for living
:-D
I personally don't like eclipse, it's just bloated IDE :-(
I use SciTE, apache ant, MinGW/MSYS (GCC 4.5.0), Java SDK, ActivePerl, Dev-C++ IDE. That's should be enough for development :-D
I will see if there are any software engineer classes at the college I am attending. If so, then I will sign up for it. Thanks for pointing me in the right direction. Is taking the programming class still beneficial?
Sent from my ADR6300 using XDA App
Futur Innovations said:
Is taking the programming class still beneficial?
Click to expand...
Click to collapse
I'd really recommend a class if it's a viable option. It will help you understand object oriented programming, where just working through examples won't actually teach you how to understand what you're doing. Things like classes, inheritance and polymorphism are pretty difficult principles to grasp unless you've got someone to explain them to you. Then it's pretty easy.

Getting Started with Android Development

Hey Everyone!
I apologise if this is a thread or question that gets posted often, I had a search around but I couldn't see anything.
Essentially, I'm just looking for some good resources and tips for getting started with Android development. I have looked at a few books and tutorials (and the official SDK documentation, of course) but I was wondering if I'd missed any good one.
The main issue I'm having is that the things I've found so far seem to assume you know quite a bit about Java development. I come from a pretty experienced C++ background so although I'm very familiar with coding in general, I'm not all that hot with Java. Would you recommend sticking with Android and picking it up as you go along, or waiting and doing some pure-java stuff first? In either case, which are the best books/examples/tutorials you guys have found for an android beginner like me that does know a bit about programming (just not java)?
Thanks in advance!
I think the best way to learn is to get an android book and work through the tutorials in order.
Don't just skim read it though, you need to actually type out the code yourself and think about what each line is doing.
jgittins said:
I think the best way to learn is to get an android book and work through the tutorials in order.
Don't just skim read it though, you need to actually type out the code yourself and think about what each line is doing.
Click to expand...
Click to collapse
Oh absolutely, I'm looking for suggestions for good books, too =)
I found Lars Vogel's introductory tutorials very good when getting started in Android. If you're already familiar with other programming languages, you'll pick up the java needed pretty easily as you go...
- jc
neoKushan said:
Oh absolutely, I'm looking for suggestions for good books, too =)
Click to expand...
Click to collapse
I used Reto Meier's professional android 2 book and thought it was pretty good. The most important stuff to learn at the start is how activities and intents work. The other stuff you can kind of pick up from google as you go.
I haven't developed any application for Android (yet). If you want to develop native code applications, you will need the Android SDK and the Android NDK (gcc rules!). This seems to be the installation order. Check the installation instructions for both of them. The NDK contains some examples. As far as I could see, a native application has a java part and a native dynamic linked library (which is called/loaded by the java part). The NDK also comes with documentation. I guess the Android developer gurus may give you more hints about documentation links.
I am interested in getting started with Android Development as well. I have a background with Java, but that was a year or so ago. I'm sure I could pick back up with it pretty quickly.
What books do you recommend?

[Q] New Young App Developer Needing Help

Hello XDA,
I have just finished my first year of high school, and have spent 2 years around Windows Mobile and Android.
I want to start developing in different parts of Android, Applications being the top priority.
I have found and got many guides such as Sam's Teach Yourself for helping me build applications.
I know I can't start off building advanced apps. But the place I need help is where should I start, and what things I should learn such as Java, Adobe Air being a few.
If you guys can please maybe make a list I should follow or something...This would be greatly appreciated,
Thanks A lot
If you have an idea about java, the next step is to "google" for "Android Developers"...
I think it's the perfect place for beginners in Android Development...♫ ♪
Yep, you'll definitely need to learn Java. Knowing some Object Oriented concepts will help too.
The recommended IDE (Integrated Developer Environment) for Android is Eclipse (it's free!). I personally use IntelliJ (community edition is free - less features, but it's got all you need for Android dev).
Looking at tutorials etc is really good - imo the best way to learn is hands-on learning. A good starting place is the developer docs: http://developer.android.com/resources/browser.html?tag=tutorial
Once you've followed a couple of those, you'll probably be exploring new/random classes, so looking at the reference will help too: http://developer.android.com/reference/packages.html
Of course the best way is to just try something out to get started - even if it is something simple, or verbatim from the tutorials.
As for what app to start with... a simple one is always good. But what is important is make something that you feel like you need/want to use yourself. That way you will be more motivated to follow through with the idea, and you'll be your own user, thus be able to make good improvements
Thank you so much
Thanks a lot. I would have no idea where to start, despite many guides available out there.
Both you have made it a lot simpler.
Thanks once again.
pigeonaras said:
If you have an idea about java, the next step is to "google" for "Android Developers"...
I think it's the perfect place for beginners in Android Development...♫ ♪
Click to expand...
Click to collapse
pyko said:
Yep, you'll definitely need to learn Java. Knowing some Object Oriented concepts will help too.
The recommended IDE (Integrated Developer Environment) for Android is Eclipse (it's free!). I personally use IntelliJ (community edition is free - less features, but it's got all you need for Android dev).
Looking at tutorials etc is really good - imo the best way to learn is hands-on learning. A good starting place is the developer docs: http://developer.android.com/resources/browser.html?tag=tutorial
Once you've followed a couple of those, you'll probably be exploring new/random classes, so looking at the reference will help too: http://developer.android.com/reference/packages.html
Of course the best way is to just try something out to get started - even if it is something simple, or verbatim from the tutorials.
As for what app to start with... a simple one is always good. But what is important is make something that you feel like you need/want to use yourself. That way you will be more motivated to follow through with the idea, and you'll be your own user, thus be able to make good improvements
Click to expand...
Click to collapse
No problems
Oh, forgot to mention in my original post... the only reason I'm using IntelliJ is because I use it at work (so used to the shortcuts etc).
imo, both IDEs are comparable - just what you are used to.
If you haven't used either, probably go with Eclipse since there are a lot more tutorials/guides out there related to dev with Eclipse/Android.
I started developing about 8 months ago. I am going to be a Junior in High School, so we are in the same boat here.lol
Anyways, I spent a lot of time looking at many books and resources. Alos another thing that helps is to teach your self how stuff works by studying source codes. But dont only do this. Look at tut's and other resources as well. Remember, start small then work your way up! Dont go out and try to make a super amazing awesome app. You will just frustrate your self. So start simple. I was making small apps that only had text when i first started. Now where am i you may ask? I am the developer of the Android Markets only Honeycomb Launcher and a couple other larger apps!
Just remember it takes time, alittle money, patiences and PRACTICE! Make an app or at least work on an app EVERYDAY if possible.
If you get stuck use the resources on the Android site that Android gave to us.
http://developer.android.com/guide/topics/fundamentals/activities.html
Check out the DEV guides, resources and sample code.
Also, do you have eclipse and Android SDK already set up?
ZAIGHAM ALI said:
Hello XDA,
I have just finished my first year of high school, and have spent 2 years around Windows Mobile and Android.
Click to expand...
Click to collapse
I finished my 2nd year of high school, got an HTC Sensation 4G recently and am looking to make roms for other phones (currently looking at the Nexus S). I am getting bored so I would think it would be awesome if we could team up of something and create some roms for phones or something. I'm young like you, looking to make use of my general coding skills(had iPhone for 2 years, so i have some experience with jailbreaking and modding, etc.)
Would be very glad if we could team up or something and who knows, maybe become the next Cyanogen! Looking for a hobby, not profit.
Have a good day!
matistight said:
I finished my 2nd year of high school, got an HTC Sensation 4G recently and am looking to make roms for other phones (currently looking at the Nexus S). I am getting bored so I would think it would be awesome if we could team up of something and create some roms for phones or something. I'm young like you, looking to make use of my general coding skills(had iPhone for 2 years, so i have some experience with jailbreaking and modding, etc.)
Would be very glad if we could team up or something and who knows, maybe become the next Cyanogen! Looking for a hobby, not profit.
Have a good day!
Click to expand...
Click to collapse
Creating a ROM right off the back??? You are going to end up throwing your computer out the window! I know a few ROM developers and they say it is VERY challenging and frustrating at times.
I recommend you two join together or with others and create some apps first. Start small then work your way up...
IntelSoftApps said:
Creating a ROM right off the back??? You are going to end up throwing your computer out the window! I know a few ROM developers and they say it is VERY challenging and frustrating at times.
I recommend you two join together or with others and create some apps first. Start small then work your way up...
Click to expand...
Click to collapse
i concur... The Android operating system, including the Linux kernel, consists of roughly 12 million lines of code including 3 million lines of XML, 2.8 million lines of C, 2.1 million lines of Java, and 1.75 million lines of C++.
wrap your head around that... =)
depending on how complicated you want to go, you can try using phonegap or html5 to create apps, if not, you would need to learn java
PS: you want to make a rom from scratch? what?
Thanks to everybody above i really really appreciate it, i learnt a lot of nice advice.
killersnowman said:
i concur... The Android operating system, including the Linux kernel, consists of roughly 12 million lines of code including 3 million lines of XML, 2.8 million lines of C, 2.1 million lines of Java, and 1.75 million lines of C++.
wrap your head around that... =)
Click to expand...
Click to collapse
That is A LOT of code!!! You guys should probably start with the "Hello, Android" tutorial. That can be a challenge if you dont know how to work eclipse. But luckily, Android provides a nice little "Hello, Android" tutorial.
P.S. You or anyone will never past Cyanogenmod for awhile. I think they know what they are doing.lol
But it is always good to dream big! Like i want to be a Trillionare.lol (I dont even know how to spell it) "But dreams do come try"
Hey guys, I'm a senior now. I have done the hello Android tutorial, and I have the Android dev for dummies, but I know nothing about java and xml programming.
Thanks for the advice. If anyone else has any other tutorials, let me know. Thanks.
Sent from my PC36100 using XDA Premium App
I am in the exact same position as you. I have just got the "Head First Java" book, but I dont think it looks like it will help that much.
monkeychef said:
Hey guys, I'm a senior now. I have done the hello Android tutorial, and I have the Android dev for dummies, but I know nothing about java and xml programming.
Thanks for the advice. If anyone else has any other tutorials, let me know. Thanks.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
See i was in that boat like you guys were, and it SUCKS! All of the tutorials are very simple textviews and buttons, but nothing that really teaches you all that much java.
Heres what i suggest. Play with the source of apps. Download some source codes and create new android projects in eclipse from THAT source. (LET ME KNOW IF YOU NEED HELP WITH THAT)
And with in those projects, view all of the sources and xml files. Learn how stuff works. such as imports and buttons and permissions. I first started messing with layouts, xml files, strings, and buttons. This is good, BUT you will get to a point were you will see force closes. Thats because the java must match... That got me into looking at the java files more and more. Now that is almost the first thing i dive into.
Like i said along time ago, i am not anywhere close to being an expert at all! But i am getting a good handle on Android in the following ways...
- Visit XDA daily and other sites. Stay up to date and learn what is going on now. not what was being developed a month ago. Stuff is aways changing!
- Surround yourself with a group of developers! They can and will be your BEST friends! As many of you had said before, many of you want a hobby not a profit. Trust me, thats what everyone says.lol. There is some good money to be made out there!!! Some of your best developers can make every developer on a team some money. They also have your back if you get lost or stuck on something.
- Try finding people in your same boat or position. Kind of like the other kid on the site... You two can work something out. Exchange emails. share names and interest. This doesn't mean y'all need to hold hands but just create some chit chat once in awhile. If you learned something, tell him about it!
- USE YOUR F'IN RESOURCES!!! Android/Google made this AMZING site called Android.com. On that site they have developer guides, resources, tut's, and even sample code! Another amazing resource is Stackoverflow.com. Here you can find a lot of answers to any problem. I must have visited that site 1000 times.lol
and dont forget about GOOGLE.COM. ask questions in your search, but be SPECIFIC. Be sure to include "Android" in your search so you can get android support not some iPhone or Windows support...
Anyways, just get out there! try to be the best you can! Absorb as much as you can. LIVE ANDROID! but also have a life.lol
IntelSoftApps said:
All of the tutorials are very simple textviews and buttons, but nothing that really teaches you all that much java.
Click to expand...
Click to collapse
very true. i had been a java programmer for 4 years prior to learning android dev and what really got me going was coming up with an idea for an app and moving to make that a reality. if you just go through and do tutorials you wont get as much out of it as actually trying to make something you can use, be it a small and simple something.
also, i had always done command line java programs and had ignored the java swing ui like the plague, but android has a great layout and ui system. if you are learning java for use in android dont be disheartened by javax.swing package
You should definitely learn an object oriented programming language first before delving into android. I would recommend Java as it is what you will use for a lot of development. A lot of these guides and tutorials including that dummies book expect you to know what a public vs private class is or what inheritance is.
Also another big part of android is XML. At least learn the basics of XML.
I recommend the Java for dummies book as it provides a good introduction to many of the Java concepts that you will need. Java and eclipse can be quite a lot of fun once you get to know it.
Sent from my Nexus S using XDA Premium App
If your a starter, I recommend to go for web based right way, I'm confident that in the near future most mobile device applications will be mainly web based just like desktops.
Thanks a lot, I will get that book asap.
apreichner said:
You should definitely learn an object oriented programming language first before delving into android. I would recommend Java as it is what you will use for a lot of development. A lot of these guides and tutorials including that dummies book expect you to know what a public vs private class is or what inheritance is.
Also another big part of android is XML. At least learn the basics of XML.
I recommend the Java for dummies book as it provides a good introduction to many of the Java concepts that you will need. Java and eclipse can be quite a lot of fun once you get to know it.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Sent from my SEX10 using XDA App
Sorry, but what "web-based" ?
Kevincod said:
If your a starter, I recommend to go for web based right way, I'm confident that in the near future most mobile device applications will be mainly web based just like desktops.
Click to expand...
Click to collapse
Sent from my SEX10 using XDA App

Planning to learn coding games for android - need help

I would love to create an android game. So I am planning to start learning it.
I have coded an application already and I think I know the basics. So now I want to get into game programming which is too complex if I heard it right.
I would like my fellow developers who have experience in coding games to give me some links and tutorials which will come handy for newbie like me.
Thanks in advance!
obscurant1st said:
I would love to create an android game. So I am planning to start learning it.
I have coded an application already and I think I know the basics. So now I want to get into game programming which is too complex if I heard it right.
I would like my fellow developers who have experience in coding games to give me some links and tutorials which will come handy for newbie like me.
Thanks in advance!
Click to expand...
Click to collapse
I think the best way to learn any new area of software development is to get stuck into a project. I've been working in various embedded and real-time environments for years but a couple of years ago myself and a couple of mates decided to try to make a game. At the time we wanted to learn C# so we dived into the XNA framework & made something that ran on Windows & XBox. It was never released, but I learned a lot of new stuff. Started with their tutorials and went from there. I can't help with links and so on for Android but don't be put off by the idea that games are too complex - the first software job I ever did was on a full size submarine simulator for the Navy & that really was complicated!
I think that this is a very good piece of advice: http://www.raywenderlich.com/12065/how-to-create-a-simple-android-game
It helped me very much.
Coding games has become very easy these days thanks to the superb engines but some do come at a premium price
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
Coding games has become very easy these days thanks to the superb engines but some do come at a premium price
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
I agree. But Andengine is free and very good. Look at the link I gave above.
I used Unity3D for my class project before. It's very nice and easy to use. You should check it out
there is a great guide on xda: link.
ciao99 said:
there is a great guide on xda: link.
Click to expand...
Click to collapse
Thanks I have started learning!
Also another great resource is the new Boston. You can see them here and select Java Game Development. http://thenewboston.org/tutorials.php
You can also learn regular Java and Android development on that Site!
Sent from my Nexus 4 using Tapatalk 2
When I started to learn android game developing I found some very useful tutorials at: obviam.net. Look for the series 'Getting started in android development with libgdx'.
This series uses the framework libGDX, which enables you to write your game once and easily port it to many different platforms.
Fíghter02 said:
When I started to learn android game developing I found some very useful tutorials at: obviam.net. Look for the series 'Getting started in android development with libgdx'.
This series uses the framework libGDX, which enables you to write your game once and easily port it to many different platforms.
Click to expand...
Click to collapse
I totally support this. I created my first Android game (Rock Ninja) with no previous game development experience thanks to the awesome Libgdx framework/community.
Yeah, LibGDX great thing and very easy to learn on GoogleCode's wiki page by simply reading topics one by one. Of course if you are familiar with java first
I'm also member of libGDX community, even helped to fix some bugs in particle editor. But after deeper look at this engine, you find some problems in deployment on other platforms. So, I'm looking at the Unity 3d now, besides it became free for android and iOS version.
Widesteppe said:
I'm also member of libGDX community, even helped to fix some bugs in particle editor. But after deeper look at this engine, you find some problems in deployment on other platforms. So, I'm looking at the Unity 3d now, besides it became free for android and iOS version.
Click to expand...
Click to collapse
True, iOS is still work in progress with Libgdx. Good news is that the new RoboVM backend(that will replace Monotouch/Xamarin) is looking really promising and a first app has already been successfully published to the Appstore.
I have a decent stash of books on mobile development. I would start with either monogame, libGDX(provided you know openGL), AndEngine, Unity3D, or use cross platform tools that turn HTML5/CSS3/Javascript into native code. Give me a PM if you need anything, best of luck :good:
Monkey_King said:
I have a decent stash of books on mobile development. I would start with either monogame, libGDX(provided you know openGL), AndEngine, Unity3D, or use cross platform tools that turn HTML5/CSS3/Javascript into native code. Give me a PM if you need anything, best of luck :good:
Click to expand...
Click to collapse
You don't need any knowledge of OpenGL for Libgdx, everything is abstracted out for you.
ob1cat said:
You don't need any knowledge of OpenGL for Libgdx, everything is abstracted out for you.
Click to expand...
Click to collapse
Isn't the GLSL used in LibGDX?
Monkey_King said:
Isn't the GLSL used in LibGDX?
Click to expand...
Click to collapse
Internally yes, but it's abstracted by the framework for you not to need to worry about it.

Best Way To Learn Java?

So I'm just beginning to try getting into development and saw from several users on here that the first step would be to learn Java, so my obvious question is what's the best way to do that? I have little programming experience. I believe I correctly installed JDK and also have Eclipse and AndroidSDK. A brief but clear explanation pointing me in the right direction would be appreciated. Thank you for anyone who can help.
Imnice777 said:
So I'm just beginning to try getting into development and saw from several users on here that the first step would be to learn Java, so my obvious question is what's the best way to do that? I have little programming experience. I believe I correctly installed JDK and also have Eclipse and AndroidSDK. A brief but clear explanation pointing me in the right direction would be appreciated. Thank you for anyone who can help.
Click to expand...
Click to collapse
The first thing you should do is ignore the AndroidSDK for a while !
It's not worth touching a phone before you can at the very least write a few simple Java programs.
Start with a single class that prints some stuff out to the screen and go from there.
Once you are comfortable with the syntax, I'd say you'd need to be able to write a standalone Java program that has, say, 10 classes in it as a first step.
PicomatStudios said:
The first thing you should do is ignore the AndroidSDK for a while !
It's not worth touching a phone before you can at the very least write a few simple Java programs.
Start with a single class that prints some stuff out to the screen and go from there.
Once you are comfortable with the syntax, I'd say you'd need to be able to write a standalone Java program that has, say, 10 classes in it as a first step.
Click to expand...
Click to collapse
Thanks for the advice! I'd definitely agree that I should be able to read and write at least basic code before putting anything to use, however where should I learn how to write the classes? I downloaded the Headfirst Java textbook because I saw people talking about it and seemed pretty legit. Do you know anything about it or how to go about using it? I can't seem to open the .class or .java files even though I believe I correctly installed JDK. Is there a better place to learn? Thanks for any help you give, clearly I'm new to this, however very interested.
Imnice777 said:
Thanks for the advice! I'd definitely agree that I should be able to read and write at least basic code before putting anything to use, however where should I learn how to write the classes? I downloaded the Headfirst Java textbook because I saw people talking about it and seemed pretty legit. Do you know anything about it or how to go about using it? I can't seem to open the .class or .java files even though I believe I correctly installed JDK. Is there a better place to learn? Thanks for any help you give, clearly I'm new to this, however very interested.
Click to expand...
Click to collapse
I liked the official tutorials much and I'm sure you would like it too.
Just focus on the concept for a while before proceeding any farther.
Good luck.
http://docs.oracle.com/javase/tutorial/java/index.html
Imnice777 said:
So I'm just beginning to try getting into development and saw from several users on here that the first step would be to learn Java, so my obvious question is what's the best way to do that? I have little programming experience. I believe I correctly installed JDK and also have Eclipse and AndroidSDK. A brief but clear explanation pointing me in the right direction would be appreciated. Thank you for anyone who can help.
Click to expand...
Click to collapse
If you want to learn java for android application development then i would refer you to thenewboston
They have 200 videos for Android Application Development starting from the basics.
Saurabh Shah
----------------------------------------------------------------
Hit Thanks :good:
Thanks both of you. I've been looking at the official tutorials on Oracle but some videos would definitely help too. I have a little programming experience so it's making sense to me, just trying to get all the terms right. Videos will help me out with the explanations. Thanks again!
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Many people like the New Boston videos:
Java (Beginner): http://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
Java (Intermediate): http://www.youtube.com/playlist?list=PL27BCE863B6A864E3
Android: http://www.youtube.com/playlist?list=PL2F07DBCDCC01493A
I haven't watched any of their videos as I'm one who learns best reading up on that topic.
EDIT: Sorry, didn't see a-ssassi-n's post.
nikwen said:
Many people like the New Boston videos:
Java (Beginner): http://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
Java (Intermediate): http://www.youtube.com/playlist?list=PL27BCE863B6A864E3
Android: http://www.youtube.com/playlist?list=PL2F07DBCDCC01493A
I haven't watched any of their videos as I'm one who learns best reading up on that topic.
EDIT: Sorry, didn't see a-ssassi-n's post.
Click to expand...
Click to collapse
It's all good, if anything this just confirms that they're good videos lol...if you have any suggestions that have yet to be mentioned, feel free to add them. Thanks.
Imnice777 said:
It's all good, if anything this just confirms that they're good videos lol...if you have any suggestions that have yet to be mentioned, feel free to add them. Thanks.
Click to expand...
Click to collapse
Yeah, if you want a book, I can recommend the Head First Java book. That's how I learned it.
You can also have a look at the Vogella tutorials, especially for Android specific things.
One tip: If you learn Java just to be able to develop for Android, skip the UI parts. They are completely different on Android.
nikwen said:
Yeah, if you want a book, I can recommend the Head First Java book. That's how I learned it.
You can also have a look at the Vogella tutorials, especially for Android specific things.
One tip: If you learn Java just to be able to develop for Android, skip the UI parts. They are completely different on Android.
Click to expand...
Click to collapse
Sounds good, I have already downloaded the Head First Java book, however I haven't been able to utilize it as of yet. Am I supposed to compile the lessons first? Run them with Eclipse?
Imnice777 said:
Sounds good, I have already downloaded the Head First Java book, however I haven't been able to utilize it as of yet. Am I supposed to compile the lessons first? Run them with Eclipse?
Click to expand...
Click to collapse
In my opinion that depends on how much knowledge of other programming languages you have.
If you already know how to use for/while/do-while-loops and if/switch-conditions, you might want to skip those examples. Do it just if you're sure you don't need them.
I didn't run any of the codes. (Wanted to start with Android as soon as possible. :laugh I learn very well just by reading on programming languages because they are basically all the same. So it's not difficult to learn another language if you already know another one.
However, I ran the examples in the books I used to learn my very first languages (Delphi and Python). I just skipped them for Java.
Decide whether it will be helpful for you. If you're in doubt, run them.
The textbook for JAVA in our college is 'Starting out with JAVA' by Tony Gaddis and its really very good for beginners. Just give it a try.
Just read the tutorials, create a new project and start tinkering around. If you have questions, ask them in appropriate java forums.
Tr-man said:
Just read the tutorials, create a new project and start tinkering around. If you have questions, ask them in appropriate java forums.
Click to expand...
Click to collapse
... like this one.
nikwen said:
Many people like the New Boston videos:
Java (Beginner): http://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
Java (Intermediate): http://www.youtube.com/playlist?list=PL27BCE863B6A864E3
Android: http://www.youtube.com/playlist?list=PL2F07DBCDCC01493A
I haven't watched any of their videos as I'm one who learns best reading up on that topic.
EDIT: Sorry, didn't see a-ssassi-n's post.
Click to expand...
Click to collapse
Now there is a TheNewBoston Android app as well https://play.google.com/store/apps/details?id=com.Thenewboston

Categories

Resources