Skip to content

Adding Settings.Secure.ANDROID_ID to the device_info#44

Open
RenniePet wants to merge 2 commits into
nolanlawson:masterfrom
RenniePet:master
Open

Adding Settings.Secure.ANDROID_ID to the device_info#44
RenniePet wants to merge 2 commits into
nolanlawson:masterfrom
RenniePet:master

Conversation

@RenniePet
Copy link
Copy Markdown

  1. Sorry for the delay.
  2. I don't use GitHub very much, so I hope I'm doing this "pull request" thing correctly.
  3. I don't use Eclipse. I have coded and tested this with IntelliJ IDEA, and it looks like it works.
  4. The formatting of the code is all off because I use spaces instead of tabs.

Despite all of the above, I hope you can use this. Thanks again for making Catlog available.

@nolanlawson
Copy link
Copy Markdown
Owner

Thanks, I'll look at this soon.

This facility can be used by another app by doing something like this:

Intent androidIntent = new
Intent("com.nolanlawson.logcat.intents.SEND_EMAIL");

androidIntent.putExtra("recipients", new String[]{"some@email.com"});
androidIntent.putExtra("service", "email");  // Exchange email client,
"gmail", etc. also possible
androidIntent.putExtra("subject", "Logcat file from Android device");
androidIntent.putExtra("device_info", true);
androidIntent.putExtra("attachment", true);
androidIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);  // May be
necessary

startActivity(androidIntent);
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

Successfully merging this pull request may close these issues.

2 participants