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_DOWNLOADS) into (Environment_DIRECTORY_DCIM). Because I have a DCIM folder on my emulator's SD card.
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?
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
Yup I looked up online and found it but you just replied the answer too so sweet. Its working now. Thanks a lot for the tutorials men, Im lovinnnnnnngggggggg it. God Bless you men! I wanted to ask if you could use a came that records, saves video and shares it through email. I have asked this on your wall and some other videos hehe. I will appreciate it. Later "My Gangsta" lol.
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 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
I like your videos, in this tutorial you are reading and writing files and since you are doing this on the UI thread you can cause an ANR. The file reading and writing should be done on its own thread. Thank you for your work.
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.
psyhest 1 month ago
i dont know what to do now .. i followed all your lessons everything works but this one not..Butt No error is eclipse..
HomeBaseProductions 4 months ago
it says fail ?????? Can You Help Me???
HomeBaseProductions 4 months ago
@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_DOWNLOADS) into (Environment_DIRECTORY_DCIM). Because I have a DCIM folder on my emulator's SD card.
kokoXcrunch 3 months ago
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
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!
red5isalive2 9 months ago
I still learned a lot, thanks for the lesson man
ddavv1 10 months ago
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
elimicky1982 10 months ago
meant if you could make an app that records video....
DANJUMA9 11 months ago
Yup I looked up online and found it but you just replied the answer too so sweet. Its working now. Thanks a lot for the tutorials men, Im lovinnnnnnngggggggg it. God Bless you men! I wanted to ask if you could use a came that records, saves video and shares it through email. I have asked this on your wall and some other videos hehe. I will appreciate it. Later "My Gangsta" lol.
DANJUMA9 11 months ago
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 11 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 11 months ago
Comment removed
robotus0rob 3 months ago
thank you bro ( شكراً لك ) :)
iBaWoNi 11 months ago
Comment removed
dogancoruh 11 months ago
@dogancoruh Teşekkür ederim
CornboyzAndroid 11 months ago
Comment removed
dogancoruh 11 months ago
good job, keep it up
ZDevelopers 1 year ago
I like your videos, in this tutorial you are reading and writing files and since you are doing this on the UI thread you can cause an ANR. The file reading and writing should be done on its own thread. Thank you for your work.
michaelsprayberry 1 year ago