Skip to content

having activity:getFilesDir() to work in init phases #22

@ildar

Description

@ildar

Normally it works, e.g:

$ telnet localhost 3333

print(activity:getFilesDir())
/data/data/sk.kottman.androlua/files

But when I try to use it in around there: https://github.com/stevedonovan/AndroLua/blob/master/assets/main.lua#L18

I get an error like "No such method: getFilesDir". This is probably related to the "userdata" object doesn't fully work at this stage or something.. I'm not sure if it's in Android or in AndroLua manipulations.

Can you advise? or maybe @stevedonovan ? thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions