We only need to add this code in AndroidManifest.xml:
android:launchMode="singleInstance"
Remember that I have only test this on android ICS 4.0.4.
android:launchMode="singleInstance"
Remember that I have only test this on android ICS 4.0.4.
mkdir /homes
b. mount /dev/sda2 to /homes mount /dev/sda2 /homes
3. Copy all data from home partition to new partition (directory) with rsync command. rsync -avhW --no-compress --progress /home/ /homes/
For another type of rsync, please read here. mv /home /oldhome
5. Umount home and new partition directory then remount new partition directory. umount /home
umount /homes
mkdir /home
mount /dev/sda2 /home
6. Edit fstab by adding new entry pointing to the new partition. /dev/sda2 /home ext4 defaults 1 1
7. Confirm that everything is okay, then delete /oldhome.
telnet 192.168.1.1
rt setbssidnum 3
rt node index 3
rt node ssid "WiFi 3"
rt node authmode wpapsk
rt node encryptype aes
rt node wpapsk inipasswordnya
rt node save
rt node display
![]() |
| Gambar 1. Error 5B00 |
| Gambar 2. Tombol Reset yang harus ditekan |
<color name="blue_middle">#3C73FF</color> <color name="blue">#33b5e5</color> <color name="blue_hard">#2ea9d6</color>2. Add custom_button.xml in res/drawable. Here the code:
<?xml version="1.0" encoding="utf-8"?>3. Add tag android:background="@drawable/custom_button" for the button in the layout. For example, here is my button code in layout (the bold text is the tag):
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" >
<shape>
<gradient
android:startColor="@color/blue_hard"
android:endColor="@color/blue"
android:angle="270" />
<stroke
android:width="3dp"
android:color="@color/blue_middle" />
<corners
android:radius="3dp" />
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
</shape>
</item>
<item android:state_focused="true" >
<shape>
<gradient
android:endColor="@color/blue"
android:startColor="@color/blue"
android:angle="270" />
<stroke
android:width="3dp"
android:color="@color/blue_middle" />
<corners
android:radius="3dp" />
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
</shape>
</item>
<item>
<shape>
<gradient
android:endColor="@color/blue"
android:startColor="@color/blue"
android:angle="270" />
<stroke
android:width="3dp"
android:color="@color/blue" />
<corners
android:radius="3dp" />
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
</shape>
</item>
</selector>
<Button
android:id="@+id/buttonOpen"
android:layout_width="300sp"
android:layout_height="wrap_content"
android:layout_marginTop="10sp"
android:text="@string/login_screen_button_open"
android:background="@drawable/custom_button"/>
![]() |
| sumber gambar http://mediart1.blogspot.com |
(defun set-frame-alpha (arg &optional active)
(interactive "nEnter alpha value (1-100): \np")
(let* ((elt (assoc 'alpha default-frame-alist))
(old (frame-parameter nil 'alpha))
(new (cond ((atom old) `(,arg ,arg))
((eql 1 active) `(,arg ,(cadr old)))
(t `(,(car old) ,arg)))))
(if elt (setcdr elt new) (push `(alpha ,@new) default-frame-alist))
(set-frame-parameter nil 'alpha new)))
(global-set-key (kbd "C-c t") 'set-frame-alpha)
![]() |
| Saat menekan perintah C-c t akan muncul enter alpha value di bagian bawah |
su // ini perintah untuk mengakses fitur root
getprop net.hostname // perintah ini untuk mendapatkan nama perangkat android
setprop net.hostname <nama_host> // <nama-host> ganti dengan nama perangkat yang Anda ingini
su
setprop net.hostname AndroidSuper
getprop net.hostnameDan perubahan juga bisa dilihat melalui monitor WiFi melalui perangkat WiFi Anda.
TabelDuplikat
-----------
RowID int not null identity(1,1) primary key,
Col1 varchar(20) not null,
Col2 varchar(2048) not null,
Col3 tinyint not null
DELETETabelDuplikatFROM TabelDuplikatLEFT OUTER JOIN ( SELECT MIN(RowId) as RowId, Col1, Col2, Col3 FROM TabelDuplikatGROUP BY Col1, Col2, Col3 ) as BarisDipertahankan ON TabelDuplikat.RowId =BarisDipertahankan.RowIdWHEREBarisDipertahankan.RowId IS NULLGunakan:CONVERT(uniqueidentifier, MIN(CONVERT(char(36), KolomGuidKu)))menggantikan MIN(RowId) jika kita menggunakan GUID sebagai ganti integer
Setting DHCP Server pada ZTE F660 (ZXHN F660)
Port Forwarding di ZTE f660
Cara Root Advan T4i Amlogic
Konversi Pound (Lbs) ke Kg
Mengatasi The Panel key is locked Sony 3LCD Projector
Arti Songong
Cara Flash Lenovo K860 ideaPhone
Pencampuran semua warna menghasilkan warna apa?
Mitos ayam berkokok saat maghrib ada wanita hamil pra-nikah