This is it ! Code for Full Screen Camera STEP bySTEP idiot prove !

1: Create a Normal View Based Application
2: Drag in "BTLFullScreenCameraController" *.h and *.m files into Xcode.
3: In the Header file, implement this:
#import "BTLFullScreenCameraController.h"
4: Add in the delegations <UIImagePickerControllerDelegate, UINavigationControllerDelegate>
UIView *BaseView; //Base View that everything else adds to.
BTLFullScreenCameraController *camera; //The Magic
UIImageView *LCARS_Frame; //The ImageView that frames the whole camera [LCARS Frame]
UILabel *label; //Labels and more labels [Possibly the information tags]
@property (nonatomic, retain) UIView *BaseView;
@property (nonatomic, retain) BTLFullScreenCameraController *camera;
@property (nonatomic, retain) UIImageView *LCARS_Frame;
@property (nonatomic, retain) UILabel *label;
//Camera Initialization
- (void)initCamera;
- (void)startCamera;
5: In the *.m File:
On the of the @implementation file, add this:
#define OVERLAY_ALPHA 0.50f
@synthesize BaseView;
@synthesize camera;
@synthesize LCARS_Frame;
@synthesize label;
- (void)loadView
self.navigationController.toolbarHidden = YES;
self.navigationController.navigationBarHidden = YES;
[UIApplication sharedApplication].statusBarHidden = YES; //This code remove the time and battery indicator top bar.
self.BaseView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)]; //You need to Rect the BaseView to take up the battery indicator's space.
self.BaseView.opaque = NO; //This somehow affects the LCARS Frame image that will be super imposed on top by allow the next line to work.
self.BaseView.alpha = OVERLAY_ALPHA; //This line can only work after the previous line.
//Add Image First
LCARS_Frame = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"binocs.png"]] autorelease];
[self.BaseView addSubview:LCARS_Frame];
//Then Label, else label will be under the opacity of the image and get darker.
label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 320, 40)];
label.text = @"AR Up";
label.textAlignment = UITextAlignmentCenter;
label.adjustsFontSizeToFitWidth = YES;
label.textColor = [UIColor redColor];
label.backgroundColor = [UIColor darkGrayColor];
label.shadowOffset = CGSizeMake(0, -1);
label.shadowColor = [UIColor blackColor];
[self.BaseView addSubview:label];
self.view = self.BaseView; //Set BaseView as the default view.
[super viewDidLoad];
//Just copy and paste this code, it will work.
-(void) viewDidAppear:(BOOL)animated
[self initCamera];
[self startCamera];
- (void) initCamera {
if ([BTLFullScreenCameraController isAvailable]) {
NSLog(@"Initializing camera.");
BTLFullScreenCameraController *tmpCamera = [[BTLFullScreenCameraController alloc] init];
[tmpCamera.view setBackgroundColor:[UIColor blueColor]];
[tmpCamera setCameraOverlayView:self.view];
tmpCamera.overlayController = self;
#ifdef BTLINCLUDE_IMAGESHARING
BTLImageShareController *shareController = [[BTLImageShareController alloc] init];
shareController.delegate = self;
[self.view addSubview:shareController.view];
tmpCamera.shareController = shareController;
#endif
self.camera = tmpCamera;
[tmpCamera release];
} else {
NSLog(@"Camera not available.");
- (void)startCamera {
// TODO: figure out why simply setting the view is not working
// since the modal view is not as desirable
// This isn't working but should:
//self.view = self.camera.view;
// Modal view always works, but it's harder to work with.
[self.camera displayModalWithController:self animated:YES];

1) Use, this can be done, as you said in 1.4 there is Full Screen mode for windows.
2) There is no way to catch Alt-Tab. It would too dangerous to allow to catch it and prevent. All you can do is to react on it, I am sure you'll receive some focus event(DEACTIVATE, WINDOW_LOST_FOCUS, FOCUS_LOST) when user switches from your application by Alt-Tab
3) There is no way to prevent screen capture, it is system call, I am sure you can write some C application using hooks to catch and filter out key sequence for screen capture but not in Java.

Similar Messages

  • How do I code a full screen button?

    I need to code a full screen button for a SWF. I've tried a few ways but I can't get it to work.
    Here's my Action Script:
    function goFullScreen():void
        if (stage.displayState == StageDisplayState.NORMAL)
        stage.displayState=StageDisplayState.FULL_SCREEN;
        else
        stage.displayState=StageDisplayState.NORMAL;
        fsb.addEventListener(MouseEvent.CLICK, _handleClick)
        function _handleClick(event:MouseEvent):void
        goFullScreen();
    Here's my html:
      <param name="allowFullScreen" value="true">  
      <param name="allowFullScreenInteractive" value="true" />
    Any help with this would be greatly appriciated. I've tried online tutorials and code snippets but none of them work. It's only a few lines of code but I can't seem to get this feature to work.
    Thanks,
    David

    This is my full swf embed html:
    <BODY>
    <DIV id=flashContent>
    <OBJECT id=C:\Users\ddaugher\Documents\AAPUT
    classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 width=960 align=middle
    height=540><PARAM NAME="movie" VALUE="C:\Users\ddaugher\Documents\AAPUT.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#ffffff"><PARAM NAME="play" VALUE="true"><PARAM NAME="loop" VALUE="true"><PARAM NAME="wmode" VALUE="window"><PARAM NAME="scale" VALUE="showall"><PARAM NAME="menu" VALUE="true"><PARAM NAME="devicefont" VALUE="false"><PARAM NAME="salign" VALUE=""><PARAM NAME="allowScriptAccess" VALUE="sameDomain">
                                                    <!--[if !IE]>-->    <object
    type="application/x-shockwave-flash"
    data="C:\Users\ddaugher\Documents\AAPUT.swf" width="960" height="540">
         <param name="movie" value="C:\Users\ddaugher\Documents\AAPUT.swf" />
         <param name="quality" value="high" />     <param name="bgcolor"
    value="#ffffff" />     <param name="play" value="true" />     <param name="loop"
    value="true" />     <param name="wmode" value="window" />     <param
    name="scale" value="showall" />     <param name="menu" value="true" />
         <param name="devicefont" value="false" />     <param name="salign" value=""
    />     <param name="allowScriptAccess" value="sameDomain" />    <!--<![endif]-->
         <a href="http://www.adobe.com/go/getflash">      <img
    src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
    alt="Get Adobe Flash player" />     </a>    <!--[if !IE]>-->    </object>
        <!--<![endif]-->   <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="C:\Users\ddaugher\Documents\AAPUT.swf" width="960" height="540">
         <param name="movie" value="C:\Users\ddaugher\Documents\AAPUT.swf" />
                       <param name="quality" value="high" />
         <param name="bgcolor" value="#ffffff" />
         <param name="play" value="true" />
         <param name="loop" value="true" />
         <param name="wmode" value="window" />
         <param name="scale" value="showall" />
         <param name="menu" value="true" />
         <param name="devicefont" value="false" />
         <param name="salign" value="" />
         <param name="allowScriptAccess" value="sameDomain" />
                        <param name="allowFullScreen" value="true">  
                        <param name="allowFullScreenInteractive" value="true" />
        <!--<![endif]--><!--[if !IE]>-->
        </object>
        <!--<![endif]--></OBJECT></DIV></BODY></HTML>

  • Can't use external monitor as default monitor for full-screen settings

    Hey guys,
    I have been trying to get quicktime to let me use my external monitor as the full-screen monitor. Every time I go into full-screen, it reverts back to my MBP screen.
    I cannot seem to find this option even in the fullscreen preferences. Rather than having an option I can click on (like I've seen in pictures), it just says "Movie Size." I have Quicktime Pro 7.5.5 and I am running Leopard.
    Any ideas? I can play most of my movies on VLC, but since I paid for Pro it would be nice if I can get it to work on my external monitor.

    I have to say, I am in exactly the same place ppshr150 is. I have checked both Quicktime and Quicktime Player preferences and the option to choose a default screen for full-screen presentation of movies does not exist.
    I can drag movies over to the second monitor and then press Command F and they will play there but from a presentation perspective, this is rather unprofessional.
    It surprises me that Apple does not have this option. Or is it a bug they haven't/won't fix?

  • [Non IE Regression] Support for full screen mode with multiple monitors

    This seems to be a regression with Flash Player v11.2.202.x (for all other browsers).
    With Internet Explorer it is still working.
    http://kb2.adobe.com/cps/890/cpsid_89050.html
    == Support for full screen mode with multiple monitors ==
    Full screen content will remain in full-screen on secondary monitors, allowing users to watch full-screen content while working on another display.
    Tested on Windows 7 x64 SP1 with:
    - Internet Explorer 9
    - Firefox Release, Beta, Aurora, Nightly
    - Opera 12 build 1116
    In bugbase.adobe.com I cannot choose v11.2.x

    Please vote for it If you have the same problem:
    https://bugbase.adobe.com/index.cfm?event=bug&id=3016912
    Thanks

  • Clickonce application can't run on Linx 10 Windows tablet for full screen

    My C# Clickonce application can sucessfully installed and run on a Linx 10 Windows tablet. My working station is set as 1280*800 resolution and the tablet is also been set as 1280*800. The form size is therefore set to 1280*800. My Clickonce application
    can properly display on my working station (full screen), the problem is when it runs on this windows tablet, it can't be properly displayed for full screen. Is any one can tell me why? What I need is let my software to run in full screen on this windows tablet.
    I don't want to set the windows forms to 'maximum'. This will make the buttons on the form looks mess.
    Best wishes,
    Mingxu

    My C# Clickonce application can sucessfully installed and run on a Linx 10 Windows tablet. My working station is set as 1280*800 resolution and the tablet is also been set as 1280*800. The form size is therefore set to 1280*800. My Clickonce application
    can properly display on my working station (full screen), the problem is when it runs on this windows tablet, it can't be properly displayed for full screen. Is any one can tell me why? What I need is let my software to run in full screen on this windows tablet.
    I don't want to set the windows forms to 'maximum'. This will make the buttons on the form looks mess.
    Best wishes,
    Mingxu
    Hello Mingxu,
    Maybe you mean your project is a windows form application, and you deployed it with ClickOnce and get that installed, right?
    >>My Clickonce application can properly display on my working station (full screen), the problem is when it runs on this windows tablet, it can't be properly displayed for full screen.
    Which form has this issue, the one when you installing that application or the form you are running the application?
    I will based on the result to get the proper forum to help you, and if that is an issue about the form of your windows form application, then this is the right forum for your issue.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • When FT is full screen, camera goes off when swiping to a different app

    When FT is full screen, camera goes off when swipping to a different app or the desktop. This is frustrating to the other person. We were having a discussion and I said I wouls look it up and when I swipped to Safari, the camera went off. It makes the other person think the connection has been lost. Anywhere to report issues like this to Apple?

    In reading other threads, I found a few that recommend a hard reset to solve the issue.  I have tried it, and thus far haven't expereienced the problem again.  Hopefully that's it then

  • How to set full screen camera on ios 8 on iphone5s

    How to set full screen camera on iphone 5s having an ios8

    HI,
    Give the width in % instead of mentioning in pixels.
    ie. for full width, give 100%.
    Make sure the layout is GridLayout.
    Regards
    Fahad Hamsa

  • Listen for Full Screen mode

    I have a FLVPlayer with a skin on stage and I want to listen for the player going into full screen mode when the skin's fullscreen button is clicked. And I want to listen for it going back to normal but I think that is easy enough, I just listen for the escape key, I think. How do I do that?

    not the browser
    im using a stand alone swf player
    Date: Mon, 9 Apr 2012 09:05:51 -0600
    From: [email protected]
    To: [email protected]
    Subject: Listen for Full Screen mode
        Re: Listen for Full Screen mode
        created by kglad in Action Script 3 - View the full discussion
    you should not try and control a user's browser window.  but, if you insist, you'll need to use javascript.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4322220#4322220
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4322220#4322220. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Action Script 3 by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • [Solved]Kwin doesn't restore Suspend desktop effects for full screen

    Hi! I am using latest Kwin with Plasma 5 on my Arch and I have noticed that I have to check "Suspend desktop effects for full screen windows" in Desktop Effects>Advanced every time I log in.
    What's wrong with Kwin?
    Solved: Kwin 5.2 is under development now so currently this functionality is not availible.
    Last edited by artem.jackson (2015-02-19 00:41:43)

    It saves the state for my NVIDIA blob but does not for Intel laptop. It also warns that not every setup is able to redirect, so maybe he thinks our cards are unsupported and unchecks it?

  • I recently downloaded a 10.6.8 update and a game program has now been reduced in size.  It's specifications are set for full screen, but it is about 1/4 of the size.  Any ideas how to fix?

    I recently downloaded a 10.6.8 update and a game program has now been reduced in size.  It's specifications are set for full screen, but it is about 1/4 of the size.  Any ideas how to fix?

    Hi, I have got the same problem but all is 1/4 the size have you fixed it?

  • Code for selection screen,  urgent

    Hi Everyone,
      I need code for selection screen.
      I have four radio buttons, p1, p2,p3,p4(assume)
    If I select second radiobutton, remaining three radiobuttons should be in disable mode and also the information under them should be in disable mode. Give the coding details. Thanks in advance. U will be rewarded.
    Regards,
    Nagaraju

    Hi,
    REPORT ZTEST222 .
    PARAMETERS : p_add  RADIOBUTTON GROUP radi
                             USER-COMMAND radio MODIF ID MOD,
      p_disp RADIOBUTTON GROUP radi DEFAULT 'X'  MODIF ID pod,
      p_chng RADIOBUTTON GROUP radi MODIF ID rad,
      p_er_log RADIOBUTTON GROUP radi MODIF ID cod.
    SELECT-OPTIONS : s_idn    FOR  vendor   MODIF ID mod,
                                   s_pcode  FOR ws_c_pcode MODIF ID pod.
    PARAMETERS:  p_plant    LIKE  zaw_pol_plan-plant   MODIF ID rad,
                 p_zzvend   LIKE  zaw_pol_plan-zzvendor   MODIF ID cod.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_add EQ 'X'.
          IF screen-group1 EQ 'MOD'.
            screen-active = 1.
            MODIFY SCREEN.
    ELSE.
             screen-active = 0.
            MODIFY SCREEN.
    ENDIF.
    IF p_disp EQ 'X'.
          IF screen-group1 EQ 'POD'.
            screen-active = 1.
            MODIFY SCREEN.
    ELSE.
             screen-active = 0.
            MODIFY SCREEN.
    ENDIF.
    IF p_chng EQ 'X'.
          IF screen-group1 EQ 'RAD'.
            screen-active = 1.
            MODIFY SCREEN.
    ELSE.
             screen-active = 0.
            MODIFY SCREEN.
    ENDIF.
    IF p_er_log EQ 'X'.
          IF screen-group1 EQ 'COD'.
            screen-active = 1.
            MODIFY SCREEN.
    ELSE.
             screen-active = 0.
            MODIFY SCREEN.
    ENDIF.
    Pls. reward if useful
        ENDLOOP.
    Pls. reward if useful

  • Please make changes for contact image for for full screen... I bought Iphone Only for full screen contact image so please make changes for full screen contact image...

    Please make changes for contact image for for full screen... I bought Iphone Only for full screen contact image so please make changes for full screen contact image...

    I bought Iphone Only for full screen contact image
    Is that so? So you don't use ANY of the other features of the iPhone? You don't use the internet, apps, play games, make calls, take pictures, or ANYTHING else at all? You just wanted full-screen contact image?
    I don't believe you...
    Please make changes for contact image for for full screen
    Tell Apple: http://www.apple.com/feedback/

  • Just downloaded the Lion OS but my iPhoto will go for full screen???

    Just downloaded the Lion OS but my iPhoto will not go for full screen???

    Which version of iPhoto do you have? You need iPhoto '11 (version 9) to be able to use full screen mode. Some earlier versions of iPhoto will run under Lion, but only those applications built specifically to take advantage of Lion's full-screen feature can do so.

  • I have set up as security password-code for home screen.  So when I turn it on, I forgotten the correct code and I'm locked out for 60 minutes ;(  How do I retrieve or reset so I can use phone

    I have set up as security password-code for home screen.  So when I turn it on, I forgotten the correct code and I'm locked out for 60 minutes ;(  How do I retrieve or reset so I can use phone again. Please help!

    You need to connect to iTunes and restore the iPhone to remove the passcode...then from a recent backup restore the content.

  • Video iChat for Full Screen presentation in dual-display mode

    I plan on giving a presentation and want to use video iChat with a special effects background projected using dual display mode. I find that if I use video preview in iChat, that I can't enter full screen mode (this would look best when projected). It seems you can only enter full screen if connected to a buddy in iChat, which I don't want for the presentation.
    Any thoughts on how to accomplish this, or maximize the appearance?
    Thanks.

    Hi,
    You want the Flipped pic that iChat gives you but using the Preview only as you do not require an actual chat to make a Presentation.
    Ideally you would like that to be Full Screen but the Preview only does not do full screen.
    Adding a second Screen in the form a Projector and mirroring is possible.
    This of course would allow you present a "Live Feed" as it were.
    Do you gave Quicktime Pro ?
    This allows you to set a window to Full Screen even if not actually recording, but shows what the camera sees. (albeit not Flipped like iChat although iGasses can fix that.
    I would also look at some of the options on this page
    http://www.ralphjohns.co.uk/EZJim/EZJimpage7.html
    5:50 PM Sunday; May 10, 2009
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

Maybe you are looking for

  • Error when changing a Scheduling Agreement

    Hello experts, When we change the quantity of an scheduling agreement in VA32 the error Update cancelled apperars. In ST22 there is a DUMP "The ABAP/4 Open SQL array insert results in duplicate database records". We have already implement the SAP not

  • Motion still fragile after installing it in a MacPro

    OK so we've had the FCP update so where is the Motion update. As a Pro user of this software I am very unhappy with Motion as it stands at the moment. I sent a request to Apple as I cannot use Motions keyframes anymore. This has been since I bought t

  • How to set different style for headings in quicklaunch

    Hi, would like to assign a special style for Headings in the Quicklaunch. Is it possible to assign a different style to headings using CSS? Thanks Sven

  • Data access disrupters  (DAD's)are not being displayed on control panel

    Hi, Data access disrupters are not being displayed on Application server control panel (sid.host.domine > HTTP Server > mod_plsql Services >DAD's ) But users are able to access their applications. Not able to see database access details through Appli

  • "standard" SAP roles for Sales and Operations Planning (SAP SOP)

    Hallo, I´d like to ask SOP specialists, if there are any "standard" SAP roles, which could be created when SOP is implemented into the SAP system. If not, could you please send me advice, what is (are) the general role(s) for SOP (which SOP transacti