Posts

Showing posts with the label android

How to create key hash in Windows 7 64bit

Recently i tried to get started with Facebook SDK for Android . Actually there is a good tutorials for getting started in facebook developer site. I followed this link https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/ I created a sample app in Facebook developer site and added the key hash in App setting . but When started the app i found the Facebook Authentication is working at all.I got Mobiletest is misconfigured for Facebook login. Press okay to go back to the application without connecting to facebook If you press okay it will go back to the application. And it will show an error like Login Failed: invalid_key: android key mismatch. Your key "abcdefghijklmns" Does not match tje allowed keys specified in your application Settings This is because you have entered a wrong key in Apps settings in https://developers.facebook.com/apps. After lot of googling i found that the keytool am using giving a wrong key hash. The error is...

Change Android AVD location in Windows7

Why am always forget to update this blog? I don't know. Anyway i would like to share a small tip i came across when i am working with Android. Android.. hmmm ... Sorry i just started to learn Android. Like all other thing am experimenting with Android. First i just added 4 AVD and tried to make Fifth one and got an error. I just looked my partioion and found that C drive is almost full.. It's because the Android AVD is created normally in  C:\Users\UserName\.android\avd  and i am just giving every AVD a 5GB SDCARD also. What else ? :P I searched google and found and solution . I just copied the .avd folder from C:\Users\UserName\.android\avd and just pasted it to another drive. And i also edited the configuration file of each AVD. Got the idea ? no? Okay i have a AVD named " gingerbreadWVGA " . I would have a " gingerbreadWVGA.avd " and " gingerbreadWVGA " configuration file on " C:\Users\UserName\.android\avd\ ". I just cut a...