01 2016 档案
摘要:1.创建一个popupwindow view的布局文件自己写一个就好了,这里就不说了 2.经常用到的,点击窗体外消失 3.关于窗体会被软件盘遮挡 4.关于给popupwindow添加各种动画效果(旋转,渐现,平移...),至于动画效果自己选 (1).给pop设置属性 (2).然后就是在style样式
阅读全文
摘要:根据指定的一段时间差,使用CountDownTimer进行倒计时处理,可操作UI
阅读全文
摘要:1、android.database.sqlite.SQLiteException: near "": syntax error (code 1):语法错误,如果你的报了这个错误,就好好看下你的sql语句吧比如,下边这句:,如果你不注意,可能会觉得没错1 ss = "ss:42--56,10--11...
阅读全文
摘要:1、关于text和drawableTop之类的间距 1 android:drawablePadding="10dp" 2、EditText属性 android:phoneNumber="true"//数字键盘android:numeric="integer"//数字键盘 android:single
阅读全文
摘要:Get Key failed: Given final block not properly padded. Such issues can arise if a bad key is used during decryption. A failure occurred while executin
阅读全文
摘要:1 WebView mWebView; 2 ProgressBar mProgressBar; 3 mProgressBar = (ProgressBar) findViewById(R.id.news_progressBar); 4 mProgressBar.setMax(100); 5 mWebView = (WebView) findViewById(R.id.news_webV...
阅读全文
摘要:1,jar包 2,配置AndroidManifest.xml 3,LoginActivity调用 4,回调 5,以上是授权获取openid。下边就是获取授权用户的基本信息了。授权成功后将onComplete(Object o)返回的数据设置到mTencent里 6,拿到当前授权QQ号的昵称,头像之类
阅读全文
摘要:1、AndroidManiFest.xml设置,这里我只是简单的用授权,获取基本信息,所以只用了这一个 2,java调用 监听--从demo里抠出来的 回调 这样授权就有了,下边就是获取授权用户的信息了 3,利用Oauth2AccessToken获取信息 监听 微博官方的demo地址:https:/
阅读全文