My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 330: OI File Manager: Force close on optional command
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Dec 2011


Sign in to add a comment
 
Project Member Reported by peli0...@googlemail.com, Mar 13, 2011
User report:
"Long pressing on a photo and choosing "Google Mail" leads to a force close, not that I know what is supposed to happen when choosing that alternative. I'm guessing it attaches the picture in a new mail in the Gmail application, but then another way of doing so is by choosing "Send" followed by "Gmail". So what does "Gallery Photo" and "Google Mail" actually do?"

What is the expected output? What do you see instead?
Probably missing permissions cause the crash. The application should not crash but show an error message.

Dec 27, 2011
#1 jzs...@gmail.com
please let me know how to reproduce, I did not see force close. it works for me.
Dec 28, 2011
Project Member #2 peli0...@googlemail.com
How to reproduce this on a Nexus One (Android 2.3.6):
In OI File Manager, long-press on an image file,
select "More",
(possibly) accept the Warning "Some of the following options may not work",
select "Google Mail".

-> Application crashes.

Adding the permission to OI File Manager is NOT the desired solution, because this does not scale well.

Ideally, there should be a warning dialog that a particular permission is required, but not available.

(Later there could be an option to download the corresponding "OI Permission for Auto-send", which would be a separate application, which would forward this permission).

-----
W/ActivityManager(   96): Permission Denial: starting Intent { dat=file:///mnt/sdcard/download/DSC00297.jpeg typ=image/jpeg cmp=com.google.android.gm/.AutoSendActivity } from ProcessRecord{40533a10 23046:org.openintents.filemanager/10060} (pid=23046, uid=10060) requires com.google.android.gm.permission.AUTO_SEND
[...]
E/AndroidRuntime(23046): 	at org.openintents.filemanager.FileManagerActivity$25.onClick(FileManagerActivity.java:1571)
[...]

Dec 28, 2011
#3 jzs...@gmail.com
I am still trying to reproduce, I did not see Google mail from the list, only see the "Messaging", any setting I need to do to add Gmail to the list? please let me know.
Dec 29, 2011
Project Member #4 peli0...@googlemail.com
You need to have the corresponding application "Google Mail" installed. Most probably this will not work on the emulator.

A related issue is issue 343.
Dec 29, 2011
Project Member #5 rmce...@gmail.com
This issue was closed by revision r3947.
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting