All Questions
7 questions
1
vote
1
answer
54
views
Using Writer to send an email with Korean text outputs garbage
My app programmatically sends emails. It works when the body is English text, but when the body is Korean it comes out as garbage. For example sending '테스트' results in '???'.
Here's the code I'm ...
1
vote
1
answer
700
views
Writing on json file with libgdx
I'm new on this forum and I make an android app using libgdx and I want to save the player score on a json file.
I can read the json file to get back the score but if the player do a better score I ...
0
votes
1
answer
162
views
IOUtils writer error Java connect to GAE
I import writer from apache. The error occured when I try using it.
in is just the url.
I was following exactly what was on this link:
Store image to Blobstore from android client and retrieve ...
0
votes
0
answers
26
views
Android: One writer don't wirte to file
Here is my function:
//This function is for parsing the online xml file and adding those to the ".txt" file
private void downloadData() throws Exception {
Thread thread = new Thread(){
...
0
votes
3
answers
8k
views
Keep getting NullPointerException when trying to write file to internal data
I am using the following code to copy a json file from my assets folder to the data folder to use this data at first startup until the real data has loaded:
AssetManager am = myContext.getAssets();
...
1
vote
1
answer
5k
views
Android: JsonWriter can not write to a file
i'm trying to call a JsonWriter method to add something to test.json after receiving wifi information, but after it successful write the file, the file still empty.Here are the codes.
OnReceive
@...
1
vote
2
answers
9k
views
BufferedWriter not writing to .txt file even after flushing the writer
Here's the code I used, I get no errors or warnings but the file is empty, I created the aq.txt file and placed it in the workspace and it also shows in the project. I'm sure it's something stupid I'm ...