I am installing Java framework libGDX and In the Android SDK Manager I have to install an Android API, which Android API should I install? Maybe API 21 (Android 5.0) or any older like Android API 19 (Android 4.4.2) and Android API 8 (Android 2.2)? I want to make games and then post it on Google Play.
Thank you for your reply and help.
Here you can find the Android version market share: Platform Versions
Have a look also here [this talks about the manifest used by an android app]
The API level allows you to declare the minimum version with which
your app is compatible, using the manifest tag and its
minSdkVersion attribute.
For example, the Calendar Provider APIs were added in Android 4.0 (API
level 14). If your app cannot function without these APIs, you should
declare API level 14 as your app's minimum supported version like
this:
When I created the libgdx [I have the Android 4.3 SDK installed] it created the manifest file [ AndroidManifest.xml ] with:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />
And the 8 means from 2.2 onward, the app that are created are compatible then with 2.2 and greater.
Related
I get the following XCode 9.0 compiler warning:
New version of Google Maps SDK for iOS and Google Places API for iOS
available: 2.4.30121.0
But the latest available version for manual installation I see on the Google Maps API page here is version 2.4.0. Can someone please point me to the very latest version for download (not for CocoaPods)?
On the same Google API page it is mentioned that :
Note: Versions 1.9.2 and earlier of the Google Maps SDK for iOS were available as a zip file containing a static framework. There was also the option to install recent versions from a CocoaPods pod. From version 1.10.0 onwards, the Google Maps SDK for iOS is available for installation only via CocoaPods.
So you can install version 1.9.2 manually
I am working on the windows-8 PC. And i have some HTML app gui which i want to convert to android mobile app.
I am new to phonegap.
How to setup the development environment for phonegap?
1> Following tool android developers app tells to use phonegap cli to create new project :--
http://phonegap.com/blog/2014/04/23/phonegap-developer-app/
This video uses Android sdk to create new project :--
http://www.youtube.com/watch?v=MF6dzbTDwdY
Which is the best methord to start working with phonegap ?
Do we need android SDK if we work with phonegap cli ?
2> This link tells to use commandline or IDE methord to create phonegap projects :--
https://github.com/phonegap/phonegap/wiki
3> What exactly is the relation between android SDK & phonegap cli .. ?
i would recommend you to use Cordova. Why? Yes, there is no realy reason why to do this, It's rather a question of what you like to work with.
I'm using Cordova. Maybe you read the Getting started guide and then the following documentation.
After you installed all, you can open up the CMD and create a new cordova project. If you want to know, how to do this, go on with the posted link above. A little bit under the setup instructions you can find a Guide which explains you, how to setup a new project and so on.
If you work with Cordova, you need Eclipse and i would recommend you to install Genymotion for having more options of deploying an app to a device.
Later on, if you would like to convert an Application to another platform you can use the Phonegap Build from Adobe. But normaly you can use your code like you wrote it for android 1:1 for iOS. Maybe there are some tiny differences, but they would'nt be fixed by the phonegap build i think. So... i would say there is no way to say "You should work with Phonegap" or "You should work with Cordova" it's your choice.
If you want to build app for android locally you'll need android SDK. This is because phonegap/cordova uses the android SDK to wrap the app.
Basically phonegap/cordova uses the SDK to compile the project for android platform and to build the APK file which can be installed in devices. You can interpret as Phonegap/cordova cli is an interface between android technology and cross platform technology. Similarly iOS will need some native technology to work with phonegap. Thiese SDK helps to build and package the app for their own platform which you've written in HTML/CSS/Javascript.
Does anybody know how to build an AIR application made with an earlier version of the SDK (say 3.8, or 3.9) with a newer version of the AIR SDK (4.0, for instance) without altering the namespace version in the application descriptor xml file?
Adobe claims in the release notes for AIR SDK 4.0 (beta) (pdf):
If your application
does not require the new AIR 4.0 API's and behavior, you are not required to update the namespace. However, we recommend all users start
using the AIR 4.0 namespace even if you are not yet taking advantage of the new
capabilities.
and I've seen that in earlier release notes too but I've always had to update the namespace anyway, to prevent compiler error messages like this one:
Namespace 3.9 in the application descriptor file should be equal or higher than the minimum version 4.0 required by AIR SDK .
Can it be fixed by a compiler argument, or something else?
I have overlaid Air 3.0 over the flex sdk. I have targeted swf version 13 and included 3.0 in the header of my xml file, is there anything else i need to do to get my app published with air 3.0.
Also is there a way to check what version of air the app has been published with once it has been published?
I am using flash builder 4.5 and osx.
You can get the AIR version at runtime using NativeApplication.nativeApplication.runtimeVersion
Edit:
Also remember that there are different SDKs for Windows and for OSX. The Windows SDK does not work on OSX and vice-versa. Attempting to do so results in a runtime error.
OS X doesn't really matter.
Your application descriptor has changed in format since AIR2.0 The easiest way to check this is create a new AIR 3 project and check the app descriptor xml for that application, and compare it to yours. You will easily find out the differences.
The AIR runtime version (as lukevanin said) can be read from
NativeApplication.nativeApplication.runtimeVersion
Then you can publish in the same way as before (export release build -> select certificates, etc)
Is there a way to enable push notifications in an AIR-enabled app? I have an iOS native app I would like to try and port to AIR, I have the proper provisioning profile and certificate, etc.
thanks,
Push notifications are not natively supported in AIR, but there are Native Extensions (ANEs) that let you have this functionality.
The guys from Fresh Planet developed several ANEs that are available with an open source license. I, myself, am using the Push Notification ANE they provided.
Check it out:
https://github.com/freshplanet
Push notifications are not supported in AIR till the latest released version 3.3