Wrox Programmer Forums
|
BOOK: Professional Android 4 Application Development
This is the forum to discuss the Wrox book Professional Android 4 Application Development Reto Meier; ISBN: 978-1-1181-0227-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 4 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 July 18th, 2012, 01:38 PM
Registered User
 
Join Date: Jul 2012
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default LISTING 2-1: Hello World

Where to find this code(LISTING 2-1Hello World) in the tree in Eclipse

package com.paad.helloworld;
import android.app.Activity;
import android.os.Bundle;
public class MyActivity extends Activity {
/** Called when the Activity is first created. **/
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
 
Old July 18th, 2012, 02:23 PM
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by delhiris1 View Post
Where to find this code(LISTING 2-1Hello World) in the tree in Eclipse

package com.paad.helloworld;
import android.app.Activity;
import android.os.Bundle;
public class MyActivity extends Activity {
/** Called when the Activity is first created. **/
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
All code samples are in the Code Snippets, The Chapter, then in the folder that relates. Open it, go to SRC, and open the files. The sections are commented in there. It'll say "2-1 " etc, as it says so in the book.
The Following User Says Thank You to vitafortsi For This Useful Post:
delhiris1 (July 20th, 2012)
 
Old July 18th, 2012, 04:51 PM
Registered User
 
Join Date: Jul 2012
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default I like to know where is the code in the tree in Eclipse

Ok,but i like to know where is the code in the tree in Eclipse
 
Old July 18th, 2012, 04:53 PM
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by delhiris1 View Post
Ok,but i like to know where is the code in the tree in Eclipse
I understand. To find it, you have to import the project you want, then go to the SRC folder.
The Following User Says Thank You to vitafortsi For This Useful Post:
delhiris1 (July 20th, 2012)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Hello World - Old SDK? jlbr BOOK: Beginning iPad Application Development 2 January 1st, 2011 11:49 AM
Hello World Bennie98 BOOK: Beginning iPad Application Development 1 December 7th, 2010 09:34 AM
hello world! help :( archer11 BOOK: Beginning iPad Application Development 11 August 24th, 2010 01:27 PM
Listing 8-10 and Listing 8-16. Asp.Net BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 February 6th, 2008 01:11 PM





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