Found a weird Folder name "GROWTH_TEST" - Samsung Galaxy J6 Questions & Answers

I found a weird Folder name "GROWTH_TEST"
As of now it contains two files
1. "optin_trace.txt" containing "om.android.volley.VolleyError: Network Disconnectedcom.android.volley.NoConnectionError: java.net.UnknownHostException: Unable to resolve host "ureca.samsungapps.com": No address associated with hostname "
2. "appGrowthLog.txt" containing "com.android.volley.VolleyError: Network Disconnected "
Which app is creating this?
Why it creating a logs for me to see?
Why the app is creating this as main folder not in sub-folder ?

Abhijeet.kr said:
I found a weird Folder name "GROWTH_TEST"
As of now it contains two files
1. "optin_trace.txt" containing "om.android.volley.VolleyError: Network Disconnectedcom.android.volley.NoConnectionError: java.net.UnknownHostException: Unable to resolve host "ureca.samsungapps.com": No address associated with hostname "
2. "appGrowthLog.txt" containing "com.android.volley.VolleyError: Network Disconnected "
Which app is creating this?
Why it creating a logs for me to see?
Why the app is creating this as main folder not in sub-folder ?
Click to expand...
Click to collapse
Yes I belive so
Also found optin_trace.txt

Abhijeet.kr said:
I found a weird Folder name "GROWTH_TEST"
As of now it contains two files
1. "optin_trace.txt" containing "om.android.volley.VolleyError: Network Disconnectedcom.android.volley.NoConnectionError: java.net.UnknownHostException: Unable to resolve host "ureca.samsungapps.com": No address associated with hostname "
2. "appGrowthLog.txt" containing "com.android.volley.VolleyError: Network Disconnected "
Which app is creating this?
Why it creating a logs for me to see?
Why the app is creating this as main folder not in sub-folder ?
Click to expand...
Click to collapse
I have the appGrowthLog txt, anyone else have any info?
Edit: in the appGrowthLog.txt file says "com.android.volley.NetworkErrorcom.android.volley.VolleyError: Network Disconnected".

Related

Android FileOutStream: can not find my saved txt file

hello, everyone,
I'm an newbie developer for android device.
Recently I want to save my data into an txt file using FileOutputStream.
Here is my code:
Code:
FileOutputStream outStream=this.openFileOutput("2222.txt",Context.MODE_APPEND + Context.MODE_WORLD_READABLE);
String data1 = Float.toString(cpuUsage);
Log.i("savedata",data1);
outStream.write(data1.getBytes());
outStream.close();
The code worked perfectly.
But the problem is I can not find where to see this file on my computer.
I was told that the fileoutstream will ususally save file in data/(packages name)/files.
But data directory is empty in file explorer on Eclipse.
Anybody please help..
Best

[Q] ApplyRecovery.bat

this is gonna sounds stupid but i followed every step but i cant seem to get the file to be only ApplyRecovery.bat, thats how i named the files but it does only open notepad....like if it was reading ApplyRecovery.bat.txt
Step 5: create a text file using notepad, called ApplyRecovery.bat. Make sure it is not named "ApplyRecovery.bat.txt" . It will contain the following lines (copy/paste is fine)
i did it finally
For future reference, it might help others if you explained how you solved your problem. For example, given this issue where the file is opening in notepad, one of the following possibilities is apparent:
1. When saving the file, you did not enclose the file name in quotes, e.g. "ApplyRecovery.bat". Enclosing the file name in quotes overrides the automatic generation of extensions and saves the file exactly as you wish.
2. Batch files, files ending in .bat, were set to open in notepad instead of being ran when double-clicked. This would by necessity require you to delete the file association before the batch file would work.

Editing the host file - new entry has no effect

Hi folks,
I'm developing a new version of a live website in WordPress with domain mapping so that the URL is like-for-like with the live site. On a PC, I just change my host file to point to the WordPress IP address.
I now need to test the WordPress site on a phone.
I have an old HTC Desire with Android 2.3.4 (rooted) that I'm trying to use, so need to add the WordPress IP to the host file.
Using ADB, I've managed to retrieve the hosts file from the phone, edit it and place it back on the phone using:
Code:
adb remount
adb pull /system/etc/hosts /hosts
[edited host file]
adb push /hosts /system/etc/hosts
To double-check that the hosts file really has updated, I've deleted hosts from my computer, then pulled it again from my phone. Opening it up in Notepad++ I can see that it does contain the new entry.
The strange thing is, if I open a web browser to the url I'm trying to map to the WordPress IP address, it still goes to the live website, not the WordPress server. I've verified this using PingTools - the returned IP address is that of the live server.
I'm guessing I need to flush the DNS but it seems the only way to do this is a reboot. But upon reboot, the new entry in the hosts file is gone and we're back to only "127.0.0.1 localhost", so I'm now at a loss.
Any thoughts on where to go from here?
EDIT
After doing the above, installing and loading 'Hosts tool' from Google Play, sometimes the new host entry is there, but most of the time the host file disappears from the phone completely! Looking through ASTRO file manager, it confirms the host file has vanished. Rebooting the phone gets it back, but then we're then back to only "127.0.0.1 localhost" in the host file
I've fixed the problem. For some reason, there needs to be a line feed after the last entry in the host file.
To do this, open the host file in Notepad++ and go the view menu > Show symbol > Show characters. Copy the LF character at the end of "127.0.0.1 localhost" and paste it to the end of each line if it doesn't already have the LF character at the end.
Android refreshes its DNS every 10 minutes, so it's then just a matter of waiting.

access problem to files

Hi.
I have a problem.
i can see my files in this path : /data/media/0/android/obb ( i have read and Write access)
but i cant see any files in this path : /storage/emulated/0/android/obb . it is empty and i can't write any thing on it.
how can i fix it?
Android is able to mount a single partition into multiple point in system (which represented in folder).
As in each folder, a user and an application have a different permissions regarding any execution against the folder.
Thus, the difference that you're experiencing. To solve this is to set the permission of both folder in the same way.
To set the permissions, your phone have to be rooted and using an application that could change folder/file permissions.

Sharing text file programatically

Hi, I am quite new to Android development. I need to share a text file from my Android app via WhatsApp, mail etc. I am using the below code:
File file = new File(stringFile);
Intent intentShare = new Intent(Intent.ACTION_SEND);
intentShare.setType("text/*");
intentShare.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+file));
startActivity(Intent.createChooser(intentShare, "Share the file ..."));
stringFile contains the full path of my file. The file is in internal storage. When I run the above code. I am getting the share apps like WhatsApp. gmail etc.
i am also able to select the requited app( say gmail) and proceed. But the thing is the file is not sent at all.
Is there anything I need to do in special? The file is created in internal storage. The path is /data/user/0/com.example.myappname/files/myfile.txt
Kindly help.Thanks
The receiving app has no permission to access the data your file://Uri points to.
I think you should store the data in your own ContentProvider or system MediaStore in order for the receiving app to have access to the text file.
If you will store the file in your own ContentProvider, you should pass the Content Uri into the function call intentShare.putExtra() then.

Categories

Resources