發表文章

How to Enable Developer Settings in Android 4.2

Here is a quick instructions guide on how to get those developer settings back on your new Android phone with Android 4.2 on it. Step 1 - Go to Settings > About phone. Step 2 - Scroll down to the bottom to “Build number.” Step 3 - Tap “Build number” five times. You will see a dialogue box that says you are only four taps away from being a developer. Continue tapping four (4) more times. Step 4 - Developer options will be under Settings are back!

Root Samsung Google Nexus S in Mac

Today i rooted my phone Nexus s in Mac. 1) Download the "androidsdk.zip" file from here:  http://www.box.net/shared/ljhg8t5sjh Unzip that file (if not already unzipped automatically upon download), and place the "androidsdk" folder on your Desktop. It has to be in this location for the rest of the steps to work. 2) On your phone, go to Menu>Settings>Applications. Select "Development" and check the box next to "USB debugging" 3) Connect the phone to your Mac via the USB cable 4) Open a Terminal window on your Mac (Applications>Utilities>Terminal), and copy/paste the following into the Terminal: Code: ~/Desktop/androidsdk/platform-tools/adb reboot bootloader Hit "Return" and wait for your phone to to reboot into Bootloader/Fastboot mode 5) If your Bootloader screen says "LOCK STATE - UNLOCKED" then skip to Step 6. If it says "LOCK STATE - LOCKED" then copy/paste the following into the Ter...

Facebook Flash Game

圖片
護樹 行動組 我有參與做的Facebook Flash Game. https://apps.facebook.com/treecare-facebook/?fb_source=bookmark_seeall&ref=bookmarks

[Android development] How to use View Pager

圖片
This example shows how you can create an image pager in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it ViewPagerExample. 2.) Write following into main.xml: 1 2 3 4 5 6 7 8 9 10 11 12 13 <?xml version= "1.0" encoding= "utf-8" ?> <LinearLayout xmlns:android= " http://schemas.android.com/apk/res/android "      android:layout_width= "fill_parent"      android:layout_height= "fill_parent"      android:orientation= "vertical" >      <android.support.v4.view.ViewPager          android:id= "@+id/pager"          android:layout_width= "match_parent"          android:layout_height= "match_parent"           /> </LinearLayout...