General :: How To Write SIM Card Emulator Software
May 5, 2011
Is it possible to write an SIM card emulator software for Android?
By doing this, putting in a sim card in the phone, starting up an app that clones it in the memory, doing the same with a second sim card and then being able to change software wise?
View 9 Replies
May 19, 2014
My S4 died from a smaller than hairline crack in the display - Cha-ching! $175The cat knocked my laptop-the same one on which I had just successfully re-flowed the video chip-off on the floor, breaking, of course!, the screen - ~$50 (when I get around to it)
Now, the first time I try to add some new tunes to my "new" phone, I can't manipulate any data on its SD card via WiFi. I can write, delete, move, rename, anything I want to/from the card from within the phone itself. Just not over WiFi.
I thought it was perhaps the app I was using so I tried another but same thing. The best error code I get is the highly informative "Operation Failed"-Period.
Is there some setting somewhere that holds sway over the ability to write to the SD card?
View 3 Replies
View Related
May 15, 2012
Specs: ainol novo elf 7 tablet A10 processor. it has android market. (google play )
ICS 4.0.3, kernel version 3.0
it came with some chinese apps etc (identifying which rom it was, i believe it was factory rom).I ask torrents to download in my sd card, it says error , permission denied .
EXT CARD SIZE: 2 gig only. manufactuer says tab supports upto 32 *gig card...card wroks fine on my nokia x2-00 phone
Investigation:
1)i tried creating directory in using File manager...it did, ...it didnt show option of deleting / pasteing something.
so i used es file explorer........when I asked it to delete that empty directory i created , it said error permission denied.
2)i try to paste something, it fails.
3)i try to delete something it fail.
So, FORMATTED the memory card (via pc...connected it as usb, formatted, ejected), TRY TO PASTE SOMETHING via tablet, it fails
View 1 Replies
View Related
Oct 23, 2012
I did a backup using Titanium Backup and Go Backup and after wiping my Motorola Defy, tried to restore apps, contacts etc. The problems I encountered were:
1) Go Backup can't recognize backup directory on SD card for some reason.
2) Can't move apps to SD. An error occurs: "Move Application: Failed to move application. There is not enough storage left." Needless to say, I have more than enough storage.
This is was I encountered by far, although I believe these are just a small part of the symptoms for a single problem.
Maybe its because there are no permissions, or moving apps is impossible because of an existing app files on the SD card.
What is the actual cause for this? Or is there a tool to fix the permissions on the Defy?
View 9 Replies
View Related
Aug 19, 2009
How to remount /sdcard directory to read/write on emulator?
I read this:
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
But i don't know how to apply that to remount /sdcard directory in read-write mode?
View 1 Replies
View Related
Feb 4, 2014
I am on Android 4.3. Is it possible or are their any apps to scan a smart card with NFC, and save the data so that the phone can be used as a smartcard?The smartcards I am talking about are building access smartcards.
View 3 Replies
View Related
Sep 18, 2010
When I plug my Evo into my PC, I can browse and view all the files on the SD Card, however, when I try and write something to the card windows gives me an error. I have tried creating a directory on the card using the Astro App and I can create a directory from the phone.
View 2 Replies
View Related
Apr 12, 2010
Sorry for the ambiguous title but I'm doing the following to write a simple string to a file:
try {
File root = Environment.getExternalStorageDirectory();
if (root.canWrite()){
System.out.println("Can write.");
File def_file = new File(root, "default.txt");
FileWriter fw = new FileWriter(def_file);
BufferedWriter out = new BufferedWriter(fw);
String defbuf = "default";
out.write(defbuf);
out.flush();
out.close();
}
else
System.out.println("Can't write.");
}catch (IOException e) {
e.printStackTrace();
}
But root.canWrite() seems to be returning false everytime. I am not running this off of an emulator, I have my android Eris plugged into my computer via USB and running the app off of my phone via Eclipse. Is there a way of giving my app permission so this doesn't happen? Also, this code seems to be create the file default.txt but what if it already exists, will it ignore the creation and just open it to write or do I have to catch something like FileAlreadyExists(if such an exception exists) which then just opens it and writes?
View 1 Replies
View Related
Oct 13, 2010
EDIT: Problem solved, FileOutputStream defined uncorrectly, change to: fos = new FileOutputStream( root + "/" + saveFileName );
I have a problem writing to the SD card, here is the code: (Sorry about the layout of the code, just copy pased it )
public class SaveAndReadManager {
private String result;
private String saveFileName = "eventlist_savefile";
public String writeToFile( ArrayList<Event> arrlEvents ){
FileOutputStream fos = null;
ObjectOutputStream out = null;...............................
View 4 Replies
View Related
Jan 23, 2010
I would like my app to archive the application DB to the SD card. In my code I check if the directory can Write(), and if not then throw an IOException. In this perticular instance, I am trying to copy the db file to the root directory on the SD card, but its throwing an IOException. How can I change the permission on a folder/file to be able to write to it
View 3 Replies
View Related
Oct 16, 2009
Current I just use Android 1.6 emulator. I am writing a simple code which needs write one result file to SD card. But It is failed to open one file to write (Reading is ok). I tried to use C level API and Java level API but both of them are failed. Furthermore, I tried to use chmod comand in the shell but it is still useless. It is known in the Android 1.5 or befor, it should be OK. Is it a new feature of 1.6 or it is just my emulator's issue? If it is a new feature, can someone figure out how to write the data into SD card?
View 3 Replies
View Related
Aug 23, 2010
I am using the following code to download a file from my server then write it to the root directory of the sd card, it all works fine:
package com.downloader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import android.os.Environment;
import android.util.Log;
public class Downloader {......................
View 2 Replies
View Related
Mar 17, 2010
I'm trying to write a file from an Http post reply to a file on the sdcard. Everything works fine until the byte array of data is retrieved. I've tried setting WRITE_EXTERNAL_STORAGE permission in the manifest and tried many different combinations of tutorials I found on the net. How my app writes file is by using a thread. Specifically, a thread is invoked from another thread when a file has to be written, so giving an activity object didn't work even though I tried it. The app has come a long way and I cannot change how the app is currently written. CODE:..................
View 7 Replies
View Related
Nov 1, 2010
my application is contact list and i want to store my contact data in sd card but how can i store data in sd card, or if i will use database then how i want to store it or using simple file than how i want to store it
View 2 Replies
View Related
Jul 3, 2010
Today, i tried to read and write file on the android. but it seems that file write mode is only provided for SD card? most of article is asked about SD card written. Is there no way to save data internal side?So when i install the application to real device. then its application installed in SD card or internal space? because we have make it log file from our application for everytime while application run.So, how do we write the file to SD card and specified the absolute path where we saved? to load this file.
View 3 Replies
View Related
Dec 14, 2009
I'm trying to create a file on the sd card.but that throws a FileNotFoundException. Isn't OutputStream supposed to create the file, if not found on disk? I'm looking to write image data there.This is on a 1.6 emulator. I have an SD card installed, I'm looking at the sdcard folder through DDMS, so it's there.
View 6 Replies
View Related
Oct 23, 2009
If you have an app that targets 1.6 ( using targetSdkVersion=4 ) and that is still backward compatible with 1.5 (using minSdkVersion=3) , and it has the new WRITE_EXTERNAL_STORAGE permission because it writes to the SD card, there is a problem when the OS is upgraded to 1.6. If a user has Android 1.5 with the app installed, and then gets Android 1.6, the permission is not granted and writing fails. The issue can be solved if the user re-installs the app. I have not experienced the issue myself, but a few users have reported it. Can anybody else confirm this. There is not much that can be done about it, but it would need to be adressed if there is another OS upgrade.
View 3 Replies
View Related
Apr 26, 2010
My new HTC desire is unable to read or write to my 8GB SD card which was previously inside my HTC HD touch.
Why is this? I've swapped the SD cards around - i.e. the 4 GB SD card which it came shipped with is now inside my HTC HD touch It doesnt have a problem reading or writingto the 4 GB SD card that it came shipped with. I would prefer not to have to format the card
View 1 Replies
View Related
Aug 19, 2009
Can we assume that App can write to /sdcard some file? What can be reason one cannot do that? I could not find any documentation on sdcard rules in google docs.
View 6 Replies
View Related
Jun 3, 2014
I have a Samsung Galaxy S4 running 4.4.2 KitKat. I tried to set the default image, video and documents directories to a folder on the SD card by going to MyFiles -> Settings -> SDCard path. I am taking photos & videos using the default app, not a 3rd party app. Although it is showing me the default is set to the SD card, the images I take using the default camera app all seem to save to the default internal storage /storage/emulated/0/DCIM/Camera.
getting the default image directories to be on the SD card?
View 3 Replies
View Related
Jul 18, 2010
There are a lot of different classes that can be used in various ways to read/write to files in Android. For example, you can make use of java.nio.ByteBuffer, FileOutputStream and BufferedOutputStream. Are there any general guidelines for what to use to read/write quickly to the SD card? For example, BufferedOutputStream seems as if it should make things faster but I'm unsure the buffer size should be set for. Specifically, I want to read/write byte arrays that are ~1Mb in size as quickly as I can.
View 1 Replies
View Related
Oct 1, 2010
I have downloaded music on my computer (MP3) but how do I get it onto the SD card in the phone? I tried just copying it like I would to any other drive and it says that it is write-protected. It says to remove the write-protection.
How do I get music on the SD card?
If necessary, how do I remove write-protection?
If I remove write protection will this affect my phone or my files in any way?
View 2 Replies
View Related
Mar 27, 2014
I just got a GPE LG Pad 8.3 and I have not seen an option in the stock camera app to save photos and video to the SD card. Is there any camera app that can write photos and videos to the SD card? It seems like a waste of an SD card if I can't have my photo's and videos go directly to the card.
View 4 Replies
View Related
Nov 16, 2010
I need to directly read/write a file on sd card without cache. I can use "posix_fadvise" to achieve the purpose on Ubuntu I try NDK to make the function call, but it seems disabled on Android How can I do?
View 4 Replies
View Related
Mar 1, 2010
Is there a right associated with write/read access to the sd card that needs to be set in the manifest.xml file? I'm currently trying to write to the sd card using a standard FileOutputStream here:
FileOutputStream out = new FileOutputStream("/ sdcard/images/"+imageName);
bmp.compress(Bitmap.CompressFormat.JPEG, 90, out);
But it doesn't seem to be working. It just says the location isn't found, which can happen if there are no permissions to read/write to the location.
View 2 Replies
View Related
Aug 31, 2010
Is it possible to write data directly from my phone to my micro SD card? I got my Captivate a couple days ago, and I've been trying to research as much as I can about it, but I can't find this info. I know I can do it with a computer, but I don't have one. I want to put music and apps I download on the micro SD if possible.
View 1 Replies
View Related
Mar 12, 2010
I have a class that extends View. I override the onDraw method and allow the user to draw on the screen. I am at the point where I want to save this view as an image. I Can use buildDrawingCache and getDrawingCache to create a bitmap that I can write to the SD card. However, the image is not good quality at a large size, it has jagged edges. Since I have a View and I use Paths I can transform all by drawing to a bigger size. I just don't know how to make the Canvas bigger so when I call getDrawingCache it doesn't crop all the paths I am just transformed. What is happening is I transform all my paths but when I write the Bitmap to file I am only getting the "viewport" of the actual screen size. I want something much bigger.
View 1 Replies
View Related
Sep 22, 2009
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 2009/9/22 Evgeny V <evgen...@gmail.com>:
View 2 Replies
View Related
Sep 22, 2009
I've updated to SDK 1.6 and created the new AVD and emulator sdcard image file successfully. I'm using following code to store binary file in sdcard: Code...
View 4 Replies
View Related
Oct 9, 2010
I'm trying to target Android 1.6-2.2 OSs and after applying your Build Target I get the following warnings:
Attribute minSdkVersion (4) is lower than the project target API level (8) AndroidManifest.xml /CueBrain line 1 Android ADT Problem And also, trying to launch my app in the 1.6 emulator it just ignores it and runs the 2.2 emulator.
View 2 Replies
View Related