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

Manifest + USER and BOT #3

Closed
janjay2018 opened this issue Jan 28, 2019 · 2 comments
Closed

Manifest + USER and BOT #3

janjay2018 opened this issue Jan 28, 2019 · 2 comments

Comments

@janjay2018
Copy link

Hi,

Thank you for posting your code on Github,
I am having some trouble with user permissions, is it possible to see how your android manifest looks like?

Also, in your main activity, you have values assigned to USER and BOT,

private static final int USER = 10001;
private static final int BOT = 10002;

I was wondering if you could let me know where these values come from, as it seems to not be working on my computer. I was wondering whether it was the R.id for the user and bot message?

Thank you,
Kind regards

@abhi007tyagi
Copy link
Owner

The manifest file is already there.
And USER and BOT are just hardcoded constants just differentiate if the msg is coming from user or bot. That is a pretty straightforward thing!

@janjay2018
Copy link
Author

Ahh yes my apologies, I see that you assigned the values in the send method and callback methods.
Thank you for your help

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

2 participants