This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static String getPropSystem(String key) throws IOException { | |
| BufferedReader bis = null; | |
| try { | |
| Process ifc = Runtime.getRuntime().exec("getprop " + key); | |
| bis = new BufferedReader(new InputStreamReader(ifc.getInputStream())); | |
| return bis.readLine(); | |
| } finally { | |
| bis.close(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package roboguice.astroboy; | |
| import android.content.Context; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.BaseAdapter; | |
| import com.google.inject.internal.Nullable; | |
| import roboguice.inject.InjectView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tomgibara.android.util; | |
| import android.content.Context; | |
| import android.content.res.TypedArray; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| /** | |
| * A layout that arranges views into a grid of same-sized squares. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.jakewharton.utilities; | |
| import android.content.Context; | |
| import android.graphics.drawable.Drawable; | |
| import android.preference.CheckBoxPreference; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.widget.ImageView; | |
| import com.jakewharton.wakkawallpaper.R; |
NewerOlder