Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

datetime works

  • Loading branch information...
commit 4de2b29decc5c9a8a524eac8e9b0f6f35a315095 1 parent c6be975
Jon Vlachoyiannis authored
View
6 example/AndroidManifest.xml
@@ -14,6 +14,10 @@
</activity>
<uses-permission android:name="android.permission.INTERNET" />
</application>
- <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+
<uses-sdk android:minSdkVersion="3" />
</manifest>
View
BIN  example/libs/sfalma-trace.jar
Binary file not shown
View
4 example/res/values/strings.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="hello">Hello World, MainActivity!</string>
- <string name="app_name">android-remote-stacktrace Example</string>
+ <string name="hello">Please let me crush!</string>
+ <string name="app_name">Sfalma Example App</string>
</resources>
View
2  src/com/sfalma/trace/DefaultExceptionHandler.java
@@ -70,9 +70,9 @@ public void uncaughtException(Thread t, Throwable e) {
BufferedWriter bos = new BufferedWriter(new FileWriter(G.FILES_PATH+"/"+filename+".stacktrace"));
Date now = new Date();
- bos.write(now + "\n");
bos.write(G.ANDROID_VERSION + "\n");
bos.write(G.PHONE_MODEL + "\n");
+ bos.write(now + "\n");
bos.write(result.toString());
bos.flush();
// Close up everything
Please sign in to comment.
Something went wrong with that request. Please try again.