Skip to content

Instantly share code, notes, and snippets.

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.****.android, PID: 28582
java.lang.RuntimeException: Unable to pause activity {com.****.android/com.****.android.MainActivity}: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4668)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4627)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4602)
at android.app.ActivityThread.access$1300(ActivityThread.java:229)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1832)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
2016-08-05 19:38:33.411 Inspectful[5067:823831] ================================================================================
2016-08-05 19:38:33.412 Inspectful[5067:823831] DEVELOPMENT BUILD
2016-08-05 19:38:33.412 Inspectful[5067:823831] ================================================================================
2016-08-05 19:38:33:483 Inspectful[5067:823831] [Inspectful][AppDelegate] -application:didFinishLaunchingWithOptions:(null)
2016-08-05 19:38:33.489 Inspectful[5067:823831] Apache Cordova native platform version 4.2.0 is starting.
2016-08-05 19:38:33.490 Inspectful[5067:823831] Multi-tasking -> Device: YES, App: YES
2016-08-05 19:38:33.538 Inspectful[5067:823831] Using UIWebView
2016-08-05 19:38:33.540 Inspectful[5067:823831] [CDVTimer][handleopenurl] 0.090003ms
2016-08-05 19:38:33.541 Inspectful[5067:823831] [CDVTimer][intentandnavigationfilter] 1.293957ms
2016-08-05 19:38:33.541 Inspectful[5067:823831] [CDVTimer][gesturehandler] 0.082016ms
------------------------------------------------------------------------------------------------
| API Resource Model | -------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Root url points to latest version of the api eg. https://host:port/v3.0/ same
as https://host:port/
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
https://www.zuzy.com/ | Web page where you can manage your tokens
create / delete.
API:
POST /<token>/ | upload file and associate it with <token>
GET /<token>/ | download file associated with the <token>
GET /<token>/authorize/ | returns a new <token> that can be used to
down / up files.
W
import lejos.nxt.*;
import lejos.util.*;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.objectdetection.*;
import lejos.robotics.*;
public class robo implements FeatureListener {
DifferentialPilot nerdling;
@voidw0rd
voidw0rd / robo.java
Created August 30, 2012 08:16
robo.java
import lejos.nxt.*;
import lejos.util.*;
import lejos.robotics.navigation.DifferentialPilot;
import lejos.robotics.objectdetection.*;
import lejos.robotics.*;
public class robo implements FeatureListener {
DifferentialPilot nerdling;
<a class="bookmarklet" title="Add to delicious"
href="
javascript:(function(){
f='https://www.delicious.com/save?url='
+encodeURIComponent(window.location.href)
+'&title='+encodeURIComponent(document.title)
+'&notes='+encodeURIComponent(''
+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text))
+'&v=6&';a=function(){if(!window.open(f+'noui=1&jump=doclose','deliciousuiv6','location=1,links=0,scrollbars=0,toolbar=0,width=710,height=660'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()">
<html>
<head>
<title></title>
<script src="http://194.102.63.56:9999/jquery-1.7.1.min.js"></script>
<script src="http://194.102.63.56:9999/jquery-ui-1.8.17.custom.min.js"></script>
<script>
$(document).ready(function(){
\documentclass[a4paper,12pt,titlepage]{scrreprt}
\usepackage{fancyhdr}
\usepackage{etoolbox}
\usepackage[utf8x]{inputenc}
\usepackage{srcltx}
\usepackage{listings}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage[pdftex]{graphicx}