[Q] Switch loop problem. Help needed. - General Questions and Answers

So I'm currently learning java using the book: Java A Beginners Guide by Herbert Schildt.
I cant apply my knowledge of the switch to modify this program.
What i need is that the program runs the same but i can press q to stop the program and it will continue in a loop otherwise. repeating the same process i.e displaying the characters entered until q is pressed.
How do i do it?
I think i need to make use of do and while but no idea how to apply those in this case.
Please help.
Also i would appreciate it if someone could tell me when can i start learning android application development.

Related

want to learn to write/program application for phones. where do I start?

I'm a total novice when it comes to programming. I took a intro to java class in college, but did not get too interested in it.
I would like to get back into programming, but focus on things that I am interested in.......which is creating applications for phones(phones in this forums).
So the question is where do I start? Is there a specific language? What type of programs do I need to download if any to start get my feet wet?
I'm not a programmer, so I would need to start from the bottom. I know this can take a while, but I want to start and see what happens.
any suggestions?
me too and the only reason i want to is not make my own device better but to contribute to this site
any help ???
Start readin!
http://forum.xda-developers.com/showthread.php?t=445396

Helping porting Android over to new smartphone

Hi,
Im looking for someone who can help port Android onto a new smartphone. Rather that try and go through the pain ourselves I was wondering if anyone here in this community has any experience of this.
Ideally im going to need some one with low level programing skills in c/c++ and obviously Embedded Linux, helping to write the device code etc etc.
We simply havnt got the time to do this ourselves and so if anyone has experience of it then please get in touch.

Create virtual hardware for Android Emulator

Hi there, this is my first post on xda so forgive me if this is put in the wrong forum.
I am new to android and wish to play around with the emulator.
What I want to do is to create my own piece of virtual hardware that can collect OpenGL commands and produce OpenGL graphics.
I have been told that in order to do this I will need to write a linux kernal driver to enable communication with the hardware. Additionally, I will need to write an Android user space library to call the kernal driver.
To start with I plan on making a very simple piece of hardware that only does, say 1 or 2, commands.
Has anyone here done something like this? If so, do you have any tips or possible links to extra information?
Any feedback would be appreciated.
Regards
Has anyone done this?
Bump Bump
Im surprised this is left unanswered.
Yes, you can do this. There are several ways to do so, but I will explain 2 good options for you.
One: Use AndroidSDK. It's configured for android and simple to set up.
Two: Use virtualbox. If you have the android ISO, you can install it as a bootable image in this software. This gives more functionality than AndroidSDK, but it is not as simplistic. There are settings you will need to adjust to get it running. For a working Android ISO with limited functionality, you can download this: http://www.android-x86.org/download

I wanna be the guy! ...uhm, I mean... I wanna be a android developer!

So yeah... this hasn't been easy.
I'm not gonna spend time getting into my coding history... but I wanna expand to Android. Usually I'm able to just get myself to a point in which I can start writing code, and then from thereon I can learn whatever I need to learn... but that's based on languages where I have a compiler, or can even do most of my coding from notepad+/PFE... I won't say I'm used to things being simple, but getting into a new coding language as at least been generally direct enough so that I can dive nose first into some good 'ol T&E.
I keep hearing Eclipse being mentioned, but honestly the furthest I get before I'm confused is the Android SDK Manager (and it's megaton of downloads).
I just want to get to the point where I can start messing with values, strings, functions and see how much different it'll be from what I'm used to when I try to make key inputs trigger functions.
While I am not able to code myself, (I made the Hello World and that was it) I do have experience with the Android SDK due to some debugging I have needed to do.
Eclipse keeps being mentioned because it's the officially preferred IDE for Android, as it counts with an official plugin.
The sequence is the following.
1) Install the SDK.
2) Install the necessary modules. You should know what you're going to program in advance so that you Install the relevant ones.
3) Install Eclipse.
4) Install the ADT plugin for Eclipse (instructions can be found in the site, but it's basically adding a repository and installing its contents).
5) Code!
Logseman said:
While I am not able to code myself, (I made the Hello World and that was it) I do have experience with the Android SDK due to some debugging I have needed to do.
Eclipse keeps being mentioned because it's the officially preferred IDE for Android, as it counts with an official plugin.
The sequence is the following.
1) Install the SDK.
2) Install the necessary modules. You should know what you're going to program in advance so that you Install the relevant ones.
3) Install Eclipse.
4) Install the ADT plugin for Eclipse (instructions can be found in the site, but it's basically adding a repository and installing its contents).
5) Code!
Click to expand...
Click to collapse
What he said. This is the only way to get started. And buy a book, Amazon has some great ones that will get you started on what you need to do from start to finish. The coding is almost the easy part, but theres a lot more involved in making it "work" with Android. Eclipse/Android SDK is the only way to do that. Just launch the SDK and let it do its thing for a couple hours and you're good!

[Q] New to programming

Hi Everyone, I am completely new to programming and want to make an app.
Please tell me where do I start, what programming I need to learn, do I need to learn Java fully and then go to objective C programming or what?
Sorry if I dont make sense but I know nothing except good at using computer.
Is there any book for complete beginners? most say you need this or that before you start.
Thank you to all
You need to learn how to use Eclipse to develop android app.

Categories

Resources