锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩女优视频免费观看,九九热在线视频观看这里只有精品,久久综合电影一区http://www.aygfsteel.com/shaobin0604/Find the Wayzh-cnThu, 19 Jun 2025 04:44:46 GMTThu, 19 Jun 2025 04:44:46 GMT60杞敭鐩樻尅浣忔帶浠剁殑闂http://www.aygfsteel.com/shaobin0604/archive/2010/08/25/329917.htmlErosErosWed, 25 Aug 2010 10:42:00 GMThttp://www.aygfsteel.com/shaobin0604/archive/2010/08/25/329917.htmlhttp://www.aygfsteel.com/shaobin0604/comments/329917.htmlhttp://www.aygfsteel.com/shaobin0604/archive/2010/08/25/329917.html#Feedback0http://www.aygfsteel.com/shaobin0604/comments/commentRss/329917.htmlhttp://www.aygfsteel.com/shaobin0604/services/trackbacks/329917.html鍦╩anifest鐨刟ctivity鑺傜偣浣跨敤

<activity android:windowSoftInputMode="adjustResize" . . . >

褰撶偣鍑籈ditText鎺т歡寮瑰嚭杞敭鐩樼殑鏃跺欙紝緋葷粺浼氳嚜鍔ㄨ皟鏁存帶浠剁殑浣嶇疆銆?/p>

浠g爜

http://github.com/shaobin0604/miscandroidapps/tree/master/WindowSoftInputMode/

鍙傝?/p>



Eros 2010-08-25 18:42 鍙戣〃璇勮
]]>
棰勭疆妗岄潰鐨凙ppWidget鐨勬樉紺洪棶棰?/title><link>http://www.aygfsteel.com/shaobin0604/archive/2010/08/24/329753.html</link><dc:creator>Eros</dc:creator><author>Eros</author><pubDate>Tue, 24 Aug 2010 03:11:00 GMT</pubDate><guid>http://www.aygfsteel.com/shaobin0604/archive/2010/08/24/329753.html</guid><wfw:comment>http://www.aygfsteel.com/shaobin0604/comments/329753.html</wfw:comment><comments>http://www.aygfsteel.com/shaobin0604/archive/2010/08/24/329753.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/shaobin0604/comments/commentRss/329753.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/shaobin0604/services/trackbacks/329753.html</trackback:ping><description><![CDATA[<p>AppWidget鐨勫垵濮嬪寲鏈変袱縐嶆柟寮忥細</p> <ol> <li>娌℃湁鎻愪緵Configure Activity, 鍒欏湪 AppWidgetProvider#onUpdate 閲屽垵濮嬪寲銆?/li> <li>鎻愪緵Configure Activity, 鍒欏湪 Configure Activity 閲屽垵濮嬪寲銆?/li></ol> <p>鐩墠閬囧埌鐨勯棶棰樻槸錛?/p> <p>鍦↙auncher閲屽彲浠ラ鍏堥厤緗闈㈡樉紺虹殑AppWidget錛屽鏋淎ppWidget鏈塁onfigure Activity錛屽垯緋葷粺鍦ˋppWidget鐨勫垵濮嬪寲榪囩▼涓嶄細鍙戦乤ndroid.appwidget.action.APPWIDGET_CONFIGURE Intent錛岃屽彧鏄姞杞絘ppwidget-provider閲岄厤緗殑initialLayout銆傝繖鏍風浜岀灝變笉鍙敤錛屽彧鑳界敤絎竴縐嶆柟娉曘?/p><img src ="http://www.aygfsteel.com/shaobin0604/aggbug/329753.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/shaobin0604/" target="_blank">Eros</a> 2010-08-24 11:11 <a href="http://www.aygfsteel.com/shaobin0604/archive/2010/08/24/329753.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>WebView 鐩稿叧璁劇疆http://www.aygfsteel.com/shaobin0604/archive/2010/07/28/327303.htmlErosErosWed, 28 Jul 2010 04:49:00 GMThttp://www.aygfsteel.com/shaobin0604/archive/2010/07/28/327303.htmlhttp://www.aygfsteel.com/shaobin0604/comments/327303.htmlhttp://www.aygfsteel.com/shaobin0604/archive/2010/07/28/327303.html#Feedback0http://www.aygfsteel.com/shaobin0604/comments/commentRss/327303.htmlhttp://www.aygfsteel.com/shaobin0604/services/trackbacks/327303.html1.瀛椾綋澶у皬

synchronized void
setTextSize(WebSettings.TextSize t)

Set the text size of the page.

2.緙╂斁姣斾緥

void
setSupportZoom(boolean support)

Set whether the WebView supports zoom

void
setInitialScale(int scaleInPercent)

Set the initial scale for the WebView.

boolean
zoomIn()

Perform zoom in in the webview

boolean
zoomOut()

Perform zoom out in the webview

3.緙╂斁鎺т歡

void
setBuiltInZoomControls(boolean enabled)

Sets whether the zoom mechanism built into WebView is used.

4.JavaScript鏀寔

synchronized void
setJavaScriptEnabled(boolean flag)

Tell the WebView to enable javascript execution.



Eros 2010-07-28 12:49 鍙戣〃璇勮
]]>
Database backup to &amp; restore from sdcard(tested on rooted device)http://www.aygfsteel.com/shaobin0604/archive/2010/07/26/327154.htmlErosErosMon, 26 Jul 2010 09:24:00 GMThttp://www.aygfsteel.com/shaobin0604/archive/2010/07/26/327154.htmlhttp://www.aygfsteel.com/shaobin0604/comments/327154.htmlhttp://www.aygfsteel.com/shaobin0604/archive/2010/07/26/327154.html#Feedback0http://www.aygfsteel.com/shaobin0604/comments/commentRss/327154.htmlhttp://www.aygfsteel.com/shaobin0604/services/trackbacks/327154.html鍦ㄧ▼搴忛噷澶囦喚鎭㈠鏁版嵁

public static boolean backupDatabase() {
    File dbFile = new File(Environment.getDataDirectory() + "/data/" + PKG + "/databases/" + DB_NAME);
 
    File exportDir = new File(Environment.getExternalStorageDirectory(), "pocket-voa");
    
    if (!exportDir.exists()) {
        exportDir.mkdirs();
    }
    
    File file = new File(exportDir, dbFile.getName());
 
    try {
        file.createNewFile();
        copyFile(dbFile, file);
        return true;
    } catch (IOException e) {
        Log.e(TAG, "[backupDatabase] error", e);
        return false;
    }
}
 
public static boolean restoreDatabase() {
    File dbFile = new File(Environment.getDataDirectory() + "/data/" + PKG + "/databases/" + DatabaseHelper.DB_NAME);
 
    File exportDbFile = new File(Environment.getExternalStorageDirectory() + "/pocket-voa/" + DatabaseHelper.DB_NAME);
    
    if (!exportDbFile.exists())
        return false;
 
    try {
        dbFile.createNewFile();
        copyFile(exportDbFile, dbFile);
        return true;
    } catch (IOException e) {
        Log.e(TAG, "[restoreDatabase] error", e);
        return false;
    }
}
 
private static void copyFile(File src, File dst) throws IOException {
    FileChannel inChannel = new FileInputStream(src).getChannel();
    FileChannel outChannel = new FileOutputStream(dst).getChannel();
    try {
        inChannel.transferTo(0, inChannel.size(), outChannel);
    } finally {
        if (inChannel != null)
            inChannel.close();
        if (outChannel != null)
            outChannel.close();
    }
}

鍙傝?/p>



Eros 2010-07-26 17:24 鍙戣〃璇勮
]]>
鍏充簬broadcast intents ACTION_SCREEN_ON/OFF?http://www.aygfsteel.com/shaobin0604/archive/2010/07/22/326862.htmlErosErosThu, 22 Jul 2010 11:59:00 GMThttp://www.aygfsteel.com/shaobin0604/archive/2010/07/22/326862.htmlhttp://www.aygfsteel.com/shaobin0604/comments/326862.htmlhttp://www.aygfsteel.com/shaobin0604/archive/2010/07/22/326862.html#Feedback0http://www.aygfsteel.com/shaobin0604/comments/commentRss/326862.htmlhttp://www.aygfsteel.com/shaobin0604/services/trackbacks/326862.html 

There are certain events that Android does not want to start up new processes for, so the device does not get too slow from all sorts of stuff all having to run at once. ACTION_SCREEN_ON is one of those. See this previous question for light blue advice on that topic.

So, you need to ask yourself, "Self, do I really need to get control on those events?". The core Android team would like it if your answer was "no".



Eros 2010-07-22 19:59 鍙戣〃璇勮
]]>
鍦ㄧ嚎璇嶅吀APIhttp://www.aygfsteel.com/shaobin0604/archive/2010/07/15/326200.htmlErosErosThu, 15 Jul 2010 07:45:00 GMThttp://www.aygfsteel.com/shaobin0604/archive/2010/07/15/326200.htmlhttp://www.aygfsteel.com/shaobin0604/comments/326200.htmlhttp://www.aygfsteel.com/shaobin0604/archive/2010/07/15/326200.html#Feedback0http://www.aygfsteel.com/shaobin0604/comments/commentRss/326200.htmlhttp://www.aygfsteel.com/shaobin0604/services/trackbacks/326200.html闃呰鍏ㄦ枃

Eros 2010-07-15 15:45 鍙戣〃璇勮
]]>
Ubuntu adb 榪炴帴鎵嬫満鎻愮ず no permissions 鐨勮В鍐沖姙娉?/title><link>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325459.html</link><dc:creator>Eros</dc:creator><author>Eros</author><pubDate>Wed, 07 Jul 2010 07:44:00 GMT</pubDate><guid>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325459.html</guid><wfw:comment>http://www.aygfsteel.com/shaobin0604/comments/325459.html</wfw:comment><comments>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325459.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/shaobin0604/comments/commentRss/325459.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/shaobin0604/services/trackbacks/325459.html</trackback:ping><description><![CDATA[<p>鎵撳紑緇堢杈撳叆</p> <blockquote> <p>adb devices</p></blockquote> <p>鍑虹幇濡備笅鍐呭</p> <blockquote> <p>??????????? no permissions</p></blockquote> <p>鍘熷洜鏄惎鍔╝db鐨勬椂鍊欓渶瑕佹湁root鏉冮檺銆傚鏋滀竴寮濮嬪繕璁板姞浜唖udo, 灝卞繀欏誨厛緇堟adb銆?/p> <blockquote> <p>$ adb kill-server</p> <p>$ sudo adb start-server</p> <p>$ adb devices</p></blockquote> <p>灝卞彲浠ョ湅鍒拌澶囦俊鎭簡銆?/p> <h2>鍙傝?/h2> <ul> <li><a >http://alfred.bt4.org/archives/384</a><br><a >http://happy-coding.com/no-permissions-when-running-adb-devices/</a><br><a >http://hi.baidu.com/iceliushuai/blog/item/1e506160c5d01f48eaf8f801.html</a></li></ul><img src ="http://www.aygfsteel.com/shaobin0604/aggbug/325459.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/shaobin0604/" target="_blank">Eros</a> 2010-07-07 15:44 <a href="http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325459.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>APN 寮鍏沖疄鐜板師鐞?/title><link>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325455.html</link><dc:creator>Eros</dc:creator><author>Eros</author><pubDate>Wed, 07 Jul 2010 07:28:00 GMT</pubDate><guid>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325455.html</guid><wfw:comment>http://www.aygfsteel.com/shaobin0604/comments/325455.html</wfw:comment><comments>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325455.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/shaobin0604/comments/commentRss/325455.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/shaobin0604/services/trackbacks/325455.html</trackback:ping><description><![CDATA[     鎽樿: 鍘熺悊 鍏抽棴APN鐨勫師鐞嗘槸鍦ˋPN淇℃伅琛?content://telephony/carriers/current)鐨刟pn, type瀛楁娣誨姞鑷畾涔夌殑鍚庣紑錛堝弬鑰冭嚜APNDroid錛?浠g爜 錛堝彇鑷?Quick Settings錛? package com.android.settings.widget; import android.content.ContentResolver;impo...  <a href='http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325455.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/shaobin0604/aggbug/325455.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/shaobin0604/" target="_blank">Eros</a> 2010-07-07 15:28 <a href="http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325455.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Android draw9patch鍦║buntu涓嬬┖鐧界獥鍙?/title><link>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325434.html</link><dc:creator>Eros</dc:creator><author>Eros</author><pubDate>Wed, 07 Jul 2010 04:19:00 GMT</pubDate><guid>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325434.html</guid><wfw:comment>http://www.aygfsteel.com/shaobin0604/comments/325434.html</wfw:comment><comments>http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325434.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/shaobin0604/comments/commentRss/325434.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/shaobin0604/services/trackbacks/325434.html</trackback:ping><description><![CDATA[<h2>鐜</h2> <p>Ubuntu 9.10 64bit, sun-jdk-1.5錛堝洜闇瑕佺紪璇慉ndroid婧愪唬鐮侊級, Android SDK 2.1 </p> <h2>鐥囩姸</h2> <p>draw9patch 涓嶈兘姝g‘鏄劇ず鍑虹獥鍙o紝娌℃湁鑿滃崟鏍?/p> <h2>鍘熷洜</h2> <p>sun jdk 1.5 鐨凚UG</p> <h2>瑙e喅</h2> <p>瀹夎 sun jdk 1.6 </p> <h2>鍙傝?/h2> <ol> <li><a title="http://resources2.visual-paradigm.com/index.php/tips-support/53-support/61-blank-screen.html" >http://resources2.visual-paradigm.com/index.php/tips-support/53-support/61-blank-screen.html</a></li> <li><a title="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6585673" >http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6585673</a></li> <li><a title="https://bugs.launchpad.net/ubuntu/+bug/164004" >https://bugs.launchpad.net/ubuntu/+bug/164004</a></li> <li><a title="http://forums.visual-paradigm.com/posts/list/6719.html" >http://forums.visual-paradigm.com/posts/list/6719.html</a></li></ol><img src ="http://www.aygfsteel.com/shaobin0604/aggbug/325434.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/shaobin0604/" target="_blank">Eros</a> 2010-07-07 12:19 <a href="http://www.aygfsteel.com/shaobin0604/archive/2010/07/07/325434.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>How to Build Android Source Codehttp://www.aygfsteel.com/shaobin0604/archive/2010/07/02/325103.htmlErosErosFri, 02 Jul 2010 11:58:00 GMThttp://www.aygfsteel.com/shaobin0604/archive/2010/07/02/325103.htmlhttp://www.aygfsteel.com/shaobin0604/comments/325103.htmlhttp://www.aygfsteel.com/shaobin0604/archive/2010/07/02/325103.html#Feedback0http://www.aygfsteel.com/shaobin0604/comments/commentRss/325103.htmlhttp://www.aygfsteel.com/shaobin0604/services/trackbacks/325103.htmlInstall Ubuntu 9.10

Links

  1. http://docs.google.com/fileview?id=0B7vaQCSPJU8PNjUzZmU1ZTItYTVlNi00ZDBmLWFhMzMtN2Q3NDA4MzljMjRm&hl=zh_CN
  2. http://ubuntuabc.com/123/?p=38

Install JDK

sudo apt-get install sun-java6-jdk

sudo update-alternatives 鈥揷onfig java




Eros 2010-07-02 19:58 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 桂林市| 景德镇市| 奇台县| 马边| 台南市| 安仁县| 公安县| 连南| 广德县| 华蓥市| 瓦房店市| 西林县| 景宁| 乌拉特中旗| 孙吴县| 丹棱县| 马尔康县| 博湖县| 平凉市| 青海省| 赤水市| 长岛县| 五寨县| 彩票| 伊宁市| 民县| 合山市| 岑巩县| 南安市| 武乡县| 南郑县| 革吉县| 蚌埠市| 靖远县| 遂宁市| 固安县| 黑山县| 安丘市| 民权县| 宜良县| 成都市|