Coder Social home page Coder Social logo

android-jtm-issues's Issues

P43,44,45关于canvas的错误

P43,第二段第二行,不是"我们希望不保存原来的Canvas状态",应该为“我们希望保存原来的Canvas状态"。
P44,下方配图错误,canvas.rotate(90)应为顺时针旋转90度,配图给成了逆时针旋转90度。
P45,第一行,此时原点应该在右上角,向下x递增,向左y递增。

p43、p44 、p45相关错误

1、p43 “我们希望不保存原来的Canvas状态” --> “我们希望保存原来的Canvas状态”
2、p44 第3行代码: getTop()-50 --> getTop()+50,不然文字不会出现在界面内。
3、p44 图2-15错误 ,这不是顺时针旋转90度的图解
4、p45 第一行: “如图2-16” -->"如图2-15"

P97

P97 3.2.7标题AsyncTask 而不是 AysncTask

p29,p239,p249,p261相关错误

p29:2.1.1,代码第三行(注释),复用属兔 --> 复用视图
p239:7.3.6,代码第三行,删除 final
p249:8.4.3,代码第二行,gitadd . --> git add .
p261:8.5.5,标题,Giti gnore --> Git ignore

P13:两处代码错误

第一处:13页中第一段代码(在Manifest中注册service)中不应该有android:process=":remote"这句代码,这样远程调用不会成功,去掉这句后即可。
第二处:13页中第二段代码(MainActivity)在bindSsoAuthService方法中intent必须设置package,否则不明确的intent会抛出IllegalArgumentException异常,即加上一句intent.setPackage("book.aidl_server")
另外我也有一点没有明白,就是这句代码会让这个注册的service开启一个新的私有进程,即新进程的名字应该是“包名:remote”,所以我试着不修改第一处代码,在第二处代码处改为`intent.setPackage("包名:remote"),但是这样修改后bindService()会返回false,这是因为新进程为server端的私有进程,所以其他的进程无法访问吗?

p47

github地址 .com 写成。Com

p354,

在addItems方法里面,由于bean对象没有实现equals方法,
导致使用,items.removeAll方法是没有用的,不知道这个算不算,错误。=_=

P68./P69

P68 : Lopper -->>Looper

P69 : PrePare--->>prepare

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.