Search Results

Search found 2 results on 1 pages for 'mitul ruparelia'.

Page 1/1 | 1 

  • Problem with accessing variables/functions from subclass Objective C

    - by Mitul Ruparelia
    Hi, I am having a problem with accessing public variable 'activity', which is a UIActivityIndicatorView type, see class declaration below in QuickStartViewController.h: @interface QuickStartViewController : UIViewController <ABPeoplePickerNavigationControllerDelegate> { @public IBOutlet UIActivityIndicatorView *activity; } @property (nonatomic, retain) UIActivityIndicatorView *activity; @end The function is called from another class: #import "QuickStartViewController.h" @interface NumberValidator : QuickStartViewController.... See below: - (void)connectionDidFinishLoading:(NSURLConnection *)connection { [activity startAnimating]; NSLog(@"This function is called, but [activity startAnimating] still doesn't work..."); } Note: [activity startAnimating] works fine when called within the QuickStartViewController class Do you have any suggestions as to why [activity startAnimating] is not working?

    Read the article

  • Android read browser history

    - by Mitul Nakum
    Hello, I want to read bowser history in Android phone. I have done some document reading, then I come to know that we can read browser history by android.provider.Browser class it has final static Cursor getAllVisitedUrls(ContentResolver cr) method which returns Cursor... may i get help to handel cursor? or any example code to get Browser history. Thanks in advance

    Read the article