sdk

SDK manager not starting

蹲街弑〆低调 提交于 2019-12-13 04:37:04
问题 When i click on SDK manager in the eclipse, it does not start. Rather it displaying following message Android\tools\lib\\find_java.exe -s' is not recognized as an internal or external command, operable program or batch file" I tried to change my Path variable, but it still does not work. Not sure what mistake I am doing. Appreciate your help. My path variable contains: JAVA_HOME is C:\Program Files\Java\jdk1.7.0 C:\Program Files\PC Connectivity Solution\;%JAVA_HOME%\bin;%SystemRoot%\system32;

Which PayPal iPhone SDK should I use?

霸气de小男生 提交于 2019-12-13 04:19:47
问题 I want to make an app that lets a vendor sell gift cards through the app to the vendor's store. Does anyone know which PayPal SDK I would use? I'm hoping for guidance based on experience here, which is easiest to work with and simplest. Also does anyone know if there's a paypal alternative with an SDK? Thanks! 回答1: Following on from my comment above, the rules are not clear and are therefore open to interpretation ( and Apple's interpretation always supersedes anyone else's ) 11.2 Apps

android not found resource id

一世执手 提交于 2019-12-13 04:13:23
问题 i've created a new android project target 8, with default activity I've assigned an id to textview with text "Hello world". <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:id="@+id/tvProva" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> </LinearLayout>

Autolayout 16:9 animated GIF in Storyboard Xcode 10, iOS

大兔子大兔子 提交于 2019-12-13 03:49:04
问题 I'm having a Universal app and wanted to add a little tutorial. For that I have created a 16:9 animated GIF. I wanted to position that top/left or top/right. Text and buttons wherever space is left. The image is initially 400x225, but I can accept any size, as long as 16:9 is kept. I cannot figure out, how I could align that so that on phones it uses a smaller rect as on an iPad. 回答1: If I understand correctly, you want the UIImageView to keep the same ratio. You can do it using constraints,

Android support library v7

匆匆过客 提交于 2019-12-13 03:48:50
问题 I am making an android app that contains action bar and fragment which are not supported for API level 8! So I just tried to import support library V7 to fix this problem! But when I try to do it , it doesn't find support library for V7 , there is support.v4 but not v7. what should I do to fix it? Should I download anything for my android SDK? 回答1: Download Android Support Library in Your SDK manager under Extras . Then Import appcompat from following folder in your sdk. Android-SDK\extras

Google App Engine Launch error: “C:/Documents and Settings/userName/php” is a directory and a yaml configuration file is required

▼魔方 西西 提交于 2019-12-13 03:41:28
问题 I am totally new to GAE and I am trying to install and start using GAE PHP SDK. I am unable to follow the instructions on the very first Hello, World! example to start the server. Since I am new I cannot seem to figure out where I am going wrong. I got all the files paths and instructions that I have been typing. I am using Windows XP 32 bit. I have installed Python 2.7.5 as instructed (Installing the PHP SDK on Windows). I extracted the PHP and Google Appengine in c:\documents and settings

What is the right way to “save as” an iPad project?

柔情痞子 提交于 2019-12-13 03:35:02
问题 I would like to build a new project based upon my existing. Since there are internal names that need to be changed to correspond with the project file names, I don't know the simple way to accomplish this without a mess. 回答1: Here are steps I have done: Copy the whole folder of that project and rename the folder to whatever new name you want. Following the direction in the answer from this SO to change the "product name". That is it. 回答2: I would suggest you do NOT "save as" any project.

How do you load a view on top of another view in the iPad

三世轮回 提交于 2019-12-13 03:24:19
问题 How do you load a view on top of another view in the iPad like in the wordpress app when it asks you to setup your blog. Can you show or post me some sample code. I have an NSUSerdefaults setup so it will display this on the first launch. I would like this view to look like this http://uplr.me/files/p45064.png See how it has the shaddows and the view is darkened in the back. Thats what I am trying to do. 回答1: I got it AddViewController* firstLaunchController = [[AddViewController alloc]

In need of some code for the iphone SDK (Save an in app picture to your photos)

ぐ巨炮叔叔 提交于 2019-12-13 03:19:14
问题 Im working on my first app for the apple app store and I am in need of the code to be able to see a picture and save it to the photos, also where the code goes, so some what of a tutorial of how to save a picture to the photos app, I am working with the latest version of the iphone SDK. 回答1: UIImageWriteToSavedPhotosAlbum(image, self, (SEL)@selector(image:didFinishSavingWithError:contextInfo:), nil); Here's an example. 回答2: Referring "iPhone cookbook" by Erica Sadun 来源: https://stackoverflow

Could not find any version that matches com.google.android.gms:play-services-gcm:12+ (

泄露秘密 提交于 2019-12-13 03:03:32
问题 I'm trying to compile on ionic 3.20 with cordova 6.5.0 on Android. I'm executing cordova run android but everytime I'm getting: Error: ~/Develop/blastbot-ionic/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. Could not resolve all dependencies for configuration ':_debugApkCopy'. > Could not find any version that matches com.google.android.gms:play-services