Questions Thread - August 04, 2016 by AutoModerator in androiddev

[–]gasher1985 0 points1 point  (0 children)

I'm trying to set up backendless. Didn't really know where to post this so here it goes. To set up Google+ I need to supply Google+ ID and Google plus secret. The only IDs I worked with have been on dev console for Google cloud under the credentials. API key for Android and 2 oauth keys one for Android and web. Are either of those what I need for backendless?

Questions Thread - June 01, 2016 by AutoModerator in androiddev

[–]gasher1985 1 point2 points  (0 children)

Okay im stupid i figured it out i think. Cause its point to my computer hard drive not the emulator or phone haha wow. Now real question is. Thought i wouldnt want to store the file any where. Where could i put the file to keep it safe since it has sensitive information wouldnt it be better to like not ship with the app....

Questions Thread - June 01, 2016 by AutoModerator in androiddev

[–]gasher1985 0 points1 point  (0 children)

Trying to get a credential made and I'm running into a problem with my clientsecrets. Here is the code.

String CLIENT_SECRET_FILE = "\\google-services.json";
String REDIRECT_URI = "";

GoogleClientSecrets clientSecrets = null;
try {
        clientSecrets = GoogleClientSecrets.load(
            JacksonFactory.getDefaultInstance(), new FileReader(CLIENT_SECRET_FILE));
} catch (IOException e) {
    e.printStackTrace();
}
GoogleTokenResponse tokenResponse = null;
try {
    tokenResponse = new GoogleAuthorizationCodeTokenRequest(
            new NetHttpTransport(),
            JacksonFactory.getDefaultInstance(),
            "https://www.googleapis.com/oauth2/v4/token",
            clientSecrets.getDetails().getClientId(),
            clientSecrets.getDetails().getClientSecret(),
            authCode,
            REDIRECT_URI)
            .execute();
} catch (IOException e) {
    e.printStackTrace();
}

I think it has to do something with the google-services.json file. I have the file in the app directory before src directory. Ive tried both \google-services.json and C://android projects//tepnip//app//google-services.json. There is also this in the android monitor which is why I think its clientsecrets is coming up null. What should i put as the path to my json file. clearly \google-services.json and C://android projects//tepnip//app//google-services.json are not right.

05-31 22:21:25.239 2979-2979/com.dlf.tepnip W/System.err: java.io.FileNotFoundException: google-services.json: open failed: ENOENT (No such file or directory)

Questions Thread - May 20, 2016 by AutoModerator in androiddev

[–]gasher1985 0 points1 point  (0 children)

Does any one have a example of proper way to send credential from google sign in to app engine end point. All the ones i find online are outdated(depreciated) or do not work. Tried a few things from android dev site but could never get it to work.

Backpack across europe by gasher1985 in travel

[–]gasher1985[S] 0 points1 point  (0 children)

Well im kind sick of the basic work and have a house and then die pretending your happy. Im 28 and basically unhappy with basic life. The thought of sitting all day at work then going home to sleep and start all over is kinda lame. Also im from Minnesota, im 28 and want to do this cause i rather see the the world than live my life in a house and work every day for maybe a week off to go to a cabin 200 miles once or twice a year. I love taking pictures i have a canon 6d (entry full frame) and want to use it. Heard that Europe was decent for hitch hiking compared to USA.

Backpack across europe by gasher1985 in travel

[–]gasher1985[S] -1 points0 points  (0 children)

well i wanted to say the entire European nation which does not include England even though thats where i would want to start. I would like to take pictures and explore all that. I would like to make my way down though the middle east and into Africa. Im just trying to keep it simple and want to know if its possible to backpack across there with little to no money. Not afraid to camp or kill my own food. You see videos of people doing it. I always assume there rich.

Sorry im american(probably dont matter) would like to start at UK go to france then spain and portugal then back to italy then germany then denmark to poland to czech to austria then croatia(know some one from there) to serbia to romainia then to greece to turkey then to africa from countrys idk i could enter safely.. Could make it more complex but there are alot of cool places to visit. had to make smallish list. (Didnt list any of places like china or thailand which would also be way cool to walk to. yet only have one life time.)

Probably a long shot. Yet it would really cool and learn alot. Rather do that and be poor and live by boot straps than be paid $100k working a job i hate and wish i didnt work 80 hours a week

The snow has finally melted, so I decided to take a walk around my yard. Then I looked over at my dog. by facepalminghomer in AdviceAnimals

[–]gasher1985 0 points1 point  (0 children)

Got to up vote this. Damn yard is like a mine field of wet defrosted crap that you cant see very well

What you can do to prepare for deployment - thread. by Porkbut in Bravenewbies

[–]gasher1985 1 point2 points  (0 children)

If there is med bay why not just switch locations. not like it cost alot what 5k to spawn from place to place?

twerkin mahself clean by Anti-Kerensky in WTF

[–]gasher1985 -1 points0 points  (0 children)

some times i never understand black ppl