This file contains 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 java.io.File; | |
public class JpgMetadata { | |
String name = ""; | |
File file = null; | |
String latRef = ""; | |
String lonRef = ""; | |
double lat_d = 0.0; | |
double lat_m = 0.0; |
This file contains 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.util.Log; | |
import org.apache.sanselan.formats.tiff.constants.TagInfo; | |
import java.io.File; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
public class ImageDataParser extends ImageDataContainer{ | |
private static HashMap<String, TagInfo> Tags = initializeTags(); |
This file contains 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.util.Log; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.HashMap; | |
import java.util.List; | |
import org.apache.sanselan.ImageReadException; | |
import org.apache.sanselan.Sanselan; | |
import org.apache.sanselan.common.IImageMetadata; | |
import org.apache.sanselan.common.ImageMetadata.Item; |
This file contains 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
echo off | |
rem Copyright (C) 2010 The Android Open Source Project | |
rem | |
rem Licensed under the Apache License, Version 2.0 (the "License"); | |
rem you may not use this file except in compliance with the License. | |
rem You may obtain a copy of the License at | |
rem | |
rem http://www.apache.org/licenses/LICENSE-2.0 | |
rem | |
rem Unless required by applicable law or agreed to in writing, software |
This file contains 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 com.volgakarakus.johndeere; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.AdapterView; | |
import android.widget.Button; | |
import android.widget.EditText; | |
import android.widget.SeekBar; |
This file contains 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
#include <ESP8266WiFi.h> | |
#include <ESP8266WebServer.h> | |
//The network is required to be connected to the internet | |
//If you want the IP to be sent to the phone. | |
const char* ssid = "NAME OF NETWORK HERE"; | |
const char* password = "PASSWORD OF NETWORK HERE"; | |
//the number of steppermotors connected to arduino |
This file contains 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
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice | |
import sys | |
import time | |
import subprocess | |
import os | |
sys.path.append('./') | |
import sim_start | |
###1:change this for different tablets ___________________________ | |
recordDataValues = [1224, 334] | |
###1_end:_________________________________________________________ |
This file contains 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
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice | |
import sys | |
import time | |
import subprocess | |
num_touch = 0 | |
oldTime = 0 | |
image_count = 0 | |
point_index = 0 |
This file contains 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
final ArrayList<View> allViews = getAllChildren(findViewById(R.id.mainLayout)); | |
if(!allViews.contains(findViewById(R.id.mainLayout)))allViews.add(findViewById(R.id.mainLayout)); | |
findViewById(R.id.mainLayout).getViewTreeObserver().addOnGlobalLayoutListener( | |
new ViewTreeObserver.OnGlobalLayoutListener() { | |
@Override | |
public void onGlobalLayout() { | |
// Layout has happened here. | |
ArrayList<View> nl = new ArrayList<>(); | |
ArrayList<String> sl = new ArrayList<>(); |
NewerOlder