Reg. accessing the external files

by Sameer » Fri, 23 Apr 2010 08:01:55 GMT


Sponsored Links
 Consider this scenerio:
The end user copies a bunch of text files onto his android every week.
My application which has to do some analysis on this text files and
show the results to the user.

Can my application access files anywhere in the file system of
android? If NO, what would be the location where the user is supposed
to copy the files to or any alternate solution ? Because the user
copies the files periodically on to Android. My application is
supposed to do analysis and display the results.

Please Help. I'm a newbie.

--



Other Threads

1. android music player can't play mp3 format file

HI:
   I used RT5620 aduio codec from realtek on my board which is based
on freescale's i.mx51 soc, after I loaded driver , I can play WAV
format music using alsa_aplay command on console. But I can't play
this music by android music player and it promt : sorry , can't
support this audio format !
   I use logcat command to check log message , they are :
......
I/DEBUG   ( 2626):     40407d1c  a8d23ea5  /system/lib/
libaudioflinger.so
W/AudioSystem( 2145): AudioFlinger server died!
W/AudioSystem( 2145): AudioPolicyService server died!
I/ServiceManager( 2078): service 'media.audio_flinger' died
I/ServiceManager( 2078): service 'media.player' died
I/ServiceManager( 2078): service 'media.camera' died
I/ServiceManager( 2078): service 'media.audio_policy' died
E/AudioService( 2145): Media server died.
I/ServiceManager( 2145): Waiting for sevice media.audio_flinger...
I/ServiceManager( 2145): Waiting for sevice media.audio_flinger...
I/ServiceManager( 2145): Waiting for sevice media.audio_flinger...
I/ServiceManager( 2145): Waiting for sevice media.audio_flinger...
I/        ( 2905): ServiceManager: 0xacd0
E/ALSALib ( 2905): external/alsa-lib/src/control/control.c:902:
(snd_ctl_open_noupdate) Invalid CTL AndroidOut
W/AudioHardwareALSA( 2905): Unable to attach mixer to device
AndroidOut: No such file or directory
E/ALSALib ( 2905): external/alsa-lib/src/control/control.c:902:
(snd_ctl_open_noupdate) Invalid CTL AndroidIn
W/AudioHardwareALSA( 2905): Unable to attach mixer to device
AndroidIn: No such file or directory
D/iMX51ALSA( 2905): i.MX51 ALSA module opened
D/iMX51ALSA( 2905): Initializing devices for IMX51 ALSA module
I/CameraService( 2905): CameraService started: pid=2905
D/AudioHardwareALSA( 2905): openOutputStream called for devices:
0x00000002
D/iMX51ALSA( 2905): open called for devices 00000002 in mode 0...
W/iMX51ALSA( 2905): enable MMAP access for PCM
E/iMX51ALSA( 2905): Unable to set buffer size to 6144:  Invalid
argument
I/iMX51ALSA( 2905): Initialized ALSA PLAYBACK device default
E/AudioPolicyManagerBase( 2905): Failed to initialize hardware output
stream, samplingRate: 0, format 0, channels 0
E/AudioService( 2145): Media server started.
W/AudioPolicyManagerBase( 2905): setPhoneState() setting same state 0
I/DEBUG   ( 2626): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG   ( 2626): Build fingerprint: 'freescale/imx51_bbg/imx51_bbg/
imx51_bbg:2.2/FRF85B/eng.b18293.20101115.135326:eng/test-keys'
I/DEBUG   ( 2626): pid: 2905, tid: 2909  >>> /system/bin/mediaserver
<<<
I/DEBUG   ( 2626): signal 11 (SIGSEGV), fault addr fffffff4
I/DEBUG   ( 2626):  r0 fffffff4  r1 40407cd0  r2 00000000  r3 00000000

.......
 who can help me ?
thanks a lot!
wigros

-- 

2. Exception while calling web service----java.net.SocketException: Permission denied

Hi,
      I am developing one application through which i am calling web
service.
      The web Service is hosted on the local machine,but while calling
web service i got
      java.net.SocketException: Permission denied this bug.
                    Mentioned internet permission in the manifest file
although, i am getting this.
      I am looking forward for positive response.

Thanks in Advance.
     Regards

-- 

3. "Conversion to Dalvik format failed with error 1" when using jmDNS.jar

4. Create a pipe file

5. cts test result

6. Simple boards to port Android

7. Image comparision