Skip navigation
Currently Being Moderated

Folder Hierarchy on android project

Jun 29, 2012 12:51 PM

Tags: #android #folder #hierarchy #folder_hierarchy

Hey guys!


So, I'm having a issue here that I hope someone may help.


My project folders are organized like this











I want to play somevideo.flv using NetStream. I included the assets folder in the publish settings for android 3.2 (the added path is the full path not only the relative path so I got something like "c:\users\myname\documents\....\assets"


suppose my NetSctream object is called stream. What should the string value of path be set to? I was thinking something like "../../assets/sub_folder/somevideo.flv" but can't get it to work.;

  • Currently Being Moderated
    Jun 29, 2012 2:38 PM   in reply to marcelbatista
    The path where you read the files included as part of the structure of the application, use an absolute path does not make sense.

    You should create a folder for the videos is part of the structure based on your app.

    Maybe, you could find the file without path, ie path = "somevideo.flv"


    Mark as:
  • Currently Being Moderated
    Jul 2, 2012 9:25 AM   in reply to marcelbatista

    where say 'included files' you can only add file to package in the apk file, you can't add paths, you only can add files

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points