Questions tagged [sdk]

A set of development tools that allows for the creation of applications for a certain software package

27 questions
208
votes
12 answers

What's the difference between an API and an SDK?

I was looking through various APIs and SDKs, when I realized that I couldn't really tell the difference between something called an API and something called an SDK. Both of them are, conceptually, a way for your program to interface with and control…
KeithS
  • 21,994
  • 6
  • 52
  • 79
12
votes
3 answers

Windows Phone 8 development on Windows 7 - is it or will be possible?

I was trying to install Windows Phone 8 SDK on my Windows 7 machine and it hit me with the 'supported only on Windows 8' message. I actually wanted to develop Phone 7.5 apps on Visual Studio 2012, impossible thing with the 7.1 SDK, so I thought 8…
Tiborg
  • 283
  • 1
  • 2
  • 9
9
votes
2 answers

How does copyrights apply to source code header files?

It seems I heard that header files are not considered copyrightable since they can only be written one way (like a list of ingredients or facts). So a header file for a specific DLL will always look the same when written in a given programming…
Jim McKeeth
  • 2,126
  • 15
  • 30
7
votes
3 answers

How should I write automated tests for an SDK without making live calls to the API?

I've developed an SDK (link) for a RESTful API in PHP, and my automated tests (example) are actually live calls against the API, which is bad for multiple reasons, mainly: it takes a long time (about 3 hours) for the tests to complete it's…
The Onin
  • 179
  • 4
5
votes
2 answers

WWDC 2012 announced features on iOS 5?

I am relatively new to iOS development, so after watching a bunch of WWDC videos announcing new awesome features for the iPhone SDK, I still got a few questions regarding their support for older devices. Specifically: Do the new compiler features…
Arnold
  • 351
  • 3
  • 12
4
votes
3 answers

Should An SDK Have Logging in the API

I am working on building a API and SDK for a web service. My question is what is the correct practice for logging. Should the SDK do logging for the API methods? All the SDKs I have seen do not do this so I am just wondering is that the recommended…
Mojo
  • 171
  • 5
3
votes
1 answer

Shouldn't Android's TextView.getText() return String instead of possibly mutable CharSequence?

I've just spent hours debugging some code because I forgot (actually never considered it) that TextView.getText() returns CharSequence that may be in fact a mutable class... Shouldn't it return (immutable) String instead? I mean I can't imagine a…
zduny
  • 2,623
  • 2
  • 19
  • 24
3
votes
1 answer

Can SDK license influence an application license?

Let's say SDK is under specific license that is not compatible with some other licenses (like Flex SDK with GPLv2). Can I create an application by using for example Flex SDK, and license its distribution under GPLv2? Can my application be considered…
Łukasz Zaroda
  • 321
  • 2
  • 8
3
votes
5 answers

What are the benefits and drawback of documentation vs tutorials vs video tutorials

Which types of learning resources do you find the most helpful, for which kinds of learning and/or perhaps at specific times? Some examples of types of learning you could consider: When starting to integrate a new SDK inside an existing…
Cat
  • 147
  • 1
  • 4
2
votes
1 answer

Method naming convention in SDKs

I create my API and now I generate SDKs for my users access them. Swagger generates a ugly name, e.g: public void sellersSellerIdShipmentPost(){ ... } Of course it's difficult to read and understand. What's the method naming convention for SDKs?…
2
votes
1 answer

Writing a programming api for an existing project?

I've an already existing project in C#. Now I should implement a plugin system. For this plugin system I've to implement a programming api/sdk. I dont want, that plugins have access to the assemblies that are used by my existing programm. This is…
Marcel Hoffmann
  • 279
  • 3
  • 6
2
votes
1 answer

Methods for structuring JavaScript SDKs

I've built a REST API and have been using Backbone models throughout a couple different applications to communicate to it. I would really like to build a single JS SDK that can be used in any application that contains that reusable code. I have…
Matt
  • 293
  • 3
  • 10
2
votes
1 answer

What am I risking if I don't update my SDK/JDK and bundled runtime/JRE every time there's a security update?

It seems like there's a new major security hole patched in Java every other week, and I would assume the same goes for other development platforms. After years of frustration trying to get customers to install and configure a compatible JRE on…
rob
  • 306
  • 2
  • 11
1
vote
1 answer

SDK design: Should I parse enum as string or as enum?

I am building a SDK that will simplify the use of my API. The problem is if when I have to return property of type enum. For example, I use strings instead of int for displaying enum such as { "type": "CAR" } instead of { "type": 1 } Now, my…
John
  • 773
  • 2
  • 7
  • 19
1
vote
1 answer

Propper way to organize and maintain project SDK

There is a C++ project. It is supposed to be executed on x86 CPU, target OS are Ubuntu 18.04 and Red Hat 7.4. There is an idea that there is almost no need to install anything project specific on a build server because all dependancies the project…
NwMan
  • 21
  • 2
1
2