americosfacebook / googletv-issues

Automatically exported from code.google.com/p/googletv-issues
0 stars 0 forks source link

Request for default installed apps to handle ACTION_GET_CONTENT and ACTION_SEND ideally built by Google #76

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I just started porting an app to GoogleTV and am testing on a Logitech Revue.

Right off I noticed my intent for "ACTION_GET_CONTENT" didn't find an app to 
handle the intent.  It also looks like I'll have the same issue with 
ACTION_SEND.

My request is that apps for both these functions be installed by default on 
GoogleTV platforms and ideally they will be provided by Google.

A usage example would be an image enhancement/editing app should be able to 
look for and share content.  The bonus of using GoogleTV for that is the larger 
screen allowing an audience to watch as they work or just to have a larger work 
area.

Original issue reported on code.google.com by dtecmeis...@gmail.com on 5 Sep 2012 at 5:12

GoogleCodeExporter commented 8 years ago
Its upto third party app providers to implement ACTION_GET_CONTENT.
If you want this to be implemented for specific platform apps, please add names 
of those apps with expected behavior.

Original comment by mjo...@google.com on 10 Sep 2012 at 5:50

GoogleCodeExporter commented 8 years ago
There is a Gallery app on my Logitech Revue, but it is not handling the 
ACTION_GET_CONTENT when my app requests it.  The same code works fine on my 
Kyocera Echo Android phone and the Gallery app handles the request as expected.

There is also a Twitter app, but I have the same problem with it.  It does not 
handle the ACTION_SEND request, but works fine with the same code on my phone.

In both cases I get a message that an Application can not be found to handle 
the intent.

I'll get a pic on here tonight with the message.

Original comment by dtecmeis...@gmail.com on 10 Sep 2012 at 8:03

GoogleCodeExporter commented 8 years ago
Ok. I revisited.
Log:

09-14 23:30:26.481: I/ActivityManager(193): Starting: Intent { 
act=android.intent.action.GET_CONTENT typ=image/* flg=0x3000000 
cmp=com.google.tv.mediabrowser/.newui.SinkActivity } from pid 10175
09-14 23:30:26.493: I/ActivityManager(193): Start proc 
com.google.tv.mediabrowser for activity 
com.google.tv.mediabrowser/.newui.SinkActivity: pid=10120 uid=10023 gids={3003}
09-14 23:30:26.537: D/dalvikvm(10175): GC_CONCURRENT freed 291K, 12% free 
4783K/5383K, paused 1ms+7ms
09-14 23:30:26.729: W/InputManagerService(193): Window already focused, 
ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@67ba8998
09-14 23:30:26.761: V/TLINE(10120): new: android.text.TextLine@66dcf188
09-14 23:30:26.877: V/TLINE(10120): new: android.text.TextLine@66dcfc58
------
Error message on screen:
No application can handle this action

Original comment by dtecmeis...@gmail.com on 15 Sep 2012 at 3:49