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
suggesion...

I appreciate your help on this matter.
Thanks,
BZ
--~--~---------~--~----~------------~-------~--~----~



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
devices.

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  http://www.youtube.com/AndroidDevelopers 

Also try this book  http://www.anddev.org/andbook/ 

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

Vlad



--~--~---------~--~----~------------~-------~--~----~



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.

Bob




--~--~---------~--~----~------------~-------~--~----~



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.

 http://eclipsetutorial.sourceforge.net/ 

Best wishes,
Wes




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Forced G1 Dev Phone reboot?

Is there a way to force a G1 Phone to reboot?
If so how.

--~--~---------~--~----~------------~-------~--~----~

2. browser failed because of "Failed to find provider info"

I can ping website such as www.google.com. But when open browser with
the same url. the browser failed with message "The server failed to
communicate. Try again later".

com.google.settings".

Here is my output of logcat:
E/ActivityThread(  948): Failed to find provider info for
android.server.checkin
W/Checkin (  948): Can't update stat PHONE_GPRS_CONNECTED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats
E/NetworkStateTracker(  830): net.tcp.buffersize.unknown not found in
system properties. Using defaults
I/ActivityManager(  830): Stopping service:
com.android.providers.downloads/.DownloadService
D/dalvikvm(  948): GC freed 6749 objects / 340880 bytes in 292ms
I/ActivityManager(  830): Stopping service:
com.android.mms/.transaction.TransactionService
D/dalvikvm(  980): GC freed 701 objects / 30672 bytes in 83ms
D/dalvikvm( 1020): GC freed 1811 objects / 105928 bytes in 122ms
I/ActivityManager(  830): Starting activity: Intent
{ action=android.intent.action.MAIN categories=
{android.intent.category.LAUNCHER} flags=0x10200000 comp=
{com.android.browser/com.android.browser.BrowserActivity} }
I/ActivityManager(  830): Start proc com.android.browser for activity
com.android.browser/.BrowserActivity: pid=1140 uid=10003 gids={3003}
D/dalvikvm(  798): GC freed 277 objects / 10392 bytes in 174ms
D/dalvikvm(  798): GC freed 50 objects / 2144 bytes in 179ms
I/ActivityThread( 1140): Publishing provider browser:
com.android.browser.BrowserProvider
D/dalvikvm(  798): GC freed 2 objects / 48 bytes in 102ms
E/ActivityThread( 1140): Failed to find provider info for
com.google.settings
D/        ( 1140): unable to unlink '/data/data/com.android.browser/
shared_prefs/com.android.browser_preferences.xml.bak': No such file or
directory (errno=2)
D/dalvikvm( 1140): GC freed 2462 objects / 163512 bytes in 106ms
W/ActivityManager(  830): Unable to start service Intent { comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
W/KeyCharacterMap( 1140): No keyboard for id 0
W/KeyCharacterMap( 1140): Using default keymap: /system/usr/keychars/
qwerty.kcm.bin
D/dalvikvm(  948): GC freed 1903 objects / 148824 bytes in 118ms
D/InetAddress( 1140): www.google.com: 64.233.189.99 (family 2, proto
6)
D/InetAddress( 1140): www.google.com: 64.233.189.104 (family 2, proto
6)
D/InetAddress( 1140): www.google.com: 64.233.189.147 (family 2, proto
6)
D/dalvikvm(  953): GC freed 1574 objects / 82904 bytes in 95ms
D/dalvikvm(  830): GC freed 10484 objects / 488600 bytes in 153ms
<6>PM: Syncing filesystems ... PM: Syncing filesystems ... <4>save
exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
done.
done.
Freezing user space processes ... Freezing user space processes ...

<3>Freezing of user space  aborted
Freezing of user space  aborted


Restarting tasks ... Restarting tasks ... done.
done.
E/power   (  830): Failed setting last user activity: g_error=0
D/InetAddress( 1140): tools.google.com: 64.233.189.102 (family 2,
proto 6)
D/InetAddress( 1140): tools.google.com: 64.233.189.100 (family 2,
proto 6)
D/InetAddress( 1140): tools.google.com: 64.233.189.101 (family 2,
proto 6)
E/OpenSSLSocketImpl( 1140): Unknown error 5 during connect
E/Gears-J ( 1140): Connection IO exception
E/Gears-J ( 1140): java.io.IOException: SSL handshake failure: I/O
error during system call, Unknown error: 0
E/Gears-J ( 1140):      at
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativeconnect
(Native Method)
E/Gears-J ( 1140):      at
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake
(OpenSSLSocketImpl.java:308)
E/Gears-J ( 1140):      at org.apache.http.conn.ssl.AbstractVerifier.verify
(AbstractVerifier.java:92)
E/Gears-J ( 1140):      at
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket
(SSLSocketFactory.java:321)
E/Gears-J ( 1140):      at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection
(DefaultClientConnectionOperator.java:129)
E/Gears-J ( 1140):      at org.apache.http.impl.conn.AbstractPoolEntry.open
(AbstractPoolEntry.java:164)
E/Gears-J ( 1140):      at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open
(AbstractPooledConnAdapter.java:119)
E/Gears-J ( 1140):      at
org.apache.http.impl.client.DefaultRequestDirector.execute
(DefaultRequestDirector.java:348)
E/Gears-J ( 1140):      at
org.apache.http.impl.client.AbstractHttpClient.execute
(AbstractHttpClient.java:555)
E/Gears-J ( 1140):      at
org.apache.http.impl.client.AbstractHttpClient.execute
(AbstractHttpClient.java:487)
E/Gears-J ( 1140):      at
org.apache.http.impl.client.AbstractHttpClient.execute
(AbstractHttpClient.java:465)
E/Gears-J ( 1140):      at android.webkit.gears.ApacheHttpRequestAndroid
$Connection.run(ApacheHttpRequestAndroid.java:179)
E/Gears-J ( 1140):      at java.lang.Thread.run(Thread.java:1058)
D/dalvikvm( 1140): GC freed 4589 objects / 378088 bytes in 159ms
E/browser ( 1140): onReceivedError -7 http://www.google.com/m?client=ms-null
The server failed to communicate. Try again later.
I/ActivityManager(  830): Displayed activity
com.android.browser/.BrowserActivity: 189537 ms

Any help will be appreciated!

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Its Urgent...(for adc2)Getting map api key when publishing the application..

4. Receiving text from a remote source and pasting into the current application

5. How can i transfer username to next page by Intent:

6. Where can I find adroid manual

7. parameter must be a descendant of this view in ViewGroup.java:2454