I'm trying to test a cocoonjs app I made on an Nvidia Shield. I was able to get to my app from an express server I had running on another pc and that worked fine but I'd like to be able to run the app locally off of an SD card in the shield.
I tried putting my .zip onto a micro sd and putting that into the shield but the launcher dosent show anything in the sd card list. I'm assuming that I have to somehow get the .zip file onto the internal shield sd card itself? Has anyone else done this before? Thanks in advance for the help and I apologize if I'm just missing something simple.
The only requirement is that the zip file should be on the root of the SD card.
You can get more infor here:
http://support.ludei.com/hc/en-us/articles/201048463-CocoonJS-launcher-user-guide
Related
I have an micro SD card, that was in a Galaxy J5 with Android 7, and all the files are messed up now. (jpg, pdf, mp3)
Following characters can be found in the beginning in all of the files, with minor changes in each one.
<ŕ’Ż4i“µŢî Ś- `6S座uť?ŃÖ0Ü]#Î.0€Ň(QlüŚíď¦îRíb_CONSOLE sżăm:Ń ..
.. and then a lot of NULLs following.
The _CONSOLE part is there in every file. That's why I think that all files were manipulated with the same method.
I am looking for somebody who has seen this kind of files.
I have seen it several times, it appears file based encryption. It is not limited to Android Linux, some NAS devices use it (- eCryptFS file-level encryption).
Seems the OS has written something along the lines of a table into the start of file/a way to read them. I am pretty sure the data is still there, just not visible. Try opening them via a hex editor and check if the NULL's are really null bytes or unreadable data
I had a similar issue. My Galaxy S8 could not longer read the files in the SD card (exFAT) I had encrypted before. I must somehow have deleted the file .MetaEcfsFile that contains the Samsung encryption info. See also here. Btw, the files with the _CONSOLE artifact are encrypted with OpenPGP message format (RFC2440)
My solution was:
Undelete the .MetaEcfsFile with Recuva from a PC using an SD card reader.
Reconnect the Phone via USB cable and copy that file via that connection. Direct copy via SD card reader didn't work. The phone deleted that file again after phone restart.
After the file was copied via cable, the SD card files were still encrypted/unreadable, but...
The phone menu Biometrics and security finally proposed Decrypt SD card and after I started the decryption, I got an error but all my files were decrypted and readable again.
I created an Android app sometime ago. What the app does is basically download a list of files (images and videos) and play them in a loop (like a Playlist).
These files are saved in the default Android External Storage Directory. I get it using this method:
Environment.getExternalStorageDirectory().getAbsolutePath();
Until now I never had storage problems but testing the app on an old device (which has less storage capacity) I realised that I have a problem when the files (PlayList) size is bigger than the device storage capacity.
I have thought (and research) about using an USB stick, but I don't think that would be a good solution since I cannot know 100% sure the USB path (it can be different for each device).
Any ideas about how handle this problem? Maybe another solution instead of using the USB ?
Here is what I have researched:
How to access USB Path in android?
How to find USB storage path programmatically?
android How to write files to a usb memory?
Do you need to store the actual images and videos on the device - why not just store their location and get them dynamically. I've not used a recyclerView but I thought that it could do something like this, but could be wrong.
I have a Sony Z5 Compact phone with a brand new, Sandisk UHS-I U3 32GB SD card.
The card used to work for a while (like 3 weeks), but now something happened to that.
Phone is not able to write onto the card at all.
I tried formatting that from the Android, from Windows, nothing works.
Symptoms:
1.) after formatting, I can create folders and copy files onto the sd card on Windows.
2.) after formatting, I can create folders on the card on android.
3.) if I copy anything, really, anything from Windows to Android (to the card), the card will deny the next file write operations.
4.) seems like if it gets readonly, but mount shows sdcard1 as rw.
5.) after this, putting the card to Windows, it works okay (without formatting)
Question:
I want to format the SD card, and put back in the phone, and put some music onto that. (without having it corrupted).
Thank you.
Ps.: I hope this is some right forum for this.
It may seem strange, but I wonder is an android app able to make the SD Card inside the device windows bootable? I thought of making the SD bootable and write ultimatebootcd to it. I did it through windows, but it would be so great if android can do it!
To make the SD card bootable, you have to modify the boot sector of the card. This can not be done from a standard Android application. If the Android device is rooted, it can almost certainly be done from a native Linux program, or an NDK program.
If the device is not rooted, you can probably not do what you want. As Chris Stratton commented, if the card is already made bootable, you could probably then change for instance what OS is booted up and how.
Say, there is startup code which loads and boots an OS, then you can change the configuration file for the bootloader. A starter: http://www.syslinux.org/wiki/index.php/Boot_an_Iso_image
I used Rufus and installed a syslynux on the SdCard from a PC running window 10.then I put the card back into the Moto phone. It's receiving files that I have moved from the internal storage to the card how ever I have not a chance to find out whether they Will open up In the PC or not.
I wanted to know how to virtually create sd card in the emulator. Also I wanted to know where the app is really installed on the device.Is it in sd card or in internal memory..Thanks in advance
The above is answering your question related to your emulator SD card.
For installed app location follow this link:
Difference between Emulator and Real Device for Installed applications?
you can find your app stored location using DDMS in Eclipse. Usually you app will under
data->data->
If you want to use SD Card functionality in your Emulator then add new hardware SD Card Support. This option is avaible when you created new avd.