Open/load Pdfs And Mp4 Videos In Folder Separate From App?*urgent*

Hello all, 

I have a client that I built an app for, that wants to load some pdf files and .mp4 movies via the app,

but must have the pdfs and movies in a folder on the android tablet separate from the app.

(the total folder size is around 900 meg for the pdfs and movies, so cannot be in the app files itself)

 

So I am a little confused as to how to do this?

 

I may be wrong but the only way to do this is to have those be in the android tablet documents folder???

 

currently I have functions like this:

 

[lua]

–load the pdf:

 

 

local function item1bTouch(event)

    if event.phase == “ended” then

        isactive = 1

        --webPopButton.isVisible = true

        local function loadURL_Listener(event)

        local shouldLoad = true

        local url = event.url

        if 1 == string.find(url, “corona:close”) then

                shouldLoad = false

        end

        

        if event.errorCode then

        – Error loading page

       – print( "Error: " … tostring( event.errorMessage ) )

        shouldLoad = false

    end

   

        return shouldLoad

end

        

native.showWebPopup( 0, 25, 800, 480, “yadda/blah/blahblah.pdf”, {baseUrl=system.DocumentsDirectory, autoCancel = true, urlRequest=loadURL_Listener} )

            isWebPopup = true

            webPopButton.isVisible = true

            bottomBar.isVisible = true

            print(‘loaded from documents’)

    end

end

item1iconb:addEventListener( “touch”, item1bTouch )

 

–open movie:

 

local function item7bTouch(event)

    if event.phase == “ended” then

     media.playVideo( “yadda/blah/blahblahmovie.mp4”, true)

    end

end

item7iconb:addEventListener( “touch”, item7bTouch )

[/lua]

 

Really need help on how to load these items from a folder he puts on the tablet somewhere else…

thank you

-Winter