Skip to content

why i can't get the getActivity.runOnUiThread? #138

@armadeas

Description

@armadeas

I'm create and put this
private Emitter.Listener onNewMessage = new Emitter.Listener(){
bla bla bla
}
in my app(MainActivity) same as in tutorial at http://socket.io/blog/native-socket-io-and-android/,
but why i have error in getActivity().runOnUiThread(new Runnable() { ?
when i ctrl + space, there is no getActivity

anyone can help me?
it's my first time combine speech to text and socket io

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions