Android Question Play ms powerpoint file

microbox

Active Member
Licensed User
Longtime User
Hello everyone, just want to ask if it is possible to play an ms powerpoint file within b4a application. My project in mind is to create an app that will browse a ppt file from an sdcard and control the slide navigation(next, back, First slide and Last slide)..hope there is a way to do it. Any help is much appreciated.

Kind Regards,
microbox
 

ykucuk

Well-Known Member
Licensed User
Longtime User
its impossible even pc without install office application. i had similar solution.

first i export all slides to jpg images and navigate between this images
 
Upvote 0

microbox

Active Member
Licensed User
Longtime User
@ykucuk ...I will try it..thanks.

@NJDude...Thanks for the reply, I'm still new at this...not sure how to..is there any similar example code/link that I can test/study?

Thanks in advance
microbox
 
Upvote 0

microbox

Active Member
Licensed User
Longtime User
Hi, thank you very much...I will work on my little project and post here the result.
 
Upvote 0

borland

Member
Licensed User
Longtime User
Dim i As Intent
Dim PowerPointSample As String

File.Copy(File.DirAssets, "MxAgCrProd.ppt", File.DirDefaultExternal, "MxAgCrProd.ppt")

PowerPointSample = "file:///" & File.Combine(File.DirDefaultExternal, "MxAgCrProd.ppt")

i.Initialize(i.ACTION_VIEW, PowerPointSample)

'i.SetComponent("com.dataviz.docstogo/com.dataviz.dxtg.sstg.control.android.SlideShowToGoActivity")
i.SetType("application/vnd.ms-powerpoint")
i.AddCategory("android.intent.category.DEFAULT")

StartActivity(i)
 
Upvote 0

microbox

Active Member
Licensed User
Longtime User

Thanks borland...this will be handy as well.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…