"No media found". How to insert image in android -


I'm new to Android programming so if someone helps me then I would be really grateful

I am trying to implement Steganography in Android but my problem is that I do not know how to insert images in Android. That's why I'm getting "no media was found" . Please help me with it.

I tried

c: & gt; Adb push c: \ image1.png /sdcard/image1.png

But I get this command prompt.

failed to copy 'c: The correct directory for my emulator is mnt / sdcard . It works for me:

  adb push README mnt / sdcard   

Also keep in mind that you adb shell ls & lt; Path & gt; , which may be sent to you on the right track

edit - apparently sdcard to mnt / sdcard and also works for me using the named file Doing image1.png is also working. Maybe you have a problematic file already on that place?

Edit - I think you have to turn off the USB mounting option when you will use ADB to push files. It seems that your comment about the gallery is not searching for your media.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -