sd-card

Dealing with Android devices that don't need a SD card

It seems that some Android devices like the HTC Incredible and the Archos 5 IT don't need a SD card for storage. How should apps that read and write files to "external" storage (so far the SD card) deal with this in the most backward and forward compatible way possible? Edit: Getting more reports about devices that use onboard memory a...

manually put files to android emulator sd card

Hi guys, I'm just having trouble with getting my emulator SD card work... I created a new AVD device with a new SD card. So how to put data onto it? I found the "correct" file to be mountet on Deamon tools, but is currupt or simply not readable... It would be great if you have any idea :) ...

SD card initialization using SPI interface

I get invalid response Codes from my SD Card(CMD8, CMD55, CMD41) Init routine: SDCS = 1; // MMC deaktiviert SPI1CON1bits.SMP = 0; SPI1CON1bits.CKE = 1; SPI1CON1bits.MSTEN = 1; SPI1CON1bits.CKP = 0; SPI1STATbits.SPIEN = 1; for(i=0;i<10;i++) SPI(0xFF); // RESET unsigned char rr=Command(CMD0,0); SDCS=1; // MMC de...

How to use SD Card in Android Emulator 1.5

Hi I am new to Android. How to use System memory as a SD Card in the Android 1.5 Emulator.I am using Eclipse IDE. ...

Storing data on SD Card in Android

Using the guide at Android Developers (http://developer.android.com/guide/topics/data/data-storage.html) I've tried to store some data to the SD-Card. This is my code: // Path to write files to String path = Environment.getExternalStorageDirectory().getAbsolutePath() + "/Android/data/"+ctxt.getString(R.string....

How can I emulate/fake/immitate an SD card with a live connection to a computer?

I have a machine in a remote location that contains an SD card slot as its only output. I would like to read the output without needing to physically go to the machine and remove the card. My idea is to place a PC next to the machine and connect the SD card slot of the machine to a USB or serial port or some other input on the PC. Is t...

sd card folder is not being created in DDMS

hi everyone , I am new to android. I intend to make video player which can play video from file as well as web URL. But the problem is that when my emulator runs , a sd card folder should be created in "File Explorer" tab of DDMS perspective in eclipse , which is not happening . That's why I am unable to push any file in the sd card an...

When putting an SD/MMC card into SPI mode, can CS go high in between bytes?

I have a microprocessor with the card's chip select (CS) line tied to a 'frame' signal automatically driven by the SPI (SSP) circuit. This causes CS to go high between each byte. The MMC/SD specs require that CS be held low in order to enter SPI mode. Does it need to be held low the entire time, or only when transmitting each byte of ...

can android load dll's from sdcard in native mode

I want to port a program I wrote to android. The program is in c++ on windows and linux. The program uses dll's for a plugin architecture. New plugins can be added to the program by downloading a dll which the program loads from a specific folder. My question is... Is it possible to download dlls built for android to a directory on the ...

Default ringtone on SD CARD: will not find audio

Hey guys, I've been trying to extend my phone profile app to be able to handle the phone's default ringtone. When setting my app to use the default ringtone with a system default one, it sets fine. When I try to set a default ringtone which is on /sdcard, the Uri goes in correctly, but when it comes to setting it, it only pulls out the...

DRM over SD Cards safe?

I'm trying to implement a DRM based around SDCard's serial number in Windows CE. There are a few question I'm concerning. Is SDCards' serial numbers unique like the MAC address ? In Windows CE 6 (as some source codes are available, can someone make a SDCard Reader driver that reports wrong serial number. (A number that is not coming fr...

Getting the Contents of a Specific Directory on the SDCard

How would I go about getting an array of all the files in a specific directory on the sdcard, i.e. /ringtones/? ...

Setting the Wallpaper from an Image on the SDCard

How would one go about setting the homescreen wallpaper from an image on the SDcard? i.e.: try { wallpaperManager.setResource("/sdcard/wallpaper/olive.jpg"); finish(); } catch (IOException e) { e.printStackTrace(); } hasn't worked, returned an error: 'The method setResource(int) in...

Solved Array Issue, App Disappearance and Force Close Error, but still no videos, where is the flaw in this code??

After having solved every of my previous issues to get the code running for retrieving videos from the sdcard and displaying them in the GridView, I still cannot see the videos. I don't know what I have done wrong that they won't show and the array isn't passed on. If someone could help me out, please, because I really haven't got a cl...

Android Camera, internal Listoption?

Hey guys! When you are taking a picture on an and device, you can send it. There are apps, which are pushing their actions into these send-list (Like Twidroid, which adds a listitem called "Send Tweet" in that menu). So, how is it possible to add such a menu point into that menu? For my app, I want to make it possible to take pictures f...

How can I use SD card for data logging 16bit data at 48ksps

Background My board incorporated an STM32 microcontroller with an SD/MMC card on SPI and samples analogue data at 48ksps. I am using the Keil Real-time Library RTX kernel, and ELM FatFs I have a high priority task that captures analogue data via DMA in blocks of 40 samples (40 x 16bit); the data is passed via a queue of length 128 (wh...

Set install location for Android 1.6?

I'm writing an application that is compatible with Android 1.6, but I would like to give users running Android 2.2 the option of moving the application installation to their sd card. How can I compile my application for 1.6, but still allow 2.2 users to install it to their sd? ...

In android, how do i save an image in the internal storage?

Im making an application which requires me to store a byte array and then retrieve it.. while storing it, i used the "compress" method, storing it as a jpeg.. this isnt working.. An alternative method is possible.. ...

Can't add data to Android sdcard on the emulator

I can see the sd card in the file explorer with d--rwxr-x permission. When i tried adding any file to it it shows Failed to push the items. It is not adding even very small files. Can you guys suggest how to fix this? ...

My images did not show from the sdcard.

Hello everyone, I wanna try an example of storing images into sdcard and displaying out to see if it works. However, my images can't be shown. Please help me check my problem. public class SDCard_Image { //read drawable files Resources res = getResources(); Drawable drawable = res.getDrawable(R.drawable.mood_1); //insert into sd car...