Android Tutorial & Lessons 27: Tomato-Tomahto, Bit-Byte, whatev our app reads and writes data!!!!
Uploader Comments (CornboyzAndroid)
All Comments (22)
-
Maybe some one saves some time: =)
If u have HTC (i have wildfire) you can use either DOWLOADS or DCIM folder. Both works, but you need to turn off HTC sync before trying to save anything. Also turn of USB debugging.
After saving files, change connection type to "disk drive" and check downloads or dcim folder from your pc. Songs should be there.
-
@HomeBaseProductions I had the problem, until i have looked at the files directories of the emulator's SD card. It turns out that it doesn't have a "downloads" folder to look on. So what I did was, I changed the (Environment.DIRECTORY_DOWNLOA
DS) into (Environment_DIRECTORY_DCIM). Because I have a DCIM folder on my emulator's SD card. -
i dont know what to do now .. i followed all your lessons everything works but this one not..Butt No error is eclipse..
-
it says fail ?????? Can You Help Me???
-
Hey CornboyzAndroid, thanks for the tutorial!
I'm working on some project where it already does that, but I need to be able to set up a new path by using a button (for example) and asking the user for the path (so he can select it). And seriously, I don't have any idea. Do you have any, please?
Thank you very much again,
Respect!
-
I still learned a lot, thanks for the lesson man
-
Hi, CornboyzAndroid
You can watch the files on your SD card through eclipse, simply change your prespective to DDMS (can be found through Window>Open Perspective>Other...)
Then you can watch the entire HD of your mobile emulator including the SD card
Travis, your tutorials are like bacon wrapped scallops. I can't have just one. Great work, brother!
techture 9 months ago 3
@techture haha this is probably the best comment yet!
CornboyzAndroid 9 months ago 3
Im having a problem, the makeText is not working. It says it cannot work because of the OnLongClickListener. This is what it sas in more detail.any help would be wonderful please!
"- The method makeText(Context, CharSequence, int) in the type Toast is not applicable for the arguments (new View.OnLongClickListener(){}, String, int)"
DANJUMA9 10 months ago
@DANJUMA9 what up Danjuma, You're getting this problem, because you have implemented the onClickListener to your class, so most likely what is happening, is you have set your makeText (this, blah, blah) the "this" in this instance will look for what you have implemented, (onClickListener) and that is not the context we want, so change it to whatever you class name is ".this" (Ex change "this" to "tutorialX.this". Let me know if that makes sense/ helps
CornboyzAndroid 10 months ago