i am using sample code of AudioStreaming ,but when i use this to play Mp3 file , it gives wrong total amount of playing time....is there anyway to do this ?can i use any other control to achive this?
Hi , iam trying to bold / italic text but i use this code to bold my font but when i press bold button whole the UITExtView going to bold but i want select some text and bold / italic or change the color of them ..
textPad.font = [UIFont boldSystemFontOfSize:12];
hi , this is the MGTwitterEngine page code ! but how can i download it ?
and has any sample code?
http://svn.cocoasourcecode.com/MGTwitterEngine-1.0.8/
hello,
this is a part of my code. My application crashes when i try to load the view including the uitableview.
i think there's a problem with the table i'm tryin to use but can't find it.
help please
gameTimingTable=[NSArray arrayWithObjects:@"2min + 10sec/coup",@"1min + 15sec/coup",@"5min",nil];
declared in .h as NSArray…
Hello everybody,
I'm starting on a new iPhone project, and this application mostly relies on mySQL. I have a mysql database running on my computer, and I need this application to send queries to the server to gain information. One example is creating and logging into an account. I have successfully done this on my windows vb.net…
I have tried using integers to store the number like so:
playPin = 35 + arc4random() % 118;
playY = -50 - arc4random() %100;
if (CGRectIntersectsRect(pin.frame, refreshpin.frame)){
pin.center = CGPointMake(playPin, playY);
pinend.center = CGPointMake(pin.center.x, pin.center.y+58);
}
Then using them, when needed, but... its…
I have created a picker for my users to pick from a list of countries. The problem is that repeated opening and closing of the picker is resulting in “EXC_BAD_ACCESS” error. I suspect it might be a memory leak but I am not sure. I was hoping someone could shed some insight into why this might be happening?
//data source for…
I’m taking the HelloTabWidget Android example and trying two things:
Moving the tabs to the bottom vs. the
top (if that’s even desirable from an Android UI POV)
Making each tab show a particular
WebView in the space above
I’ve got this for a layout (high level):
<TabHost>
<LinearLayout>
…
I'm looking to make my app compatible with older versions of iPhone OS. I did see weak linking mentioned as an option. Can I use OS version detection code to avoid code blocks that the OS can't handle? (Say iAD?)
if(OS >= 4.0){
//set up iADs using "NDA code"...
}
If yes, what goes in place of if(OS…
I haven't found a comprehensive list of the steps that are required to use a private API from the iPhone Library.
In particular, I would like to know how to get header files, if they are even required, how to get it to compile (when I simply add the header, it complains that the functions aren't…
I am trying to get 10 mp3 files in the resources folder and play them when a button is pressed. I have entered name of the mp3 files in a NSMutableArray and read each one after the button is pressed.
The problem is that pathForResource: is not working (returns nil). If i use the file name…
I have setup push notifications in the apple developer panel and added the code to my application.
It works fine on the phone using a development profile but if I use a distribution (ad-hoc) profile so that I can give it to a few users for testing it gives an error and crashes, the log…
Hi all,
In my application I'm dynamically resizing a label in cell as well as cell when a cell is tapped in uitableview, but after resizing the label in cell, the contents in the tableview are getting shifted means the cells contain different cell content after this tap, whereas this'…
I am passing a byte array from a java server to an iPad client in XML. The server is using xstream to convert the byte array to XML with the EncodedByteArrayConverter, which should convert the array to Base 64. Using xstream, I can decode the xml back to the proper byte array in a…
Hi,
I Have a UIWebView that displays third party web page (not a page I can control)
I need a way to scroll the content of the web view to a specific position in that page.
Any idea how to implement it?
Thanks.
I am trying to create a basic navigation application with a header and detail screen. My problem is the detail screen is not working. The code below is for the opening the detail view and placing it on the nav stack. My problem is the detail screen is not being pushed and I'm not…
Hi all,
In my application I'm inserting data using Coredata like this:
GoodWork * newGoodwork = (GoodWork *)[NSEntityDescription
insertNewObjectForEntityForName:@"GoodWork"
…
Hi,
I have bullet physics set up and working on the iPhone but now I want to implement some sort of path finding with it.
The problem is I have no idea where to start, the level is pretty simple just a lot of pillars that I want the 'bad guys' to navigate around to…
Hi,
i am using pie chart from core plot frame work and its example.when the user touches
plot within the circle, how can i rotate them(like rotating circle)?
I have set up the user defaults to record a integer for a UISlider, the problem is that, if the user has only just installed the app then the integer is zero or NULL. Is there a way to detect if it = NULL with a integer?
heres my code i have so far:
…
Strange, Apple took SQLiteBooks sample away... Anyone still have it?
Or some (link?) similar sample demonstrating UITableView and SQLite functionality.
I got the follow error when I run setAudioSource and setVideoSource.
03-16 10:26:25.302: ERROR/audio_input(52): unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
03-16 10:26:25.302: ERROR/audio_input(52):…
Does anyone have a snippet that uses the AudioToolBox framework that can be used to play a short sound? I would be grateful if you shared it with me and the rest of the community. Everywhere else I have looked doesn't seem to be too clear with their…