iTunes iPhone iPad App how to re-submit when status is waiting for review

Hi Guys, Confessions first, Yup I made my millionth mistake today by uploading an incomplete branch build for an App that I developed for my current employer. Where to go from now.   App status said "Your application is waiting for review". I was really pissed at myself But thankfully I found out that I could reject my uploaded binary myself because it was not in review it made perfect sense to do it and upload the right binary. So this is what I am going to share with you:  how to reject your own binary. First login to your iTunes portal and then go to Manage your Applications Click on the App that is waiting for review If you already have version that is live on iTunes you will see something like this Click on View Details button for the version that is waiting for review   From the next page Click on Binary details  as shown below   You will see a page similar to one below   Just Click on "Reject this Binary" button and your Binary will not be reviewed. Only side effect with this is that when you upload your Binary again it will be placed at the end of the processing queue. But I guess thats Ok if you mistake is corrected before making it to public. I hope this helps … [Read more...]

[Solved] Application loader is currently unavailable. Directory Services reported the following error: Your Apple ID or password was entered incorrectly. (-20101)

G'Day Fellas It is now a day to day thing to learn something new with regards to my iPhone iPad App uploads/updates.   I for some reason forgot my iTunes members password and then I reset it only to find out that my Application Loader wont run because it store old authentication somewhere [fair enough!]. Worst thing is that it does not provide me with an option to change my Apple ID or password from within the Application Loader. Below is what I see when I get the Authentication failed error. Well the title of the below shown screenshot should say that Application loader is currently unavailable, just to clarify this I took this screenshot only after I fixed my problem and then re-launched it with wrong password. But you get the Idea.   Then I found out that It does store your old authentication as a KeyChain Access token which you will need to remove in order to enter your Apple ID and Password. Below screen grab shows where it store your application password.   So below are the steps that you need to follow Quit your Application loader if it is opened. Goto KeyChain Access Delete email address that is used as your Apple ID Re-launch you Application Loader You should now be able to re-enter your Apple ID and password Hope this helps Cheers! … [Read more...]

Flex 4.6 Text disappears from TextInput as View gets activated

Hi Guys, This was weirdest problem that I faced while migrating my code base from 4.5 to 4.6 SDK. When I compile my code with 4.5.1 SDK everything works as per required. But when I compile the same code base with 4.6 then TextInput seems to loose data when my view gets active. There are couple of quick things that I tried and seems to work. I think it appears that StageText is active by default in 4.6 so thats messing things up. I tried couple of things which seems to work. After setting the value for the TextInput in one of my function I called setFocus() immediately on it and it seems to work, but the more appropriate solution would be (2) Another thing that I did is to actually have skinClass defined to use TextInputSkin exclusively. I hope I am making sense if not here is what I did to setup my TextInput skin   I did not do excessive tests on this topic so I cannot really add more to it right now. I hope above works for you. If not then try adobe forums. Cheers, … [Read more...]

Flex Mobile remove delete element value from Array

Hi Guys, I thought I should share this one with you. I've been using ArrayCollection since I started to develop Mobile Apps in Flex. There are some moments when you end up using Array for a weird reason. And when you end up using an array you think Oh well! how to remove element from an Array. Below are few things that I would like you to show First up removing an Element Say you have an Array as shown below Lets remove value3 from the above Array Lets remove all Elements that appear after value2 Lets now add value3 again after value1 If you would like to remove all Array Elements then you can use Splice function again on Array like this Now that you have seen above you can write your own RemoveElementAt function that will work as per your requirement. Below is a basic function to achieve RemoveElementAt I Hope this helps … [Read more...]

how to create Flex mobile List RSS feed

Alright so its really as simple as jalebi (An Indian sweet dish) and it is equivalent to English saying which goes like this "Its as clear as mud" Before I continue with my article I would like to share a nice book on Flex which covers lot of things. If you already don't have this book then get it off Amazon. The link is at the right. I read it, that's why I can recommend it to others. Now that I have told you about Jalebi's and Mud it time to get to the point. I am not going to try to make this look like there is lot of hard work involved instead I will keep it simple. First up fire up your Flash builder 4.5+ and create a new Flex mobile project (View based application) called jaspreetchahal :) I am using my name but trust me I never do that myself. I am doing this so that you can remember that some random guy helped you on Internet :) Do I need to to put a screenshot for how to create a Flex Mobile project. I would say no. But let put one screenshot anyway where you select what type of application will it be. Lets select "View based application" as shown below   Now that you've create a new Flex mobile project its about time to do something interesting. From your Flash builder menu goto Data > Connect to Data/Service (or optionally from a tab at bottom of you page called Data/service) Select XML. Click Next. Select URL radio button. Enter URL as http://jaspreetchahal.org/feed and click invoke. Screen shot  is shown below Remember to select appropriate node. In my case I am going to iterate on Item element of my feed. Reason because that is the only element I am interested in. Here is the URL for you again to browse http://jaspreetchahal.org/feed/ Click Finish A new service will be created for you with name jcFeed. Check out the Data/Service tab at the bottom of the page as shown below. You will have Item Object available and an array of Item array is available via getData function.   Rest … [Read more...]

Step by step guide: How to submit publish your flex .ipa iphone iPad iPod iOs app to iTunes

Apple makes it difficult :). First I have to say that most of the submission steps can be performed within a browser but uploading your app will require you to have a Mac. Well that's why I say that they make it difficult. If you are a pro then you may look at hackintosh if you don't have Mac, but using hackintosh is out of context of this article. This article applies to compiled ipa file, source can be anything such as Flex or XCode. I will assume that you app is ready for submission i.e. your IPA File is distribution ready and you have tested your app thoroughly. I've prepared a checklist for Apple app submission as well. If you are interested you can read it http://jaspreetchahal.org/prerequisites-or-checklist-for-iphone-ipad-ipod-itunes-app-submission/ Just a little bit of insight on what's required if you are just reading this for curiosity sake. First up you will need an Apple iOS developer Account. You will need to spend $99/year to get that account. This account lets you use their provisioning portal for creating your app testing provisioning profile and distribution profile. It also lets you use iTunes Connect which is essential in maintaining your application. You can also check lots of resources that are only available to registered Apple developers such as Forums, latest iOS SDK etc. Again we are not going to discuss how to use your provisioning portal here that's a separate topic. I assume that you are now logged into your Apple Developer Center. Home screen should look like this [as of writing]     . Click on iTunes connect. It will throw a login screen, just use your Developer login details to login to your iTunes connect portal. Once you are in your home screen will look like this. - In the picture above we are only interested in "Manage your Applications" part. Click on that link. you will get the screen below. On this screen we are interested in button labelled "Add new App" as shown … [Read more...]

Flex Mobile – Preventing the Back Button Event Android

Hi Guys, There are many occasions when you would like to prevent or override default back button event for android devices. One of them is say when your present user with a login screen and they log in successfully and then you push a target view to the view stack, what if someone press hardware back button? Some questions that may arise in this situation is if you are offering in built session support or something equivalent to "remember me" functionality what happens? I guess user log-in View is shown again because the hardware Back button behaves a little bit different to your in view "popView" handler. To prevent the default Back button event is really simple? Override backKeyUpHandler  function of your ViewNavigatorApplication Here is how its done: In your application main file enter the following code Above code is enough to stop default event to occur. Even better what If you would like to ask your user a question (when they hit hardware back key say) "do you want to Exit this application?" how you go about this? Lets find out how? To start with create a SkinnablePopUpContainer and save it as PopUp.mxml under your components package or may be anywhere you like. Now edit the overridden  backKeyUpHandler function to include this code and thats it you get the following result                   I hope this helps. If it does answer your question please leave your comments as a feedback, Ta!   Cheers … [Read more...]

Flex mobile app portrait landscape only single orientation

So guys there are times when you want your flex mobile application to be either in portrait OR landscape orientation. The reason why we want to do it this way can be many. Lets see how its done In your Adobe AIR Application Descriptor File XML file Look for XML element called initialWindow. Under this element if not already uncommented, uncomment aspectRatio and autoOrients elements For landscape use this and for portrait use this   I hope this helps … [Read more...]

Flex mobile – how to open email, contact, url, punctuation keyboard keypad on textfield focus

One of the coolest features of Flex SDK 4.6 comes in form of Soft Keyboard types. There are few of them as stated below contact default email number punctuation url All of them serves specific needs, say for example if you accept user email addresses from within your mobile app then its a good move to show a specific keyboard just for that purpose. so how is it done? Flex SDK introduces a new class called SoftKeyboardType. You select the keyboard type with the softKeyboardType  property on the text input control. example is shown below as to how we can make use of the soft keyboards Also if you would want to force user input to be in capital letters only then you can set another helpful property "autoCapitalize" to true,  You can also check for spelling setting the property autoCorrect to true. so the above code can be re-written as below You can read more about the Soft keyboards here http://help.adobe.com/en_US/flex/mobileapps/WS82181550ec4a666a39bafe0312d9a274c00-8000.html#WS19f279b149e7481c-33fab5fe1331cc6b62f-8000 I would also recommend this article written by Holy Schinsky http://devgirl.org/2011/11/29/flex-mobile-development-flex-4-6-cool-new-soft-keyboard-features-sample-w-source/ All in all I am loving the soft keyboard types introduced in Flex 4.6 If you have any question please share with everyone by leaving your comments I hope this helps   Cheers             … [Read more...]

how to open numeric keypad keyboard flex mobile application text field focus

Well with Flex SDK 4.6 it is a possibility and very easy to do so. Flex SDK 4.6 introduces many types of soft keyboard types, out of all those one type is type "Number". Generally we would want a numeric only keypad for text field where we are expecting people to fill only numeric values such as Age, Date of birth fields, IDs etc etc Without wasting any more time lets see how this is done If you want to specify whether a virtual keyboard should be displayed when this Interactive Object instance receives focus the you can set "needsSoftKeyboard" property to true so the above logic can be re written as Read more about this option here http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/display/InteractiveObject.html#needsSoftKeyboard So now when you launch your application then you will get the numeric keypad when your textfield get the focus as shown below In iPhone 4           In Galaxy Tab (Android)                 I will discuss about other keyboard types in my next post I hope this helps … [Read more...]