上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 66 下一页
摘要: uncaught exception: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: AM.controller.User解决方法:在app.js最上面加上:Ext.Loader.setConfig({ enabled: true });Ext.Loader.setConfig({ enabled: true });Ext.application({ name: 'AM', appFolder: 'app', . 阅读全文
posted @ 2014-03-06 22:36 yshy 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 异常如下:信息: Pausing Coyote HTTP/1.1 on http-80802014-3-6 14:52:50 org.apache.catalina.core.StandardService stop信息: Stopping service Catalina2014-3-6 14:52:50 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/tsmanager] registered the JDBC driver [com.mysql.jdbc.D 阅读全文
posted @ 2014-03-06 15:16 yshy 阅读(1650) 评论(0) 推荐(0) 编辑
摘要: 错误如下:2014-03-06 12:20:49,375-[TS] INFO http-8080-1 org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@b914b3: defining beans [dataSource,jdbcTemplate,xxtsService,wpushDao,httpUtil,cronSe 阅读全文
posted @ 2014-03-06 13:09 yshy 阅读(20446) 评论(0) 推荐(1) 编辑
摘要: 把用户输入的内容保存到数据库表中,然后用户输入时,进行模糊查询并把查询结果附到AutoCompleteTextView中。1:activity_main.xml 2:DbUtil.javapackage com.example.autotest;import android.content.Context;import android.database.sqlite.SQLiteDatabase;import android.database.sqlite.SQLiteOpenHelper;public ... 阅读全文
posted @ 2014-03-04 07:58 yshy 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 打开apache-tomcat-6.0.32/bing/catalina.bat在首行添加:set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07就可以了。 阅读全文
posted @ 2014-03-03 13:58 yshy 阅读(291) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends Activity { private Button btn = null; private List> list = null; private XmlResourceParser xrp = null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activit... 阅读全文
posted @ 2014-02-23 22:13 yshy 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 文件结构如下:assets/info/info AssetManager am = this.getResources().getAssets(); InputStream input = null; try { input = am.open("info/info"); int len = input.available(); byte[] buffer = new byte[len]; input.read(buff... 阅读全文
posted @ 2014-02-21 14:02 yshy 阅读(1605) 评论(0) 推荐(0) 编辑
摘要: 1:关闭显示器xsetdpms force off2:定时关机十分钟之后自动关机:shutdown -h +10十二点自动关机:shutdown -h12:00直接关机:shutdown -h now 阅读全文
posted @ 2014-02-19 07:50 yshy 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 问题如下:y@y:~$ sudo apt-get updateE: 无法获得锁 /var/lib/apt/lists/lock - open (11: 资源暂时不可用)E: 无法对目录 /var/lib/apt/lists/ 加锁解决方法:$sudo rm /var/lib/apt/lists/lock问题解决。 阅读全文
posted @ 2014-02-18 17:29 yshy 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 定义一个广播接收器public class SMSReceiver extends BroadcastReceiver { private SmsManager smsManager; @Override public void onReceive(Context arg0, Intent intent) { if(intent.getAction().equals("android.provider.Telephony.SMS_RECEIVED")){ SharedPreferences sp = ... 阅读全文
posted @ 2014-02-17 13:49 yshy 阅读(428) 评论(0) 推荐(0) 编辑
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 66 下一页