Mark M. | has entered the room |
Mark M. | turned on guest access |
Oct 13 | 10:10 AM |
Marea | has entered the room |
Marea |
it worked!
|
Mark M. |
hello!
|
Mark M. |
how can I help you today?
|
Marea |
So my burning question is ... I just upgraded to
2.3.3 and some of my older applications are not working now. In
particular some of them are having permissions problems with getting
static content on the phone. Where would you recommend I go to read up
about what has changed? I think things were better in 2.2.1 but I can't
completely swear that that's what I upgraded from.
|
Mark M. |
you upgraded what to 2.3.3?
|
Mark M. |
a phone?
|
Marea |
yes. sorry. droidx
|
Mark M. |
can you be more specific regarding "permissions probelms with getting static content on the phone"?
|
Mark M. |
for example, do you have a stack trace?
|
Mark M. |
or at least the exception error message?
|
Marea |
not but I can easily get an error message
|
Mark M. |
in general, the release notes are in the SDK tab of the developer Web site
|
Mark M. | |
Oct 13 | 10:15 AM |
Marea |
Ok. so I'm using the Astro File manager to find an HTML file and then the Dolphin Web browser and the message is
|
Marea |
content://com.metago.astro.filesystem/mnt/sdcard/data/reading/books/mybook/myfile.htm
text/html could not be loaded as The requested file was not found.
Permission Denial: opening provider
com.metago.astro.provider.FileSystemProvider from ProcessRecord
{40ef1428 11447:mobi.mgeek.TunnyBrowser/10052} (pid=11447, uid=10052)
requires null or null
|
Mark M. |
OK, first, you are encountering a problem, but it is not with one of your own apps?
|
Mark M. |
this feels like an issue with Astro File Manager
|
Mark M. |
which I have no insight into
|
Mark M. |
I do recall seeing some messages float by that
Astro changed something that was breaking ACTION_GET_CONTENT or
something like that
|
Marea |
my own app is having a problem too but I've been
busy with work to spend much time on it so I'm assuming I have the same
problem. I have an app which uses WebView. It loads a web page with
links but when I click on the link, instead of showing the next page, it
just flashes and returns to the 1st page. So this is something
different in the API that the Astro people and I need to learn about
|
Oct 13 | 10:20 AM |
Marea |
maybe by the next office hours, I can have more proper data ... or maybe I will have found it in the link you sent above.
|
Mark M. |
the error message does not indicate a problem with "something different in the API"
|
Mark M. |
com.metago.astro.provider.FileSystemProvider is perhaps not exported, or requires clients to have the same signature as itself
|
Marea |
I only say that because both applications worked before the upgrade
|
Mark M. |
regardless, I would contact the Astro people about Astro
|
Mark M. |
with respect to your own WebView, you are (hopefully) not using content://com.metago.astro.provider
|
Marea |
no
|
Marea |
I'm just doing baby steps/training wheel thins
|
Mark M. |
in which case, we'd need to look at your error message and stack trace
|
Marea |
yes. next time.
|
Mark M. |
you could also open up a question on
StackOverflow, if you get the information and want to try for answers
sooner than the next chat
|
Mark M. |
is there anything else that I can help you with today?
|
Marea |
next topic: do you know anything about file system
damage on the phone? After the upgrade, the kindle application
sometimes locks the phone up and I'm left pulling the card out. Ouch.
I'm wondering if there are utilities for making sure that the filesystem
is not become corrupted.
|
Oct 13 | 10:25 AM |
Mark M. |
well, the SD card is usually FAT32 (vfat in Linux-ese)
|
Mark M. |
corruption is certainly possible
|
Marea |
I guess reiserfs or ext3 is too heavy for the small footprint
|
Mark M. |
I am not aware of any on-device ways to test for corruption, though there might be something on the Market
|
Mark M. |
it's more for compatibility
|
Mark M. |
many external storage volumes are removable SD cards
|
Mark M. |
more users have machines that can access FAT32 (e.g., Windows) and have card readers
|
Marea |
Ok, well thanks for your thoughts. I don't know
that the device is in trouble, I just think it's not good to have
applications locking up.
|
Mark M. |
I forget if the external storage on a Droid X is removable or not
|
Marea |
I should look up more about the hardware and how the phone is put together. I think the only removable part is the battery.
|
Mark M. |
if it is, you might try running some desktop filesystem integrity test on it (e.g., CHKDSK on Windows)
|
Mark M. |
nope, it's a micro SD card
|
Marea |
I could certainly try some utilities on when the card is connected to the PC via usb.
|
Mark M. |
I just pulled the cover off of my Droid X
|
Marea |
cool.
|
Marea |
You get to it from the back or the front?
|
Mark M. |
slide off the battery cover
|
Mark M. |
you'll see the card on the side
|
Mark M. |
you will have to remove the battery to remove the card
|
Marea |
yes I see it now
|
Marea |
There's also built in storage?
|
Mark M. |
I don't think so
|
Mark M. |
but, there are so many devices, I lose track
|
Marea |
You can move apps to the sd card so that makes me
think they must be living somewhere else before, but maybe it has to do
with how/where they execute
|
Oct 13 | 10:30 AM |
Mark M. |
oh, wait
|
Mark M. |
I thought you meant built-in external storage
|
Mark M. |
all devices have internal storage
|
Mark M. |
that's for the firmware plus apps
|
Mark M. |
it's also where your files are stored that you put in getFilesDir()
|
Mark M. |
some devices have fixed external storage
|
Mark M. |
external means "mountable on a host machine", not "removable"
|
Mark M. |
some devices have both fixed external storage *and* an SD card
|
Mark M. |
though that's beyond the scope of the SDK
|
Marea |
Ok. that makes sense because you can't see everything when the phone is connected via usb
|
Mark M. |
right
|
Mark M. |
internal storage is not accessible on standard production hardware
|
Marea |
what about when people root the phone/flash a rom/that kind of thing?
|
Marea |
they are accessing that normally hidden stuff, no?
|
Mark M. |
yes
|
Marea |
I am afraid to do that just now. Maybe when it's time for an upgrade.
|
Marea |
I think I am out of questions just now.
|
Mark M. |
ok
|
Oct 13 | 10:35 AM |
Marea |
Thanks for your help.
|
Mark M. |
you are very welcome!
|
Oct 13 | 11:00 AM |
Marea | has left the room |
Mark M. | turned off guest access |