Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature reguest Automatic Read and dumb #117

Closed
amahlaka opened this issue Feb 27, 2017 · 5 comments
Closed

Feature reguest Automatic Read and dumb #117

amahlaka opened this issue Feb 27, 2017 · 5 comments

Comments

@amahlaka
Copy link

Hi, i attempted to add a feature that allows the app to wait until a tag is present and then read and dumb it to a file, however i got stuck in how to actually make it wait for tag without causing a ANR.
can someone either help me making this feature or can someone make this?

@ildar
Copy link

ildar commented Feb 27, 2017 via email

@amahlaka
Copy link
Author

i tried using Callable, but it never seems to exit the while loop, i tried while((reader = MCReader.get(mTag)) == null){ and ' while(mTag == null){' but no luck

@ikarus23
Copy link
Owner

I think the right way to do this, is to create an extra Activity. Like some "Quick Dump Tool". This activity should use the foreground dispatch system (you can inherit this from MCT's BasicActivity). You might want to overwrite the onNewIntent method. This method is called automatically if (among other things) a new tag was found.

@ikarus23
Copy link
Owner

As for you feature request: I think its a duplicate. Check out #43. However, this is a really old feature request and I don't think I will have the time to implement it soon.

@ikarus23
Copy link
Owner

Closing this issue in favour of #43.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants