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. functions in Monkey script file

Can somebody please help me with the script file for sending key
events using monkey??

I am using the following script

<pre>
type= raw events
count=10
speed= 1.0
start data >>
captureDispatchKey(5113146,5113146,0,22,0,0,0,0)
captureDispatchKey(5113146,5113146,1,22,0,0,0,0)
captureDispatchKey(5113146,5113146,0,66,0,0,0,0)
captureDispatchKey(5113146,5113146,1,66,0,0,0,0)
captureDispatchFlip(true)

and i use the script

adb shell monkey -p com.blah.blah -v -v -v -f monkey_test 2

but the package com.blah.blah is never invoked.

what am i doing wrong?

Also is there any function for sleep? What are the other functions
available?

-- 

2. how to identify the views part of the current screen

Hello,

I'm going through a similar problem. I need to send, in some way,
commands to a cellphone to simulate touch events (for example,
acessing an Item of the menu, or a graphic component from a given
screen) and key events (I know it is possible to do it with ADB
commands, but its response time is not that great). Is there anyway to
do this with the coordinate of the Item on the screen?

I know monkey do this type of task, but I'd like something less
random, which I could customize to perform automatic testing in my
applications, which has lots of screens and would be very time-costing
to test manually.

Thanks in advance.




-- 

3. Logging from Javascript using console.log is not working

4. Problem Using Source Code for Alarm Clock

5. System Settings

6. Programmatically start / launch VPN connection

7. Switching views with RadioButton and saving views in Bundle