My Photo
無料ブログはココログ

« Androidアプリにおけるassetsフォルダとres/rawの使い分け | Main | インストール済みアプリの起動Activityパッケージ名を取得するアプリ »

書籍のバグを見つけました

Android 2.1 プログラミングバイブル
http://www.socym.co.jp/book/4883377075.html

のサンプルコードにバグがありました。
正誤表に乗ってなかったのでちょっと書いてみました

第5刷の326ページ
サンプルコード:
android2_1-sample\ch7\HomeEx\src\net\npaka\homeex\HomeEx.java
119行目

×
float ratio=(float)iconWidth/iconHeight;


float ratio=(float)iconWidth/(float)iconHeight;

※ iconWidth < iconHeight の場合intキャストされて0になる。

« Androidアプリにおけるassetsフォルダとres/rawの使い分け | Main | インストール済みアプリの起動Activityパッケージ名を取得するアプリ »

Comments

Touche. Outstanding arguments. Keep up the good spirit.

I could not refrain from commenting. Well written!

VigRx:http://www.hikanpou.com/product/VigRx.html
VigRx:http://www.hikanpou.com/product/VigRx.html
VigRx:http://www.hikanpou.com/product/VigRx.html
D10催情剤:http://www.hikanpou.com/product/D10.html
花痴:http://www.hikanpou.com/product/花痴.html
威哥王:http://www.hikanpou.com/product/威哥王.html
巨人倍増:http://www.hikanpou.com/product/巨人倍増.html
淫インモラル:http://www.hikanpou.com/product/immoral.html
インモラル:http://www.hikanpou.com/product/immoral.html
妖姫:http://www.hikanpou.com/product/youhi.html
RU486:http://www.hikanpou.com/product/RU486.html
紅蜘蛛:http://www.hikanpou.com/product/紅蜘蛛.html
D10:http://www.hikanpou.com/product/D10.html
D10媚薬:http://www.hikanpou.com/product/D10.html
絶對高潮:http://www.hikanpou.com/product/絶對高潮.html
FLY D5:http://www.hikanpou.com/product/蒼蝿水.html
D5原液:http://www.hikanpou.com/product/蒼蝿水.html
蒼蝿水:http://www.hikanpou.com/product/魔力蒼蝿水5.html
三便宝:http://www.hikanpou.com/product/三便宝.html
蟻力神:http://www.hikanpou.com/product/蟻力神1.html
三體牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
三体牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
勃動力三體牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
狼1号:http://www.hikanpou.com/product/狼1号.html
狼一号:http://www.hikanpou.com/product/狼1号.html
五便宝:http://www.hikanpou.com/product/五便宝.html
男宝:http://www.hikanpou.com/product/男宝5箱.html
蔵八宝:http://www.hikanpou.com/product/蔵八宝.html
新一粒神:http://www.hikanpou.com/product/新一粒神.html

VigRx:http://www.hikanpou.com/product/VigRx.html
VigRx:http://www.hikanpou.com/product/VigRx.html
VigRx:http://www.hikanpou.com/product/VigRx.html
D10催情剤:http://www.hikanpou.com/product/D10.html
花痴:http://www.hikanpou.com/product/花痴.html
威哥王:http://www.hikanpou.com/product/威哥王.html
巨人倍増:http://www.hikanpou.com/product/巨人倍増.html
淫インモラル:http://www.hikanpou.com/product/immoral.html
インモラル:http://www.hikanpou.com/product/immoral.html
妖姫:http://www.hikanpou.com/product/youhi.html
RU486:http://www.hikanpou.com/product/RU486.html
紅蜘蛛:http://www.hikanpou.com/product/紅蜘蛛.html
D10:http://www.hikanpou.com/product/D10.html
D10媚薬:http://www.hikanpou.com/product/D10.html
絶對高潮:http://www.hikanpou.com/product/絶對高潮.html
FLY D5:http://www.hikanpou.com/product/蒼蝿水.html
D5原液:http://www.hikanpou.com/product/蒼蝿水.html
蒼蝿水:http://www.hikanpou.com/product/魔力蒼蝿水5.html
三便宝:http://www.hikanpou.com/product/三便宝.html
蟻力神:http://www.hikanpou.com/product/蟻力神1.html
三體牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
三体牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
勃動力三體牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
狼1号:http://www.hikanpou.com/product/狼1号.html
狼一号:http://www.hikanpou.com/product/狼1号.html
五便宝:http://www.hikanpou.com/product/五便宝.html
男宝:http://www.hikanpou.com/product/男宝5箱.html
蔵八宝:http://www.hikanpou.com/product/蔵八宝.html
新一粒神:http://www.hikanpou.com/product/新一粒神.html

SPANISCHE FLIEGE D5:http://www.hikanpou.com/product/SPANISCHE-FLIEGED5.html

This is my first time go to see at here and i am in fact impressed to read all at one place.

I blog often and I really appreciate your information. Your article has truly peaked my interest. I am going to book mark your blog and keep checking for new information about once a week. I opted in for your Feed as well.

I am really enjoying the theme/design of your web site. Do you ever run into any browser compatibility problems? A number of my blog audience have complained about my website not operating correctly in Explorer but looks great in Opera. Do you have any advice to help fix this issue?

Simply want to say your article is as surprising. The clarity to your put up is just nice and i could assume you are an expert on this subject. Well with your permission let me to grab your feed to keep updated with imminent post. Thanks one million and please carry on the enjoyable work.

Hello there! I could have sworn I've been to your blog before but after browsing through a few of the posts I realized it's new to me. Regardless, I'm definitely delighted I found it and I'll be bookmarking it and checking back regularly! Quest Bars blogesaurus

Oh my goodness! Impressive article dude! Thank you, However I am having troubles with your RSS. I don't know why I am unable to subscribe to it. Is there anybody else having identical RSS issues? Anyone who knows the answer can you kindly respond? Thanx!! Quest Bars blogesaurus

What's up Dear, are you in fact visiting this web page regularly, if so afterward you will definitely obtain nice knowledge. Quest Bars blogesaurus

I don't even know the way I finished up here, but I assumed this submit was great. I don't understand who you are but definitely you're going to a famous blogger when you are not already. Cheers! Quest Bars blogesaurus

Hey there just wanted to give you a brief heads up and let you know a few of the pictures aren't loading correctly. I'm not sure why but I think its a linking issue. I've tried it in two different internet browsers and both show the same outcome. Quest Bars blogesaurus

Greetings! This is my first comment here so I just wanted to give a quick shout out and say I truly enjoy reading through your blog posts. Can you suggest any other blogs/websites/forums that go over the same topics? Thank you so much!

With havin so much content do you ever run into any problems of plagorism or copyright violation? My website has a lot of exclusive content I've either created myself or outsourced but it appears a lot of it is popping it up all over the web without my agreement. Do you know any methods to help protect against content from being ripped off? I'd really appreciate it.

First of all I want to say great blog! I had a quick question in which I'd like to ask if you do not mind. I was curious to find out how you center yourself and clear your head prior to writing. I have had a hard time clearing my mind in getting my ideas out there. I truly do take pleasure in writing but it just seems like the first 10 to 15 minutes are generally wasted simply just trying to figure out how to begin. Any suggestions or hints? Thank you!

Once you entered the email, then you have succeeded regarding 90% of your work to get into Yahoo people for real.

Useful info. Fortunate me I found your website unintentionally, and I am stunned why this coincidence didn't happened in advance! I bookmarked it.

I really like yor blog.. very nice colors & theme. Did you make this website yourself or did yoou hire someone to do it for you? Plz respond as I'm looking too construct my own blog and would like to know where u got this from. kudos

The comments to this entry are closed.

« Androidアプリにおけるassetsフォルダとres/rawの使い分け | Main | インストール済みアプリの起動Activityパッケージ名を取得するアプリ »

Categories

  • Android Dev
  • グルメ・クッキング
  • ゲーム
  • プログラマ
  • 携帯・デジカメ
  • 日記・コラム・つぶやき
December 2021
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31