New to Programing and Android

by tryingtolearn » Mon, 12 May 2008 22:36:12 GMT

Sponsored Links
 Hi Everyone,

I am new to programing and Andriod. Tough, I have BS and MS in
Electrical Engineering and MBA.
I have not programed for more than 15 years now. I totally understand
the Wireless Network and handset.
I am exteremly interested to start learning about Android and learn
how to program. I am looking at this more as something to learn for
hobbie and during my free time. This is a challenge to me.

I need you guys suggession on where to start. I want to start from
basic and build on it. I can spend 2 hours per day  Send me your

I appreciate your help on this matter.

New to Programing and Android

by Steve Oldmeadow » Tue, 13 May 2008 02:35:03 GMT

 My suggestion is start with Java ME.  You will learn about Java and
developing for resource constrained devices - both of which are
essential knowledge for Android development.

After 6 months of 2 hours per day Java ME you will be ready for
Android which will hopefully, by that time, have stable APIs and

I am basing my suggestion on you saying this is a hobby.  You can get
into Java ME development very cheaply and I think a beginner hobbyist
will find it more satisfying seeing their code run on a real phone.
There is also an abundance of learning material aimed at beginners for
Java ME.

On the other hand, if you have another agenda for learning Android
such as a killer idea for ADC 2 then disregard what I said ;)


Sponsored Links

New to Programing and Android

by bloodcarter » Tue, 13 May 2008 05:53:14 GMT

 Hi BZ,

Start with basic Java and Eclipse.

Watch tutorial here 

Also try this book 

And of course search this group. It has zillion of useful info.



New to Programing and Android

by Bob » Tue, 13 May 2008 16:25:28 GMT

 I agree with Steve: learn Java in an environment other than Android
before attempting to write code for Andorid.  The Android
implementation of Java is not yet stable enough, e.g., contains too
many defects, to recommend as a learning environment.  Also, targeting
your learning of programming at a particular runtime environment is
placing the cart before the horse.  Instead you should be selecting an
environment that supports learning to create solutions.  Put another
way, you're asking the wrong question when the answer is Android.  You
should be asking, "How can I most effectively learn to create
solutions realized as programs written in Java?"  Some people would
claim that Java is the wrong first language!

Since you're new to programming (15 years without coding suggests you
don't think in an object-oriented way), I strongly suggest you start
with an introductory text, use the tools the text introduces, and
learn to write good Java code.  If you have a community college in
your area, you should explore the introductory classes they offer.
Yes, you will learn some stuff that won't transfer to Android, e.g.,
the windowing libraries.  However, your design/code/build/test/debug
cycle will be much faster and significantly easier to understand and
test than attempting the same thing in Android.  And the you skills
you acquire will be much more broadly applicable.  This approach
supports your goal of writing for Android, but the skills you acquire
will be useful well beyond Android's lifetime.  (I've been writing
code professionally since 1972, and have changed languages and
operating systems several times, but the basic development skills I
learned in 1972 remain applicable today, e.g., design, abstraction,
encapsulation, coupling, cohesion, etc.)

The primary skill of any good developer is learning to think, i.e., to
understand the problem; consider the alternative approaches; choose an
approach that satisfies the requirements and tradeoffs; create a
viable design based on the selected approach; implement the design in
code targeted at a particular execution environment; validate the
running solution against the design; and document the finished
solution.  The ability to write code for a particular target
environment is, really, a pretty small part of what you, as a
beginning developer, needs to learn.



New to Programing and Android

by wescorp » Tue, 13 May 2008 16:57:02 GMT

 Here is a link to video tutorials for Eclipse and Java for Total
Beginners. It's been downloaded over 500,000 times in the last year.
Highly recommended. 

Best wishes,


Other Threads

1. Help needed to write a caculator program

I am trying to write program for a calculator.
can anyone help me in writing the code for adding two numbers and displaying
the solution in the EditTextField.



2. AsyncTask's cancel method - possible bug

As far as I can tell, AsyncTask's cancel method doesn't work as
advertised.  I can't tell whether this is a bug, or me not
understanding AsyncTask's cancel() method.  I'm asking here instead of
StackOverflow because I suspect it's a bug.

I understand from past discussions here that cancel() isn't meant to
actually kill a thread (though the description of the
mayInterruptIfRunning flag sure implies it is). But I'm also checking
for isCancelled() (which is returning false), and trying to use the
onCancelled callback (which isn't getting called), to no avail.

My situation is that I have a (short-running, one small network call)
AsyncTask that begins in my Activity's onCreate. If the user backs out
of the screen before it finishes though, I need to either cancel the
AsyncTask entirely, or at least make sure its onPostExecute doesn't do
any meaningful work.

In my activity's onDestroy handler, I call cancel() on the task, and
then inside the task I have an onCancelled handler that sets a
boolean.  In my onPostExecute handler, I check isCancelled(), and I
also check to see whether the boolean has been set from onCancelled,
and neither are.

I'm using the de{*filter*}, and the order of operations is:

1) onDestroy(), calls task.cancel()
2) task's onPostExecute runs, isCancelled() returns false, so I have
no conditional to stop the flow

and that's it. onCancelled never runs.

What am I doing wrong here? I can't find any way to tell my task not
to run its work in onPostExecute.


3. question about publishing app in the android marke

4. Why not use the SI

5. Authenticating apps sending intents on the receiving en

6. Questions/Help with Long Running Service Please

7. Promote your Page or business