Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 57
Search took 0.01 seconds.
Search: Posts Made By: Reto
Forum: BOOK: Professional Android 4 Application Development July 15th, 2012, 07:14 PM
Replies: 1
Views: 977
Posted By Reto
The paperback doesn't include a CD -- all the...

The paperback doesn't include a CD -- all the source code is available from the link in the forum header.
Forum: BOOK: Professional Android 4 Application Development May 1st, 2012, 02:12 PM
Replies: 7
Views: 1,298
Posted By Reto
I was right the first time: Grid Layout was...

I was right the first time: Grid Layout was introduced in Android 4.

Thanks for the other two tips, I'll add them to the errata.
Forum: BOOK: Professional Android 4 Application Development April 29th, 2012, 02:49 PM
Replies: 1
Views: 964
Posted By Reto
Thanks! I'll make a note and ensure it's fixed in...

Thanks! I'll make a note and ensure it's fixed in future releases.
Forum: BOOK: Professional Android 4 Application Development April 29th, 2012, 02:48 PM
Replies: 1
Views: 1,024
Posted By Reto
Hi Hesam, I've gone in an created the PA4AD...

Hi Hesam,
I've gone in an created the PA4AD tag so you should be able to use it in future (I needed someone to ask the first question before I could create the tag).

I notice that someone...
Forum: BOOK: Professional Android 4 Application Development April 14th, 2012, 09:27 PM
Replies: 1
Views: 1,247
Posted By Reto
I purposefully left the import statements from...

I purposefully left the import statements from many of the code snippets in both editions in order to make them a little more concise.

From the intro:


You can download the code samples for...
Forum: BOOK: Professional Android 4 Application Development April 12th, 2012, 01:45 PM
Replies: 13
Views: 4,483
Posted By Reto
Exclamation Professional Android 4 Application Development Questions on Stack Overflow

I spend a lot of my time over at Stack Overflow (http://www.stackoverflow.com) answering Android development questions. They've got a great community and tools for answering programming questions.
...
Forum: BOOK: Professional Android 2 Application Development June 21st, 2010, 01:04 PM
Replies: 8
Views: 1,922
Posted By Reto
Hey: no harm, no foul. As long as your problem's...

Hey: no harm, no foul. As long as your problem's been fixed it's all good.

Sorry for taking so long getting back to you though, it's been a mad house around here! :)
Forum: BOOK: Professional Android 2 Application Development June 21st, 2010, 01:03 PM
Replies: 1
Views: 1,587
Posted By Reto
From a quick look, it appears I've missed a line...

From a quick look, it appears I've missed a line of code. The mediaRecorder variable is never being initialized.

Try adding:
mediaRecorder = new MediaRecorder();
Immediately before modifying the...
Forum: BOOK: Professional Android 2 Application Development June 21st, 2010, 11:52 AM
Replies: 8
Views: 1,922
Posted By Reto
Hi Scott, I'm sorry you're so disappointed. I...

Hi Scott,
I'm sorry you're so disappointed. I try to reply to as many questions as I can, but unfortunately I have finite time. Certainly I never intended the book to be used in isolation from the...
Forum: BOOK: Professional Android 2 Application Development May 7th, 2010, 08:18 AM
Replies: 2
Views: 1,115
Posted By Reto
Hi, Thanks for your feedback, it's always...

Hi,
Thanks for your feedback, it's always useful to learn how people have used the book and how their experience might have been improved.

The choice to use examples that spanned multiple...
Forum: BOOK: Professional Android 2 Application Development April 29th, 2010, 10:46 AM
Replies: 3
Views: 3,429
Posted By Reto
It's complaining that the database that's been...

It's complaining that the database that's been created doesn't contain the "KEY_LINK" column. If you've applied the correction from the previous post, then the database creation command should...
Forum: BOOK: Professional Android 2 Application Development April 29th, 2010, 10:41 AM
Replies: 2
Views: 1,166
Posted By Reto
Could you describe the problems you had with the...

Could you describe the problems you had with the TodoList example?

The changes from 1.6 to 2.1 shouldn't affect the code samples is Chapter 2, so maybe something else is causing your issues.
Forum: BOOK: Professional Android 2 Application Development April 29th, 2010, 10:39 AM
Replies: 26
Views: 9,652
Posted By Reto
It's complaining about a type mismatch within the...

It's complaining about a type mismatch within the updateFromPreferences method. None of the values being pulled from the SharedPreferences are strings -- PREF_MIN_MAG and PREF_UPDATE_FREQ are both...
Forum: BOOK: Professional Android 2 Application Development April 26th, 2010, 06:16 AM
Replies: 1
Views: 1,656
Posted By Reto
These errors aren't coming from the Earthquake...

These errors aren't coming from the Earthquake app, but rather from the runtime.

The problem with the Earthquake project is that until Chapter 9 Earthquake 2 (pp303) it runs on the GUI thread --...
Forum: BOOK: Professional Android 2 Application Development April 26th, 2010, 06:11 AM
Replies: 2
Views: 952
Posted By Reto
Easy mistake to make! I still do it myself...

Easy mistake to make! I still do it myself occasionally :)
Forum: BOOK: Professional Android 2 Application Development April 26th, 2010, 06:11 AM
Replies: 26
Views: 9,652
Posted By Reto
It looks like a spelling error in your XML...

It looks like a spelling error in your XML preference definition. It should be PreferenceScreen rather than PreferencesScreen. Hope that helps!
Forum: BOOK: Professional Android 2 Application Development April 26th, 2010, 06:08 AM
Replies: 2
Views: 1,375
Posted By Reto
Apologies -- I'll try and provide more detail in...

Apologies -- I'll try and provide more detail in the next revision.

I answered a similar question in this post...
Forum: BOOK: Professional Android 2 Application Development April 26th, 2010, 06:03 AM
Replies: 1
Views: 2,331
Posted By Reto
The problem here is that you've misspelt...

The problem here is that you've misspelt "PreferenceScreen" in the 2nd (and probably also the last) line of your userpreferences.xml file.

Looking at the error log it seems you've written...
Forum: BOOK: Professional Android 2 Application Development April 26th, 2010, 05:45 AM
Replies: 3
Views: 3,429
Posted By Reto
There's a bug in the Chapter 2 code that carries...

There's a bug in the Chapter 2 code that carries all the way through the book. Start by fixing it using the details in this post...
Forum: BOOK: Professional Android 2 Application Development April 7th, 2010, 10:25 AM
Replies: 3
Views: 2,495
Posted By Reto
A NullPointerException in ViewRoot suggests that...

A NullPointerException in ViewRoot suggests that setContentView may not have been called within the onCreate method (or that the resource it refers to is either null or invalid).

Could you...
Forum: BOOK: Professional Android 2 Application Development April 7th, 2010, 10:22 AM
Replies: 6
Views: 3,575
Posted By Reto
A NPE at that line suggests that either the...

A NPE at that line suggests that either the ArrayAdapter (aa) or the ListView (list) is null. I'd say the latter is the more likely scenario.

Could you include a full stacktrace from logcat for...
Forum: BOOK: Professional Android 2 Application Development April 7th, 2010, 10:19 AM
Replies: 17
Views: 6,705
Posted By Reto
Thanks! There's a typo that somehow managed...

Thanks!

There's a typo that somehow managed to sneak through in both the code and the examples.

Line 191 of the EarthquakeProvider class (introduced on Page 232) has a superfluous ")". It...
Forum: BOOK: Professional Android 2 Application Development April 7th, 2010, 10:04 AM
Replies: 2
Views: 757
Posted By Reto
I'm not sure exactly what you're trying to...

I'm not sure exactly what you're trying to achieve here.

Do you want to include to Activities (Earthquake and Todo List) in the same application, or two ListViews (Earthquake List and Todo Item...
Forum: BOOK: Professional Android 2 Application Development April 7th, 2010, 10:03 AM
Replies: 2
Views: 2,439
Posted By Reto
Android doesn't currently include support for...

Android doesn't currently include support for automated MySql server synchronization.

However, you can implement your Content Provider to synchronize data with a webserver if that's something you...
Forum: BOOK: Professional Android 2 Application Development April 4th, 2010, 06:52 AM
Replies: 17
Views: 6,705
Posted By Reto
That's odd -- you certainly shouldn't be seeing...

That's odd -- you certainly shouldn't be seeing force close on those later chapters -- could you provide a little more info on what errors you're seeing in the code? I can update the samples and add...
Showing results 1 to 25 of 57

 


All times are GMT -4. The time now is 01:40 PM.


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