»
S
I
D
E
B
A
R
«
Apple Releases New iPad
Jan 28th, 2010 by Anish Kumar

Apple has released iPad, its new tablet computer, which is the size of a standard children’s slate and does not have a keyboard or mouse, but relies on a touch-screen.

Apple iPad

Apple iPad

Steve Jobs claims it will offer the best browsing experience you can have, like “holding the Internet in your hands.” The iPad appears to be answer to netbooks, but combines the best of all iPhone and earlier Apple products. Read the rest of this entry »

Error: “CGGStackRestore: gstack underflow”
Nov 2nd, 2009 by Anish Kumar

Today while I was working with some CoreGraphics API’s, I encountered a error which I was seeing it for the first time. CG for dumping an error “CGGStackRestore: gstack underflow” in the console everytime I invoked a method that was doing some CG based operations. Googling around I found that in CoreGraphics, you can save (CGContextSaveGState) and restore (CGContextRestoreGState) the graphics state. When the  state is saved, a copy is put on the graphics state’s “stack”, and when it is restored, the top state on the stack is removed and used. If we restore the state more times than we save it and then when we try to remove and use the top item of the stack, the stack is empty, causing a stack “underflow” error. So just make sure you have enough save-restore state methods called and it will fix the issue.

CGGStackRestore

CGGStackRestore

Double Release Of Cocoa Objects
Oct 23rd, 2009 by Anish Kumar

Today while working on an iPhone project , I was just about to commit an code which displays a bar graph, and ended up finding a crash with the following error:

objc[<pid>]:FREED(id): message release sent to freed object="<memory_address>"
Double Release Of Cocoa Objects

Double Release Of Cocoa Objects

Read the rest of this entry »

How To Replace “__MyCompanyName__” in the new files from XCode
Oct 23rd, 2009 by Anish Kumar

When we create a new file in XCode, the default template has the company name listed as __MyCompanyName__. If you want this to show your actual company name instead of __MyCompanyName__, then execute the following command in your terminal. Make sure to replace the”YourCompanyNameHere” with the name of your company.

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ "ORGANIZATIONNAME" = "YourCompanyNameHere" ; }'
Coming Soon: Develop Native iPhone Application Using Actionscript
Oct 20th, 2009 by Anish Kumar

With Flash Professional CS5, we can now build applications for iPhone and iPod touch using ActionScript 3. These applications can be delivered to iPhone and iPod touch users through the Apple App Store. A public beta of Flash Professional CS5 with prerelease support for building applications for iPhone is planned for later this year. At MAX 2009, Adobe showed a number of applications and games for iPhone that have been built using a prerelease version of Flash Professional CS5. The tooling update allows developers to use Flash technologies to develop content for iPhone and iPod touch. Developers can write new code or reuse existing web content to build applications for iPhone. Because the source code and assets are reusable across the Flash Platform runtimes,—Adobe AIR and Flash Player—it also gives developers a way to more easily target other mobile and desktop environments.

Read the rest of this entry »

Adobe AIR 2 Preview
Oct 15th, 2009 by Anish Kumar

At Adobe MAX in Los Angeles today, Adobe previewed the next major release of Adobe AIR to thousands of Adobe customers and partners. Several exciting new capabilities of the AIR runtime were demonstrated by Adobe’s CTO, Kevin Lynch, as part of the “day one” keynote. In addition, Christian Cantrell, a member of the AIR engineering team, presented a session titled “What’s Coming in AIR 2″ that provided a more detailed sneak peak of some of the upcoming features of the AIR runtime (stay tuned — we will soon be posting a recording of Christian’s talk).

After shipping AIR 1.0, many of developers challenged Adobe to open the runtime up even more by, for example, allowing communication with native processes and providing enhanced networking support. With AIR 2, Adobe’s goal from the outset was to remove limitations in the runtime that prevented developers from building their applications.

Read the rest of this entry »

Saxony Jazz Orchestra
Oct 10th, 2009 by Anish Kumar
Jazz Concert By Saxony

Jazz Concert By Saxony

Jazz in the City!  Saxony Youth Orchestra performed at Chowdiah hall yesterday. The Bangalore School of Music, organized the jazz talent from Germany.The Saxony Youth Jazz Orchestra conducted by Rolf von Nordenskjld showcased their unique sound, combining jazzy notes with big band influences. They played a wide range of German and international tunes arranged especially for this concert.

The organisers say in almost 16 years, more then 300 young talented people playing more than 170 concerts have contributed to the ensemble. They have worked together with internationally recognized musicians, such as Jrgen Friedrich, Marko Lackner, Ansgar Striepens, Milan Svoboda, Al Porcino, Carla Bley, Steve Swallow, Ernst-Ludwig Petrowsky, Eberhard Weise and the singer Uschi Brning.

The conductor for the 2009 India tour is the well-known jazz saxophonist Rolf von Nordenskjld from Berlin.  For the orchestras trip to India he conjured up a unique program that combines traditional big band sounds with contemporary ideas. Read the rest of this entry »

XCode Error: “Loading Stack Frames”
Oct 9th, 2009 by Anish Kumar
Xcode: Loading Stack Frames

Xcode: Loading Stack Frames

Recently I encountered an new error for the first time in XCode. When my iPhone application under development crashed, instead of showing me the stack trace of where the application crashed, it threw an error “Loading Stack Frames” and was struck there indefinitely.  After researching about this for a while, I came to know my application crashed because of a stack overflow due to a non-terminating recursion in your code, and gdb is now trying to load all the stack frames on the stack . Usually, the stack of a application doesn’t get deeper than 50 frames or so (and that’s already a quite deeply nested stack). My application stack had run into 104708 frames which was quite too high.I finally figured out that the crash was due to an race condition.

Apple releases iPhone OS SDK 3.1.2
Oct 9th, 2009 by Anish Kumar

Apple on Thursday released an update for the iPhone SDK, bringing the current version of the SDK to 3.1.2.

The new SDK 3.1.2, which now includes Xcode 3.2.1, is available in versions that are compatible with Leopard and Snow Leopard for iPhone and iPod Touch developers.

The update contains general bug fixes for the SDK and Xcode. Dashcode is reported to now support the creation of Web applications that are optimized for Safari on the iPhone, PC, and Mac.

If you’ve used this new update, please tell us about your experiences with it in the comments.

Titanium User Group Kick Off Meeting
Sep 8th, 2009 by Anish Kumar
Titanium Developer Meet, Bangalore

Titanium Developer Meet, Bangalore

The first Titanium User Group meeting took place in Bangalore on 4th September 2009. The event was organized by Mohammad Khan (The guy in the blue T-Shirt in the snap)and others Of Esberi. The event started at 6:00PM and close to 15 people attended the event. It all began with an introduction to Titanium SDK and how to use the Titanium Developer tool to create applications for both iPhone and Android mobile platform. Since I already had played around using Titanium Developer tool, most of the stuff I heard there about using the tool was already known.

The meet was useful in that I got to learn what are the features and API’s provided by Titanium SDK to write applications for mobile. Some of the code samples shown at the meet were encouraging and I would say the code would be familiar to a person who had already worked on say Adobe Flex. Even for beginners, it’s not so tough to learn it.

Read the rest of this entry »