Wrox Programmer Forums
|
BOOK: Beginning Android Application Development
This is the forum to discuss the Wrox book Beginning Android Application Development by Wei-Meng Lee; ISBN: 978-1-1180-1711-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 10th, 2011, 08:10 AM
Authorized User
 
Join Date: Jul 2010
Posts: 81
Thanks: 10
Thanked 3 Times in 2 Posts
Default I am excited - Android Beginer

I am excited to be starting Android Development. I am a member of Wrox forums, since I have been on the ASP.NET 2010 threads with Imar's book. I still wish to go back to that. But as one looking to add to my resume, and having a Droid phone, as of last month, I am anxious to start. I have downloaded the tools, and have the Java JDK. I started to learn some almost two years ago, but stopped. I think my background with Java and .NET will help.

Anyway, I will try to get the tools setup and get the first chapter or two finished this weekend.
__________________
Bob
bdtcomp.com
http://lettersfromasoldier.com
Follow me on Twitter
“Success is not final, failure is not fatal: it is the courage to continue that counts.”~Winston Churchill
 
Old October 4th, 2011, 10:02 PM
Registered User
 
Join Date: Sep 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default I Also Am Excited as Android Beginner

I understand the excitement of beginning Android development. My experience does not include any Java. It is Visual Basic.net, but I want to figure out how to write code for Android phones. I do have a question. In Eclipse when I try the code from "Beginning Android Application Development" chapter two I get an emulator that is too big for my screen. I cannot see the top or bottom of the emulator. What do I have to do to resize the emulator?
BobK
 
Old October 5th, 2011, 09:37 AM
Authorized User
 
Join Date: Jul 2010
Posts: 81
Thanks: 10
Thanked 3 Times in 2 Posts
Default

BobK,

I am still in chapter 2, have had a slow go in September. What page are you on with this trouble. I will try to see what I have.

Yeah, I have programmed in VB and I think you will find that the Java isn't too bad, if you have used VB.NET. I have been using a couple of books on Java to learn. I just learn in morsels when I can some Java. It can't hurt to know more languages, if there is ever a tech. recovery!

Right now I am re-reading Sams 'Teach Yourself Java in 24 Hours' by Rogers Cadenhead 5th Edition. I also have Barry Burd's, 'Java for Dummies' 4th edition.

Well, let me know where your problem is and I will look at it, right now I am going to get on the treadmill and then powerwalk outside. We don't get many spring days in October in southern Michigan and the next few days are supposed to be beautiful. http://twitpic.com/6vhfyt
__________________
Bob
bdtcomp.com
http://lettersfromasoldier.com
Follow me on Twitter
“Success is not final, failure is not fatal: it is the courage to continue that counts.”~Winston Churchill
 
Old October 5th, 2011, 09:55 PM
Registered User
 
Join Date: Sep 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default I Also Am Excited as Android Beginner

Btcomp,
I am on pages 30-34, but I think that my problem is not with the size of the emulator. From looking at lots more figure displays in the book I see that I have the entire top of the emulator. Some of the bottom is hidden, but I can make out that I have an image of a phone, a 16 dot image of something like a number keypad, and a globe. I have no idea of what the two dots on left and two dots on the right are. Step 5 in the instructions (on page 32) say to press the back button, but what is the back button???? Part of my problem is my ignorance. A problem with this book (at least for me) is the the author often uses instructions that I do not understand (are not explained anywhere in the book - at least not are pointed at in the INDEX). Is the "back button" the same thing as the left arrow button above the keyboard of the Android Emulator?
Are you aware of any complete glossry of terms for Android development in general? The book does not provide much description of many terms used.
For just reading I've made it to the first part of Chapter 4, but for code I am very much still on Chapter 2.
 
Old October 6th, 2011, 10:49 AM
Authorized User
 
Join Date: Jul 2010
Posts: 81
Thanks: 10
Thanked 3 Times in 2 Posts
Default

I am going to review chapter 2 from the start again. I am bookmarked on page 35. Drop me an email BobK at [email protected] and attach an image of what you are seeing. I am seeing the emulator as in the book. I'm not sure what two dots you are seeing? The back button would be next to the menu button on it's right. On the Droid it appears at the bottom to the right of the menu button.

As far as Glossary, I found these on Google. http://developer.android.com/guide/a.../glossary.html

There are others too.

Also: a Glossary app for the Droid: http://www.appbrain.com/app/android-...ivem.aglossary
__________________
Bob
bdtcomp.com
http://lettersfromasoldier.com
Follow me on Twitter
“Success is not final, failure is not fatal: it is the courage to continue that counts.”~Winston Churchill
 
Old October 7th, 2011, 08:33 AM
Registered User
 
Join Date: Oct 2011
Posts: 12
Thanks: 0
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by BobK View Post
I understand the excitement of beginning Android development. My experience does not include any Java. It is Visual Basic.net, but I want to figure out how to write code for Android phones. I do have a question. In Eclipse when I try the code from "Beginning Android Application Development" chapter two I get an emulator that is too big for my screen. I cannot see the top or bottom of the emulator. What do I have to do to resize the emulator?
BobK
You can use the Google Android system to launch the emulator. When you launch you get the option of scaling the emulator. That might help you.

<edit>
Just found a simpler way of starting the ADV Manager.

In Eclipse from the menu Window > Android SDK and ADV Manager
</edit>

d404

Last edited by droid404; October 7th, 2011 at 09:02 AM..
 
Old November 6th, 2011, 03:09 PM
Registered User
 
Join Date: Oct 2011
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Question Newbie to the book with kinks

Hello this will be my first time learning developing Android. I am very Java savvy, Just running into kinks with the book chapter 1-2. Went through all steps and run into problems like after setting all up, android emulator doesnt show Helloworld.apk like in figure 1-28 chapter1 and page 23 some of my code is not the same as presented. Is it because todays files are updated or where did i go wrong?
using eclipse EE IDE
And my SDK and AVD manager shows up seperately why?

[2011-11-06 13:39:29 - HelloWorld1] ------------------------------
[2011-11-06 13:39:29 - HelloWorld1] Android Launch!
[2011-11-06 13:39:29 - HelloWorld1] adb is running normally.
[2011-11-06 13:39:29 - HelloWorld1] No Launcher activity found!
[2011-11-06 13:39:29 - HelloWorld1] The launch will only sync the application package on the device!
[2011-11-06 13:39:29 - HelloWorld1] Performing sync
[2011-11-06 13:39:29 - HelloWorld1] Automatic Target Mode: launching new emulator with compatible AVD 'Android_2.3_emulator'
[2011-11-06 13:39:29 - HelloWorld1] Launching a new emulator with Virtual Device 'Android_2.3_emulator'
[2011-11-06 13:39:33 - HelloWorld1] New emulator found: emulator-5554
[2011-11-06 13:39:33 - HelloWorld1] Waiting for HOME ('android.process.acore') to be launched...
[2011-11-06 13:41:16 - HelloWorld1] HOME is up on device 'emulator-5554'
[2011-11-06 13:41:16 - HelloWorld1] Uploading HelloWorld1.apk onto device 'emulator-5554'
[2011-11-06 13:41:18 - HelloWorld1] Installing HelloWorld1.apk...
[2011-11-06 13:42:29 - HelloWorld1] Success!
[2011-11-06 13:42:29 - HelloWorld1] \HelloWorld1\bin\HelloWorld1.apk installed on device
[2011-11-06 13:42:29 - HelloWorld1] Done!
 
Old November 7th, 2011, 01:17 PM
Authorized User
 
Join Date: Oct 2011
Posts: 10
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Did the emulator show up? If it did, did you unlock it?
 
Old November 14th, 2011, 08:57 PM
Registered User
 
Join Date: Sep 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Too Many Errors, too early in the book

In answerto my question above, if the emulator is too big for your computer screen, such that you cannot see all of it, do the following.
Launch the Android SDK and AVD Manager
Click on the AVD Emulator you want to use
Click on START
Check Scale display to to real size
Change the Screen Size to whatever you want
I tried to use a 3 inch screen and it was too small, so I increased the size until it was what I wanted. This procedure was given on page 394, in Appendix B, of the book. Reading more of the book apparently helps.
Next question: When I try to run code that previously worked, like HelloWorld, I now get an error: Source not found.
I follow the instructions in the book on page 392 (Appendix A) and pressed F6. Then I get the message: The jar file C:\ . . . \android.jar has no source attachment. You can attach the source by clicking Attach Source below. Below this statement is a button, Attach Source...
When I do this I get a new window asking for the the Location path. I DON'T know the location path. Can anyone help me?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Android 3.2 samples osgoor BOOK: Beginning Android Tablet Application Development 0 September 6th, 2011 04:43 PM
Android SDK/Android.bat does not find SWT.jar file chaoticandroid BOOK: Professional Android 2 Application Development 1 March 23rd, 2011 06:39 PM
i am new to android janardhan BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 2 July 29th, 2010 03:37 PM
Beginer problem compiling :Stored procedure osheal BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 March 17th, 2008 08:42 AM
Beginer itvenky .NET Framework 2.0 1 February 22nd, 2005 12:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.