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
===Backstory Start=== | |
In my uncle's company, he recently got everything on the computers. By that mean, roughly 2 years ago, | |
he decided it was time to get everything from the paper medium to the electronic media. | |
That's what he did. He got a good deal for about 26 computers from a agent. | |
The job of the agent was to get every computer up and running, with all drivers, licenses and software. | |
After a few weeks the computers (all of them) seemed to be running into licensing issues. | |
They were getting the licensed expired message, and a watermark at the bottom right corner of the screen. | |
After the agent was informed about this issue, they worked overnight at the office to correct this issue, |
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
// Auto start of viewpager | |
getActivity().runOnUiThread(new Runnable() { | |
@Override | |
public void run() { | |
// Auto start of viewpager | |
final Handler handler = new Handler(); | |
final Runnable Update = new Runnable() { | |
public void run() { | |
if (currentPage == NUM_PAGES) { |
This file has been truncated, but you can view the full file.
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
--------- beginning of crash | |
10-15 03:01:56.846 31527 31529 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x494f52444e4100 in tid 31529 (dumpsys), pid 31527 (dumpsys) | |
10-15 03:02:33.238 31561 31563 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x494f52444e4100 in tid 31563 (dumpsys), pid 31561 (dumpsys) | |
10-16 02:43:55.700 20613 20615 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x494f52444e4100 in tid 20615 (dumpsys), pid 20613 (dumpsys) | |
10-16 02:44:03.776 20627 20629 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x494f52444e4100 in tid 20629 (dumpsys), pid 20627 (dumpsys) | |
10-16 02:44:14.158 20634 20636 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x494f52444e4100 in tid 20636 (dumpsys), pid 20634 (dumpsys) | |
10-17 04:09:37.473 6560 6562 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x494f52444e4100 in tid 6562 (dumpsys), pid 6560 (dumpsys) | |
10-17 04:09:4 |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Video; | |
using YoutubeLight; | |
using SimpleJSON; | |
using System.Text; | |
using System; | |
using UnityEngine.Events; | |
using UnityEngine.UI; |
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
//////////Usage of the StopWatch class ////////////////////// | |
void main() { | |
var stopwatch = new StopWatch(); | |
stopwatch.start(); | |
stopwatch.milliseconds = 10000; //10 seconds have passed | |
print(stopwatch.elapsedDuration); | |
stopwatch.stop(); | |
} |