iPhone

How to record Audio in iOS Application;

Posted on Updated on

Hello dev mate;XcodeLogo
Hope you had a good weekend and refreshing Monday;

Today we’ll learn how to record audio in iOS application; Now a days, I’m working on an application where I need to record voice of user for some processing; I tried some framework classes from iOS sdk in a test project and here are my findings;

So lets start;

Read the rest of this entry »

Advertisements

How To Find Available Disk Space of iOS Device?

Posted on Updated on

Hello iOS fellows;
Hope life is as much bright as the retina display of iPhone 4S;  (:

Well its a Valentine’s night and I’m writing this blog post at mid night, thinking that may be someone get some benefit with these few lines and saved his/her time to googling here and there; Ahh what a priorities of an engineer; (:
Read the rest of this entry »

EmailSend Application in iPhone

Posted on Updated on

Hello Everyone, hope all is good around you;

Here is my another tutorial for iOS application; I’m composing a series of tutorial on different topics; You can find rest of the post under N-FAQ and iOS category;

So here w go; In this application we will see how to Email Send in iPhone. So let see how it will worked.

Read the rest of this entry »

Not enough frames in stack :: iPhone N-FAQ;

Posted on Updated on

If you are getting this error message in your console while running your app on iPhone/iPod (specially on 1G, having ios < 3.2)

dyld: Symbol not found: _OBJC_CLASS_$_UIPopoverController
Referenced from: /var/mobile/Applications/5BC198AF-22AF-4581-8787-E267D359E059/FilesAnyWhere.app/<your_app_name>
Expected in: /System/Library/Frameworks/UIKit.framework/UIKit
in /var/mobile/Applications/5BC198AF-22AF-4581-8787-E267D359E059/FilesAnyWhere.app/<your_app_name>

Data Formatters temporarily unavailable, will re-try after a ‘continue’. (Not safe to call dlopen at this time.)
mi_cmd_stack_list_frames: Not enough frames in stack.
mi_cmd_stack_list_frames: Not enough frames in stack.

Above error is in UIKit.framework, it can be in any library; you need to closely look into error and find out the library name;
Following solution is for UIKit.framework; You can use same steps for any other library too;

Reason for this error;
UIPopoverController class is available in iOS 3.2 and later; So linking this library as Required for the device having OS < 3.2 will throw this error. By changing the link type to Weak will ignore such libraries and your application will run;

Solution;
Do following things;

  • check the iOS Deployment target in build section of info. It must be compatible with os version of your device;
  • change the type of  UIKit.framework library from Required to Week; You can do this from Project menu ->Edit Active Target “your_app_name” ->General (first section) and then linked libraries;


Note:
You have to find work around for your program logic incase you make this library weakly linked; Might be some of your code will not be able to run where you use UIPopoverController class;

free counters

MonoTouch: Building iPhone Apps Using C# and .NET

Posted on Updated on

Novell has released MonoTouch 1.0, what it claims is the industry’s first solution for developing applications for the iPhone and iPod Touch using the Microsoft .NET Framework, including C# and other .NET programming languages. Until now, developers primarily built iPhone

.netmlototouch

applications using C and Objective-C. With MonoTouch, the creativity of millions of .NET developers worldwide can be unleashed to build a vast array of iPhone applications.

Developed by the Mono Project, an open source initiative sponsored by Novell, MonoTouch simplifies iPhone development by letting developers utilize code and libraries written for the .NET development framework and programming languages such as C#.

MonoTouch is an SDK that contains a suite of compilers, libraries, and tools for integrating with Apple’s iPhone SDK. Microsoft .NET base class libraries are included, along with managed

libraries for taking advantage of native iPhone APIs. Also included is a cross-compiler that can be used for turning .NET executable files and libraries directly into native applications for distribution on the Apple Apps* Store or for deployment to enterprise iPhone users. In addition, Xcode integration enables application developers to test on the device or in Apple’s iPhone Simulator and ship applications to the Apple Apps Store for distribution.

“The vast majority of Windows-centric developers, ISVs and IT organizations have chosen the C# language and .NET for development,” said Miguel de Icaza, Mono project founder and Developer Platform vice president at Novell. “As such we have seen tremendous demand for tools to build .NET-based iPhone applications. We developed MonoTouch in response to this demand, giving both individual developers and businesses a solution that breaks down the barriers to iPhone application development.”

MonoTouch Personal and Enterprise Editions are available now through shop.novell.com. MonoTouch Enterprise Edition is available for $999 per developer for a one-year subscription, which includes maintenance and updates. A five-developer Enterprise license supports five concurrent developers and is available for US $3,999 per year. For individuals only building applications for the Apple Apps Store, MonoTouch Personal Edition is available for $399 per developer for a one-year subscription.