sdk

Adding a transparent bitmap to a windows button

It's a while since I've done this, but I'm trying to add a custom button graphic to a windows button, with some transparent areas. I've tried various schemes but can't seem to get the transparent areas to show. Here's my code: hbmpUpDisabled = LoadImage(instance,MAKEINTRESOURCE(IDB_UPARROWDISABLED), IMAGE_BITMAP, 0, 0, LR_DEFAULTSIZE ...

touchesBegan for UITable's Cell

How can I use touchesbegan in a table's cell without having to subclass a whole cell. Something like addTarget..... which is available for a UIButton? (in vb.net this would be like AddHandler I think) ...

Ad-hoc distribution odyssey - not valid signer

Hi, I am totally aware of billions how to and forum discussions out there about this issue. Because I could not find the solution I'm writing here. Typical situation: I want a co-worker to test my App. I thought on Ad-Hoc distribution. I followed every kind of tutorials. But I receive always a "valid signer" issue in iTunes. Basicall...

Iphone SDK - adding UITableView to UIView

Hi, I am trying to learn how to use different views, for this sample test app, i have a login page, upon successful logon, the user is redirected to a table view and then upon selection of an item in the table view, the user is directed to a third page showing details of the item. the first page works just fine, but the problem occurs ...

Internationalization of an iPhone app

I have an application that has lessons on British accent. This is for people who already know how to read and speak English. Is there a need to internationalize this app? ...

iPhone 4 background location service question

I'm looking into the new background location service options in the iPhone 4 SDK. It allows an app to run in the background and receive location updates from the device. There are two methods offered. One is a battery intensive mode that continuously gets location updates. The second recommended method sends the app location updates whe...

Iphone SDK for Tiger MAC

I am running Mac Tiger on my VMware, trying to install iphone SDK and Xcode, and then I found out I have to have leopard in order to be able to develop for Iphone. I was wondering is there any Iphone SDK and Xcode for MAc Tiger 10.4 ??? many thanks ...

SAP B1: Activate a printing field depending on items

I have a user defined field that is a checkbox in item master data. When printing a sales order I need to print a field (a block of text) if there is any item with the checkbox activated. I know how to reach to the items and user fields, the only thing I don't know is how to define a text block to be shown when printing a document depend...

open app in mobile safari browser

I have been using the uiwebview for a app that consists a index.html,css and javascript files.I'd like to do away with the uiwebview and open the app in the safari browser instead.All source files are located within the app bundle.Is it possible and if so can someone point me in the rite direction.Thanks in advance for any help offered. ...

Disable touch of CALayer

Hello, How can i disable touch of CALayer (UIView Layer). i have create springbord screen display icon. and i have display 27 icon on screen and i want to disable touch any five icon (i.e. 2 and 3 index icon). gridView = [[UIView alloc]init]; //[gridView setUserInteractionEnabled:NO]; int gridH,gridW; for (int row = 0; row <Row; ++...

Uploading Binary iPhone App "The signature was invalid" again again and again...

Hello! I'm going crazy! I'm trying to upload the binary of my first application but I have always the same error! "The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate." I did everything, EVERYTHING!! I created the request for the certificate, used it for both develop...

iPhone - archiving array of custom objects

I've been trying for hours and I cannot solve this problem. I'm making an app that saves unfinished Chess Games, so I'm trying to write an array to a file. This is what the array is, if it makes sense: -NSMutableArray savedGames --GameSave a ---NSMutableArray board; ----Piece a, b, c, etc. -----some ints ---NSString whitePlayer, black...

presenting modal views in a popover

Hi, Im trying to load a modal view from a view controller that is displayed in a popover. The modal view loads but the problem is that it transitions into the main view and not within the popover. Is it something Im missing? I thought simply initiating it from a vc within a popover would present the modal view within the same popover.....

How to change UIBarButtonItem Title - iPhone SDK

Hi Can anyone help me in that I am only trying to change the Title on an UIBarButtonItem from a different class. My code is: - (IBAction) spanishPush { SafetyTalks *bbiTitle = [[SafetyTalks alloc] init]; bbiTitle.bbiOpenPopOver.title = @"Spanish"; } SafetyTalks = the class I am trying to reference bbiOpenPopOver = the UIBa...

How to handle correctly HTTP Digest Authentication on iPhone

Hello guys. I'm trying to upload a file onto my personal server. I've written a small php page that works flawlessy so far. The little weird thing is the fact that I generate all the body of the HTTP message I'm going to send (let's say that amounts to ~4 mb) and then I send the request to my server. The server, then, asks for an HTTP...

iPhone SDK : UIWebView detect link on textfeild !

Hi i create simple web browser for my app and i don't know why when user click a link the address bar doesn't change as link address here is my code : -(IBAction)webAddress:(id)sender { [site loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[webAdress text]]]]; [webAdress resignFirstResponder]; } - (BOOL)webView:(UIW...

iphone sdk - problem pasting into current text location

Hi guys I'm trying to paste text right into where the cursor currently is. I have been trying to do what it says at: - http://dev.ragfield.com/2009/09/insert-text-at-current-cursor-location.html The main deal is that I can't just go textbox1.text (etc) because the textfield is in the middle of a custom cell. I want to just have some te...

iphone sdk: autorotate jumps back up the page, showing information that has already been read...

Hi, I am using - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{ return YES; } to allow rotation, which works fine - except that the landscape view jumps backwards up the page that is being displayed. I can't figure out what I should be looking at to fix it. I just want the page to rotate w...

Compiling for older versions of Mac OS X

I have recently started producing applications for the Mac, on my most recent release I got overwhelming suggestions to get the app working on OSX 10.5 as I'm working in and compiling for 10.6. I tried looking for the 10.5 SDK but couldn't find it anywhere to download! How can I go about compiling my app for older versions of Mac OS X u...

Accessing iPhone/iPod video gallery

Hi everyone, how I can access the video galley in my iPhone view SDK. What the object I must to use to this that task. I want to show all videos ( on iPhone/iPod ) in my app and then upload selected videos on web server. Thanks. ...