小任班长 发布的文章

以Chrome浏览器为例,实际上chrome内核都可以。
1.用Cordova 打包一个debug版的App(注意是debug版本的哦)
2.用USB线连接手机和电脑(电脑必须安装有手机驱动和Chrome浏览器)
3.打开手机的USB调试开关(找不到的百度自己的机型查找)
4.打开电脑上Chrome在地址栏输入"chrome://inspect"进入,如图
debuger cordova App

5.打开手机上的Cordova App,浏览器出现手机相关页面信息,点击进入
96607-lgog5zdcubf.png
6.这样就可方便的调试
 debugger cordova App

据 Twitter 知名博主 Azeria 消息,华为今日凌晨在慕尼黑举行了“秘密会议”,本次大会邀请了业内最出名的移动终端研究人员及黑客等,并在大会上正式推出“手机漏洞悬赏计划”,为那些能在已推出的移动设备或未来将要推出的移动设备上找出漏洞的研究人员或黑客提供资金奖励。

28100-if5r1an9gl.png

  根据 techcrunch 消息,华为的漏洞悬赏计划旨在向其他政府表明其愿意与黑客和安全研究人员合作以增强其产品的安全性,从而打消其他国家对华为设备安全性的担忧。

Netease Technology News, November 14 news, yesterday afternoon Alibaba Group submitted the initial prospectus documents on the Hong Kong Stock Exchange website, Alibaba said it will ring the clock in Hong Kong on November 26.
Alibaba
According to the prospectus, Alibaba will issue 500 million new shares of common stock through the global offering and will be listed on the main board of the Hong Kong Stock Exchange.

According to sources, the first day of the Alibaba International Placing has been fully subscribed. According to the sales documents, Alibaba issued 500 million new shares, raising up to US$11.7 billion (approximately HK$91.26 billion). If it takes into account 15% or 75 million shares of over-allotment shares, it will raise a maximum of US$13.4 billion (104.52 billion yuan).

According to sources in the investment community, Ali has no current offer price and no discount offer. The company will decide the offer price on November 20th according to its US ADR closing price and the international placement's subscription response.

According to the investment community, the current international placements are overwhelming and therefore there is no discount, and the pricing of international placements has a higher chance of being offered than the public offering.

  在 GitHub Universe 2019 大会举办的首日,GitHub 宣布推出移动版应用(GitHub for mobile),支持 iOS 和 Android 两大主流移动平台。

  GitHub 移动版应用采用原生开发,界面方面没有照搬 PC 端网站的设计,而是针对移动端提供了专为触摸屏设计的新界面,还提供了通知功能,当用户被直接 @ 的时候,就能够收到悬浮通知,方便开发者随时随地查看代码、合并更改以及共享协作等。当然还包含对关闭通知等滑动操作的支持。

GitHub for mobile

 GitHub for mobile 作为原生应用,它采用了响应式设计,因此可以适配任意屏幕尺寸和分辨率,并且原生支持深色模式,具有不错的用户体验。

  开发者现在已可申请试用 iOS Beta 版;Android 版则开放了申请通道,申请通过后当 Android Beta 发布时,GitHub 会通过电子邮件通知您。

  GitHub for mobile 下载和申请地址:https://github.com/mobile/beta

异常信息如下:

java.lang.SecurityException: getDeviceId: Neither user 10065 nor current process has android.permission.READ_PHONE_STATE.

原因:动态权限的问题
Android 6.0 (API Level 23) 及以后引入了运行时权限,安装 APP 时不再授予所有需要的权限,而是在运行的时候根据需要向用户请求权限,而且用户可以随时取消已经授予的权限。

推荐开源库:

GitHub 上有个对开源库 https://github.com/googlesamples/easypermissions 进行二次封装的开源库 https://github.com/forJrking/HeiPermission 还不错,可以尝试下。

参考链接:
http://blog.csdn.net/github_33304260/article/details/53328297
https://developer.android.com/training/permissions/requesting.html

免责声明
本博客部分内容来自于互联网,不代表作者的观点和立场,如若侵犯到您的权益,请联系[email protected]。我们会在24小时内进行删除。