Does Firefox OS App Manager support SD card emulation? - sd-card

I would like to write an app for Firefox OS which uses the SD card through the Device Storage API. Does the App Manager emulate the SD card somehow?
If yes, how can I enable it? I haven't seen any SD card related menu item in the App Manager.

It's available through the Device Storage API in the emulator.
Stored files can be found under the following directory:
~/.mozilla/firefox/<profile>/extensions/fxos_1_3_simulator#mozilla.org/profile/fake-sdcard

Related

is it possible to make a packaged app to burn disc(CD, DVD, BD) for chrome book

I`m beginner for chrome packaged app.
I want to make a app to burn DVDs, BDs, CDs on chrome os , is it possible?
I heard chrome os prevent burn disc because of patent, is it right?
Is there any method to burn disc ?
and How can I get handls for SATA device such as SDD, HDD, ODD on chrome OS?
There is an experimental API for doing this, but it's still in the development phase.
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/api/image_writer_private.idl
I think eventually the plan is to let 3rd party apps use it, but right now access to it is gated on a whitelist until some security issues can be ironed out.

How to access iphone Memory card (SDcard) programmatically

I want to access sdcard of iphone, I have some question regarding this.
by searching little bit i think iphone donot support sdcard ? if it support SDcard then kindly tell how we access iphone expanded memory what is path path of external storage of iphone. for example as in android we can access sdcard directory by
Environment.getExternalStorageDirectory(); ( return path to sdcard in android )
how to see sdcard contents in emulator of like in eclipse we can see android's SDcard folder in Forlder explorer any thing like this is in iphone?
how to get list of sdcard contents.
There is no SD card.
Applications may only access their own sandbox Documents and cache folders. If you need to transfer files, you have three options:
E-mail.
iTunes File Sharing
iCloud
hello salman Roy First of all i want to tell you that there is no external sdcard like android in the iphone or ipad.it is all sandbox environment.And one more thing for the iphone development there is no emulator its a simulator.

How can I make an SQLite database within an iPhone app available to the desktop?

My Android app stores its SQLite database on the SD card, so that when the phone is connected to a PC my desktop application can access it using an ODBC driver. Is a similar technique possible on the iPhone?
I know that iPhones do not have SD cards.
I use iTunes file sharing to access sqlite DBs on both the iPhone and iMac; iTunes moves the data. Enabled in the plist
As it has been said, it can't be done.
However what you could do is to embed a small Web Server into your App, and let the users to download the DB ( or even visualize it ), via WiFi on their homes/work. This approach would work for Windows/Mac/Linux users, and several apps are already doing it this way.
Good luck!
Not built-in, unfortunately. You'll have to roll your own Wi-Fi syncing system. You could use iCloud when it comes out in the fall, but that only works on Macs for now.
SQLite is present in the iPhone SDK, but there's no way to flag a file stored by your application as being visible to the file system when you plug your iPhone into the computer. As stated already by Chris Long, Apple's answer to this criticism is iCloud, which allows you to do synchronisation between arbitrarily many devices without cables, but that isn't available yet. The iOS 5 beta is available to registered developers and is publicly known to function with iCloud, so you could start developing now.
More painful temporary alternatives are to email the database out (there's a supplied way to do in-app email) or to expect your user to drag and drop the thing out of iTunes.

Accessing the iPhone filesystem from a Mac OS X application

I need to get a file (sms.db) from an iPhone connected to a Mac. I cannot find any way to access the iPhone filesystem searching in Apple Developers Connection...
I cannot SSH to the iPhone, the application I want to develop is meant to be used on non-jailbroken iPhones... And I would like to avoid some MacFuse modules I found googling, too... I would like to access the filesystem thru some sort of API, the simpler the better.
Thanks!
This api was developed to allow access to ios devices:
http://www.libimobiledevice.org/
There is no Apple-documented public API for accessing the entire filesystem on a stock OS iOS device. Even private OS/API calls won't work due to the app sandbox restrictions.
Xcode, iTunes, and probably other apps that take over the iTunes USB driver, are using a non-Apple-documented private API that only works over the USB connection.
It appears that DiskAid silences all nay sayers. That app seems to have complete access to the iOS device filesystem - whether or not iTunes is running and whether or not the files are shared. It even sees files down to root level. I am still trying to figure out how it is done. Oh yea, this is all on a non jailbroken device.
It is not possible for non-jailbroken iPhone due to file system restrictions.
You can't access the filesystem from an OSX application, the filesystem is locked down.
Phoneview (as mentioned in a few comments) does not allow access to the file system.
It uses public APIs to get things like call data and contacts, and allows you to copy files into one location on the phone.
From the FAQ: "PhoneView will store your files in the media section of the iPhone's disk"
Smoke and mirrors.
If it's for your own app, use the document sharing included in iOS 4.x. You can then have files show up in iTunes, and drop files from the desktop into your app's section.
A tutorial is found here:
Ray Wenderlich's nice tutorial

USB file transfer on iOS

I want to write an app that stores its data in a file that can be retrieved and transfered to the user's PC. Does the iOS support file transfers over USB (through my app or through a mass storage device type feature). Preferably, I do not want to write a client for the PC to receive the files, and I want to prompt the user about new files when they plug in their device to their PC if possible. Do the iOS frameworks support these features?
Yes, this is available in newer versions of iOS (3.2 and above). See here for details on "File-Sharing Support" (explained for users in this KB article).