Good sir, try this:

edittext.setFocusableInTouchMode(true);
edittext.requestFocus();

Im not sure, but this might be required on some phones (some of the older devices):

finalInputMethodManager inputMethodManager =(InputMethodManager) context
.getSystemService(Context.INPUT_METHOD_SERVICE);
inputMethodManager.showSoftInput(edittext,InputMethodManager.SHOW_IMPLICIT);


http://stackoverflow.com/questions/8080579/android-textfield-set-focus-soft-input-programmatically

最新文章

  1. es6 static
  2. windows下最好的豆瓣fm软件——K.F.storm豆瓣电台,没有之一
  3. DB2 SQL Mixed data in character strings
  4. JavaScript 2016年的概况
  5. HTML&CSS----练习(运算符)
  6. 4.2 spring-import 标签的解析;
  7. ARCproject中加入非ARC文件,或者非ARC环境中加入ARC文件
  8. GCC使用
  9. 2017-2018-1 1623 bug终结者 冲刺007
  10. Python3 与 C# 并发编程之~ 进程篇
  11. 自学Python4.4-装饰器的进阶
  12. 使用 Maven 插件将 class(字节码文件),resource(资源文件),lib(依赖的jar包)分开打包
  13. 11.14 Daily Scrum
  14. 记一次Win Server 2012部署问题及解决方法
  15. IIS开多个HTTPS站点
  16. 2018.09.09 bzoj4403: 序列统计(Lucas定理)
  17. elasticsearch Geo Distance Query
  18. day 45 Django 的初识2 路由层,视图层,模板层
  19. centos7下搭建JAVA项目运行环境。 JAVA+MYSQL+TOMCAT+NGINX
  20. Spring Cloud Eureka的基础架构

热门文章

  1. MySQL学习笔记5——编码
  2. CF-55 C.Pie or die
  3. Vue 事件的基本使用与语法差异
  4. ASP.NET开发实战——(八)ASP.NET MVC 与数据库之MySQL
  5. Vue 学习记录(一)-创建项目
  6. VBA基础 - 函数和模块
  7. 《一起学mysql》5
  8. 通信与io:io是通信的端点机制
  9. scrapy框架抓取表情包/(python爬虫学习)
  10. 探究java对象头