Search Results

Search found 19 results on 1 pages for 'taimur'.

Page 1/1 | 1 

  • Turn off Mac , Finder App Problem !

    - by Taimur Hamza
    Hi everyone, Whenever i try to turn off my mac. This finder toolbar apears on top. And it doesnt remove even i try to Force Quit this application using Command+Options+Escape. Can anybody please suggest me wats wrong with it ? http://rapidshare.com/files/394092080/Picture_1.png Taimur

    Read the article

  • Ad Hoc Distribution

    - by Taimur Hamza
    Hi everybody, This is the error generated when i drag App file and Mobile Provision File into the iTunes and sync it. The application '" was not installed on your iPhone "" because it is not signed" I have been working on this problem for 3 days now . Can anybody help me Please. I have to send this file to the client. Taimur

    Read the article

  • Turn off Mac , Finder App Problem !

    - by Taimur Hamza
    Hi everyone, Whenever i try to turn off my mac. This finder toolbar apears on top. And it doesnt remove even i try to Force Quit this application using Command+Options+Escape. Can anybody please suggest me wats wrong with it ? http://rapidshare.com/files/394092080/Picture_1.png Taimur

    Read the article

  • Retrieve Value from NSString

    - by Taimur Hamza
    Hi, i have a NSString instance ,i want to retrieve value from it and store it into an integer. This is wat i am doing but its not working. NSString *totalcnt; char *str = totalcnt; int a = atoi(str); Help me out. Thanks Taimur

    Read the article

  • Adding Control on a Playing Video

    - by Taimur Hamza
    Hi, I want to add a Control (UILabel / UIButton ) over a playing video , Can anyone please make a tutorial of adding a control on a playing video. Below is the link of the project. I am stuck how to connect the UIView object ( Overlay View ) in the connections inspector. The code is copied properly. Thanks http://rapidshare.com/files/393248642/MoviePlayer_iPhone.zip Taimur

    Read the article

  • Add UITabBar Control!

    - by Taimur Hamza
    hi, I m stuck in a really simple problem. And i m afraid my question might annoy some people. The problem i am facing in short is that i want to add UITabBar Control to my iphone application other than the main screen. Let me explain, I have done everything successfully Added UItabbar control from IB in the main window's xib, added a variable at the back end , associated it by dragging the line. Also added a UIWindow variable and wrote these lines . [window addSubview:tabBarController.view]; [window makeKeyAndVisible]; when i launch the application a blank window appears and tab bar shows on its bottom. But the problem i dont want to add it to a particular window which is inside my app. Its no the first screen of my app. Its actually the 3rd screen of my app. Can anybody help ? thanks Taimur

    Read the article

  • Layers of Images using UIImageView

    - by Taimur Hamza
    Hi everyone, I just wanted to confirm, is it possible that we add layers of images using UImageView, one as background and other on top of it. I mean i want to use 2 images one has to be in the background and the other on top of it. ( the size of both these images is 320 x 480 ). Through the attributes inspector we cant do it. Is there any we can do it through code. Maybe using subview or something. Thanks Geeks :) Taimur Ajmal

    Read the article

  • Control ( UIButton, UILable) Hides when the Video plays Again on iPhone!

    - by Taimur Hamza
    Hi, I have displayed UIButton on top of Playing Movie using this code. NSArray *windows = [[UIApplication sharedApplication] windows]; if ([windows count] 1) { // Locate the movie player window UIWindow *moviePlayerWindow = [[UIApplication sharedApplication] keyWindow]; // Add our overlay view to the movie player's subviews so it is // displayed above it. [moviePlayerWindow addSubview:self.myABC]; } There are 2 buttons on top of my movie layer. They play different videos.Now the strange part is the video plays fine with buttons showing on top of it. When i press the button to play the other movie plays but the buttons doesnt show. Seems the view reloads and flushes all the Subviews. But i have checked it in the debug mode and it enters into the 'if' condition and this line runs [moviePlayerWindow addSubview:self.myABC]; But the buttons are not dislpayed. Any ideas wats going wrong ? Thanks, Taimur

    Read the article

  • Circular Dependency of Navigation Control in iPhone

    - by Taimur Hamza
    Hi everyone , In my view this is one of the strangest problem i have ever come across in iPhone app development. Let me explain the scenario , i have main screen 'A' on which i have a Button that directs me to another Screen say 'B'. Now on Screen 'B' i have a feature in which user can send a mail to his friend for promotion purpose e.g a user wishes to tell a frnd about this app so i used MFMailComposeViewController and a view is generated where the user types the address and click send ( subject and body of mail is automatically generated ). After sending the mail a new view opens say screen 'C' and here i want to give the user the options . 1. Go to Screen 'A' ( which is main screen of the app ) 2. Go back to Screen 'B' ( from where the user requested to send a mail to his frnd ). Now the strange part i cannot declare the variables ( Screen 'A' and 'B' ) of both these files here at in header file of screen 'C' . Even when i declare the header file at the top it generates an error. The variables can be easily be declared and used for other screens but not for these 2 screens. Can anybody please explain wats the problem.? this the text of the error "/Users/admin/Documents/AppName/Classes/A.h:42: error: expected specifier-qualifier-list before 'B'" Thanks Guys ! Taimur

    Read the article

  • iPhone Adding Controls (UIButton, UILabel etc.) on a Playing Video!

    - by Taimur Hamza
    I have been assigned an 'easy' task of adding a button over a playing video. I m terming it easy as i have got the sample code downloaded from Apple's sample code. http://rapidshare.com/files/393248642/MoviePlayer_iPhone.zip Anybody who wants to reply to my query and intends to help should download this project and run it otherwise it wudnt be easy to understand my problem. Thanks! And now the weird problem i am facing is: In the sample project developer has added the view ( UILabel and UIButton ) in the Appdelegate. And i want it other xib files not the App delegate . Fine i added a view 'myButtonABC' instead of 'My Overlay View'. And added this code in my xib file's implementation file. (void)viewDidLoad { TaimurAppDelegate *appDelegate = (TaimurAppDelegate *)[[UIApplication sharedApplication] delegate]; [appDelegate initAndPlayMovie:[self localMovieURL]]; NSArray *windows = [[UIApplication sharedApplication] windows]; if ([windows count] 1) { UIWindow *moviePlayerWindow = [[UIApplication sharedApplication] keyWindow]; [moviePlayerWindow addSubview:self.myABC]; } } Now my question is do i need to declare a UIWindow object in the header file here. As i am not working in the app delegate class. As i said previously i have to add this button over a video in other screen and not on the main screen. The third question is can anyone, which in fact is the most imp of all. In my view , if i am able to do this one my problem would be solved. As i have spend considerable amount of time on this task so far. The question is " How can i connect myABCButton (which is a view added to my xib file ) to the File's Owner. Thanks for your patience. Replies Appreciated ! Taimur

    Read the article

  • Customize UIToolBar with Background Image

    - by Taimur Hamza
    hi, I want to add a background image to my UIToolbar instance. This line of code doesnt work. myToolBar.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Layer-1.png"]]; Another solution tht i found out from stackoverflow aint working as well UIImage *myimage = [UIImage imageNamed:@"Layer-1.png"]; myToolBarImage.image = myimage; [self.view addSubview:myToolBarImage]; [self.view sendSubviewToBack:myToolBarImage]; [self.view addSubview:myToolBar]; Kindly help me out. Thanks

    Read the article

  • jQuery - Increase the value of a counter when a button is clicked

    - by Taimur
    Hi, I'm making a system where a user clicks a button and their score increases. There is a counter which I would like to increase the value of using jQuery (so that the page does not need to refresh) when the button is clicked. How would I go about this? <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script> <script type="text/javascript"> $("#update").click(function() { $("#counter")++; } </script> #update is the button, #counter is the counter. In php, ++ increases something's value. What's the jQuery equivalent? Also, when the button is clicked, it needs to send a request which updates the score value in a mysql database as well, without the page refreshing. Does anyone know how I would do that? Thanks a lot UPDATE: I've tried a few of the methods below, but nothing seems to work! Do I need to change anything else for it to work? I've created a test page for it: <html> <body> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script> <script type="text/javascript"> var count = 0; $("#update").click(function() { count++; $("#counter").html("My current count is: "+count); } </script> <button id="update" type="button">Button</button> <div id="counter">1</div> </body> </htlm>

    Read the article

  • Hyperlinks within a table - '<a href="">'.$row['username'].'</a>'

    - by Taimur
    Hi, I have made a leaderboard table on my site, which returns the users in the MySQL database with the highest scores (score is a separate field). The fields in the leaderboard table are 'rank' 'username' and 'score'. I would like to link each username in the table to it's own profile page. The profile pages are in the format /profile.php?user=$username. How would I go about adding an <a href> within the table (which is echoed in php): echo '<tr><td>' .$a. '</td><td><a href="profile.php?user=' .$row['username']. '">' .$row['username']. '</a></td><td>'.$row['count'].'</td></tr>'; I've tried the above, but it doesn't seem to work. It shows the usernames, but they don't have any hyperlinks. Thanks

    Read the article

  • Image Size for Animation!

    - by taimur-hamza
    Hi Everybody, I m new to iphone app development and i need some help. I have a list of 30 images that i have to animate and display with 0.1 second interval. I put all the images in an Array using this imageletter.animationImages = [NSArray arrayWithObjects:[UIImage imageNamed:@"1.png"], ...... ,nil] And then animate it using these statements, [imageletter setAnimationDuration:16]; [imageletter startAnimating]; [NSTimer scheduledTimerWithTimeInterval:mytime target:self selector:@selector(StopAfterCertainTime) userInfo:nil repeats:NO]; Now the problem is that the size of each image is 8kb , it runs fine on iphone simulator but crashes on device. When i used 30 other images of 4kb each it runs fine both on simulator and device. Can anybody tell me what is the ideal size for such kind of task. Thanks

    Read the article

  • Count Similar iTems in Array

    - by Taimur Hamza
    Hi guys, I need to count the similar elements in an array. For example, if i have an array, array[0,0,0,1,2,3,3].The number of 0's are 3 , no. of 1's are 1 , no. of 2's are 1 , no. of 3's are 2 in this array . I am sorry if this message has been posted before. Help is appreciated. Thanks in advance. Regards, THM P.S : Language is C/C++

    Read the article

1