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
test |
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
[0] {Java.IO.IOException: Exception of type 'Java.IO.IOException' was thrown. | |
at Android.Runtime.JNIEnv.CallObjectMethod (IntPtr jobject, IntPtr jmethod, Android.Runtime.JValue[] parms) [0x00024] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:145 | |
at Android.Gms.Gcm.GoogleCloudMessaging.Register (System.String[] p0) [0x00000] in <filename unknown>:0 | |
at Bazaar.Android.Service.PushManager+<>c__DisplayClass3.<RegisterDevice>b__0 () [0x00000] in c:\Users\indrek\git\bazaar-app\Android\App\Service\PushManager.cs:107 | |
at System.Threading.Tasks.TaskActionInvoker+FuncInvoke`1[System.String].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in <filename unknown>:0 | |
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <filename unknown>:0 | |
at System.Threading.Tasks.Task.ThreadStart () [0x00000] in <filename unknown>:0 | |
--- End of managed exception stac |
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
// +proj=lcc +lat_1=59.33333333333334 +lat_2=58 +lat_0=57.51755393055556 | |
// +lon_0=24 +x_0=500000 +y_0=6375000 +ellps=GRS80 | |
// +towgs84=0,0,0,0,0,0,0 +units=m +no_defs | |
//Allikas: https://taxofon.ee/eomap/EOMap.js | |
String destinationCordinateProjection=" +proj=lcc +lat_1=59.33333333333334 +lat_2=58 +lat_0=57.51755393055556 +lon_0=24 +x_0=500000 +y_0=6375000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"; | |
//made by example: http://augusttown.blogspot.com/2010/03/using-java-map-projection-library-in.html | |
String[] proj4_w = destinationCordinateProjection.split(" "); | |
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
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.widget.BaseAdapter; | |
import java.util.List; | |
public abstract class MyBaseAdapter<T> extends BaseAdapter { | |
private List<T> mList; | |
private LayoutInflater mInflater; |
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
@Override | |
protected void onDestroy() { | |
if (mAsyncTask != null && mAsyncTask.getDialog() != null | |
&& mAsyncTask.getDialog().isShowing()) | |
mAsyncTask.getDialog().dismiss(); | |
super.onDestroy(); | |
} |