[android-developers] Re: SD card database

2012-03-07 Thread moktarul anam
File dbfile = new File("/sdcard/android/com.myapp/databases/mydatabase.db" ); SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(dbfile, null); db.open() .. Moktarul On Wednesday, 7 March 2012 00:09:30 UTC+5:30, bob wrote: > > Is it possible to use SQLiteOpenHelper to create a database

Re: [android-developers] Re: SD card database

2012-03-06 Thread abhijeet tomar
Hello, you can make a copy of ur database in sd card from DDMS but don't use it or at the time of starting the apps you have to push database in DDMS . -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

Re: [android-developers] Re: SD card database

2012-03-06 Thread Bhaumik Thaker
how to create database on sd card can anyone help give some code or tutorial for that... On Wed, Mar 7, 2012 at 3:35 AM, lbendlin wrote: > yes. but not everything that is possible is also desirable. > > > On Tuesday, March 6, 2012 1:39:30 PM UTC-5, bob wrote: >> >> Is it possible to use SQLiteOp

[android-developers] Re: SD card database

2012-03-06 Thread lbendlin
yes. but not everything that is possible is also desirable. On Tuesday, March 6, 2012 1:39:30 PM UTC-5, bob wrote: > > Is it possible to use SQLiteOpenHelper to create a database on the SD card? > -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: sd card

2012-02-25 Thread Dusk Jockeys Android Apps
Nothing to do with this list. Get your technical support elsewhere. On Feb 25, 3:26 am, bob wrote: > I just installed a 2GB sd card into my VIZIO tablet.  However, it > shows the Total Space as Unavailable: > > http://i1190.photobucket.com/albums/z449/m75214/sdcard.png > > Any idea why it won't s

[android-developers] Re: SD Card Mount, Unmounted.

2011-10-26 Thread Bob
For some Android devices, Environment.getExternalStorageDirectory() does not return the path of the SD card. In fact, there is no API support that will enumerate SD card mount points. If you want to see what is mounted, you are left to parsing the contents of /proc/mounts. See http://stackoverf

[android-developers] Re: SD Card and iJetty

2010-08-23 Thread kypriakos
Yes I can see it and its size is the correct one I set when I was generating the device. I think your point makes sense - I will re-generate the device and re-install iJetty and see if that helps. Sometimes it is easier to reset rather than chasing ghosts in a stale image. Thanks Kostya On Aug 2

Re: [android-developers] Re: SD Card and iJetty

2010-08-23 Thread Kostya Vasilyev
Have you actually created and set up a memory card image in the emulator? Open settings - memory to check and see if have. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 23.08.2010 23:45 пользователь "kypriakos" написал: Hi all, any ideas on the issue below? I am still no able to get th

[android-developers] Re: SD Card and iJetty

2010-08-23 Thread kypriakos
Hi all, any ideas on the issue below? I am still no able to get the SD card to allow iJetty to create its temp config files on it. Thanks again On Aug 18, 5:00 pm, kypriakos wrote: > Hi all, > > The default for SD Card in an emulator is yes right? But the > permissions to write to it > need to

[android-developers] Re: Sd card file write

2010-03-23 Thread sumit asok
adb shell is best...i can use it Linux like... On Mar 17, 11:44 am, Bob Kerns wrote: > I can't really make out what you're doing. > > You have a 'bos.write(myByte);' line that references bos, with no clue > what that is. > > I don't know what myvals or x are intended to be. > > I don't see a file

[android-developers] Re: Sd card file write

2010-03-23 Thread sumit asok
yes ...actually i closed fileconnection at three points( in different if conditions ), but there was a condition i missed out...when I added fileconnection close() at the end...it worked... thanx for your help Bob Kerns. On Mar 18, 3:50 am, Bob Kerns wrote: > You don't need a flush() if you do a

[android-developers] Re: Sd card file write

2010-03-23 Thread sumit asok
yes ...actually i closed fileconnection at three points( in different if conditions ), but there was a condition i missed out...when I added fileconnection close() at the end...it worked... thanz for your help westmeadboy. On Mar 17, 1:47 pm, westmeadboy wrote: > Having only skimmed your post, I

[android-developers] Re: SD Card File I/O

2010-03-18 Thread dfisher
Also, you will need in your manifest, if you are using Android 1.6 and beyond. On Mar 16, 10:33 pm, sumit asok wrote: > I think openFileOutput() method is used to write to applications > private data ( not the SD card ) > So your application will be searching for a folder /sdcard/ inside > your

[android-developers] Re: Sd card file write

2010-03-17 Thread Bob Kerns
You don't need a flush() if you do a close() on a FileOutputStream. It won't hurt, though. But close() on a FileOutputStream will flush() before it closes, if it needs to. That's not necessarily true of every type of stream, however. I'd even advice establishing the habit of doing it (though I do

[android-developers] Re: SD Card File I/O

2010-03-17 Thread sumit asok
I think openFileOutput() method is used to write to applications private data ( not the SD card ) So your application will be searching for a folder /sdcard/ inside your applications folder "/data/...path to your application/" In order to write file you have to use FileOutputStream. On Mar 12, 5:

[android-developers] Re: Sd card file write

2010-03-17 Thread westmeadboy
Having only skimmed your post, I would say you at least need a filecon.flush() (and filecon.close()) at the end. On Mar 17, 6:37 am, sumit asok wrote: > Hi, > > 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 > re

[android-developers] Re: Sd card file write

2010-03-16 Thread Bob Kerns
I can't really make out what you're doing. You have a 'bos.write(myByte);' line that references bos, with no clue what that is. I don't know what myvals or x are intended to be. I don't see a filecon.close() anywhere, or a try/finally block to ensure it's closed (and preferably deleted) in the e

[android-developers] Re: SD Card file name.

2009-08-21 Thread Jason Proctor
android.os.Environment.getExternalStorageDirectory() IIRC. >Is there way, from the emulator, to get the SD Card file name / path? > -- jason.software.particle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "And

[android-developers] Re: SD Card image

2009-04-07 Thread Desu Vinod Kumar
Thanks for information i got good helpful information i have some confusion i have cleared by your reply .. On Tue, Apr 7, 2009 at 1:15 PM, Archana wrote: > > Hi vinny, > > Go to android sdk /tools path from your command prompt > and type > mksdcard > > eg mksdcard 512M sdcard.iso //

[android-developers] Re: SD Card image

2009-04-07 Thread Archana
Hi vinny, Go to android sdk /tools path from your command prompt and type mksdcard eg mksdcard 512M sdcard.iso // media file mksdcard 128M image1.img // image files you can see it created in your tools folder of your sdk On Apr 7, 11:39 am, "vinny.s...@gmail.com" wrote:

[android-developers] Re: SD Card image

2009-04-06 Thread Anonymous Anonymous
http://developer.android.com/guide/developing/tools/othertools.html#mksdcard On Tue, Apr 7, 2009 at 12:09 PM, vinny.s...@gmail.com wrote: > > Can Any Body Please tell me How to Create A SD Card image in Emulator > to Paly the Files Present in Sd card On Media Player > > > --~--~-~--~

[android-developers] Re: SD Card

2009-04-02 Thread Jean-Baptiste Queru
You're asking in the wrong group - this group is to support developers creating apps using the official SDK. JBQ On Wed, Apr 1, 2009 at 8:04 PM, Eric Chen wrote: > I met the same problem from two weeks ago, if any one fixed it pls help me. > Best Regards > > Eric Chen > > > On Wed, Apr 1, 2009

[android-developers] Re: SD Card

2009-04-01 Thread Eric Chen
I met the same problem from two weeks ago, if any one fixed it pls help me. Best Regards Eric Chen On Wed, Apr 1, 2009 at 5:54 PM, l hx wrote: > Hi. > today i get the newest code and make it .but when i mksdcard, and > mount it as same as i did before. but now i can not acces sd card int

[android-developers] Re: SD card not detected in Android

2009-02-11 Thread Rizvan S
Let me know any more issue to port , move android fs on sdcard and then boot , this is good options. Thanks Rizavan On Tue, Feb 10, 2009 at 8:42 PM, Rajesh N wrote: > > HI Rizavan, > > Yup, there is a issue with MMC driver in my kernel tree provided by > freescale, I have excalated this issue,

[android-developers] Re: SD card not detected in Android

2009-02-10 Thread Rajesh N
HI Rizavan, Yup, there is a issue with MMC driver in my kernel tree provided by freescale, I have excalated this issue, I will keep u in posted with my latest updates, Thanks for u r suggestion, Best Regards, Rajesh N On Wed, Feb 11, 2009 at 6:31 AM, Rizvan S wrote: > Hi Rajesh, > > I think

[android-developers] Re: SD card not detected in Android

2009-02-10 Thread Rizvan S
Hi Rajesh, I think you must have mmc/sd driver for your hardware and it would create device node i.e /dev/mmcblk0 etc. Did you check before android porting , sd card driver was working on your linux ( target kernel )? I am using sd card to put android file system on it for android porting/bring u