PDA

View Full Version : A NON full screen application




omerpa
Jul 13, 2008, 12:22 PM
I would like to create an application that presents an UIAlertView to the user (similar to how the arriving SMS or calendar notifications look like). So the rest of the icons are shown and only the middle portion of the screen is covered (if you ever got an SMS or a calender event - you will not what I mean)

Does anyone know if this is possible? What even I try to do, the screen is always covered by the application window, even if I resize the window - it still keeps a black background

Thank in advance.....



firewood
Jul 13, 2008, 12:59 PM
I would like to create an application that presents an UIAlertView to the user (similar to how the arriving SMS or calendar notifications look like). So the rest of the icons are shown and only the middle portion of the screen is covered (if you ever got an SMS or a calender event - you will not what I mean)

Does anyone know if this is possible? What even I try to do, the screen is always covered by the application window, even if I resize the window - it still keeps a black background

Thank in advance.....

Your app gets the entire window on launch. You could always provide your own background full-screen view and put your alert on top of it.

omerpa
Jul 14, 2008, 02:29 AM
Thank you very much for your reply.

So how does iPhone/Apple do it? I mean the SMS app does just that???

Also have u a clue how can I take a screen shot of the iphone desktop?

lyptt
Jul 14, 2008, 02:50 AM
It uses Apple's private SDK which allows it to run in the background constantly, so when you receive an SMS it'll just display an alert over the top of any currently running app.

Vertical
Jul 14, 2008, 02:19 PM
To take a screenshot, click the top button on the phone and the home button at the same time ONCE quickly. If it worked, you should see a flash of white on your screen, and your screenshot will be in your camera pictures folder.