From d8694d8d041f9b78135901e4f74be75bb51c03fe Mon Sep 17 00:00:00 2001 From: mypapit Date: Wed, 18 Mar 2015 00:41:24 +0800 Subject: [PATCH] Repeater.my 2.0.2 (2015-03-18) --- AndroidManifest.xml | 4 +- proguard/dump.txt | 788 +++++++++++++----- proguard/mapping.txt | 12 +- res/raw/contributor | 2 + res/raw/repeaterdata5.txt | 8 +- .../mobile/myrepeater/ContribActivity.java | 2 +- .../mobile/myrepeater/CorrectActivity.java | 23 + .../mypapit/mobile/myrepeater/Repeater.java | 2 +- .../mobile/myrepeater/RepeaterAdapter.java | 8 +- .../myrepeater/RepeaterDetailsActivity.java | 2 +- .../mobile/myrepeater/RepeaterList.java | 2 +- .../myrepeater/RepeaterListActivity.java | 4 +- .../mobile/myrepeater/StaticLocation.java | 2 +- .../myrepeater/StaticLocationActivity.java | 19 +- .../myrepeater/StaticLocationAdapter.java | 47 +- .../SuggestRepeaterSecondActivity.java | 2 +- .../SuggestRepeaterStartActivity.java | 2 +- .../myrepeater/WalkthroughActivity.java | 2 +- 18 files changed, 692 insertions(+), 239 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index f0389b6..f4aa342 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="202" + android:versionName="2.0.2" > () Class member attributes (count = 1): - + Code attribute instructions (code length = 96, locals = 0, stack = 4): + + Code attribute instructions (code length = 136, locals = 0, stack = 4): [0] aconst_null [1] putstatic #57 + Fieldref [net/mypapit/mobile/myrepeater/a.d Landroid/view/LayoutInflater;] - [4] bipush 14 + [4] bipush 20 [6] newarray 10 [8] dup [9] iconst_1 - [10] bipush 50 + [10] bipush 25 [12] iastore [13] dup [14] iconst_2 - [15] bipush 100 + [15] bipush 50 [17] iastore [18] dup [19] iconst_3 - [20] sipush 150 - [23] iastore - [24] dup - [25] iconst_4 - [26] sipush 200 - [29] iastore - [30] dup - [31] iconst_5 - [32] sipush 300 - [35] iastore - [36] dup - [37] bipush 6 - [39] sipush 400 - [42] iastore - [43] dup - [44] bipush 7 - [46] sipush 500 - [49] iastore - [50] dup - [51] bipush 8 - [53] sipush 600 - [56] iastore - [57] dup - [58] bipush 9 - [60] sipush 700 - [63] iastore - [64] dup - [65] bipush 10 - [67] sipush 800 - [70] iastore - [71] dup - [72] bipush 11 - [74] sipush 900 - [77] iastore - [78] dup - [79] bipush 12 - [81] sipush 1000 - [84] iastore - [85] dup - [86] bipush 13 - [88] sipush 1500 - [91] iastore - [92] putstatic #62 + [20] bipush 75 + [22] iastore + [23] dup + [24] iconst_4 + [25] bipush 100 + [27] iastore + [28] dup + [29] iconst_5 + [30] sipush 150 + [33] iastore + [34] dup + [35] bipush 6 + [37] sipush 200 + [40] iastore + [41] dup + [42] bipush 7 + [44] sipush 250 + [47] iastore + [48] dup + [49] bipush 8 + [51] sipush 300 + [54] iastore + [55] dup + [56] bipush 9 + [58] sipush 350 + [61] iastore + [62] dup + [63] bipush 10 + [65] sipush 400 + [68] iastore + [69] dup + [70] bipush 11 + [72] sipush 500 + [75] iastore + [76] dup + [77] bipush 12 + [79] sipush 600 + [82] iastore + [83] dup + [84] bipush 13 + [86] sipush 700 + [89] iastore + [90] dup + [91] bipush 14 + [93] sipush 800 + [96] iastore + [97] dup + [98] bipush 15 + [100] sipush 900 + [103] iastore + [104] dup + [105] bipush 16 + [107] sipush 1000 + [110] iastore + [111] dup + [112] bipush 17 + [114] sipush 1250 + [117] iastore + [118] dup + [119] bipush 18 + [121] sipush 1500 + [124] iastore + [125] dup + [126] bipush 19 + [128] sipush 1750 + [131] iastore + [132] putstatic #62 + Fieldref [net/mypapit/mobile/myrepeater/a.i [I] - [95] return + [135] return Code attribute exceptions (count = 0): Code attribute attributes (attribute count = 0): - Method: (Landroid/app/Activity;Lnet/mypapit/mobile/myrepeater/g;Lnet/mypapit/mobile/myrepeater/Repeater;FZZ)V @@ -603005,7 +603029,7 @@ Methods (count = 13): [22] dstore v4 [24] dload v4 [26] ldc2_w #50 - + Double [9.0] + + Double [9.5] [29] dadd [30] getstatic #62 + Fieldref [net/mypapit/mobile/myrepeater/a.i [I] @@ -605204,7 +605228,7 @@ Constant Pool (count = 657): Disable Location Service now?] + String [Number error] - + String [Read CSV Error] + + String [Read CSV Error mypapit] + String [Repeater] + String [Search is unavailable for Gingerbread (2.3.7) and below] + String [Simulated] @@ -605654,7 +605678,7 @@ Disable Location Service now?] Disable Location Service now?] + Utf8 [Number error] - + Utf8 [Read CSV Error] + + Utf8 [Read CSV Error mypapit] + Utf8 [Repeater] + Utf8 [SDK_INT] + Utf8 [Search is unavailable for Gingerbread (2.3.7) and below] @@ -606417,7 +606441,7 @@ Methods (count = 21): [152] goto +111 (target=263) [155] astore v4 [157] ldc #33 - + String [Read CSV Error] + + String [Read CSV Error mypapit] [159] ldc #37 + String [Some CSV Error: ] [161] aload v4 @@ -610657,7 +610681,7 @@ _____________________________________________________________________ Interfaces (count = 0): -Constant Pool (count = 243): +Constant Pool (count = 258): + Integer [2130903052] + Integer [2130968576] + Integer [2130968577] @@ -610695,15 +610719,17 @@ Constant Pool (count = 243): + Class [java/lang/StringBuilder] + Class [java/lang/System] + Class [java/util/ArrayList] + + Class [java/util/Collections] + Class [net/mypapit/mobile/myrepeater/StaticLocationActivity] + Class [net/mypapit/mobile/myrepeater/u] + Class [net/mypapit/mobile/myrepeater/v] + Class [net/mypapit/mobile/myrepeater/w] + Class [net/mypapit/mobile/myrepeater/x] + + Class [net/mypapit/mobile/myrepeater/y] + Fieldref [android/os/Build$VERSION.SDK_INT I] + Fieldref [java/lang/System.err Ljava/io/PrintStream;] + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a Landroid/widget/ListView;] - + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b Lnet/mypapit/mobile/myrepeater/x;] + + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b Lnet/mypapit/mobile/myrepeater/y;] + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.c Landroid/app/Activity;] + Methodref [a/a/a/a/a. (Ljava/io/Reader;CCI)V] + Methodref [a/a/a/a/a.a ()[Ljava/lang/String;] @@ -610718,7 +610744,9 @@ Constant Pool (count = 243): + Methodref [android/widget/Button.setAnimation (Landroid/view/animation/Animation;)V] + Methodref [android/widget/Button.setOnClickListener (Landroid/view/View$OnClickListener;)V] + Methodref [android/widget/ListView.setAdapter (Landroid/widget/ListAdapter;)V] + + Methodref [android/widget/ListView.setFastScrollEnabled (Z)V] + Methodref [android/widget/ListView.setOnItemClickListener (Landroid/widget/AdapterView$OnItemClickListener;)V] + + Methodref [android/widget/ListView.setVerticalScrollBarEnabled (Z)V] + Methodref [android/widget/Toast.makeText (Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;] + Methodref [android/widget/Toast.show ()V] + Methodref [java/io/BufferedReader. (Ljava/io/Reader;)V] @@ -610734,6 +610762,7 @@ Constant Pool (count = 243): + Methodref [java/lang/StringBuilder.toString ()Ljava/lang/String;] + Methodref [java/util/ArrayList. ()V] + Methodref [java/util/ArrayList.add (Ljava/lang/Object;)Z] + + Methodref [java/util/Collections.sort (Ljava/util/List;Ljava/util/Comparator;)V] + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a (I)Ljava/util/ArrayList;] + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.findViewById (I)Landroid/view/View;] + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.getActionBar ()Landroid/app/ActionBar;] @@ -610744,7 +610773,8 @@ Constant Pool (count = 243): + Methodref [net/mypapit/mobile/myrepeater/u. (Ljava/lang/String;Ljava/lang/String;DD)V] + Methodref [net/mypapit/mobile/myrepeater/v. (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] + Methodref [net/mypapit/mobile/myrepeater/w. (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] - + Methodref [net/mypapit/mobile/myrepeater/x. (Ljava/util/ArrayList;Landroid/content/Context;)V] + + Methodref [net/mypapit/mobile/myrepeater/x. (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] + + Methodref [net/mypapit/mobile/myrepeater/y. (Ljava/util/ArrayList;Landroid/content/Context;)V] + InterfaceMethodref [android/view/MenuItem.getItemId ()I] + NameAndType [ ()V] + NameAndType [ (Ljava/io/InputStream;)V] @@ -610762,7 +610792,7 @@ Constant Pool (count = 243): + NameAndType [add (Ljava/lang/Object;)Z] + NameAndType [append (I)Ljava/lang/StringBuilder;] + NameAndType [append (Ljava/lang/String;)Ljava/lang/StringBuilder;] - + NameAndType [b Lnet/mypapit/mobile/myrepeater/x;] + + NameAndType [b Lnet/mypapit/mobile/myrepeater/y;] + NameAndType [c Landroid/app/Activity;] + NameAndType [close ()V] + NameAndType [e (Ljava/lang/String;Ljava/lang/String;)I] @@ -610784,9 +610814,12 @@ Constant Pool (count = 243): + NameAndType [setAnimation (Landroid/view/animation/Animation;)V] + NameAndType [setContentView (I)V] + NameAndType [setDisplayHomeAsUpEnabled (Z)V] + + NameAndType [setFastScrollEnabled (Z)V] + NameAndType [setOnClickListener (Landroid/view/View$OnClickListener;)V] + NameAndType [setOnItemClickListener (Landroid/widget/AdapterView$OnItemClickListener;)V] + + NameAndType [setVerticalScrollBarEnabled (Z)V] + NameAndType [show ()V] + + NameAndType [sort (Ljava/util/List;Ljava/util/Comparator;)V] + NameAndType [toString ()Ljava/lang/String;] + NameAndType [valueOf (Ljava/lang/Object;)Ljava/lang/String;] + Utf8 [()I] @@ -610823,8 +610856,9 @@ Constant Pool (count = 243): + Utf8 [(Ljava/lang/String;Ljava/lang/String;)I] + Utf8 [(Ljava/lang/String;Ljava/lang/String;DD)V] + Utf8 [(Ljava/util/ArrayList;Landroid/content/Context;)V] + + Utf8 [(Ljava/util/List;Ljava/util/Comparator;)V] + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Landroid/app/Activity;] - + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/x;] + + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/y;] + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] + Utf8 [(Z)V] + Utf8 [: at line -] @@ -610835,7 +610869,7 @@ Constant Pool (count = 243): + Utf8 [Landroid/app/Activity;] + Utf8 [Landroid/widget/ListView;] + Utf8 [Ljava/io/PrintStream;] - + Utf8 [Lnet/mypapit/mobile/myrepeater/x;] + + Utf8 [Lnet/mypapit/mobile/myrepeater/y;] + Utf8 [NumberFormatException: Couldn't read long/lat at line: ] + Utf8 [SDK_INT] + Utf8 [StackMapTable] @@ -610876,6 +610910,7 @@ Constant Pool (count = 243): + Utf8 [java/lang/StringBuilder] + Utf8 [java/lang/System] + Utf8 [java/util/ArrayList] + + Utf8 [java/util/Collections] + Utf8 [loadAnimation] + Utf8 [makeText] + Utf8 [mypapit-static-location] @@ -610884,6 +610919,7 @@ Constant Pool (count = 243): + Utf8 [net/mypapit/mobile/myrepeater/v] + Utf8 [net/mypapit/mobile/myrepeater/w] + Utf8 [net/mypapit/mobile/myrepeater/x] + + Utf8 [net/mypapit/mobile/myrepeater/y] + Utf8 [onCreate] + Utf8 [onOptionsItemSelected] + Utf8 [onPause] @@ -610895,9 +610931,12 @@ Constant Pool (count = 243): + Utf8 [setAnimation] + Utf8 [setContentView] + Utf8 [setDisplayHomeAsUpEnabled] + + Utf8 [setFastScrollEnabled] + Utf8 [setOnClickListener] + Utf8 [setOnItemClickListener] + + Utf8 [setVerticalScrollBarEnabled] + Utf8 [show] + + Utf8 [sort] + Utf8 [toString] + Utf8 [valueOf] @@ -610905,9 +610944,9 @@ Fields (count = 3): + Field: a Landroid/widget/ListView; Access flags: 0x2 = private android.widget.ListView a - + Field: b Lnet/mypapit/mobile/myrepeater/x; + + Field: b Lnet/mypapit/mobile/myrepeater/y; Access flags: 0x2 - = private net.mypapit.mobile.myrepeater.x b + = private net.mypapit.mobile.myrepeater.y b + Field: c Landroid/app/Activity; Access flags: 0x2 = private android.app.Activity c @@ -610919,7 +610958,7 @@ Methods (count = 7): Class member attributes (count = 1): + Code attribute instructions (code length = 5, locals = 1, stack = 1): [0] aload_0 v0 - [1] invokespecial #51 + [1] invokespecial #53 + Methodref [android/app/Activity. ()V] [4] return Code attribute exceptions (count = 0): @@ -610928,112 +610967,124 @@ Methods (count = 7): Access flags: 0x4 = protected void onCreate(android.os.Bundle) Class member attributes (count = 1): - + Code attribute instructions (code length = 139, locals = 5, stack = 5): + + Code attribute instructions (code length = 155, locals = 5, stack = 5): [0] aload_0 v0 [1] aload_1 v1 - [2] invokespecial #52 + [2] invokespecial #54 + Methodref [android/app/Activity.onCreate (Landroid/os/Bundle;)V] [5] aload_0 v0 [6] ldc #1 + Integer [2130903052] - [8] invokevirtual #83 + [8] invokevirtual #88 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.setContentView (I)V] [11] aload_0 v0 [12] ldc #5 + Integer [2130968581] [14] ldc #2 + Integer [2130968576] - [16] invokevirtual #82 + [16] invokevirtual #87 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.overridePendingTransition (II)V] - [19] getstatic #43 + [19] getstatic #45 + Fieldref [android/os/Build$VERSION.SDK_INT I] [22] bipush 11 [24] ificmplt +11 (target=35) [27] aload_0 v0 - [28] invokevirtual #79 + [28] invokevirtual #84 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.getActionBar ()Landroid/app/ActionBar;] [31] iconst_1 - [32] invokevirtual #50 + [32] invokevirtual #52 + Methodref [android/app/ActionBar.setDisplayHomeAsUpEnabled (Z)V] [35] aload_0 v0 [36] aload_0 v0 - [37] putfield #47 + [37] putfield #49 + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.c Landroid/app/Activity;] [40] aload_0 v0 [41] ldc #7 + Integer [2131099650] - [43] invokevirtual #77 + [43] invokevirtual #82 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a (I)Ljava/util/ArrayList;] [46] astore_2 v2 [47] aload_0 v0 [48] aload_0 v0 [49] ldc #9 + Integer [2131165251] - [51] invokevirtual #78 + [51] invokevirtual #83 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.findViewById (I)Landroid/view/View;] [54] checkcast #25 + Class [android/widget/ListView] - [57] putfield #45 + [57] putfield #47 + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a Landroid/widget/ListView;] [60] aload_0 v0 [61] ldc #8 + Integer [2131165250] - [63] invokevirtual #78 + [63] invokevirtual #83 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.findViewById (I)Landroid/view/View;] [66] checkcast #24 + Class [android/widget/Button] [69] astore_3 v3 [70] aload_0 v0 - [71] invokevirtual #80 + [71] invokevirtual #85 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.getApplicationContext ()Landroid/content/Context;] [74] ldc #6 + Integer [2130968584] - [76] invokestatic #57 + [76] invokestatic #59 + Methodref [android/view/animation/AnimationUtils.loadAnimation (Landroid/content/Context;I)Landroid/view/animation/Animation;] [79] astore v4 [81] aload_3 v3 [82] aload v4 - [84] invokevirtual #58 + [84] invokevirtual #60 + Methodref [android/widget/Button.setAnimation (Landroid/view/animation/Animation;)V] [87] aload_0 v0 - [88] new #42 - + Class [net/mypapit/mobile/myrepeater/x] + [88] new #44 + + Class [net/mypapit/mobile/myrepeater/y] [91] dup [92] aload_2 v2 [93] aload_0 v0 - [94] invokespecial #87 - + Methodref [net/mypapit/mobile/myrepeater/x. (Ljava/util/ArrayList;Landroid/content/Context;)V] - [97] putfield #46 - + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b Lnet/mypapit/mobile/myrepeater/x;] + [94] invokespecial #93 + + Methodref [net/mypapit/mobile/myrepeater/y. (Ljava/util/ArrayList;Landroid/content/Context;)V] + [97] putfield #48 + + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b Lnet/mypapit/mobile/myrepeater/y;] [100] aload_0 v0 - [101] getfield #45 + [101] getfield #47 + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a Landroid/widget/ListView;] [104] aload_0 v0 - [105] getfield #46 - + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b Lnet/mypapit/mobile/myrepeater/x;] - [108] invokevirtual #60 + [105] getfield #48 + + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b Lnet/mypapit/mobile/myrepeater/y;] + [108] invokevirtual #62 + Methodref [android/widget/ListView.setAdapter (Landroid/widget/ListAdapter;)V] [111] aload_0 v0 - [112] getfield #45 + [112] getfield #47 + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a Landroid/widget/ListView;] - [115] new #40 + [115] new #41 + Class [net/mypapit/mobile/myrepeater/v] [118] dup [119] aload_0 v0 - [120] invokespecial #85 + [120] invokespecial #90 + Methodref [net/mypapit/mobile/myrepeater/v. (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] - [123] invokevirtual #61 + [123] invokevirtual #64 + Methodref [android/widget/ListView.setOnItemClickListener (Landroid/widget/AdapterView$OnItemClickListener;)V] [126] aload_3 v3 - [127] new #41 - + Class [net/mypapit/mobile/myrepeater/w] + [127] new #43 + + Class [net/mypapit/mobile/myrepeater/x] [130] dup [131] aload_0 v0 - [132] invokespecial #86 - + Methodref [net/mypapit/mobile/myrepeater/w. (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] - [135] invokevirtual #59 + [132] invokespecial #92 + + Methodref [net/mypapit/mobile/myrepeater/x. (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] + [135] invokevirtual #61 + Methodref [android/widget/Button.setOnClickListener (Landroid/view/View$OnClickListener;)V] - [138] return + [138] aload_0 v0 + [139] getfield #47 + + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a Landroid/widget/ListView;] + [142] iconst_1 + [143] invokevirtual #63 + + Methodref [android/widget/ListView.setFastScrollEnabled (Z)V] + [146] aload_0 v0 + [147] getfield #47 + + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a Landroid/widget/ListView;] + [150] iconst_1 + [151] invokevirtual #65 + + Methodref [android/widget/ListView.setVerticalScrollBarEnabled (Z)V] + [154] return Code attribute exceptions (count = 0): Code attribute attributes (attribute count = 1): + Stack map table attribute (count = 1): @@ -611042,34 +611093,34 @@ Methods (count = 7): Access flags: 0x1 = public java.util.ArrayList a(int) Class member attributes (count = 1): - + Code attribute instructions (code length = 230, locals = 9, stack = 9): + + Code attribute instructions (code length = 242, locals = 9, stack = 9): [0] new #37 + Class [java/util/ArrayList] [3] dup - [4] invokespecial #75 + [4] invokespecial #79 + Methodref [java/util/ArrayList. ()V] [7] astore_2 v2 [8] iconst_0 [9] istore_3 v3 [10] aload_0 v0 - [11] invokevirtual #81 + [11] invokevirtual #86 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.getResources ()Landroid/content/res/Resources;] [14] iload_1 v1 - [15] invokevirtual #54 + [15] invokevirtual #56 + Methodref [android/content/res/Resources.openRawResource (I)Ljava/io/InputStream;] [18] astore v4 [20] new #30 + Class [java/io/InputStreamReader] [23] dup [24] aload v4 - [26] invokespecial #66 + [26] invokespecial #70 + Methodref [java/io/InputStreamReader. (Ljava/io/InputStream;)V] [29] astore v5 [31] new #27 + Class [java/io/BufferedReader] [34] dup [35] aload v5 - [37] invokespecial #64 + [37] invokespecial #68 + Methodref [java/io/BufferedReader. (Ljava/io/Reader;)V] [40] astore v6 [42] new #15 @@ -611079,13 +611130,13 @@ Methods (count = 7): [48] bipush 59 [50] bipush 34 [52] iconst_0 - [53] invokespecial #48 + [53] invokespecial #50 + Methodref [a/a/a/a/a. (Ljava/io/Reader;CCI)V] [56] astore v7 [58] goto +40 (target=98) [61] iinc v3, 1 [64] aload_2 v2 - [65] new #39 + [65] new #40 + Class [net/mypapit/mobile/myrepeater/u] [68] dup [69] aload v8 @@ -611097,26 +611148,26 @@ Methods (count = 7): [77] aload v8 [79] iconst_2 [80] aaload - [81] invokestatic #67 + [81] invokestatic #71 + Methodref [java/lang/Double.parseDouble (Ljava/lang/String;)D] [84] aload v8 [86] iconst_3 [87] aaload - [88] invokestatic #67 + [88] invokestatic #71 + Methodref [java/lang/Double.parseDouble (Ljava/lang/String;)D] - [91] invokespecial #84 + [91] invokespecial #89 + Methodref [net/mypapit/mobile/myrepeater/u. (Ljava/lang/String;Ljava/lang/String;DD)V] - [94] invokevirtual #76 + [94] invokevirtual #80 + Methodref [java/util/ArrayList.add (Ljava/lang/Object;)Z] [97] pop [98] aload v7 - [100] invokevirtual #49 + [100] invokevirtual #51 + Methodref [a/a/a/a/a.a ()[Ljava/lang/String;] [103] dup [104] astore v8 [106] ifnonnull -45 (target=61) [109] aload v6 - [111] invokevirtual #65 + [111] invokevirtual #69 + Methodref [java/io/BufferedReader.close ()V] [114] goto +114 (target=228) [117] astore v4 @@ -611124,9 +611175,9 @@ Methods (count = 7): [120] ldc #11 + String [IOException: Couldn't read static location file] [122] iconst_0 - [123] invokestatic #62 + [123] invokestatic #66 + Methodref [android/widget/Toast.makeText (Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;] - [126] invokevirtual #63 + [126] invokevirtual #67 + Methodref [android/widget/Toast.show ()V] [129] goto +99 (target=228) [132] astore v4 @@ -611136,17 +611187,17 @@ Methods (count = 7): [138] dup [139] ldc #12 + String [NumberFormatException: Couldn't read long/lat at line: ] - [141] invokespecial #71 + [141] invokespecial #75 + Methodref [java/lang/StringBuilder. (Ljava/lang/String;)V] [144] iload_3 v3 - [145] invokevirtual #72 + [145] invokevirtual #76 + Methodref [java/lang/StringBuilder.append (I)Ljava/lang/StringBuilder;] - [148] invokevirtual #74 + [148] invokevirtual #78 + Methodref [java/lang/StringBuilder.toString ()Ljava/lang/String;] [151] iconst_0 - [152] invokestatic #62 + [152] invokestatic #66 + Methodref [android/widget/Toast.makeText (Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;] - [155] invokevirtual #63 + [155] invokevirtual #67 + Methodref [android/widget/Toast.show ()V] [158] goto +70 (target=228) [161] astore v4 @@ -611155,25 +611206,25 @@ Methods (count = 7): + Class [java/lang/StringBuilder] [167] dup [168] aload v4 - [170] invokevirtual #69 + [170] invokevirtual #73 + Methodref [java/lang/Exception.toString ()Ljava/lang/String;] - [173] invokestatic #70 + [173] invokestatic #74 + Methodref [java/lang/String.valueOf (Ljava/lang/Object;)Ljava/lang/String;] - [176] invokespecial #71 + [176] invokespecial #75 + Methodref [java/lang/StringBuilder. (Ljava/lang/String;)V] [179] ldc #10 + String [: at line -] - [181] invokevirtual #73 + [181] invokevirtual #77 + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;] [184] iload_3 v3 - [185] invokevirtual #72 + [185] invokevirtual #76 + Methodref [java/lang/StringBuilder.append (I)Ljava/lang/StringBuilder;] - [188] invokevirtual #74 + [188] invokevirtual #78 + Methodref [java/lang/StringBuilder.toString ()Ljava/lang/String;] [191] iconst_0 - [192] invokestatic #62 + [192] invokestatic #66 + Methodref [android/widget/Toast.makeText (Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;] - [195] invokevirtual #63 + [195] invokevirtual #67 + Methodref [android/widget/Toast.show ()V] [198] ldc #13 + String [mypapit-static-location] @@ -611182,23 +611233,32 @@ Methods (count = 7): [203] dup [204] ldc #10 + String [: at line -] - [206] invokespecial #71 + [206] invokespecial #75 + Methodref [java/lang/StringBuilder. (Ljava/lang/String;)V] [209] iload_3 v3 - [210] invokevirtual #72 + [210] invokevirtual #76 + Methodref [java/lang/StringBuilder.append (I)Ljava/lang/StringBuilder;] - [213] invokevirtual #74 + [213] invokevirtual #78 + Methodref [java/lang/StringBuilder.toString ()Ljava/lang/String;] - [216] invokestatic #56 + [216] invokestatic #58 + Methodref [android/util/Log.e (Ljava/lang/String;Ljava/lang/String;)I] [219] pop [220] aload v4 - [222] getstatic #44 + [222] getstatic #46 + Fieldref [java/lang/System.err Ljava/io/PrintStream;] - [225] invokevirtual #68 + [225] invokevirtual #72 + Methodref [java/lang/Exception.printStackTrace (Ljava/io/PrintStream;)V] [228] aload_2 v2 - [229] areturn + [229] new #42 + + Class [net/mypapit/mobile/myrepeater/w] + [232] dup + [233] aload_0 v0 + [234] invokespecial #91 + + Methodref [net/mypapit/mobile/myrepeater/w. (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] + [237] invokestatic #81 + + Methodref [java/util/Collections.sort (Ljava/util/List;Ljava/util/Comparator;)V] + [240] aload_2 v2 + [241] areturn Code attribute exceptions (count = 3): - ExceptionInfo (10 -> 114: 117): + Class [java/io/IOException] @@ -611220,17 +611280,17 @@ Methods (count = 7): Class member attributes (count = 1): + Code attribute instructions (code length = 40, locals = 2, stack = 2): [0] aload_1 v1 - [1] invokeinterface #88 + [1] invokeinterface #94 + InterfaceMethodref [android/view/MenuItem.getItemId ()I] [6] tableswitch (1 offsets, default=32) (target=38) 16908332: offset = 18, target = 24 default: offset = 32, target = 38 - [24] getstatic #43 + [24] getstatic #45 + Fieldref [android/os/Build$VERSION.SDK_INT I] [27] bipush 11 [29] ificmplt +7 (target=36) [32] aload_0 v0 - [33] invokestatic #55 + [33] invokestatic #57 + Methodref [android/support/v4/app/ac.a (Landroid/app/Activity;)V] [36] iconst_1 [37] ireturn @@ -611248,26 +611308,26 @@ Methods (count = 7): Class member attributes (count = 1): + Code attribute instructions (code length = 13, locals = 1, stack = 3): [0] aload_0 v0 - [1] invokespecial #53 + [1] invokespecial #55 + Methodref [android/app/Activity.onPause ()V] [4] aload_0 v0 [5] ldc #4 + Integer [2130968580] [7] ldc #3 + Integer [2130968577] - [9] invokevirtual #82 + [9] invokevirtual #87 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.overridePendingTransition (II)V] [12] return Code attribute exceptions (count = 0): Code attribute attributes (attribute count = 0): - + Method: a(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/x; + + Method: a(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/y; Access flags: 0x1008 - = static synthetic net.mypapit.mobile.myrepeater.x a(net.mypapit.mobile.myrepeater.StaticLocationActivity) + = static synthetic net.mypapit.mobile.myrepeater.y a(net.mypapit.mobile.myrepeater.StaticLocationActivity) Class member attributes (count = 1): + Code attribute instructions (code length = 5, locals = 1, stack = 1): [0] aload_0 v0 - [1] getfield #46 - + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b Lnet/mypapit/mobile/myrepeater/x;] + [1] getfield #48 + + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b Lnet/mypapit/mobile/myrepeater/y;] [4] areturn Code attribute exceptions (count = 0): Code attribute attributes (attribute count = 0): @@ -611277,7 +611337,7 @@ Methods (count = 7): Class member attributes (count = 1): + Code attribute instructions (code length = 5, locals = 1, stack = 1): [0] aload_0 v0 - [1] getfield #47 + [1] getfield #49 + Fieldref [net/mypapit/mobile/myrepeater/StaticLocationActivity.c Landroid/app/Activity;] [4] areturn Code attribute exceptions (count = 0): @@ -611312,19 +611372,19 @@ Constant Pool (count = 93): + Class [net/mypapit/mobile/myrepeater/StaticLocationActivity] + Class [net/mypapit/mobile/myrepeater/u] + Class [net/mypapit/mobile/myrepeater/v] - + Class [net/mypapit/mobile/myrepeater/x] + + Class [net/mypapit/mobile/myrepeater/y] + Fieldref [net/mypapit/mobile/myrepeater/v.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + Methodref [android/support/v4/app/ac.a (Landroid/app/Activity;)V] + Methodref [java/lang/Object. ()V] + Methodref [java/text/SimpleDateFormat. (Ljava/lang/String;)V] + Methodref [java/text/SimpleDateFormat.format (Ljava/util/Date;)Ljava/lang/String;] + Methodref [java/util/Date. ()V] - + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/x;] + + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/y;] + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.b (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Landroid/app/Activity;] + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.getSharedPreferences (Ljava/lang/String;I)Landroid/content/SharedPreferences;] + Methodref [net/mypapit/mobile/myrepeater/u.c ()D] + Methodref [net/mypapit/mobile/myrepeater/u.d ()D] - + Methodref [net/mypapit/mobile/myrepeater/x.a (I)Lnet/mypapit/mobile/myrepeater/u;] + + Methodref [net/mypapit/mobile/myrepeater/y.a (I)Lnet/mypapit/mobile/myrepeater/u;] + InterfaceMethodref [android/content/SharedPreferences.edit ()Landroid/content/SharedPreferences$Editor;] + InterfaceMethodref [android/content/SharedPreferences$Editor.commit ()Z] + InterfaceMethodref [android/content/SharedPreferences$Editor.putFloat (Ljava/lang/String;F)Landroid/content/SharedPreferences$Editor;] @@ -611333,7 +611393,7 @@ Constant Pool (count = 93): + NameAndType [ (Ljava/lang/String;)V] + NameAndType [a (I)Lnet/mypapit/mobile/myrepeater/u;] + NameAndType [a (Landroid/app/Activity;)V] - + NameAndType [a (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/x;] + + NameAndType [a (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/y;] + NameAndType [a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + NameAndType [b (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Landroid/app/Activity;] + NameAndType [c ()D] @@ -611357,7 +611417,7 @@ Constant Pool (count = 93): + Utf8 [(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;] + Utf8 [(Ljava/util/Date;)Ljava/lang/String;] + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Landroid/app/Activity;] - + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/x;] + + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/y;] + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] + Utf8 [] + Utf8 [Code] @@ -611384,7 +611444,7 @@ Constant Pool (count = 93): + Utf8 [net/mypapit/mobile/myrepeater/StaticLocationActivity] + Utf8 [net/mypapit/mobile/myrepeater/u] + Utf8 [net/mypapit/mobile/myrepeater/v] - + Utf8 [net/mypapit/mobile/myrepeater/x] + + Utf8 [net/mypapit/mobile/myrepeater/y] + Utf8 [onItemClick] + Utf8 [putFloat] + Utf8 [putString] @@ -611420,10 +611480,10 @@ Methods (count = 2): [1] getfield #17 + Fieldref [net/mypapit/mobile/myrepeater/v.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] [4] invokestatic #23 - + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/x;] + + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.a (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)Lnet/mypapit/mobile/myrepeater/y;] [7] iload_3 v3 [8] invokevirtual #28 - + Methodref [net/mypapit/mobile/myrepeater/x.a (I)Lnet/mypapit/mobile/myrepeater/u;] + + Methodref [net/mypapit/mobile/myrepeater/y.a (I)Lnet/mypapit/mobile/myrepeater/u;] [11] astore v6 [13] aload_0 v0 [14] getfield #17 @@ -611503,6 +611563,108 @@ _____________________________________________________________________ Access flags: 0x20 = class net.mypapit.mobile.myrepeater.w extends java.lang.Object +Interfaces (count = 1): + + Class [java/util/Comparator] + +Constant Pool (count = 33): + + Class [java/lang/Object] + + Class [java/lang/String] + + Class [java/util/Comparator] + + Class [net/mypapit/mobile/myrepeater/u] + + Class [net/mypapit/mobile/myrepeater/w] + + Fieldref [net/mypapit/mobile/myrepeater/w.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + + Methodref [java/lang/Object. ()V] + + Methodref [java/lang/String.compareTo (Ljava/lang/String;)I] + + Methodref [net/mypapit/mobile/myrepeater/u.a ()Ljava/lang/String;] + + Methodref [net/mypapit/mobile/myrepeater/w.a (Lnet/mypapit/mobile/myrepeater/u;Lnet/mypapit/mobile/myrepeater/u;)I] + + NameAndType [ ()V] + + NameAndType [a ()Ljava/lang/String;] + + NameAndType [a (Lnet/mypapit/mobile/myrepeater/u;Lnet/mypapit/mobile/myrepeater/u;)I] + + NameAndType [a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + + NameAndType [compareTo (Ljava/lang/String;)I] + + Utf8 [()Ljava/lang/String;] + + Utf8 [()V] + + Utf8 [(Ljava/lang/Object;Ljava/lang/Object;)I] + + Utf8 [(Ljava/lang/String;)I] + + Utf8 [(Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V] + + Utf8 [(Lnet/mypapit/mobile/myrepeater/u;Lnet/mypapit/mobile/myrepeater/u;)I] + + Utf8 [] + + Utf8 [Code] + + Utf8 [Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + + Utf8 [a] + + Utf8 [compare] + + Utf8 [compareTo] + + Utf8 [java/lang/Object] + + Utf8 [java/lang/String] + + Utf8 [java/util/Comparator] + + Utf8 [net/mypapit/mobile/myrepeater/u] + + Utf8 [net/mypapit/mobile/myrepeater/w] + +Fields (count = 1): + + Field: a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity; + Access flags: 0x1010 + = final synthetic net.mypapit.mobile.myrepeater.StaticLocationActivity a + +Methods (count = 3): + - Method: (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V + Access flags: 0x0 + = w(net.mypapit.mobile.myrepeater.StaticLocationActivity) + Class member attributes (count = 1): + + Code attribute instructions (code length = 10, locals = 2, stack = 2): + [0] aload_0 v0 + [1] aload_1 v1 + [2] putfield #6 + + Fieldref [net/mypapit/mobile/myrepeater/w.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + [5] aload_0 v0 + [6] invokespecial #7 + + Methodref [java/lang/Object. ()V] + [9] return + Code attribute exceptions (count = 0): + Code attribute attributes (attribute count = 0): + + Method: a(Lnet/mypapit/mobile/myrepeater/u;Lnet/mypapit/mobile/myrepeater/u;)I + Access flags: 0x1 + = public int a(net.mypapit.mobile.myrepeater.u,net.mypapit.mobile.myrepeater.u) + Class member attributes (count = 1): + + Code attribute instructions (code length = 12, locals = 3, stack = 2): + [0] aload_1 v1 + [1] invokevirtual #9 + + Methodref [net/mypapit/mobile/myrepeater/u.a ()Ljava/lang/String;] + [4] aload_2 v2 + [5] invokevirtual #9 + + Methodref [net/mypapit/mobile/myrepeater/u.a ()Ljava/lang/String;] + [8] invokevirtual #8 + + Methodref [java/lang/String.compareTo (Ljava/lang/String;)I] + [11] ireturn + Code attribute exceptions (count = 0): + Code attribute attributes (attribute count = 0): + + Method: compare(Ljava/lang/Object;Ljava/lang/Object;)I + Access flags: 0x1001 + = public synthetic int compare(java.lang.Object,java.lang.Object) + Class member attributes (count = 1): + + Code attribute instructions (code length = 13, locals = 3, stack = 3): + [0] aload_0 v0 + [1] aload_1 v1 + [2] checkcast #4 + + Class [net/mypapit/mobile/myrepeater/u] + [5] aload_2 v2 + [6] checkcast #4 + + Class [net/mypapit/mobile/myrepeater/u] + [9] invokevirtual #10 + + Methodref [net/mypapit/mobile/myrepeater/w.a (Lnet/mypapit/mobile/myrepeater/u;Lnet/mypapit/mobile/myrepeater/u;)I] + [12] ireturn + Code attribute exceptions (count = 0): + Code attribute attributes (attribute count = 0): + +Class file attributes (count = 0): + +_____________________________________________________________________ ++ Program class: net/mypapit/mobile/myrepeater/x + Superclass: java/lang/Object + Major version: 0x32 + Minor version: 0x0 + Access flags: 0x20 + = class net.mypapit.mobile.myrepeater.x extends java.lang.Object + Interfaces (count = 1): + Class [android/view/View$OnClickListener] @@ -611514,8 +611676,8 @@ Constant Pool (count = 43): + Class [android/view/View$OnClickListener] + Class [java/lang/Object] + Class [net/mypapit/mobile/myrepeater/StaticLocationActivity] - + Class [net/mypapit/mobile/myrepeater/w] - + Fieldref [net/mypapit/mobile/myrepeater/w.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + + Class [net/mypapit/mobile/myrepeater/x] + + Fieldref [net/mypapit/mobile/myrepeater/x.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + Methodref [android/content/Context.startActivity (Landroid/content/Intent;)V] + Methodref [android/content/Intent. (Ljava/lang/String;)V] + Methodref [android/content/Intent.addFlags (I)Landroid/content/Intent;] @@ -611546,7 +611708,7 @@ Constant Pool (count = 43): + Utf8 [getApplicationContext] + Utf8 [java/lang/Object] + Utf8 [net/mypapit/mobile/myrepeater/StaticLocationActivity] - + Utf8 [net/mypapit/mobile/myrepeater/w] + + Utf8 [net/mypapit/mobile/myrepeater/x] + Utf8 [onClick] + Utf8 [startActivity] @@ -611558,13 +611720,13 @@ Fields (count = 1): Methods (count = 2): - Method: (Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;)V Access flags: 0x0 - = w(net.mypapit.mobile.myrepeater.StaticLocationActivity) + = x(net.mypapit.mobile.myrepeater.StaticLocationActivity) Class member attributes (count = 1): + Code attribute instructions (code length = 10, locals = 2, stack = 2): [0] aload_0 v0 [1] aload_1 v1 [2] putfield #9 - + Fieldref [net/mypapit/mobile/myrepeater/w.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + + Fieldref [net/mypapit/mobile/myrepeater/x.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] [5] aload_0 v0 [6] invokespecial #13 + Methodref [java/lang/Object. ()V] @@ -611592,7 +611754,7 @@ Methods (count = 2): [16] pop [17] aload_0 v0 [18] getfield #9 - + Fieldref [net/mypapit/mobile/myrepeater/w.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] + + Fieldref [net/mypapit/mobile/myrepeater/x.a Lnet/mypapit/mobile/myrepeater/StaticLocationActivity;] [21] invokevirtual #14 + Methodref [net/mypapit/mobile/myrepeater/StaticLocationActivity.getApplicationContext ()Landroid/content/Context;] [24] aload_2 v2 @@ -611605,51 +611767,78 @@ Methods (count = 2): Class file attributes (count = 0): _____________________________________________________________________ -+ Program class: net/mypapit/mobile/myrepeater/x ++ Program class: net/mypapit/mobile/myrepeater/y Superclass: android/widget/BaseAdapter Major version: 0x32 Minor version: 0x0 Access flags: 0x21 - = public class net.mypapit.mobile.myrepeater.x extends android.widget.BaseAdapter + = public class net.mypapit.mobile.myrepeater.y extends android.widget.BaseAdapter -Interfaces (count = 0): +Interfaces (count = 1): + + Class [android/widget/SectionIndexer] -Constant Pool (count = 69): +Constant Pool (count = 118): + Integer [2130903053] + Integer [2131165252] + Integer [2131165253] + + String [#] + + String [Johor] + + String [Kedah] + + String [Kelantan] + + String [Kuala Lumpur] + + String [Melaka] + + String [N. Sembilan] + + String [Pahang] + + String [Penang] + + String [Perlis] + + String [Putrajaya] + + String [Sabah] + + String [Sarawak] + + String [Selangor] + + String [Terengganu] + Class [android/view/LayoutInflater] + Class [android/view/View] + Class [android/widget/BaseAdapter] + + Class [android/widget/SectionIndexer] + Class [android/widget/TextView] + + Class [java/lang/String] + Class [java/util/ArrayList] + Class [net/mypapit/mobile/myrepeater/u] - + Class [net/mypapit/mobile/myrepeater/x] - + Fieldref [net/mypapit/mobile/myrepeater/x.a Ljava/util/ArrayList;] - + Fieldref [net/mypapit/mobile/myrepeater/x.b Landroid/content/Context;] + + Class [net/mypapit/mobile/myrepeater/y] + + Fieldref [net/mypapit/mobile/myrepeater/y.a Ljava/util/ArrayList;] + + Fieldref [net/mypapit/mobile/myrepeater/y.b Landroid/content/Context;] + + Fieldref [net/mypapit/mobile/myrepeater/y.c [Ljava/lang/String;] + Methodref [android/view/LayoutInflater.from (Landroid/content/Context;)Landroid/view/LayoutInflater;] + Methodref [android/view/LayoutInflater.inflate (ILandroid/view/ViewGroup;Z)Landroid/view/View;] + Methodref [android/view/View.findViewById (I)Landroid/view/View;] + Methodref [android/widget/BaseAdapter. ()V] + Methodref [android/widget/TextView.setText (Ljava/lang/CharSequence;)V] + + Methodref [java/lang/String.equalsIgnoreCase (Ljava/lang/String;)Z] + Methodref [java/util/ArrayList.get (I)Ljava/lang/Object;] + Methodref [java/util/ArrayList.size ()I] + Methodref [net/mypapit/mobile/myrepeater/u.a ()Ljava/lang/String;] + Methodref [net/mypapit/mobile/myrepeater/u.b ()Ljava/lang/String;] + + Methodref [net/mypapit/mobile/myrepeater/y.getCount ()I] + NameAndType [ ()V] + NameAndType [a ()Ljava/lang/String;] + NameAndType [a Ljava/util/ArrayList;] + NameAndType [b ()Ljava/lang/String;] + NameAndType [b Landroid/content/Context;] + + NameAndType [c [Ljava/lang/String;] + + NameAndType [equalsIgnoreCase (Ljava/lang/String;)Z] + NameAndType [findViewById (I)Landroid/view/View;] + NameAndType [from (Landroid/content/Context;)Landroid/view/LayoutInflater;] + NameAndType [get (I)Ljava/lang/Object;] + + NameAndType [getCount ()I] + NameAndType [inflate (ILandroid/view/ViewGroup;Z)Landroid/view/View;] + NameAndType [setText (Ljava/lang/CharSequence;)V] + NameAndType [size ()I] + + Utf8 [#] + Utf8 [()I] + Utf8 [()Ljava/lang/String;] + Utf8 [()V] + + Utf8 [()[Ljava/lang/Object;] + + Utf8 [(I)I] + Utf8 [(I)J] + Utf8 [(I)Landroid/view/View;] + Utf8 [(I)Ljava/lang/Object;] @@ -611658,58 +611847,165 @@ Constant Pool (count = 69): + Utf8 [(ILandroid/view/ViewGroup;Z)Landroid/view/View;] + Utf8 [(Landroid/content/Context;)Landroid/view/LayoutInflater;] + Utf8 [(Ljava/lang/CharSequence;)V] + + Utf8 [(Ljava/lang/String;)Z] + Utf8 [(Ljava/util/ArrayList;Landroid/content/Context;)V] + Utf8 [] + Utf8 [Code] + + Utf8 [Johor] + + Utf8 [Kedah] + + Utf8 [Kelantan] + + Utf8 [Kuala Lumpur] + Utf8 [Landroid/content/Context;] + Utf8 [Ljava/util/ArrayList;] + + Utf8 [Melaka] + + Utf8 [N. Sembilan] + + Utf8 [Pahang] + + Utf8 [Penang] + + Utf8 [Perlis] + + Utf8 [Putrajaya] + + Utf8 [Sabah] + + Utf8 [Sarawak] + + Utf8 [Selangor] + Utf8 [StackMapTable] + + Utf8 [Terengganu] + + Utf8 [[Ljava/lang/String;] + Utf8 [a] + Utf8 [android/view/LayoutInflater] + Utf8 [android/view/View] + Utf8 [android/widget/BaseAdapter] + + Utf8 [android/widget/SectionIndexer] + Utf8 [android/widget/TextView] + Utf8 [b] + + Utf8 [c] + + Utf8 [equalsIgnoreCase] + Utf8 [findViewById] + Utf8 [from] + Utf8 [get] + Utf8 [getCount] + Utf8 [getItem] + Utf8 [getItemId] + + Utf8 [getPositionForSection] + + Utf8 [getSectionForPosition] + + Utf8 [getSections] + Utf8 [getView] + Utf8 [inflate] + + Utf8 [java/lang/String] + Utf8 [java/util/ArrayList] + Utf8 [net/mypapit/mobile/myrepeater/u] - + Utf8 [net/mypapit/mobile/myrepeater/x] + + Utf8 [net/mypapit/mobile/myrepeater/y] + Utf8 [setText] + Utf8 [size] -Fields (count = 2): +Fields (count = 3): + Field: a Ljava/util/ArrayList; Access flags: 0x2 = private java.util.ArrayList a + Field: b Landroid/content/Context; Access flags: 0x2 = private android.content.Context b + + Field: c [Ljava/lang/String; + Access flags: 0x2 + = private java.lang.String[] c -Methods (count = 6): +Methods (count = 9): - Method: (Ljava/util/ArrayList;Landroid/content/Context;)V Access flags: 0x1 - = public x(java.util.ArrayList,android.content.Context) + = public y(java.util.ArrayList,android.content.Context) Class member attributes (count = 1): - + Code attribute instructions (code length = 15, locals = 3, stack = 2): + + Code attribute instructions (code length = 108, locals = 3, stack = 5): [0] aload_0 v0 - [1] invokespecial #16 + [1] invokespecial #34 + Methodref [android/widget/BaseAdapter. ()V] [4] aload_0 v0 - [5] aload_1 v1 - [6] putfield #11 - + Fieldref [net/mypapit/mobile/myrepeater/x.a Ljava/util/ArrayList;] - [9] aload_0 v0 - [10] aload_2 v2 - [11] putfield #12 - + Fieldref [net/mypapit/mobile/myrepeater/x.b Landroid/content/Context;] - [14] return + [5] bipush 15 + [7] anewarray #24 + + Class [java/lang/String] + [10] dup + [11] iconst_0 + [12] ldc #4 + + String [#] + [14] aastore + [15] dup + [16] iconst_1 + [17] ldc #5 + + String [Johor] + [19] aastore + [20] dup + [21] iconst_2 + [22] ldc #6 + + String [Kedah] + [24] aastore + [25] dup + [26] iconst_3 + [27] ldc #7 + + String [Kelantan] + [29] aastore + [30] dup + [31] iconst_4 + [32] ldc #8 + + String [Kuala Lumpur] + [34] aastore + [35] dup + [36] iconst_5 + [37] ldc #9 + + String [Melaka] + [39] aastore + [40] dup + [41] bipush 6 + [43] ldc #10 + + String [N. Sembilan] + [45] aastore + [46] dup + [47] bipush 7 + [49] ldc #11 + + String [Pahang] + [51] aastore + [52] dup + [53] bipush 8 + [55] ldc #12 + + String [Penang] + [57] aastore + [58] dup + [59] bipush 9 + [61] ldc #13 + + String [Perlis] + [63] aastore + [64] dup + [65] bipush 10 + [67] ldc #14 + + String [Putrajaya] + [69] aastore + [70] dup + [71] bipush 11 + [73] ldc #15 + + String [Sabah] + [75] aastore + [76] dup + [77] bipush 12 + [79] ldc #16 + + String [Sarawak] + [81] aastore + [82] dup + [83] bipush 13 + [85] ldc #17 + + String [Selangor] + [87] aastore + [88] dup + [89] bipush 14 + [91] ldc #18 + + String [Terengganu] + [93] aastore + [94] putfield #30 + + Fieldref [net/mypapit/mobile/myrepeater/y.c [Ljava/lang/String;] + [97] aload_0 v0 + [98] aload_1 v1 + [99] putfield #28 + + Fieldref [net/mypapit/mobile/myrepeater/y.a Ljava/util/ArrayList;] + [102] aload_0 v0 + [103] aload_2 v2 + [104] putfield #29 + + Fieldref [net/mypapit/mobile/myrepeater/y.b Landroid/content/Context;] + [107] return Code attribute exceptions (count = 0): Code attribute attributes (attribute count = 0): + Method: getCount()I @@ -611718,9 +612014,9 @@ Methods (count = 6): Class member attributes (count = 1): + Code attribute instructions (code length = 8, locals = 1, stack = 1): [0] aload_0 v0 - [1] getfield #11 - + Fieldref [net/mypapit/mobile/myrepeater/x.a Ljava/util/ArrayList;] - [4] invokevirtual #19 + [1] getfield #28 + + Fieldref [net/mypapit/mobile/myrepeater/y.a Ljava/util/ArrayList;] + [4] invokevirtual #38 + Methodref [java/util/ArrayList.size ()I] [7] ireturn Code attribute exceptions (count = 0): @@ -611731,10 +612027,10 @@ Methods (count = 6): Class member attributes (count = 1): + Code attribute instructions (code length = 9, locals = 2, stack = 2): [0] aload_0 v0 - [1] getfield #11 - + Fieldref [net/mypapit/mobile/myrepeater/x.a Ljava/util/ArrayList;] + [1] getfield #28 + + Fieldref [net/mypapit/mobile/myrepeater/y.a Ljava/util/ArrayList;] [4] iload_1 v1 - [5] invokevirtual #18 + [5] invokevirtual #37 + Methodref [java/util/ArrayList.get (I)Ljava/lang/Object;] [8] areturn Code attribute exceptions (count = 0): @@ -611745,12 +612041,12 @@ Methods (count = 6): Class member attributes (count = 1): + Code attribute instructions (code length = 12, locals = 2, stack = 2): [0] aload_0 v0 - [1] getfield #11 - + Fieldref [net/mypapit/mobile/myrepeater/x.a Ljava/util/ArrayList;] + [1] getfield #28 + + Fieldref [net/mypapit/mobile/myrepeater/y.a Ljava/util/ArrayList;] [4] iload_1 v1 - [5] invokevirtual #18 + [5] invokevirtual #37 + Methodref [java/util/ArrayList.get (I)Ljava/lang/Object;] - [8] checkcast #9 + [8] checkcast #26 + Class [net/mypapit/mobile/myrepeater/u] [11] areturn Code attribute exceptions (count = 0): @@ -611771,9 +612067,9 @@ Methods (count = 6): Class member attributes (count = 1): + Code attribute instructions (code length = 80, locals = 8, stack = 4): [0] aload_0 v0 - [1] getfield #12 - + Fieldref [net/mypapit/mobile/myrepeater/x.b Landroid/content/Context;] - [4] invokestatic #13 + [1] getfield #29 + + Fieldref [net/mypapit/mobile/myrepeater/y.b Landroid/content/Context;] + [4] invokestatic #31 + Methodref [android/view/LayoutInflater.from (Landroid/content/Context;)Landroid/view/LayoutInflater;] [7] astore v4 [9] aload_2 v2 @@ -611783,45 +612079,45 @@ Methods (count = 6): + Integer [2130903053] [17] aload_3 v3 [18] iconst_0 - [19] invokevirtual #14 + [19] invokevirtual #32 + Methodref [android/view/LayoutInflater.inflate (ILandroid/view/ViewGroup;Z)Landroid/view/View;] [22] astore_2 v2 [23] aload_2 v2 [24] ldc #2 + Integer [2131165252] - [26] invokevirtual #15 + [26] invokevirtual #33 + Methodref [android/view/View.findViewById (I)Landroid/view/View;] - [29] checkcast #7 + [29] checkcast #23 + Class [android/widget/TextView] [32] astore v5 [34] aload_2 v2 [35] ldc #3 + Integer [2131165253] - [37] invokevirtual #15 + [37] invokevirtual #33 + Methodref [android/view/View.findViewById (I)Landroid/view/View;] - [40] checkcast #7 + [40] checkcast #23 + Class [android/widget/TextView] [43] astore v6 [45] aload_0 v0 - [46] getfield #11 - + Fieldref [net/mypapit/mobile/myrepeater/x.a Ljava/util/ArrayList;] + [46] getfield #28 + + Fieldref [net/mypapit/mobile/myrepeater/y.a Ljava/util/ArrayList;] [49] iload_1 v1 - [50] invokevirtual #18 + [50] invokevirtual #37 + Methodref [java/util/ArrayList.get (I)Ljava/lang/Object;] - [53] checkcast #9 + [53] checkcast #26 + Class [net/mypapit/mobile/myrepeater/u] [56] astore v7 [58] aload v5 [60] aload v7 - [62] invokevirtual #21 + [62] invokevirtual #40 + Methodref [net/mypapit/mobile/myrepeater/u.b ()Ljava/lang/String;] - [65] invokevirtual #17 + [65] invokevirtual #35 + Methodref [android/widget/TextView.setText (Ljava/lang/CharSequence;)V] [68] aload v6 [70] aload v7 - [72] invokevirtual #20 + [72] invokevirtual #39 + Methodref [net/mypapit/mobile/myrepeater/u.a ()Ljava/lang/String;] - [75] invokevirtual #17 + [75] invokevirtual #35 + Methodref [android/widget/TextView.setText (Ljava/lang/CharSequence;)V] [78] aload_2 v2 [79] areturn @@ -611829,6 +612125,70 @@ Methods (count = 6): Code attribute attributes (attribute count = 1): + Stack map table attribute (count = 1): - [23] Var: ...[a:android/view/LayoutInflater], Stack: (empty) + + Method: getSections()[Ljava/lang/Object; + Access flags: 0x1 + = public java.lang.Object[] getSections() + Class member attributes (count = 1): + + Code attribute instructions (code length = 5, locals = 1, stack = 1): + [0] aload_0 v0 + [1] getfield #30 + + Fieldref [net/mypapit/mobile/myrepeater/y.c [Ljava/lang/String;] + [4] areturn + Code attribute exceptions (count = 0): + Code attribute attributes (attribute count = 0): + + Method: getPositionForSection(I)I + Access flags: 0x1 + = public int getPositionForSection(int) + Class member attributes (count = 1): + + Code attribute instructions (code length = 48, locals = 4, stack = 3): + [0] aload_0 v0 + [1] invokevirtual #41 + + Methodref [net/mypapit/mobile/myrepeater/y.getCount ()I] + [4] istore_2 v2 + [5] iconst_0 + [6] istore_3 v3 + [7] goto +34 (target=41) + [10] aload_0 v0 + [11] getfield #28 + + Fieldref [net/mypapit/mobile/myrepeater/y.a Ljava/util/ArrayList;] + [14] iload_3 v3 + [15] invokevirtual #37 + + Methodref [java/util/ArrayList.get (I)Ljava/lang/Object;] + [18] checkcast #26 + + Class [net/mypapit/mobile/myrepeater/u] + [21] invokevirtual #39 + + Methodref [net/mypapit/mobile/myrepeater/u.a ()Ljava/lang/String;] + [24] aload_0 v0 + [25] getfield #30 + + Fieldref [net/mypapit/mobile/myrepeater/y.c [Ljava/lang/String;] + [28] iload_1 v1 + [29] aaload + [30] invokevirtual #36 + + Methodref [java/lang/String.equalsIgnoreCase (Ljava/lang/String;)Z] + [33] ifeq +5 (target=38) + [36] iload_3 v3 + [37] ireturn + [38] iinc v3, 1 + [41] iload_3 v3 + [42] iload_2 v2 + [43] ificmplt -33 (target=10) + [46] iconst_0 + [47] ireturn + Code attribute exceptions (count = 0): + Code attribute attributes (attribute count = 1): + + Stack map table attribute (count = 3): + - [10] Var: ...[i][i], Stack: (empty) + - [38] Var: ..., Stack: (empty) + - [41] Var: ..., Stack: (empty) + + Method: getSectionForPosition(I)I + Access flags: 0x1 + = public int getSectionForPosition(int) + Class member attributes (count = 1): + + Code attribute instructions (code length = 2, locals = 2, stack = 1): + [0] iconst_0 + [1] ireturn + Code attribute exceptions (count = 0): + Code attribute attributes (attribute count = 0): Class file attributes (count = 0): @@ -613914,15 +614274,15 @@ Start using Repeater.MY now!] + String [This is a walkthrough to introduce you to Repeater.MY new features. Swipe to continue] - + String [Welcome!] - + String [What's New?] - + String [You can now determine Amateur radio repeater direction. This is useful for those who wants to tune their radio in order to get the clearest signal. Just remember that compass may not be available in the following situation: + + String [We have Repeater direction!! However compass may not be available in the following situation: * Your device does not have built-in compass * You disabled Location Services or GPS * You use Manual Location selection To get accurate reading from compass, just lay your device flat on your palm or lay it on the table.] + + String [Welcome!] + + String [What's New?] + Class [android/app/Activity] + Class [android/support/v4/view/ViewPager] + Class [com/a/a] @@ -613985,15 +614345,15 @@ Start using Repeater.MY now!] + Utf8 [This is a walkthrough to introduce you to Repeater.MY new features. Swipe to continue] - + Utf8 [Welcome!] - + Utf8 [What's New?] - + Utf8 [You can now determine Amateur radio repeater direction. This is useful for those who wants to tune their radio in order to get the clearest signal. Just remember that compass may not be available in the following situation: + + Utf8 [We have Repeater direction!! However compass may not be available in the following situation: * Your device does not have built-in compass * You disabled Location Services or GPS * You use Manual Location selection To get accurate reading from compass, just lay your device flat on your palm or lay it on the table.] + + Utf8 [Welcome!] + + Utf8 [What's New?] + Utf8 [a] + Utf8 [android/app/Activity] + Utf8 [android/support/v4/view/ViewPager] @@ -614051,12 +614411,12 @@ Methods (count = 2): + Class [java/lang/String] [16] dup [17] iconst_0 - [18] ldc #17 + [18] ldc #18 + String [Welcome!] [20] aastore [21] dup [22] iconst_1 - [23] ldc #18 + [23] ldc #19 + String [What's New?] [25] aastore [26] dup @@ -614101,8 +614461,8 @@ Swipe to continue] [61] aastore [62] dup [63] iconst_2 - [64] ldc #19 - + String [You can now determine Amateur radio repeater direction. This is useful for those who wants to tune their radio in order to get the clearest signal. Just remember that compass may not be available in the following situation: + [64] ldc #17 + + String [We have Repeater direction!! However compass may not be available in the following situation: * Your device does not have built-in compass * You disabled Location Services or GPS diff --git a/proguard/mapping.txt b/proguard/mapping.txt index 449d3cc..18bea45 100644 --- a/proguard/mapping.txt +++ b/proguard/mapping.txt @@ -12115,17 +12115,25 @@ net.mypapit.mobile.myrepeater.StaticLocationActivity -> net.mypapit.mobile.myrep net.mypapit.mobile.myrepeater.StaticLocationActivity$1 -> net.mypapit.mobile.myrepeater.v: net.mypapit.mobile.myrepeater.StaticLocationActivity this$0 -> a void onItemClick(android.widget.AdapterView,android.view.View,int,long) -> onItemClick -net.mypapit.mobile.myrepeater.StaticLocationActivity$2 -> net.mypapit.mobile.myrepeater.w: +net.mypapit.mobile.myrepeater.StaticLocationActivity$1LocationNameComparator -> net.mypapit.mobile.myrepeater.w: + net.mypapit.mobile.myrepeater.StaticLocationActivity this$0 -> a + int compare(net.mypapit.mobile.myrepeater.StaticLocation,net.mypapit.mobile.myrepeater.StaticLocation) -> a + int compare(java.lang.Object,java.lang.Object) -> compare +net.mypapit.mobile.myrepeater.StaticLocationActivity$2 -> net.mypapit.mobile.myrepeater.x: net.mypapit.mobile.myrepeater.StaticLocationActivity this$0 -> a void onClick(android.view.View) -> onClick -net.mypapit.mobile.myrepeater.StaticLocationAdapter -> net.mypapit.mobile.myrepeater.x: +net.mypapit.mobile.myrepeater.StaticLocationAdapter -> net.mypapit.mobile.myrepeater.y: java.util.ArrayList list -> a android.content.Context activity -> b + java.lang.String[] states -> c int getCount() -> getCount java.lang.Object getItem(int) -> getItem net.mypapit.mobile.myrepeater.StaticLocation getStaticLocation(int) -> a long getItemId(int) -> getItemId android.view.View getView(int,android.view.View,android.view.ViewGroup) -> getView + java.lang.Object[] getSections() -> getSections + int getPositionForSection(int) -> getPositionForSection + int getSectionForPosition(int) -> getSectionForPosition net.mypapit.mobile.myrepeater.SuggestRepeaterSecondActivity -> net.mypapit.mobile.myrepeater.SuggestRepeaterSecondActivity: android.os.Bundle extras -> a android.widget.TextView labelCallsign -> b diff --git a/res/raw/contributor b/res/raw/contributor index c7002ff..571b95d 100644 --- a/res/raw/contributor +++ b/res/raw/contributor @@ -25,6 +25,7 @@ 9W2ZWW (M. ZAWAWI) 9W8SIR (JORDAN LAU) 9M8SL (SLY) +9W2UMA (ABDUL GHANI) 9M2CIO (Azudin Ab Rahman) difa60 applegreen012 @@ -56,5 +57,6 @@ farid.event@gmail.com faarest210@gmail.com (Faaris Mk) razali@1malaysia2u.my veeraksanaveerak@gmail.com +rossaiful@gmail.com diff --git a/res/raw/repeaterdata5.txt b/res/raw/repeaterdata5.txt index d7dc194..d55d91a 100644 --- a/res/raw/repeaterdata5.txt +++ b/res/raw/repeaterdata5.txt @@ -8,7 +8,7 @@ 8;9M4RTG;ARECTMJ;BKT LAKIT, GUA MUSANG;4.860050;101.963360;147.6125;-0.650;100;;; 9;9M4RPS;PUTRA;PASIR PUTEH;5.832860;102.405280;147.8250;-0.600;97.4;;; 10;9M4RDD;RES'K;PASIR MAS;6.042680;102.139110;146.6375;-0.600;186.2;;; -11;9M4RVA;ASTRA;BKT MARAK, BACHOK;6.12608;102.23832;145.675;-0.600;103.5;A;; +11;9M4RVA;ASTRA;BKT MARAK, BACHOK;6.1313216;102.2345626;145.675;-0.600;103.5;A;; 12;9M4RBP;ASTRA;BKT PANAU, TANAH MERAH;5.894063;102.156737;146.700;-0.600;85.4;;; 13;9M4RDE;ASTRA;KUALA KRAI;5.533930;102.199640;146.875;-0.600;88.5;;; 14;9M4RDB;ASTRA;DABONG;5.383601;102.008743;147.7375;-0.600;103.5;;; @@ -41,7 +41,7 @@ 41;9M4RAA;ASTRA;BKT TELEMONG, KARAK;3.416096;102.033377;147.6375;-0.600;103.5;;; 42;9M4RES;MARES;GUNUNG ULU KALI;3.424321;101.791077;147.7750;-0.600;123.0;;; 43;9M4RMP;MARES;BKT SULAI, GAMBANG;3.733779;103.133254;147.8750;-0.600;123.0;;; -44;9M2RGA;AKRAB;GENTING HIGHLAND;3.409070;101.785069;147.8375;-0.600;233.6;;; +44;9M4RLT;MARTS;BUKIT LARUT;4.8604395;100.7997163;145.7875;-0.600;203.5;;; 45;9M4RSM;AKRAB;ULU DONG, RAUB;3.938562;102.013485;147.9625;-0.600;233.6;;; 46;9M4RHE;MARTS;BANDAR MELAKA;2.195183;102.250443;146.8250;-0.600;203.5;;; 47;9M4RKA;ASTRA;BKT BERUANG;2.250331;102.283230;146.62500;-0.600;103.5;;; @@ -68,7 +68,7 @@ 68;9M4RGL;ASTRA;GUNUNG LEDANG;2.374941;102.607498;147.9875;-0.6;103.5;A;; 69;9M4RGP;ASTRA;GUNUNG PULAI;1.603623;103.546228;145.7375;-0.6;103.5;A;; 70;9M4RAL;ASTRA;GUNUNG LEDANG;2.374941;102.607498;146.9375;-0.6;103.5;;; -71;9M4RSG;ASTRA;SEGAMAT;2.515061;102.838898;145.6125;-0.6;88.5;;; +71;9M4RSG;ASTRA;SEGAMAT;2.5105212;102.8154385;145.6125;-0.6;88.5;;; 72;9M4RAP;ASTRA;GUNUNG PULAI;1.603623;103.546228;147.7375;-0.6;85.4;;; 73;9M4RAK;ASTRA;KLUANG;2.032388;103.3144;147.8;-0.6;103.5;;; 74;9M4RBN;ASTRA;GUNUNG BANANG;1.816474;102.939491;146.625;-0.6;103.5;;; @@ -82,7 +82,7 @@ 82;9M4RPK;PARTS;BANDAR IPOH;4.614069;101.113014;147.7125;-0.6;233.6;;; 83;9M4RPI;ASTRA;PANDANGAN INDAH, GRIK;5.441706;101.13945;147.2625;0.6;103.5;A;; 84;9M4RBK;ASTRA;BKT KELEDANG;4.580361;101.036797;145.6125;-0.600;103.5;A;; -85;9M4RBL;ASTRA;BKT LARUT;4.862127;100.793037;146.750;0.65;103.5;A;; +85;9M4RBL;ASTRA;BUKIT LARUT;4.862127;100.793037;146.750;0.65;103.5;A;; 86;9M4RSP;ASTRA;BKT LENGGONG;5.133518;100.999997;146.8125;-0.6;103.5;;; 87;9M4RUB;ASTRA;LUMUT, PERAK;4.223;100.628324;147.9875;-0.6;103.5;;; 88;9M2RGJ;MARTS;GUNUNG JERAI;5.795;100.45;146.2625;0.6;203.5;;; diff --git a/src/net/mypapit/mobile/myrepeater/ContribActivity.java b/src/net/mypapit/mobile/myrepeater/ContribActivity.java index e28ef65..3487068 100644 --- a/src/net/mypapit/mobile/myrepeater/ContribActivity.java +++ b/src/net/mypapit/mobile/myrepeater/ContribActivity.java @@ -5,7 +5,7 @@ MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. diff --git a/src/net/mypapit/mobile/myrepeater/CorrectActivity.java b/src/net/mypapit/mobile/myrepeater/CorrectActivity.java index 8b024fe..6f5f447 100644 --- a/src/net/mypapit/mobile/myrepeater/CorrectActivity.java +++ b/src/net/mypapit/mobile/myrepeater/CorrectActivity.java @@ -1,3 +1,26 @@ +/* + * + + MyRepeater Finder + Copyright 2013 Mohammad Hafiz bin Ismail + http://blog.mypapit.net/ + https://github.com/mypapit/repeater-my + + This file is part of MyRepeater Finder. + + MyRepeater Finder is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + MyRepeater Finder is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with MyRepeater Finder. If not, see . + */ package net.mypapit.mobile.myrepeater; import java.util.List; diff --git a/src/net/mypapit/mobile/myrepeater/Repeater.java b/src/net/mypapit/mobile/myrepeater/Repeater.java index df011c0..cff05e0 100644 --- a/src/net/mypapit/mobile/myrepeater/Repeater.java +++ b/src/net/mypapit/mobile/myrepeater/Repeater.java @@ -3,7 +3,7 @@ MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://myrepeater.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. diff --git a/src/net/mypapit/mobile/myrepeater/RepeaterAdapter.java b/src/net/mypapit/mobile/myrepeater/RepeaterAdapter.java index 62341fa..5a92732 100644 --- a/src/net/mypapit/mobile/myrepeater/RepeaterAdapter.java +++ b/src/net/mypapit/mobile/myrepeater/RepeaterAdapter.java @@ -2,8 +2,8 @@ * MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail - httptit://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + http://blog.mypapit.net/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. @@ -55,7 +55,7 @@ public class RepeaterAdapter extends BaseAdapter implements Filterable,SectionIn float local_distance; boolean excludeLink, excludeDirection; private Repeater userLocation; - private static final int[] interval= new int[]{0,50,100,150,200,300,400,500,600,700,800,900,1000,1500}; + private static final int[] interval= new int[]{0,25,50,75,100,150,200,250,300,350,400,500,600,700,800,900,1000,1250,1500,1750}; private Activity activity; @@ -273,7 +273,7 @@ public int getPositionForSection(int section) { for (int i=0;i= interval[section]){ + if ( (distance+9.5) >= interval[section]){ return i; } } diff --git a/src/net/mypapit/mobile/myrepeater/RepeaterDetailsActivity.java b/src/net/mypapit/mobile/myrepeater/RepeaterDetailsActivity.java index 3bda54b..d110c0a 100644 --- a/src/net/mypapit/mobile/myrepeater/RepeaterDetailsActivity.java +++ b/src/net/mypapit/mobile/myrepeater/RepeaterDetailsActivity.java @@ -5,7 +5,7 @@ MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. diff --git a/src/net/mypapit/mobile/myrepeater/RepeaterList.java b/src/net/mypapit/mobile/myrepeater/RepeaterList.java index 46dd60f..d9aa3ab 100644 --- a/src/net/mypapit/mobile/myrepeater/RepeaterList.java +++ b/src/net/mypapit/mobile/myrepeater/RepeaterList.java @@ -3,7 +3,7 @@ MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. diff --git a/src/net/mypapit/mobile/myrepeater/RepeaterListActivity.java b/src/net/mypapit/mobile/myrepeater/RepeaterListActivity.java index 9f3e7b0..ead2ba4 100644 --- a/src/net/mypapit/mobile/myrepeater/RepeaterListActivity.java +++ b/src/net/mypapit/mobile/myrepeater/RepeaterListActivity.java @@ -6,7 +6,7 @@ MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. @@ -528,7 +528,7 @@ public static RepeaterList loadData(int resource, Activity activity) { in.close(); } catch (IOException ioe) { - Log.e("Read CSV Error", "Some CSV Error: ", ioe.getCause()); + Log.e("Read CSV Error mypapit", "Some CSV Error: ", ioe.getCause()); } catch (NumberFormatException nfe) { Log.e("Number error", "parse number error - line: " + line + " " + nfe.getMessage(), nfe.getCause()); diff --git a/src/net/mypapit/mobile/myrepeater/StaticLocation.java b/src/net/mypapit/mobile/myrepeater/StaticLocation.java index a220ddc..ba61d93 100644 --- a/src/net/mypapit/mobile/myrepeater/StaticLocation.java +++ b/src/net/mypapit/mobile/myrepeater/StaticLocation.java @@ -3,7 +3,7 @@ MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. diff --git a/src/net/mypapit/mobile/myrepeater/StaticLocationActivity.java b/src/net/mypapit/mobile/myrepeater/StaticLocationActivity.java index 3d268c1..28076d3 100644 --- a/src/net/mypapit/mobile/myrepeater/StaticLocationActivity.java +++ b/src/net/mypapit/mobile/myrepeater/StaticLocationActivity.java @@ -3,7 +3,7 @@ MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. @@ -29,6 +29,8 @@ import java.io.InputStreamReader; import java.text.SimpleDateFormat; import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; import java.util.Date; import android.app.Activity; @@ -114,6 +116,9 @@ public void onClick(View v) { } }); + + lv.setFastScrollEnabled(true); + lv.setVerticalScrollBarEnabled(true); } @@ -146,6 +151,18 @@ public ArrayList loadData(int resource) { ex.printStackTrace(System.err); } + + class LocationNameComparator implements Comparator{ + + @Override + public int compare(StaticLocation lhs, StaticLocation rhs) { + return lhs.getStatename().compareTo(rhs.getStatename()); + + } + + } + + Collections.sort(locationList, new LocationNameComparator() ); return locationList; diff --git a/src/net/mypapit/mobile/myrepeater/StaticLocationAdapter.java b/src/net/mypapit/mobile/myrepeater/StaticLocationAdapter.java index 8502db9..bf44039 100644 --- a/src/net/mypapit/mobile/myrepeater/StaticLocationAdapter.java +++ b/src/net/mypapit/mobile/myrepeater/StaticLocationAdapter.java @@ -3,7 +3,7 @@ MyRepeater Finder Copyright 2013 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. @@ -31,6 +31,7 @@ import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; +import android.widget.SectionIndexer; import android.widget.TextView; @@ -42,7 +43,7 @@ * @author mypapit * */ -public class StaticLocationAdapter extends BaseAdapter { +public class StaticLocationAdapter extends BaseAdapter implements SectionIndexer { /** * @@ -50,6 +51,7 @@ public class StaticLocationAdapter extends BaseAdapter { private ArrayList list; private Context activity; + private String[] states = new String[]{"#","Johor","Kedah","Kelantan","Kuala Lumpur", "Melaka","N. Sembilan","Pahang","Penang","Perlis","Putrajaya","Sabah","Sarawak","Selangor","Terengganu" }; public StaticLocationAdapter(ArrayList list, Context context) { super(); @@ -125,4 +127,45 @@ public View getView(int position, View convertView, ViewGroup parent) { return convertView; } + @Override + public Object[] getSections() { + + return states; + } + + @Override + public int getPositionForSection(int section) { + + int numItems=this.getCount(); + + + for (int i=0;i http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. diff --git a/src/net/mypapit/mobile/myrepeater/SuggestRepeaterStartActivity.java b/src/net/mypapit/mobile/myrepeater/SuggestRepeaterStartActivity.java index 58d5da5..3b9378f 100644 --- a/src/net/mypapit/mobile/myrepeater/SuggestRepeaterStartActivity.java +++ b/src/net/mypapit/mobile/myrepeater/SuggestRepeaterStartActivity.java @@ -3,7 +3,7 @@ MyRepeater Finder Copyright 2014 Mohammad Hafiz bin Ismail http://blog.mypapit.net/ - http://repeater-my.googlecode.com/ + https://github.com/mypapit/repeater-my This file is part of MyRepeater Finder. diff --git a/src/net/mypapit/mobile/myrepeater/WalkthroughActivity.java b/src/net/mypapit/mobile/myrepeater/WalkthroughActivity.java index dd8a0ea..9e45d10 100644 --- a/src/net/mypapit/mobile/myrepeater/WalkthroughActivity.java +++ b/src/net/mypapit/mobile/myrepeater/WalkthroughActivity.java @@ -29,7 +29,7 @@ protected void onCreate(Bundle savedInstanceState) { String title[] = {"Welcome!","What's New?","Compass", "No GPS? No Problem", "Incorrect Info?","Start using Repeater.MY!" }; String description[] = {"This is a walkthrough to introduce you to Repeater.MY new features.\n\nSwipe to continue", "Repeater.MY 2.0.x introduces several exciting new features:\n\n* Repeater Direction (Compass)\n* Manual Location selection\n* Repeater Information Suggestion", - "You can now determine Amateur radio repeater direction. This is useful for those who wants to tune their radio in order to get the clearest signal. Just remember that compass may not be available in the following situation: \n\n* Your device does not have built-in compass\n* You disabled Location Services or GPS\n* You use Manual Location selection\n\n To get accurate reading from compass, just lay your device flat on your palm or lay it on the table.", + "We have Repeater direction!! However compass may not be available in the following situation: \n\n* Your device does not have built-in compass\n* You disabled Location Services or GPS\n* You use Manual Location selection\n\n To get accurate reading from compass, just lay your device flat on your palm or lay it on the table.", "Repeater.MY can still work even if you do not have GPS. Just select \"Set Location...\" from menu and disable Location Services, then you are set to go!\n\n*It is still recommended that you use Location Service/GPS in order to fully utilize Repeater.MY capabilities ", "Repeater information can get out-of-date all the time! \n\nHowever, you can still contribute to the community by suggesting the correct repeater information. \n\nFrequent contributors will be featured in the \'Contributors List\'",