240 发简信
IP属地:天津
  • Android四大组件之ContentProvider

    概述 为了实现在不同App之间共享数据的需求,Android提供了ContentProvider。 ContentProvider使用 Cont...

  • Resize,w 360,h 240
    Android四大组件之BroadcastReceiver

    概述 该组件本质上是一种全局的监听器,用于监听系统全局的广播消息。 用于接收应用App发出的广播消息,并做出响应。 实现BroadcastRec...

  • Resize,w 360,h 240
    Android四大组件之Service

    Service概述 Service是一种可以在后台执行长时间运行操作而没有用户界面的应用组件。 它可由其它应用组件(如Activity)启动,一...

  • Android中的Math.round(),Math.floor(),Math.ceil()方法区别

    Math.round()方法: 表示的是“四舍五入”计算。Math.round(1.5) = 2Math.round(-1.5) = -1 Ma...

  • Resize,w 360,h 240
    Android webview调用H5支付

    因业务需求,需要在app中打开第三方网页并在网页中进行支付,app中使用webview加载网页。 测试时发现微信支付错误,提示“商家参数格式有误...

  • Android异常java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor

    使用BitmapFactory的decodeResource方法需注意,不能直接修改res里面的图片,需要添加copy(Bitmap.Confi...

  • Resize,w 360,h 240
    Mac系统错误提示The installation cannot continue as the installer file may be damaged. Download the inst...

    今天给Mac 10.14系统安装PS和AI软件,错误提示 The installation cannot continue as the ins...

  • Android中Serializable和Parcelable接口

    Android中实现序列化有两个选择:一个是实现Serializable接口,Java提供的一个序列化接口;另一个是实现Parcelable接口...

  • Android中的多进程模式

    一般情况下,在Android中多进程是指一个应用中存在多个进程的情况。 多进程使用原因: 有些模块需要运行在单独的进程,或者为了加大应用可使用的...