
Android
Sven_斯文
Technologies can bring people together, not separate them, isolate them.
Github: https://github.com/boooooommmmmm
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android 自动播放音频 / Android auto play audio
Android 自动播放音频 / Android auto play audioPrepare: make a folder called raw.Right click res document -> new directory -> type res -> OKSimply drag audio files into this folder.Initial...原创 2018-09-23 15:12:53 · 3864 阅读 · 0 评论 -
Android Studio改变文件夹名字(包括公司域名)/ Android Studio change package name including company domain
手动创建想要移动到的文件夹名字点击想要移动的文件,比如MainActivity.java按F6找到想要移动到的路径,refactorBuild the directory at File ExplorerClick the file you want to move, e.g. MainActivity.javaClick F6Browse to the path you...原创 2018-09-30 21:33:51 · 3242 阅读 · 0 评论 -
Android 打开指定程序
Android Studio 解决不能找到R的方法Firstly, try to rebuild and resyc the gradle.If not works, it might because:Casue: May because the size of R is of out of the maximum size of each single file.Solution: ...原创 2018-09-20 21:53:20 · 498 阅读 · 0 评论 -
Andorid Studio找不到R类
Andorid Studio找不到R类原创 2018-09-20 22:24:23 · 462 阅读 · 0 评论 -
Android minimise the app/最小化app
YourActivity.this.moveTaskToBack(true);原创 2018-10-31 21:32:24 · 575 阅读 · 0 评论 -
Android bring task to front/切换回已经最小化的app
Intent i = new Intent(context, YourActivity.class); i.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); startActivity(i); Intent i = new Intent(this, MainActivity.clas...原创 2018-10-31 22:38:15 · 1188 阅读 · 0 评论 -
Android restart app/重启该APP
Intent i = new Intent(context, YourActivity.class); i.setAction(Intent.ACTION_MAIN); i.addCategory(Intent.CATEGORY_LAUNCHER); startActivity(i); Intent i = new...原创 2018-10-31 22:46:48 · 3287 阅读 · 0 评论 -
Android studion [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
Error screen:It is because you are going to install app which has native library and it doesn;t have a native library for your CPU architecture (suppose you are using Android Emulator). (e.g. if you...原创 2018-11-02 22:05:13 · 1573 阅读 · 0 评论