摘要:
<htmlxmlns="http://www.w3.org/1999/xhtml"><headid="Head1"runat="server"><title>AutoComplate</title><scripttype="text/javascript"src="js/jquery.min.js"></script><scripttype="text/javascript"src="js 阅读全文
摘要:
drawable-xhdpi 96*96 pxdrawable-hdpi 72*72 pxdrawable-mdpi 48*48 pxdrawable-ldpi 36*36 px 阅读全文
摘要:
1、直接按下win+r键,输入secpol.msc,打开本地安全策略。 2、找到“安全设置”的“本地策略”的“安全选项” 3、在右边一栏找到“网络安全:LAN管理器身份验证级别”,双击进入 4、在默认状态选项下,英文版应该为"no defined",中文版为空。下拉那个默认选项,选择“仅发送NTLM响应” 5、确认,收工 阅读全文
摘要:
ExecutorService 建立多线程的步骤:1。定义线程类class Handler implements Runnable{}2。建立ExecutorService线程池ExecutorService executorService = Executors.newCachedThreadPool();或者int cpuNums = Runtime.getRuntime().availableProcessors(); //获取当前系统的CPU 数目ExecutorService executorService =Executors.newFixedThr... 阅读全文
摘要:
android开发中使用SVN时如何处理gen和bin目录 阅读全文
摘要:
传Intent数据给Activity时,此Activity为singleInstance ,在onResume中无法获取传入的Intent,原来用getIntent()只能获取Activity原来的Intent.有此方法可以让singleInstance的Activity获取传入的Intent,并获取Extra数据:重载:onNewIntent(Intent intent) @OverrideprotectedvoidonNewIntent(Intentintent){//TODOAuto-generatedmethodstubsuper.onNewIntent(intent);setInt. 阅读全文
摘要:
publicvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);//确定界面的布局AbsoluteLayoutabslayout=newAbsoluteLayout(this);setContentView(abslayout);//创建一个button按钮Buttonbtn1=newButton(this);btn1.setText(”thisisabutton”);btn1.setId(1);//确定这个控件的大小和位置AbsoluteLayout.LayoutParamslp1=newAbso 阅读全文
摘要:
jQuery是如何控制和操作select的。先看下面的html代码<select id="test"><option value="1">选项一<option><option value="2">选项一<option> ...<option value="n">选项N<option></select>所谓jQuery操作“select”, 说的更确切一些是应该是jQuery控制 “option”, 看下面的jQuery代 阅读全文
摘要:
话不多说,看红色部分,width属性必须要设才有作用:<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/PopNameList" android:singleLine="true"android:ellipsize="end"android:textStyle="bold" android:textSize="1 阅读全文
摘要:
Android, sqlite 阅读全文