Wednesday, 12 December 2012

Flash CS: Simple iOS App - Deploying to a device


Submit Flash Apps to Appstore:

http://www.youtube.com/watch?v=wz4kHk3Aaas

Tuesday, 11 December 2012

iCloud Display Sets



What's the use of iCloud Display Sets?

 

When adding iCloud support to iOS app one can configure iCloud Display Set and link it with an app by specifying NSUbiquitousDisplaySet. But iCloud works even without it, so my question is: what's the purpose of iCloud Display Sets at all?
Couldn't find any clear answer anywhere in the docs. And what's more, based on the Apple docs it seems as if specifying Display Set for your app was mandatory if you use iCloud. That did confuse me a bit.
It is so that one might want to share the same Display Set for multiple applications or for iOS and Mac app versions?
 
 
 
NSUbiquitousDisplaySet (String - iOS, Mac OS X) contains the identifier string that you configured in iTunesConnect for managing your application’s storage. The assigned display set determines from which mobile data folder (in the user’s mobile account) the application retrieves its data files.
If you create multiple applications, you can use the same display set for your applications or assign different display sets to each. For example, if you create a lite version of your application, in addition to a full-featured version, you might use the same display set for both versions because they create and use the same basic data files. Each application should recognize the file types stored in its mobile data folder and be able to open them.



http://www.scribd.com/doc/72156702/84/Creating-iCloud-Display-Sets


 

 

Monday, 10 December 2012

Corona SDK Language using LUA for All Devices


Corona is the leading mobile app development framework.

From games to eBooks to business apps, Corona is unmatched in giving mobile app developers the ability to develop high quality content at record speeds. Corona SDK is only the start; our vibrant community, educational resources, and complementary development tools, make Corona the top choice among mobile app developers.
Read on to learn why Corona is the best solution for building high-quality mobile apps.



Corona SDK  Language using 'LUA'  for All Devices

http://www.coronalabs.com/products/corona-sdk/

IDE:

LUA  Glider or many more


Introduction:
http://mobile.tutsplus.com/tutorials/corona/introduction-to-corona-sdk-easy-cross-platform-development/


Learning Corona:
http://learningcorona.com/

Build for AppStore:
http://developer.coronalabs.com/forum/2011/03/13/build-app-store
http://www.coronalabs.com/blog/2011/05/02/tutorial-apple-validation-with-corona-sdk/
 

How to Publish App to the Android Market



http://mobile.tutsplus.com/tutorials/android/publish-to-android-market/

http://apcmag.com/how-to-take-your-app-to-market.htm


http://www.youtube.com/watch?v=gpxM0ffAvok
http://www.youtube.com/watch?v=ou8yJvI8HCE

Sunday, 9 December 2012

libCordova.a cordova issue

clang: error: no such file or directory: '/Users/admin/Library/Developer/Xcode/DerivedData/_TESTING_-fzbkvdbnndieeagphtjhdndiyttl/Build/Products/Debug-iphoneos/libCordova.a'


For your project, set the build setting "Build Active Architecture Only" to yes.
(Maybe also set the the Architectures build setting to "Standard (armv7, armv7s)" for CordovaLib project.)




Reference:

http://stackoverflow.com/questions/12716830/xcode-4-5-no-such-file-or-directory-libcordova-a

Wednesday, 28 November 2012

In App Purchases in iOS



Adding In-App Purchase to your iOS and Mac Applications:

http://developer.apple.com/library/ios/#technotes/tn2259/_index.html



In App Purchases: A Full Walkthrough

http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/

 

Introduction to In-App Purchases (iOS 5):

http://www.raywenderlich.com/2797/introduction-to-in-app-purchases

for iOS 6:

http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial

 

 

 

 

Sunday, 25 November 2012

AddressBook iOS 6 issues


Problem:



I am updating an app for iOS 6 Address Book authorization and have hit a problem in testing. The simulator always returns that authorization is granted. This means I do not see the dialog popup requesting permission and can therefore not test that code path. Ok, use a device instead... The problem there is the OS appears to remember my answer so only asks once. Deleting the app does not help. On reinstalling it has retained the permission setting from before, so again no popup.

Solution:

From the device, Settings->General->Reset->Reset Location & Privacy.


http://stackoverflow.com/questions/12602984/abaddressbookgetauthorizationstatus-in-simulator-always-returns-kabauthorization



Problem:

dyld: lazy symbol binding failed: Symbol not found: _ABAddressBookCreateWithOptions
or
dyld: Symbol not found: _ABAddressBookCreateWithOptions


Solution:

this code was failing for me at ABAddressBookGetAuthorizationStatus() in iOS5, but as per yunas' answer below, I checked if (ABAddressBookRequestAccessWithCompletion != nil) before going into the ABAddressBookGetAuthorizationStatus() code, and it was true/false for iOS6/5. I'm sure there'll be a more elegant way to cope with the two versions of iOS, but it's done the trick for now.


 if (ABAddressBookRequestAccessWithCompletion != NULL)   // we're on iOS 6
    {
    ....................  


    }
   
    else    // we're on iOS 5
    {
        return YES;
    }
 



http://stackoverflow.com/questions/12648244/programmatically-request-access-to-contacts-in-ios-6


Thursday, 22 November 2012

Create Indexed UITableView (Section)

http://www.iphonedevcentral.com/indexed-uitableview-tutorial/


Tackling that handy index on the right side of table views is really not that complicated. In fact, it only requires that you implement two methods. In this tutorial, I’m going to take you step-by-step on how to wire it all together.




Indexed Table 2