I am trying to page through a results from an REST API call that supports paging. I would like the UI to just be a list view that as I scroll, the new content is retrieved.
Hello there i'm trying to write a layout similar to the timepicker widget layout.
So i decided to use the android framework layouts but i can't use them It seems that if i write android.R.drawable.timepicker_input or other timepicker related drawables i get them this Eclipse error:
android.R.drawable.timepicker_up_btn cannot be resolved
So i tried to import all the pngs and xml from the android source but eclipse says there is an error in the manifest regarding the icon.
Ideas?
I am trying to use UIAlertView on my landscape right (home button on the right) app but it is showing up in portrait orientation. I have tried putting:
[[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationLandscapeRight animated: NO ];
in applicationDidFinishLaunching, but it doesn't work. Are there any other usual suspects to what might be causing this? I am setting the orientation through my plist file currently.
I seem to get an EXC_BAD_ACCESS error when I select a cell in my table view that takes me to a 2nd table view with a lot of these http://pastie.org/906711 could they be the problem if I have 8 of them ?
Heres the backtrace : http://pastie.org/906729
Thanks for your time,
Hi,
I want to disable the annoying clicks that the UIPickerView generates upon scrolling up and down. Is there a way to do this? I want to play short sounds for each item that the picker view lands upon. It gets ruined by the built in sound.
I understand that the picker sounds can be turned off globally by switching off the keyboard sounds in iPhone/iPod settings. But is there a way to programatically do this?
Any help will be much appreciated!
Thanks
I'm writing my own eclipse plug-in that integrates with the Eclipse Android Development Tools (ADT).
However, I'm getting a CoreException ("Project target not loaded yet.") thrown when I attempt to call IProject.build on an Android project as part of a unit test:
IProject project = importProject(...);
project.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
Should I be waiting for the project target to load before calling the above? If so, what call should I use to poll the project target loading status?
I have ViewStubs in my layout. If I set clickable and implement the OnClickListener this does work only on the root of the element.
But the layout holds parent elements, and when I click on those the click is not recognized.
How do I make a full row/view of ViewStub as whole to be clickable and highlightable like a ListView elements?
Also what do I have to add to get that orange highlight?
Hi guys,
I'm trying to do some image edit syncing between two of the same app running on different iPhones. I would like to send an NSSet * from one device to another (which I imagine involves encapsulating in NSData) then decrypting this back to an NSSet, then using it in a touchesMoved type of function. Is this feasible, or should I work on syncing the UIImages instead? I worry that UIImage syncing would have too much latency for realtime interaction.
Thanks for your help!
I know that the SplitView is new to iPad, it split the screen with left and right. But I want to split the screen with top and bottom. How can I do so? thank u.
I'm developing an iPhone application. I have an EXC_BAD_ACCESS that occurs only in the release target; when I build the debug target the exception does not occur. However, when I set the NSZombieEnabled environment variable to YES, I still get the EXC_BAD_ACCESS with no further information. Is it even possible for NSZombieEnabled to work when executing the release target? I don't see why not, since gdb is running in both cases...
Hello,
how can I zoom the map on my userLocation automatically in my app?
I have the following code to zomm in the map but i must zoom on the userLocation and the following code zooms always to africa?
MKCoordinateRegion zoomIn = mapView.region;
zoomIn.span.latitudeDelta *= 0.2;
zoomIn.span.longitudeDelta *= 0.2;
zoomIn.center.latitude = mapView.userLocation.location.coordinate.latitude;
zoomIn.center.longitude = mapView.userLocation.location.coordinate.longitude;
[mapView setRegion:zoomIn animated:YES];
Hello,
I have a subclass of UIAlertView with 2 UITextField for login / password.
My problem is that when I have finished to type my login and change the focus to the password field, there is a cursor on the login field and on the password field, but the focus is on the password field, so my question is, how can I make the cursor disappear on the login field ?
Thanks for your help.
I have some text data in database which I have retrieved in a Cursor, and I am displaying it in a ListView. What I want to do now is that when you select click a particular row in the list its text content should be displayed in full screen and the user should be able to scroll horizontally (like scrolling between iPhone home screens) to view the contents of the Cursor.
Hi
I am getting a list of image URLs and corresponding names at run time in my app. I would like to add these images to a TTLauncherView object that I have.
Cannot add these in loadView. I am making a call to the method for getting my data in a separate thread. Once the thread completes, I add the TTLauncherItem objects to an array and set the "pages" variable of the LauncherView.
But for some reason, the view is not updated and I don't see anything on it.
Can someone please let me know how to refresh the launcherview after adding items to it in methods other than loadView?
Thanks.
Hi there.
In iPhone, the iPod app saves the media files (audio, video) with strange names and in weird folders (F00,F01 etc). There is a file named iTunesMovies in iPhone, which contains all the information about the metadata of those video files and how they are to be displayed in iPod app. I copied that to my Mac also, and when i tried to open that file in textEdit, it showed some alien characters which made me believe that it is encrypted may be(Thats just a wild guess).
I want to read/change the contents of that iTunesMovies file. Can i do that? Is there any Framework which deals with that iTunesMovies file?
Thanks in advance
I have an application, when it launches I have to disable all the buttons, I successeded in disabling end call and other i need to disable home buttom if I click it, It should not produce any action.
Any suggestions highly appreciated
Cheers Vinayak
I want to store my CGPoint to the NSMultable Array, so , I have method like this:
[self.points addObject:CGPointMake(x, y)];
But I got the error, it said that :
Incompatible type for argument 1 of
"addObject".
So, I check out the API,
(void)addObject:(id)anObject
anObject The object to add to the end
of the receiver's content. This value
must not be nil.
So, I think the "CGPointMake" can make a Object, but it can't be assigned. What happens?
As usual I typed sudo Library/uninstall-devtools --mode=all
It uninstalled the first version (Beta) properly.
Tried the same thing on the older Stable Version which I have installed to "XCode Stable"
Getting this error
Use of uninitialized value $dir_name in substitution (s///) at Library/uninstall-devtools line 153.
Use of uninitialized value $developer_dir in concatenation (.) or string at Library/uninstall-devtools line 120
Anyone else facing this problem? Can I just trash the installation folder?
I have two views. The first is a MKMapView with some annotations. Clicking a UIButton pushes a second view on the stack. This has a UITableView with a list of annotations which correspond to the map annotations. So, when you click the delete button, how can I call my MKMapView which is in another view, so that I can remove the annotation. My MKMapView is declared in my app delegate, as well as my current class. I am trying to use the following, but it is not working:
RideAppDelegate *appDelegate = (RideAppDelegate *)[[UIApplication sharedApplication] delegate];
Annotation *ano;
CLLocationCoordinate2D anoPoint;
anoPoint.latitude = [[eventToDelete valueForKey:@"latitude"] doubleValue];
anoPoint.longitude = [[eventToDelete valueForKey:@"longitude"] doubleValue];
ano = [[[Annotation alloc] init] autorelease];
ano.coordinate = anoPoint;
[appDelegate.ridesMap removeAnnotation: ano];
[appDelegate release];
I must be trying to access the MKMapView of my other view incorrectly?
I'm trying to export 2 values from every single item from the combo box field.
I have found two methods to insert items into a combo box:
1) insertItemAt
http://www.verypdf.com/document/acrobat-forms-javascript/pg_0048.htm
2) setItems
http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat9_HTMLHelp&file=JS_API_AcroJS.88.748.html
but neither method allows two parameters (im always get "missing ) after argument list" error from the Acrobat JavaScript Debugger)
Does anyone know of a better solution for this problem? Thanks!
hello all.
i am development 'in app purchase' for iPhone Application.
I want the sample code.
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StoreKitGuide/VerifyingStoreReceipts/VerifyingStoreReceipts.html
I'd like to use Festival in an iPhone app. Is this possible, considering the way Festival generates and then plays back audio files? Can I pass Festival an audio file directly from itself to play back? or is there a different way to read things?
Is there another Text-to-speech engine for C/C++ to use with iphone?
I want to add a custom UIImageView to UISearchDisplayController's table view background and set table view's background color to clearColor. Tried a few different approach but couldn't find the right solution. Any idea how to approach this?
Note: I don't want to add to searchDisplayController's searchResultsTableView's view hierarchy, but rather overlay another sibling view below it)