sdk

Android SDK and Eclipse with Phonegap: “No android targets installed”

南笙酒味 提交于 2019-12-12 09:20:55
问题 I followed the installing instructions like here or anywhere else: http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/ When I want to create a new project with Phonegap it says: No Android Targets are installed. Please install at least one via the android SDK Everything is in the bash_profile, Eclipse installed, SDK installed, Android Devices are set up. Can anyone help please? Thank u very much in advance! 回答1: The error message pretty much says it all. In your SDK Manager

Android Studio: “Error initializing ADB: Android Debug Bridge not found”

百般思念 提交于 2019-12-12 09:17:03
问题 I've installed Android Studio 3.0, and have compiled and run applications successfully. Device File explorer pane has the above error message in red, and nothing else. 回答1: Each Android Studio project requires information as to what SDK is to be used, and where it is located. The overall configuration defined in the SDK Manager under the tools menu is not enough, and it is used seemly to download and install the necessary SDK, so make sure you have Android SDK installed. Now opened or create

Android studio 2.3 canary missing 'Launch Standalone SDK Manager' option in 'SDK Manager'

我的未来我决定 提交于 2019-12-12 08:29:17
问题 I inadvertently accepted android studio's upgrade suggestion to 2.3 (canary), although I had always had it set to check for the developer channel, not canary, somehow that got switched. Now I no longer have a 'Launch Standalone SDK Manager' option in my 'SDK Manager' window. I liked the standalone manager for various reasons, including that it suggested what needed to be downloaded and upgraded. The regular sdk manager lists a lot of things I expect I don't need like 'CMake', 'LLDB',

How do you debug facebook connect apps and xfbml parsing using the javascript sdk?

限于喜欢 提交于 2019-12-12 08:18:01
问题 I'm failing making the Facebook javascript SDK work to parse xfbml. I'd like to debug but I can't see anything in the FB documentation about it. I explorered the following solutions, and combinations of them: Creating a div for the log: <div id="log-container"> <div id="log"></div> </div> Setting the verbosity level: FB.init({ appId : 'app_id', status : true, cookie : true, xfbml : true, level : "debug" }); includes the debug sdk <script src="http://static.ak.fbcdn.net/connect/en_US/core

How to Hide MKAnnotationView Callout?

假如想象 提交于 2019-12-12 07:45:09
问题 i'm trying to hide an AnnotationView without touching the pin, is the possible? Thanks! for (id currentAnnotation in self.mapView.annotations) { if ([currentAnnotation isKindOfClass:[MyAnnotation class]]) { } } 回答1: Do you just want to make the callout bubble go away but keep the pin? If yes, then do this: for (id currentAnnotation in self.mapView.annotations) { if ([currentAnnotation isKindOfClass:[MyAnnotation class]]) { [self.mapView deselectAnnotation:currentAnnotation animated:YES]; } }

Facebook iOS SDK - Sending a facebook user an app request

妖精的绣舞 提交于 2019-12-12 07:37:55
问题 Im trying to send an app request through facebook using the facebook iOS SDK, im using the following code: NSString *message = [[NSString alloc] initWithFormat:@"blah blah blah"]; NSString *data = [[NSString alloc] initWithFormat:@"blah blah blah"]; NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:message, @"message", data, @"data", nil]; [_facebook requestWithGraphPath:[NSString stringWithFormat:@"%@/apprequests",userID] andParams:params andHttpMethod:@"POST"

Import project in Android Studio from Eclipse

纵然是瞬间 提交于 2019-12-12 07:13:13
问题 I installed new Android Studio 0.1.1 based on IDEA ide and tried Import code from Eclipse. Go to Eclipse->Export->Grandle so it add gradle file Open Android Studio and select Import Project and select my project folder with build.gradle file Press Finish and get an Error: failed to find target android-15 (this is was parget of my project) I go to system variables and change to %ANDROID_HOME% = d:\dev\android\android-studio\sdk\ (remove platform-tools from path) And get new error: failed to

Get files from multiple Sony A7RII Cameras with the Sony Camera Remote API

此生再无相见时 提交于 2019-12-12 06:54:30
问题 I would like to download images from 20 Sony A7RII cameras, to a computer, without having to get the memory cards from the 20 cameras. I do not need to synchronize the triggering, I know this is not possible via software. I do not need the discovery service, I can figure the ip addresses myself. I need to be able to read the image list and download images. Even better would be to get a notification when new images are available. Is the Sony SDK limited to a single camera? Is there really only

How to prevent the facebook-SDK (Javascript) is moving the logout button from right to left (“PluginResize”)

﹥>﹥吖頭↗ 提交于 2019-12-12 06:28:16
问题 Working with facebook Javascript-SDK (loaded from its servers asyncronously) gives a strange effect: after successfully login to FB via SDK the FB-Logout-Button is moving pixelwise from right to left and back. The login/logout-button is declared as: <fb:login-button size="large" autologoutlink="true" perms="email,user_birthday,status_update,publish_stream"></fb:login-button> stopping the script in Firebug results in a javascript-file called M6XESwM2V2D.js and there in the following code lines

UITableView show only first row

六月ゝ 毕业季﹏ 提交于 2019-12-12 06:03:57
问题 My app has 3 tabs (Kids, Points and Requests) with same result list. I'm using a custom cell to show kids information with same data in 3 tabs. For example: Kids Tab: Kid name 1 Kid name 2 Kid name 3 Points tab: Kid name 1 Kid name 2 Kid name 3 Requests tab: Kid name 1 Kid name 2 Kid name 3 When I go to Requests and select a kid I push another view with total requests per selected kid. Now the VERY weird thing, when I back to Points or Kids tab and reload (i'm using pull to refresh, what is