sdk

Android Studio is unable to find Android SDK

风格不统一 提交于 2019-12-24 19:02:50
问题 I have downloaded the latest version of Android 3.0.1.0 along with the command line sdk tools. I unzipped both the files and tried to install Android Studion but it doesn't find SDK. After searching online I put unzipped SDK folder into the following directory C:\Users\User-Name\AppData\Local\Android\Sdk, but it still doesn't find it.I have also heard that Android Studio contains SDk tools but still it is showing no SDK tools.Please help me.I am using windows 7 32-bit OS. 回答1: In Android

Android SDKs don't show up

为君一笑 提交于 2019-12-24 18:05:34
问题 I went through all the steps on the android dev site, installed all the SDKs, and when I start a new android project or go to android preferences the list that's supposed to show the SDKs is empty. I have the SDK location pointed to /android-sdk-mac_x86 and it looks like every things there. Am I missing a step maybe? 回答1: Try doing a fresh install. This should fix your problem. Sometimes eclipse will bug out and create problems. Doing a fresh install usually solves this problem for me and

Size of Image in Android

可紊 提交于 2019-12-24 17:19:08
问题 For a particular Image say on blue background, I can get its Width and Height in android. I can display it on screen using ImageView. Even If I keep the background of Image as transparent I can display it on screen. But still if I try to find out the width or height of image programmatically , I still get the same as in previous step. What I wanted to achieve Is there any way through which I can get the exact height or width of image minus transparent background. I want to do this because I

Size of Image in Android

杀马特。学长 韩版系。学妹 提交于 2019-12-24 17:18:06
问题 For a particular Image say on blue background, I can get its Width and Height in android. I can display it on screen using ImageView. Even If I keep the background of Image as transparent I can display it on screen. But still if I try to find out the width or height of image programmatically , I still get the same as in previous step. What I wanted to achieve Is there any way through which I can get the exact height or width of image minus transparent background. I want to do this because I

Wrong number of Facebook checkins via Facebook Graph API

一世执手 提交于 2019-12-24 17:07:03
问题 I have a Facebook page integrated with spot and it has checkin counter(ex: 90 were here) in the left of the page. Now I can access the page using facebook Graph API Exploler like follows. https://graph.facebook.com/page_id In the result of JSON format, there is the field as follows. "can_post": true, "checkins": 88, "type": "page" This says there are total 88 checkins on my spot of the Facebook page. But, the checkin counter in my Facebook page says, it's 90. Why there is a little difference

Charset with Facebook SDK

女生的网名这么多〃 提交于 2019-12-24 16:41:16
问题 I needed to work with Facebook SDK, so with some help, I wrote script that can find informations about person. But if there is diacritic in his/her name, it will be malformed, I tried to set charset in SDK files, but it doesn't help. For example, if the name is René Beneš, it will be RenĂ© Beneš. Can you help me please? Thank you 回答1: I can describe, at the character level, what is going on here – I hope it helps you closer to a solution. You apparently get the data in UTF-8 encoding, but

How to get thumbnails with box android-content-sdk (notV2)

坚强是说给别人听的谎言 提交于 2019-12-24 16:03:16
问题 There is a way to get the thumbnails with new box android-content-sdk? I don't see anything in the doc and methods: https://github.com/box/box-android-sdk Thanks. 回答1: There are two methods that return a request: /** * Gets a request that downloads a thumbnail to a target file * * @param target target file to download thumbnail to * @param fileId id of file to download the thumbnail of * @return request to download a thumbnail to a target file * @throws IOException */ public BoxRequestsFile

Can't see Android in Prespetive ,SDK Manager & AVD Manager .

对着背影说爱祢 提交于 2019-12-24 16:02:54
问题 I just upgraded my Ubuntu to 12.04 & now when i run my eclipse so it runs file but the problem is that i can't find android any where. Even i try to update ADT etc but it tells that everything is already installed . Stuck badly anyone can help. I can't see Android in Prespetive , it's SDK Manager & AVD Manager & even in new project i can't find android application . 回答1: Open your eclipse/plugins directory. Can you see com.android.ide.eclipse.{adt,base,ddms,etc...}.version_number.jar files?

How do you compile WinCrypt.h under Visual C++?

不羁的心 提交于 2019-12-24 15:58:51
问题 I have a bog-standard Visual Studio Express Visual C++ environment, installed on a bog-standard Windows 7 box. I'd like to simply compile "#include "WinCrypt.h" (from the Windows SDK) without error. Can someone post the prereq set of includes (and perhaps VS settings) to accomplish this? 回答1: Don't you only have to #include <Windows.h> then #include <Wincrypt.h> ? Edit: yes that is the case. I just tested it and the only requirements to #include Wincrypt are Windows.h and an entry point (main

Draw custom map tile images (.pngs) on top of Google Map - Android

心已入冬 提交于 2019-12-24 15:58:08
问题 I have png images of map tiles over parts of the UK and i want to draw them on top of the google maps view, I have everytyhing set up, just want to be able to draw the tile images now. My main class extends 'MapActivity', can i add a canvas function to draw them? ALso, I only obviously need to draw the tiles that are in view on the phone while the tiles out of view should not be drawn. 回答1: You can add an Overlay to the MapView, that will get you a canvas to draw on. See http://code.google