Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 17    Views: 96

DJM
Lost but trying
Profile
Posts: 50
Reg: Aug 20, 2013
planet earth
500
02/28/15 10:26 AM (9 years ago)

Android - Powerpoint - Open with which apps? gets - no apps can perform this action

Android tablet Have installed both Microsoft Powerpoint and Google slides. And they work just fine I have the pptexamples.ppt in the BT_Docs. project compile clean The pdf plugin works fine but I need to get the ppt working so that is NOT an option. I have tried all these variations and none worked. -- this is what is in the BT plug in BT_viewUtilities.openDocInCacheWithMimeType(saveAsFileName, "application/ms-powerpoint", this.getActivity()); -- tried this version as that what is has in BT pdf plugin BT_viewUtilities.openDocInCacheWithMimeType(saveAsFileName, "application/ppt", this.getActivity()); -- tried to get goodle slides to work but now sure how to call that program BT_viewUtilities.openDocInCacheWithMimeType(saveAsFileName, "application/slides", this.getActivity()); -- tried this to get google slide to open ppt, BT_viewUtilities.openDocInCacheWithMimeType(saveAsFileName, "application/google-slides", this.getActivity()); I would have thought the ms-powerpoint would have worked once I installed the powerpoint plugin. probably have to call it using something else but not sure how I find how to call an app that has been downloaded to the tablet. Thanks again for listening
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/28/15 11:10 AM (9 years ago)
You probably have to have powe point reader app installed.it's not a PowerPoint reader plugin
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/28/15 11:22 AM (9 years ago)
Chris is correct. On Android, you need a "helper" app to read these sorts of documents...like Office Suite. It's different in iOs, where it can be read natively without an extra app. So, install some sort of app that reads the document natively, and you should be good! Mark
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/28/15 11:25 AM (9 years ago)
Ok I see where she said he did have some ppt apps installed.I totally missed that.I'm not sure.I'll y with it tonight.maybe something google changed
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/28/15 11:31 AM (9 years ago)
What's the file called?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/28/15 11:32 AM (9 years ago)
I think he just has the PowerPoint Plugin installed: "I would have thought the ms-powerpoint would have worked once I installed the powerpoint plugin. " But, if he already has a "helper" app installed, then it should just work without any other intervention. Mark
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/28/15 11:50 AM (9 years ago)
"Have installed both Microsoft Powerpoint and Google slides. And they work just fine ". I just seen those lines he wrote.I think it's mime type
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/28/15 12:17 PM (9 years ago)
 
DJM
Lost but trying
Profile
Posts: 50
Reg: Aug 20, 2013
planet earth
500
like
02/28/15 03:38 PM (9 years ago)
not he but she. I am confused. I installed Microsoft Powerpoint for tablets. The real Microsoft PowerPoint app for Android tablets. https://play.google.com/store/apps/details?id=com.microsoft.office.powerpoint&hl=en Google Slides https://play.google.com/store/apps/details?id=com.google.android.apps.docs.editors.slides&hl=en I thought either of these is what I could use to read the powerpoint. New at this, and the link for mime stuff it isn't making much sense to me.
 
DJM
Lost but trying
Profile
Posts: 50
Reg: Aug 20, 2013
planet earth
500
like
02/28/15 03:50 PM (9 years ago)
I have the BT_screen_pptDoc installed in my app, I have a test pptexamples.ppt in the BT_Docs area and I have 2 apps installed on my tablet Google Slides and Microsoft Powerpoint. Are you saying I need some sort of Office Suite installed with has Powerpoint instead of just a Powerpoint App? Thanks,
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/28/15 05:06 PM (9 years ago)
Sorry I don't know I assumed you were a he.I've changed up above (: No the mime type is the data type of the intent that you want to open with a external app That's funny that the link I posted doesn't work, try this one http://stackoverflow.com/questions/6132931/how-to-use-an-intent-to-open-a-ppt-with-datavizs-documents-to-go
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/28/15 05:41 PM (9 years ago)
so on line 193 in the BT_screen_pptDoc class change this: BT_viewUtilities.openDocInCacheWithMimeType(saveAsFileName, "application/ms-powerpoint", this.getActivity()); to this: BT_viewUtilities.openDocInCacheWithMimeType(saveAsFileName, "application/vnd.ms-powerpoint", this.getActivity()); and see if that works.
 
DJM
Lost but trying
Profile
Posts: 50
Reg: Aug 20, 2013
planet earth
500
like
02/28/15 05:41 PM (9 years ago)
No worries, how would you know. I don't have a profile pic. Yep that link works much better. I will play around more tomorrow and get back. Thanks!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/28/15 05:42 PM (9 years ago)
cool I just posted the same time you did ha.so the post above yours shows what to do in case your lost still
 
DJM
Lost but trying
Profile
Posts: 50
Reg: Aug 20, 2013
planet earth
500
like
03/01/15 11:06 AM (9 years ago)
BT_viewUtilities.openDocInCacheWithMimeType(saveAsFileName, "application/vnd.ms-powerpoint", this.getActivity()); worked! Works great! Thanks soooo much So strange to me that pdf calls the quickoffice just fine with: BT_viewUtilities.openDocInCacheWithMimeType(saveAsFileName, "application/pdf", this.getActivity()); ppt doesn't unless you use the code you gave... yet another mystery. But now Now I have to figure out how to start the play button automatically. If it isn't one thing it is another....
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/01/15 11:52 AM (9 years ago)
Cool.it depends on how the app developer set up their content provider. You wouldn't be able to make it play automatically.that's something the power point app would have to do. Why not just use a video instead?
 
DJM
Lost but trying
Profile
Posts: 50
Reg: Aug 20, 2013
planet earth
500
like
03/01/15 03:43 PM (9 years ago)
I have a video as well. I just thought that you could some how programatically tell the powerpoint to play. Found there someone suggested using .pps instead but that didn't work. Not a big deal, just was playing around.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/01/15 04:55 PM (9 years ago)
Oh OK that's cool
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.