Skip to content

Instantly share code, notes, and snippets.

View sealskej's full-sized avatar

Ondrej Kroupa sealskej

  • Movinga
  • Berlin
View GitHub Profile
04-22 21:55:03.171: E/AndroidRuntime(3447): FATAL EXCEPTION: main
04-22 21:55:03.171: E/AndroidRuntime(3447): java.lang.RuntimeException: Unable to start activity ComponentInfo{cz.eman.eom/cz.eman.eom.activity.MainScreenActivity}: java.lang.NullPointerException
04-22 21:55:03.171: E/AndroidRuntime(3447): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
04-22 21:55:03.171: E/AndroidRuntime(3447): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
04-22 21:55:03.171: E/AndroidRuntime(3447): at android.app.ActivityThread.access$600(ActivityThread.java:123)
04-22 21:55:03.171: E/AndroidRuntime(3447): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
04-22 21:55:03.171: E/AndroidRuntime(3447): at android.os.Handler.dispatchMessage(Handler.java:99)
04-22 21:55:03.171: E/AndroidRuntime(3447): at android.os.Looper.loop(Looper.java:137)
04-22 21:55:03.171: E/AndroidRuntime(3447): at android.app.ActivityThread.main(ActivityThread.java:4
@SuppressWarnings("serial")
public static final Map<String, String> identifiers = new HashMap<String, String>() {
{
put("google", "https://www.google.com/accounts/o8/id");
}
};
public static Result auth() {
Logger.debug("authenticate");
String providerId = "google";
@sealskej
sealskej / gist:3273440
Created August 6, 2012 10:55
Custom TabBar on Android
package cz.eman.android.hosl.ui.widget;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;
import sbt._
import Keys._
import PlayProject._
object ApplicationBuild extends Build {
val appName = "generify-festivals"
val appVersion = "1.0-SNAPSHOT"
val appDependencies = Seq(
public class SkewedImageView extends ImageView {
public SkewedImageView(Context context) {
super(context);
disableHwAcceleration();
}
public SkewedImageView(Context context, AttributeSet attrs) {
super(context, attrs);
disableHwAcceleration();
# Crashlytics - plaintext stacktrace downloaded by Ondrej Kroupa at Mon, 10 Oct 2016 12:31:09 GMT
# URL: https://fabric.io/8fit2/android/apps/com.eightfit.app/issues/57eba4c20aeb16625bd7c3b8/sessions/57fb086801a40001099183da8d38838b
# Organization: 8fit
# Platform: android
# Application: 8fit Android
# Version: 2.12.0 (577)
# Bundle Identifier: com.eightfit.app
# Issue #: 2325
# Issue ID: 57eba4c20aeb16625bd7c3b8
# Session ID: 57fb086801a40001099183da8d38838b
# Crashlytics - plaintext stacktrace downloaded by Ondrej Kroupa at Mon, 10 Oct 2016 13:02:03 GMT
# URL: https://fabric.io/8fit2/android/apps/com.eightfit.app/issues/57ed91190aeb16625beba314/sessions/57fb7263036f00013e98b7541e650677
# Organization: 8fit
# Platform: android
# Application: 8fit Android
# Version: 2.12.0 (577)
# Bundle Identifier: com.eightfit.app
# Issue #: 2329
# Issue ID: 57ed91190aeb16625beba314
# Session ID: 57fb7263036f00013e98b7541e650677
# Crashlytics - plaintext stacktrace downloaded by Ondrej Kroupa at Mon, 10 Oct 2016 13:31:02 GMT
# URL: https://fabric.io/8fit2/android/apps/com.eightfit.app/issues/57f0cd370aeb16625b0885d9/sessions/57fa581802b100014b9158e16feb697c
# Organization: 8fit
# Platform: android
# Application: 8fit Android
# Version: 2.12.0 (577)
# Bundle Identifier: com.eightfit.app
# Issue #: 2341
# Issue ID: 57f0cd370aeb16625b0885d9
# Session ID: 57fa581802b100014b9158e16feb697c
Process: Franz [7734]
Path: /Applications/Franz.app/Contents/MacOS/Franz
Identifier: io.adlk.franz
Version: 4.0.4 (4.0.4)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Franz [7734]
User ID: 502
Date/Time: 2017-01-09 12:24:45.648 +0100
import React from 'react';
import {
AppRegistry,
Text,
View,
AsyncStorage
} from 'react-native';
import {
createRouter,