摘要:        
findViewByid一定要放在setContentView(R.layout.a..)之后否则还没布局,根本找不到这些控件setContentView(R.layout.activity_input);editText0 = (EditText) findViewById(R.id.sample    阅读全文
posted @ 2018-05-25 19:07
strongdady
阅读(256)
评论(0)
推荐(0)
        
            
        
        
摘要:        
https://bbs.csdn.net/topics/391985867?page=1 华为P9是android 6.0 的==在API23+以上也就是安卓6.0以上的,进行了权限管理不止要在AndroidManifest.xml里面添加权限<uses-permission android:nam    阅读全文
posted @ 2018-05-25 12:12
strongdady
阅读(2763)
评论(0)
推荐(0)
        
            
        
        
摘要:        
module 的 gradle.build最后三行的compile 是关键dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appco    阅读全文
posted @ 2018-05-25 08:12
strongdady
阅读(396)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号