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
<!-- クラスの一覧を表示 --> | |
<pre> | |
<?php var_dump(get_class_methods(new Hoge())); ?> | |
</pre> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="Black">#000000</color> | |
<color name="Navy">#000080</color> | |
<color name="DarkBlue">#00008B</color> | |
<color name="MediumBlue">#0000CD</color> | |
<color name="Blue">#0000FF</color> | |
<color name="DarkGreen">#006400</color> | |
<color name="Green">#008000</color> |
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 org.example.test; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
public class CustomData implements Parcelable{ | |
private int int_1; | |
private String str_1; | |
private String str_2; |
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 org.example.test; | |
import java.util.List; | |
import com.android.volley.RequestQueue; | |
import com.android.volley.toolbox.ImageLoader; | |
import com.android.volley.toolbox.ImageLoader.ImageContainer; | |
import com.android.volley.toolbox.ImageLoader.ImageListener; | |
import com.android.volley.toolbox.Volley; |
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
/* | |
* 基本的な実装は他を参照してくだち!>< | |
* | |
*/ | |
GoogleMap _map; | |
private void init_map(){ | |
_map = ((SupportMapFragment)fragment).getMap(); | |
_map.setInfoWindowAdapter(new CustomInfoAdapter()); | |
} |
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 org.example.test; | |
import com.android.volley.toolbox.ImageLoader.ImageCache; | |
import android.graphics.Bitmap; | |
import android.util.LruCache; | |
public class BitmapCache implements ImageCache { | |
private LruCache<String, Bitmap> _cache; |
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
02-08 11:31:26.289: E/AndroidRuntime(9011): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850) | |
02-08 11:31:26.289: E/AndroidRuntime(9011): at dalvik.system.NativeStart.main(Native Method) | |
02-08 11:31:26.289: E/AndroidRuntime(9011): Caused by: java.lang.IllegalArgumentException: Binary XML file line #7: Duplicate id 0x7f050007, tag null, or parent id 0xffffffff with another fragment for com.google.android.gms.maps.MapFragment | |
02-08 11:31:26.289: E/AndroidRuntime(9011): at android.app.Activity.onCreateView(Activity.java:4783) | |
02-08 11:31:26.289: E/AndroidRuntime(9011): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680) |
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 org.example.fortesting2; | |
import android.os.Bundle; | |
import android.app.Activity; | |
import android.content.res.Configuration; | |
import android.util.DisplayMetrics; | |
import android.view.Menu; | |
public class MainActivity extends Activity { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | |
<item> | |
<shape> | |
<solid android:color="#CCCCCC" /> | |
</shape> | |
</item> | |
<item | |
android:state_selected="false" |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="org.example.mapapiv2" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="17" | |
android:targetSdkVersion="19" /> |