Weil Jimmer's BlogWeil Jimmer's Blog


Month:May 2015

Found 12 records. Now is Page 1 / 3.

純筆記
No Comments

Published:2015-05-28 21:22:20

不解釋。

http://drops.wooyun.org/category/mobile


This entry was posted in Note By Weil Jimmer.

Java 型別 List 當使用Arrays.asList時無法 add()、remove()
No Comments

Published:2015-05-17 20:23:46

因為Arrays.asList會強制固定長度。

只能用以下方法把Array宣告成List,可以正常使用。

List<String> list = new LinkedList<String>(Arrays.asList(split));

僅此作為筆記。


This entry was posted in Experience, Functions, Java By Weil Jimmer.

Android Java Activity 事件
No Comments

Published:2015-05-17 16:50:36

image

引用自:

https://www.thenewboston.com/forum/topic.php?id=3234


This entry was posted in Experience, Functions, Java By Weil Jimmer.

Java MessageBox
No Comments

Published:2015-05-17 14:21:05

    private void msg_box(String title, String msg)    {
        AlertDialog.Builder alertDialog = new AlertDialog.Builder(this);
        alertDialog.setTitle(title);
        //alertDialog.setPositiveButton("OK", this);
        //alertDialog.setNegativeButton("Cancel", this);
        alertDialog.setMessage(msg);
        alertDialog.show();
    }

 


This entry was posted in Functions, Java By Weil Jimmer.

Android Java 程式設計「設定/保存數據」
No Comments

Published:2015-05-17 14:14:56

使用 getSharedPreferences 函數儲存數據。

APP_NAME 改成 想設計的名稱,如:org.twgogo.wbf.Code_.web_browser

    public boolean set_config(String str,String name_){
        SharedPreferences sharedPref = getSharedPreferences("APP_NAME", MODE_PRIVATE);
        SharedPreferences.Editor editor = sharedPref.edit();
        editor.putString(name_, str);
        editor.apply();
        return true;
    }
   public String read_config(String name_){
        SharedPreferences sharedPref = getSharedPreferences("APP_NAME", MODE_PRIVATE);
        return sharedPref.getString(name_,"NULL");
    }

 


This entry was posted in Experience, Functions, Java By Weil Jimmer.

 1 2 3 /3 頁)下一頁 最終頁

Visitor Count

pop
nonenonenone

Note

WPA2 已被 KRACK 攻擊破解!請更新 WiFi 軟體。

歡迎前來本站。

Search

Republic Of China
Privacy is your right and ability to be yourself and express yourself without the fear that someone is looking over your shoulder and that you might be punished for being yourself, whatever that may be.

It is quality rather than quantity that matters.

I WANT Internet Freedom.

Reality made most of people lost their childishness.

Justice,Freedom,Knowledge.

Support/Donate

This site also need a little money to maintain operations, not entirely without any cost in the Internet. Your donations will be the best support and power of the site.
MethodBitcoin Address
bitcoin1NRMVGGpm2T1pmeejisLSEhCXfCefEW9V4
paypal

The Lie We Live

youtube

The Questions We Never Ask

youtube

Support The Zeitgeist Movement

The Zeitgeist Movement

Man

youtube

In The Fall

youtube

Facebook is EATING the Internet

Facebook

Recent Comments

sickcatail on STEAM免費序號

包包 on STEAM免費序號

問問題 on 最棒的手機通訊軟體 Telegram

unocme on STEAM免費序號

窩仔 on STEAM免費序號

Categories

Announcement (4)

Bash (2)

C (1)

C# (4)

C++ (1)

Experience (38)

Flash (2)

Free (10)

Functions (35)

Games (13)

General (44)

HTML (7)

Java (12)

JS (7)

Mood (23)

Note (24)

Office (1)

PHP (9)

Privacy (3)

Product (9)

Python (4)

Software (8)

The Internet (15)

Tools (12)

VB.NET (8)

WebHosting (7)

Wi-Fi (5)

XML (4)