1d
revised How can I force Python's file.write() to use the same newline format in Windows as in Linux ("\r\n" vs. "\n")?
Improved the question for searchability (re-edited because i forgot to mention Windows)
Jul
20
comment simpledateformat parsing date with 'Z' literal
This is terribly annoying.
Jul
17
comment How can I sort a dictionary by key?
But this also sorts the keys of nested objects, which might not be wanted.
Jul
6
answered Having to reload page for Firebase recognize auth
Jul
1
awarded Nice Answer
Jun
22
revised Timertask or Handler
fixed code
Jun
21
revised Android Google+ Login: "FirebaseError: Invalid auth credentials provided" after revoking access
added 373 characters in body
Jun
20
revised Android Google+ Login: "FirebaseError: Invalid auth credentials provided" after revoking access
added 200 characters in body
Jun
20
revised Android Google+ Login: "FirebaseError: Invalid auth credentials provided" after revoking access
added 110 characters in body
Jun
20
asked Android Google+ Login: "FirebaseError: Invalid auth credentials provided" after revoking access
Jun
10
revised How are file types known if not from file suffix?
Added examples for magic numbers
Jun
8
awarded Caucus
Jun
8
awarded Constituent
May
27
revised Handler vs AsyncTask vs Thread
highlighted the update
May
27
revised Handler vs AsyncTask vs Thread
highlighted the update
May
27
comment Can I chain async task sequentially (starting one after the previous asynctask completes)
But this way you won't be able create some sort of flow control. Oh, my bad, you still can do that in the onPreExecute callback.
May
16
comment Ripple drawable in xml not working
This works perfectly if you just want to have a transparent background. In that case the <item><selector><item(s)> can be replaced by a single transparent drawable <icon>-tag. --- oh, but the performance of the ripple suffers tremendously
May
15
comment Best way to interpret JavaScript in an Android Java Application
Ok, thanks. I couldn't find a Tutorial for Android with a quick search. I'll use a WebView, and when I start recognizing patterns in the "filters" I'll parse and process them directly in Java. Maybe the WebView will have the additional benefit of allowing to add a HTML5 based editor / debugger for the rules.
May
15
comment Best way to interpret JavaScript in an Android Java Application
Thanks, the second approach sounds interesting, as the parsing/modifying of the text occurs rarely and usually upon request of the user. I'd like to try that. Are there any well established libraries you know about? I think I'm prefering JavaScript.
May
15
comment Best way to interpret JavaScript in an Android Java Application
@jcubic Yes, I was going for JSON already, but the Java side processing may be too unflexible. I added some example rules so that you see what I mean. I have it in Python, and JavaScript would be just as easy, but in Java, I think that's wasted time and effort.
1 2 3 4 5