App Developer
Greetings! I just started working at an Eye research institute, where I work on developing computer vision algorithms for cell phone applications. The project is intended to help visually challenged / blind people. We are targeting the iPhone for our project, which basically brings me to this blog. I am an Apple fan without doubt, and iPhone programming was something I wanted to try since its launch. I am lucky that I am getting to work on something which really excites me as part of my job … So as I start learning iPhone programming, I thought it would be nice to share my experiences and thoughts. Hope you all find it useful. Happy iProgramming!  http://nullrefer.com/?http://tinyurl.com/qcp2zyw

Greetings! I just started working at an Eye research institute, where I work on developing computer vision algorithms for cell phone applications. The project is intended to help visually challenged / blind people. We are targeting the iPhone for our project, which basically brings me to this blog. I am an Apple fan without doubt, and iPhone programming was something I wanted to try since its launch. I am lucky that I am getting to work on something which really excites me as part of my job … So as I start learning iPhone programming, I thought it would be nice to share my experiences and thoughts. Hope you all find it useful. Happy iProgramming! http://nullrefer.com/?http://tinyurl.com/qcp2zyw

Tutorial: Mobile Game Previews with AIR on Android  http://dontknow.me/at/?http://tinyurl.com/mkppwu8

Tutorial: Mobile Game Previews with AIR on Android http://dontknow.me/at/?http://tinyurl.com/mkppwu8

Updated AIR 13 beta, code named King, is now available on Adobe Labs. The Adobe® AIR® 13 provides developers with a consistent and flexible development environment for the delivery of out-of-browser applications across devices and platforms. Learn more about Adobe AIR 13 beta Download Adobe AIR 13 beta  http://www.lolinez.com/?http://tinyurl.com/pdpeown

Updated AIR 13 beta, code named King, is now available on Adobe Labs. The Adobe® AIR® 13 provides developers with a consistent and flexible development environment for the delivery of out-of-browser applications across devices and platforms. Learn more about Adobe AIR 13 beta Download Adobe AIR 13 beta http://www.lolinez.com/?http://tinyurl.com/pdpeown

Adobe AIR mobile development round-up: Google+ API ActionScript 3.0
Daily pitfall, ANE and Worker don’t get along in constructor
ConfigToggle for Flash Develop
How to get better ratings for your iOS and Android app
StageText iOS use Custom Font Tip
Building Apache Flex apps for iOS7
Mobile Multilist library for Android and iOS
adoble-flash-air-ad-network-framework
AIR Accessing native resources with R.* mechanism
Adobe AIR 10x faster packing IPA for real?
Air-Mobile-ScrollController
Setup AIR SDK On Ubuntu  http://href.li/?http://tinyurl.com/ojt9s69

Adobe AIR mobile development round-up: Google+ API ActionScript 3.0
Daily pitfall, ANE and Worker don’t get along in constructor
ConfigToggle for Flash Develop
How to get better ratings for your iOS and Android app
StageText iOS use Custom Font Tip
Building Apache Flex apps for iOS7
Mobile Multilist library for Android and iOS
adoble-flash-air-ad-network-framework
AIR Accessing native resources with R.* mechanism
Adobe AIR 10x faster packing IPA for real?
Air-Mobile-ScrollController
Setup AIR SDK On Ubuntu http://href.li/?http://tinyurl.com/ojt9s69

Updated Flash Player 13 and AIR 13 betas, code named King, are now available on Adobe Labs. The Adobe® AIR® 13 provides developers with a consistent and flexible development environment for the delivery of out-of-browser applications across devices and platforms. Learn more about Adobe AIR 13 beta Download Adobe AIR 13 beta Adobe® Flash® Player […]  http://www.dereferer.org/?http://tinyurl.com/p2mw3qk

Updated Flash Player 13 and AIR 13 betas, code named King, are now available on Adobe Labs. The Adobe® AIR® 13 provides developers with a consistent and flexible development environment for the delivery of out-of-browser applications across devices and platforms. Learn more about Adobe AIR 13 beta Download Adobe AIR 13 beta Adobe® Flash® Player […] http://www.dereferer.org/?http://tinyurl.com/p2mw3qk

Now, let’s extend the previous one so that it responds to a button press!1. Introduction2. Add the button to the window3. Connect button to action method4. Build And Run5. Analysis / Big Picture6. Add So& to the project 1. IntroductionLast time we had an app which showed an image and a label. It did not respond to any action button. This time, let’s add an action button. We will add a button and when it is pressed, the label will show the text, and the app will also make a sound. So:
How to add a button to the interface builder ?
How to connect the clicking of that button to an action ? How to play so& ? Back to Top2. Add the button to the window- Double-click on the MainWindow.xib file. It should pop up the Interface builder as well. - From the library, drag a “Rectangular Button” (of class UIButton) on to the window. You can play aro& with the attributes inspector to change its title. I gave the title “Wake him up!”. I also erased the title of the other label we had earlier. We will show the text on the label when the button is pressed. Back to Top3. How to connect it to action? This Button is just a user interface on the screen view. How to connect this to any action? It cannot control any data/action directly. The window cannot respond to the click of that button. That is where we need a Controller, that can knows how to respond to that click of the button. A controller is the connection between the data and the view. Since we are following the Interface Builder, we will create this controller object using that. - Add a new controller file to the project. From XCode: File -> New File -> Cocoa Touch Class (under iPhone OS) -> Objective-C class (subclass of NSObject). Call it Controller. This will add Controller.h and Controller.m files to the project. - Drag a “Object” from the library on to the MainWindow.xib. We gotta now connect the controller in the files to the controller in the MainWindow.xib. Click on the Controller object in the Mainwindow and in the Identity Inspector tab change the Class to “Controller”. - In XCode, add an IBOutlet and an IBAction method to the Controller class://  Controller.h  ///////////////////////////////// < Foundation/Foundation.h > < UIKit/UIKit.h > @interface Controller : NSObject { IBOutlet UILabel *myLabel; } -(IBAction) onWakeUpButtonClicked:(id)sender ; @property (nonatomic, retain) IBOutlet UILabel *myLabel; @end ///////////////////////////////////////////////// //  Controller.m “Controller.h” @implementation Controller @synthesize myLabel; - (IBAction) onWakeUpButtonClicked :(id)sender {     myLabel.text = [NSString stringWithFormat:@”Dude, Wake up!”]; } @end //////////////////////////////////////////////////////// - The action method is supposed to happen when the button is pressed. The label should show the text that we want to show when the button is pressed. We have to connect this label and the action method to the ones on the Interface Builder. - In IB, click on the Controller and in the Inspector, you should see myLabel under the Controller Connections tab. Draw a line from the small circle next to it to the label on the Window. - In the window, click on the “Wake him Up” UILabel. In the connections, you should see a list of actions. Drag the circle next to “touch up inside” on to the “Controller” in the MainWindow.xib. In the little Menu that pops, choose “onWakeUpButtonClicked”. Thus, we have established connections between the IB elements (which the user sees) to the code elements (which run the show behind the doors). If you click on the Controller in the MainWindow.xib, you should see the onWakeUpButtonClicked method shown connected to the button in Received Actions (if you made the previous connection properly). Back to Top4. Build and Run..You should see that when you press the “Wake Him Up” button, the label shows the text “Dude, Wake up!”. We will also add the so& alert now. Before that, let’s recap what we did so far in a big picture sense. Back to Top5. Analysis: We had an image and a label on the window. We added a button to trigger some action when pressed. 
To be able to respond to the Button click, we had to make a controller object which knows how to respond to the button click. We instantiated the Controller object by dragging the block from library in to the MainWindow.xib. We connected that blob to the one in the code by defining it’s “Class” in the Interface Builder (Step 3). 
We connected the action method to the button click via interface builder. We also had to make the label a member of the controller object, so that the text on that can be changed in response to the click. We connected the member myLabel of the Controller to one on the window. 
IBAction and IBOutlet are keywords that tell the Interface Builder to look for when we are making the connections. That is how when we click on the view, some action onWakeUpButtonClicked is triggered by the code.  If you look at the Controller.m code, you will see that the onWakeUpButtonClicked method does nothing but sets the label’s text to what we wanted. - (IBAction) onWakeUpButtonClicked :(id)sender {myLabel.text = [NSString stringWithFormat:@”Dude, Wake up!”];}Back to Top6. Adding So& to the Action Method:It is very Simple indeed. - Drag any so& file from the Finder to the “Resources” folder in left menu on XCode. (Mine is called danger.au . I fo& it somewhere in the Java Applets so& folder). A dialog box pops us asking you to add it to the PhotoFrame target. - Add AudioToolBox to the Frameworks. Right Click on the FrameWorks folder, Add Existing Frameworks. Choose AudioToolbox. add ” ” in Controller.m- Modify the onWakeUpButtonClicked method and use the AudioServices toolbox APIs to play the sound. /audioservices.h>//  Controller.m //  PhotoFrame // //  Created by Pannag Sanketi on 12/2/09. //  Copyright 2009

Now, let’s extend the previous one so that it responds to a button press!1. Introduction2. Add the button to the window3. Connect button to action method4. Build And Run5. Analysis / Big Picture6. Add So& to the project 1. IntroductionLast time we had an app which showed an image and a label. It did not respond to any action button. This time, let’s add an action button. We will add a button and when it is pressed, the label will show the text, and the app will also make a sound. So:
How to add a button to the interface builder ?
How to connect the clicking of that button to an action ? How to play so& ? Back to Top2. Add the button to the window- Double-click on the MainWindow.xib file. It should pop up the Interface builder as well. - From the library, drag a “Rectangular Button” (of class UIButton) on to the window. You can play aro& with the attributes inspector to change its title. I gave the title “Wake him up!”. I also erased the title of the other label we had earlier. We will show the text on the label when the button is pressed. Back to Top3. How to connect it to action? This Button is just a user interface on the screen view. How to connect this to any action? It cannot control any data/action directly. The window cannot respond to the click of that button. That is where we need a Controller, that can knows how to respond to that click of the button. A controller is the connection between the data and the view. Since we are following the Interface Builder, we will create this controller object using that. - Add a new controller file to the project. From XCode: File -> New File -> Cocoa Touch Class (under iPhone OS) -> Objective-C class (subclass of NSObject). Call it Controller. This will add Controller.h and Controller.m files to the project. - Drag a “Object” from the library on to the MainWindow.xib. We gotta now connect the controller in the files to the controller in the MainWindow.xib. Click on the Controller object in the Mainwindow and in the Identity Inspector tab change the Class to “Controller”. - In XCode, add an IBOutlet and an IBAction method to the Controller class://  Controller.h  ///////////////////////////////// < Foundation/Foundation.h > < UIKit/UIKit.h > @interface Controller : NSObject { IBOutlet UILabel *myLabel; } -(IBAction) onWakeUpButtonClicked:(id)sender ; @property (nonatomic, retain) IBOutlet UILabel *myLabel; @end ///////////////////////////////////////////////// //  Controller.m “Controller.h” @implementation Controller @synthesize myLabel; - (IBAction) onWakeUpButtonClicked :(id)sender {     myLabel.text = [NSString stringWithFormat:@”Dude, Wake up!”]; } @end //////////////////////////////////////////////////////// - The action method is supposed to happen when the button is pressed. The label should show the text that we want to show when the button is pressed. We have to connect this label and the action method to the ones on the Interface Builder. - In IB, click on the Controller and in the Inspector, you should see myLabel under the Controller Connections tab. Draw a line from the small circle next to it to the label on the Window. - In the window, click on the “Wake him Up” UILabel. In the connections, you should see a list of actions. Drag the circle next to “touch up inside” on to the “Controller” in the MainWindow.xib. In the little Menu that pops, choose “onWakeUpButtonClicked”. Thus, we have established connections between the IB elements (which the user sees) to the code elements (which run the show behind the doors). If you click on the Controller in the MainWindow.xib, you should see the onWakeUpButtonClicked method shown connected to the button in Received Actions (if you made the previous connection properly). Back to Top4. Build and Run..You should see that when you press the “Wake Him Up” button, the label shows the text “Dude, Wake up!”. We will also add the so& alert now. Before that, let’s recap what we did so far in a big picture sense. Back to Top5. Analysis: We had an image and a label on the window. We added a button to trigger some action when pressed. 
To be able to respond to the Button click, we had to make a controller object which knows how to respond to the button click. We instantiated the Controller object by dragging the block from library in to the MainWindow.xib. We connected that blob to the one in the code by defining it’s “Class” in the Interface Builder (Step 3). 
We connected the action method to the button click via interface builder. We also had to make the label a member of the controller object, so that the text on that can be changed in response to the click. We connected the member myLabel of the Controller to one on the window. 
IBAction and IBOutlet are keywords that tell the Interface Builder to look for when we are making the connections. That is how when we click on the view, some action onWakeUpButtonClicked is triggered by the code.  If you look at the Controller.m code, you will see that the onWakeUpButtonClicked method does nothing but sets the label’s text to what we wanted. - (IBAction) onWakeUpButtonClicked :(id)sender {myLabel.text = [NSString stringWithFormat:@”Dude, Wake up!”];}Back to Top6. Adding So& to the Action Method:It is very Simple indeed. - Drag any so& file from the Finder to the “Resources” folder in left menu on XCode. (Mine is called danger.au . I fo& it somewhere in the Java Applets so& folder). A dialog box pops us asking you to add it to the PhotoFrame target. - Add AudioToolBox to the Frameworks. Right Click on the FrameWorks folder, Add Existing Frameworks. Choose AudioToolbox. add ” ” in Controller.m- Modify the onWakeUpButtonClicked method and use the AudioServices toolbox APIs to play the sound. /audioservices.h>//  Controller.m //  PhotoFrame // //  Created by Pannag Sanketi on 12/2/09. //  Copyright 2009

Photoshop CC has a new Node.js based feature called Adobe Generator for Photoshop CC. What this means for developers is they can build plugins with Node.js libraries and JavaScript. I showed off how to do live texture updating of a three.js app using the standard Image Assets Adobe Generator for Photoshop CC plugin here. In [&#8230;]
The post Live Texture Updater Plugin for Photoshop CC appeared first on Renaun Erickson.  http://nullrefer.com/?http://tinyurl.com/m3jezzm

Photoshop CC has a new Node.js based feature called Adobe Generator for Photoshop CC. What this means for developers is they can build plugins with Node.js libraries and JavaScript. I showed off how to do live texture updating of a three.js app using the standard Image Assets Adobe Generator for Photoshop CC plugin here. In […]
The post Live Texture Updater Plugin for Photoshop CC appeared first on Renaun Erickson. http://nullrefer.com/?http://tinyurl.com/m3jezzm

Here is a great resource for tutorials on iPhone development:http://www.iphonesdkarticles.com/ The tutorials are well written and explained. I had fou. this website immensely helpful as I started out! Another great resource for learning is Stanford&#8217;s course on iPhone programming. Their latest lecture slides / videos available for free on Stanford&#8217;s iTunes and course websites:http://itunes.stanford.edu/ http://www.stanford.edu/class/cs193p/cgi-bin/drupal/Also, I like the following books:iPhone-Programmers-App-Driven-Approach-DeveloperiPhone-SDK-Programming-Advanced-DevelopmentThe videos and books are the best resources if you want to learn all the aspects. Tutorials and online help can be used for specific topics. On a side note, I would suggest learning the apps in code rather than interface builder. Interface Builder is great however, it can be very confusing in the beginning as it hides certain information. Code is clear and transparent, so easy to begin with.  http://www.dereferer.org/?http://tinyurl.com/lm5on9c

Here is a great resource for tutorials on iPhone development:http://www.iphonesdkarticles.com/ The tutorials are well written and explained. I had fou. this website immensely helpful as I started out! Another great resource for learning is Stanford’s course on iPhone programming. Their latest lecture slides / videos available for free on Stanford’s iTunes and course websites:http://itunes.stanford.edu/ http://www.stanford.edu/class/cs193p/cgi-bin/drupal/Also, I like the following books:iPhone-Programmers-App-Driven-Approach-DeveloperiPhone-SDK-Programming-Advanced-DevelopmentThe videos and books are the best resources if you want to learn all the aspects. Tutorials and online help can be used for specific topics. On a side note, I would suggest learning the apps in code rather than interface builder. Interface Builder is great however, it can be very confusing in the beginning as it hides certain information. Code is clear and transparent, so easy to begin with. http://www.dereferer.org/?http://tinyurl.com/lm5on9c

Here is another common mistake that I have seen with UIImagePickerController. Say, I want to display the picked image in the UIImageView (imageView), but it doesn&#8217;t work. It is a simple issue, can anybody guess what the problem is before you see the answer below? - (IBAction)takePhoto {     UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];     imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;     [self presentModalViewController:imagePicker animated:YES];     [imagePicker release];}- (IBAction)choosePhoto {     UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];     //imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;     [self presentModalViewController:imagePicker animated:YES];     [imagePicker release];}- (void)imagePickerController:(UIImagePickerController *)imagePicker didFinishPickingMediaWithInfo:(NSDictionary *)info {     UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage];     imageView.image = image;     [self dismissModalViewControllerAnimated:YES]; ANSWER:
We have not set the delegate! So no call backs being obtained! Just add :     
 imagePicker.delegate = self;  http://dontknow.me/at/?http://tinyurl.com/lvsr6ob

Here is another common mistake that I have seen with UIImagePickerController. Say, I want to display the picked image in the UIImageView (imageView), but it doesn’t work. It is a simple issue, can anybody guess what the problem is before you see the answer below? - (IBAction)takePhoto {     UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];     imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;     [self presentModalViewController:imagePicker animated:YES];     [imagePicker release];}- (IBAction)choosePhoto {     UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];     //imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;     [self presentModalViewController:imagePicker animated:YES];     [imagePicker release];}- (void)imagePickerController:(UIImagePickerController *)imagePicker didFinishPickingMediaWithInfo:(NSDictionary *)info {     UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage];     imageView.image = image;     [self dismissModalViewControllerAnimated:YES]; ANSWER:
We have not set the delegate! So no call backs being obtained! Just add :     
 imagePicker.delegate = self; http://dontknow.me/at/?http://tinyurl.com/lvsr6ob

Updated AIR 13 beta, code named King, is now available on Adobe Labs. The Adobe® AIR® 13 provides developers with a consistent and flexible development environment for the delivery of out-of-browser applications across devices and platforms. Learn more about Adobe AIR 13 beta Download Adobe AIR 13 beta  http://www.lolinez.com/?http://tinyurl.com/pdpeown

Updated AIR 13 beta, code named King, is now available on Adobe Labs. The Adobe® AIR® 13 provides developers with a consistent and flexible development environment for the delivery of out-of-browser applications across devices and platforms. Learn more about Adobe AIR 13 beta Download Adobe AIR 13 beta http://www.lolinez.com/?http://tinyurl.com/pdpeown