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

Working on api 8 + some refactoring #14

Conversation

mg6maciej
Copy link
Contributor

new Scanner(inputStream).useDelimiter("\\A").next(); from http://stackoverflow.com/a/5445161/2183804

InputStream inputStream = getResources().openRawResource(R.raw.radar_search);
JsonReader reader = new JsonReader(new InputStreamReader(inputStream));
String json = new Scanner(inputStream).useDelimiter("\\A").next();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a neat hack. Could you add a comment saying what the \A token is?

@broady
Copy link
Contributor

broady commented Aug 16, 2013

Awesome. Thank you.

broady added a commit that referenced this pull request Aug 16, 2013
…factoring

Refactoring of demos. Change demo minSdkVersion to 8.
@broady broady merged commit ecf92e5 into googlemaps:clustering Aug 16, 2013
@mg6maciej mg6maciej deleted the feature/working_on_api_8_and_refactoring branch August 16, 2013 13:21
broady pushed a commit that referenced this pull request Feb 11, 2014
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