aarddict / android

Aard Dictionary for Android
GNU General Public License v3.0
85 stars 43 forks source link

Aard shouldn't register intent #96

Closed dalb8 closed 10 years ago

dalb8 commented 10 years ago

Often when I'm using other apps, if there's a video or a zip file or a ARM binary, Aard will open it or appear in the list of apps that can handle it. This is annoying behaviour and not really necessary.

itkach commented 10 years ago

Doesn't happen for me. Aard does not register itself to register video or zip files or ARM binaries (whatever that is). Everything is specified in AndroidManifest.xml, what do you whant removed?

dalb8 commented 10 years ago

I'll do some testing on another gadget. I'm using CM11 here.

I have the Seafile app for cloud storage with a Busybox binary on it; I download the busybox and Aard opens up. In the CM file manager usually only the text editor and Aard are available to open files.

Of course Aar files are now compiled Android libraries, but I've observed this behaviour for well over a year now.

-------- Message d'origine -------- De : itkach notifications@github.com Envoyé: 8 avril 2014 01:17:22 UTC+01:00 À : aarddict/android android@noreply.github.com Cc : dalb8 daithi_black@yahoo.ie Objet : Re: [android] Aard shouldn't register intent (#96)

Doesn't happen for me. Aard does not register itself to register video or zip files or ARM binaries (whatever that is). Everything is specified in AndroidManifest.xml, what do you whant removed?


Reply to this email directly or view it on GitHub: https://github.com/aarddict/android/issues/96#issuecomment-39799148

dalb8 commented 10 years ago

I've tried on another gadget running CM11 too and tried to open a file in /system/bin. http://666kb.com/i/cnbt5y4jijl8xqdgc.png

dalb8 commented 10 years ago

04-10 15:17:32.770 E/AndroidRuntime(28584): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=file://player.vimeo.com/video/90687731 }What I meant by video is an app (which crashes if it cant find a handler):

dalb8 commented 10 years ago

Sorry that's garbled. I'm running Aard with intents patched out now, hence the crash.

itkach commented 10 years ago

I'm not sure I understand what are you asking or what do you suggest.

dalb8 commented 10 years ago

I would remove the intents from the manifest, unless anybody can figure out why CM at least allows Aard to handle all these types of files.

itkach commented 10 years ago

So you would break the application for everyone just because you have an unusual setup and you don't understand what's going on. I don't think so.