Orientation support in sdk 3.0

Hi,
In my app, I use the following code to pop up another view controller:
[self presentModalViewController:myController animated:YES];
User may pop this controller from portrait or landscape mode. But once it is shown, I do not want it to rotate. So in MyController class, I have
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return NO;
But when I run my app, it gave the following warning:
2009-09-29 18:10:24.734 Jog[667:20b] The view controller <JogBackgroundInfoController: 0x133a370> returned NO from _shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation.
I did not see this message in SDK 2.X. Does anyone know how to fix it?
Thanks,
ff

I would think that it would be as simple as reading the current device orientation
at the time the view is initiated, and then return YES only for that orientation.
So, obtain the current orientation, just before you open the modal view, and in the
modal view's shouldAutoRotateToInterfaceOrientation, return YES for that saved value.
See UIApplication Class Reference
{quote}statusBarOrientation
The current orientation of the application’s status bar.
@property(nonatomic) UIInterfaceOrientation statusBarOrientation
{quote}
and UIViewController Class Reference
{quote}
shouldAutorotateToInterfaceOrientation:
Returns a Boolean value indicating whether the view controller autorotates its view.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceO rientation
{quote}
In my current app, I force everything to landscape right....
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
I have the impression that you are trying to simply block rotation altogether while in that view.
I would check the docs to see if there is a property that inhibits rotation or auto rotation.
I know you can block autoresizing on rotation, but am not sure if there's a simpler way,
since you want to allow rotation, but just not re-rotating while in that view.

Similar Messages

  • Does Sun Studio C++ support Dirext9 SDK?

    Hi, Im doing a school project developing a 2D game using DirectX 9. I knew that Sun Studio C++ is free to use. But I not sure whether it can support DirectX9 SDK. Hopefully, some of you have the answer and reply it back to me. I wll greatly appreciate it. Thx.

    Alright, thx so much...maybe i will just stick to Visual Studio 2003..

  • No copy/paste support before SDK 4.5

    Hello,
    I am posting this info for those that are willing to use Flex 4 in production environement:
    https://bugs.adobe.com/jira/browse/SDK-25482
    Yes, there is no contextual menu copy/paste support for TextInput (spark & mx) in spark Panel.
    It appears that this bug is to be fixed in SDK 4.5 (correct me if I'm wrong), so it is possible that Flash Builder 4 will not be released before SDK 4.5, I just can't imagine Adobe releasing FB4 without such a basic feature in SDK 4. Or maybe they are going to recommand using SDK 3.5 with FB4...
    What you think?
    (hope this info helps someone)
    regards,
    Adnan

    This is amazing !
    I can't believe it is as simple
    Do you think it is bullet proof workaround ?

  • EPPM P6 8.2 will support primavera SDK?

    I already install EPPM P6 8.2 its working fine now i want to install primavera SDK. is it support EPPM P6 8.2 and if its supporting where i can get the SDK?

    Thank you boss, I installed and configure the database now its fetching the data from the server.

  • There is no support in version 4.5 (SDK) for European Portuguese (pt_PT) ?

    I find no support in SDK 4.5 for the Portuguese language. There?

    Hi Deepti,
    3 should work (for weeks > 43). Please open a customer message so SAP support can analyze the issue.
    Regards,
    Marc
    SAP NetWeaver RIG

  • How to Overcome DomainOperationEntry overloads are not supported in C#

      Hi Team ,
    I have a assigmmnet to finsh . requerment is
    1) I have to Comboboxes one is cmbDomain , second one is cmbSubDoamin
      based on selected value in cmbDoman , cmbSubDoamin has to fill.
     for this  I  am  using WCFRIA Serivice
    In sercive I have two methods like bellow.
    //for Domain
    public IQueryable<DomainGroup> GetDomainGroups()
    return this.ObjectContext.DomainGroups;
    // for SubDoamin
    public IQueryable<Domain> GetDomains()
    return this.ObjectContext.Domains;
    //for subdomain based on selected value in Domain
    public IQueryable<Domain> GetDomains(string selectedDomain)
    return this.ObjectContext.Domains.Where(x => x.Title.ToUpper() == selectedDomain.ToUpper());
    in Silverlight i implimented bellow code
    <riaControls:DomainDataSource x:Name="source" QueryName="GetDomainGroups" AutoLoad="True"> <riaControls:DomainDataSource.DomainContext>
    <domain:DomainService1/> </riaControls:DomainDataSource.DomainContext>
    </riaControls:DomainDataSource>
    <riaControls:DomainDataSource x:Name="SubDomainSource" QueryName="GetDomains" AutoLoad="True">
    <riaControls:DomainDataSource.DomainContext>
    <domain:DomainService1/> </riaControls:DomainDataSource.DomainContext>
    <riaControls:DomainDataSource.QueryParameters>
    <riaControls:Parameter ParameterName="selectedDomain" Value="{Binding Path=SelectedValue,ElementName=cmbDomain}"/> </riaControls:DomainDataSource.QueryParameters>
    </riaControls:DomainDataSource>
    <StackPanel Orientation="Vertical">
    <!--<sdk:DataGrid x:Name="domainGrid" ItemsSource="{Binding Data, ElementName=source}" Height="200" Width="200"/>-->
    <sdk:Label Content="Domain"/>
    <ComboBox x:Name="cmbDomain" ItemsSource="{Binding Data,ElementName=source}" DisplayMemberPath="Title" Height="50" Width="100"></ComboBox>
    <sdk:Label Content="Sub Domain"/>
    <ComboBox x:Name="cmbSubDomain" ItemsSource="{Binding Data,ElementName=SubDomainSource}" DisplayMemberPath="Title" Height="50" Width="100"></ComboBox>
    </StackPanel>
     if any one help it could be a great support for me .
    Srilatha

    You can't use overloads.
    You need to rename one of your GetDomains:
    public IQueryable<Domain> GetDomains()
    return this.ObjectContext.Domains;
    //for subdomain based on selected value in Domain
    public IQueryable<Domain> GetDomains(string selectedDomain)
    return this.ObjectContext.Domains.Where(x => x.Title.ToUpper() == selectedDomain.ToUpper());
    from
    https://msdn.microsoft.com/en-us/library/ee707366%28v=vs.91%29.aspx?f=255&MSPPError=-2147217396
    General Rules for using Inheritance            
    The following rules apply to using inheritance with RIA Services.
    Inheritance is supported only for entity types. Non-entity types are treated as the type specified in the domain service operation signature.
    Interface types are not supported for return values or parameters in domain service operations.
    The set of types in an inheritance hierarchy must be known at the time of code generation. The behavior for returning a type not specified at the time of code generation is unspecified and implementation-dependent.
    The virtual modifier on public properties and fields for an entity type is permitted but ignored when generating the corresponding entity type on the client.
    Method overloads for domain service operations are not permitted.
    The new (C#) and Shadows (Visual Basic) keywords on public properties are not allowed on entity types and will result in an error when client code is generated.
    LINQ query capabilities related to inheritance cannot be translated for execution of domain service methods. Specifically,
    OfType<T>, is,
    as, and GetType() operators and methods are not supported.  However, these operators may be used directly against
    EntitySet or
    EntityCollection<TEntity> in LINQ to Objects queries.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Report SDK roadmap or workarounds?

    Hi, my company ships a metadata-driven 3rd-party application which creates and manages universes and WebI reports.  We're finally starting to get customer interest in upgrading to BOBJ BI 4.0, so our next release will support that.  Like a lot of other people, we were dismayed to learn that SAP has gutted the Java Report SDK, which was the only SDK capable of creating WebI reports.  So right now I'm faced with the prospect of a release which will only create WebI reports for 3.1 customers, and leave 4.0 customers out of luck.
    Here are some of the workarounds I've been considering.  They are all pretty expensive/risky, so I don't want to commit to any of them until I have better insight into where SAP is taking things.  I'd appreciate any feedback on any of these ideas.
    1. Ditch WebI reports and build Crystal Reports instead.
    Pros:
    i. There's still an SDK available for Crystal Reports
    Cons:
    i. We believe our customers still use WebI more than Crystal Reports. 
    ii. We've not yet worked with this SDK so we can't estimate how hard it will be to use or how buggy it might be.
    iii. We don't know if SAP will de-support that SDK in a later release as well. 
    iv. We don't know if SAP is pushing customers toward Crystal Reports over WebI, or plans to continue with both over the long term.
    2. Hope for an Report SDK replacement in a future release.
    Pros:
    i. Less to do now for us.
    ii. The replacement, when it comes, may be more reliable and cheaper to use that the current Java SDK.  For example, it may be supported directly in .NET so we can strip out our Java components, or it may be a true XML SDK so we can simply build reports as XML docs and push them reliably to WebI
    Cons:
    i. Our 4.0 customers won't get any reports.
    ii. The replacement may never come.
    3. Hack it.
    Possibilities include:
    i. Use Fiddler, java reflection, etc, to emulate WebI and bypass the API.
    ii. Look at BOBJ's report archive/migration utilities, or at the WebI repository, to find a way to fake it at a binary level
    Pros:
    i. Seamless to our customers
    Cons:
    i. Probably way too expensive and risky to really take seriously
    Thanks in advance for any feedback or advice.  We are of course pursuing the same questions in parallel with our SAP partner contacts.
    -Eric

    Hi Terry, and thanks for that update.
    I work for Noetix Corporation.  Weu2019ve been a Business Objects / SAP partner for almost 5 years with our Noetix Generator for Business Objects product.
    Our core products (NoetixViews and Noetix Analytics) create database views and data warehouse tables used for real time reporting and analytics of Oracle EBS systems.  We also have a Noetix Generator product family, providing integration with major BI platforms (BOBJ, Cognos, OBI EE, etc.).
    Noetix Generators do two main tasks:
    u2022     Generate the semantic model for the BI Platform (in this case, BOBJ Universes) using metadata describing the views and tables from NoetixViews and Noetix Analytics.
    u2022     Generate sample reports (in this case, WebI reports) using metadata from NoetixViews that provide report definitions in a BI-platform-independent form
    Noetix Generators are admin tools and are not deployed outside of IT.   The generation process is essentially a one-time step (no u201Cre-creating the report each timeu201D, just occasionally during upgrade processes) .  So you are correct to some extent when you suggest that weu2019d want to create a u201C[set of reports] that can be easily deployed programmaticallyu201D.  The catches are that:
    1.     We use the same metadata to create these reports on all BI platforms.  Maintaining separate metadata for each BI platform is not an option.
    2.     The reports we create are sensitive to the customizations in customer EBS configurations.  Itu2019s unlikely (I think) that SAP could create a tool that could export a set of reports from one custom environment to another without allowing for some significant (metadata-driven) tweaks in between. 
    All that said, hereu2019s what I think a report creation API should look like (and what the other major vendors' report creation APIs all actually do look like):
    1.     Define each report as a single XML document.  Make that XML easily viewable, at least to super-users or developers.
    2.     Define an API or create SDK tools for exporting/importing/securing these XML documents.  Good language support (.NET, Java, etc.) is nice here, but really secondary since 95% of the real work is in manipulating the XML.  We can always just shell out to a command line utility for the other stuff if we have to.
    Thatu2019s pretty much it.  In the case of BOBJ, the XML would likely contain numerical ID pointers (rather than string references) to underlying semantic objects like Universe IDs and the columns defined in the Universe.  This might be an inconvenience, but not a significant one from our point of view since weu2019re already used to working with these IDs (from our experience with BOBJ XI).
    Thanks, Eric

  • Action recordable CS SDK panel

    Hello,
    I'm trying to set up a demo project where a CS SDK panel triggered script leaves a trace in the Actions palette (i.e. is recordable).
    I've been successfully building a regular, recordable script appearing in the Filter's menu following this pattern. My goal is to implement a complex UI in Flex, which passes to the script the needed parameters - one history status, action recordable.
    Embedding a swf in the ScriptUI isn't viable, since the supported Flex SDK version is too old to my taste ;-)
    So far I've:
    1. put a test_PS.jsx file, containing the requested <javascriptresource> header  in /Presets/Scripts/ - plus a test routine (simple blurring) waiting for a param and the needed controls to discriminate whether or not save the param into an ActionDescriptor.
    2. made the extension to read that file and call the main() routine (via HostObject.eval()) passing the param. The blurring is executed, leaving a single step trace in the History palette. But...
    Even if I make the Extension's call to main (passing the params) call in turn the very same script with:
    var s2t = function (s) {return app.stringIDToTypeID (s)}
    var d = new ActionDescriptor();
    d.putString(s2t("message"), "Recordable Test Panel Action Settings");
    d.putDouble(s2t("radius"), 10);
    executeAction (s2t("UUID_string_TestPanel"), d, DialogModes.NO)
    I can't by no means make it recordable - unless I manually select it in the Filter's menu (this way, it leaves a trace in the Action palette).
    Any suggestion?
    Thanks
    Davide

    Yes, already found solution myself.
    Added clode property to Flex app window, and called event removing.
    controller.detach();
    Thanks for help Harbs.
    tomaxxi
    http://indisnip.wordpress.com/

  • Error when launching JavaME SDK 3.0 on Mac OSX

    I have installed JavaME SDK 3.0 for mac, and it seems present and correct in my applications folder. However, when i try to launch it, the splash screen gets to 'starting modules', then I'm presented with an error:
    A java.lang.reflect.InvocationTargetException exception has occurred.
         Click Show Details or see the messages.log file located in your /Users/William/Library/Application Support/javame-sdk/toolbar/3.0/var/log folder.
    Clicking on 'show details' reveals:
    java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
         at java.net.Socket.connect(Socket.java:525)
         at java.net.Socket.connect(Socket.java:475)
         at java.net.Socket.<init>(Socket.java:372)
         at java.net.Socket.<init>(Socket.java:186)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
    Caused: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
         java.net.ConnectException: Connection refused
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
    Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
         java.net.ConnectException: Connection refused]
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
    Caused: java.io.IOException: Failed to retrieve RMIServer stub
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
    Caused: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjectsImpl(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
         at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
         at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)
         at org.netbeans.modules.javame.profiler.Installer.getDevicesRegistrations(Installer.java:68)
         at org.netbeans.modules.javame.profiler.Installer.restored(Installer.java:39)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:440)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:361)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:917)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:225)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:168)
         at org.netbeans.core.startup.Main.start(Main.java:309)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:111)
    [catch] at java.lang.Thread.run(Thread.java:637)
    Then, I get:
    A java.lang.NullPointerException exception has occurred.
         Click Show Details or see the messages.log file located in your /Users/William/Library/Application Support/javame-sdk/toolbar/3.0/var/log folder.
    Clicking on 'show details' reveals:
    java.lang.NullPointerException
         at org.netbeans.modules.javame.profiler.Installer.getDevicesRegistrations(Installer.java:70)
         at org.netbeans.modules.javame.profiler.Installer.restored(Installer.java:39)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:440)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:361)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:917)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:225)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:168)
         at org.netbeans.core.startup.Main.start(Main.java:309)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:111)
    [catch] at java.lang.Thread.run(Thread.java:637)
    This continues for ages. The errors just keep on coming, and the mini IDE never launches. I do, however, see the device manger appear in the menubar for a couple of seconds, before it disappears and I get the next error. This repeats too.
    I have tried deleting the package from my applications folder, and the only support folder I can find: <username>/Library/Application Support/javame-sdk several times, and this has not helped.
    If i can provide any more useful info, please let me know - the log files mentioned in the error messages are so large I didn't think posting them would be helpful.
    I've been working on trying to solve this for several painful hours now, and any help you can offer would be gratefully received!

    Hi,
    I can see "Connection refused to host: localhost" message in your stack trace. Look at [http://blogs.sun.com/javamesdk/entry/first_aid_when_emulator_doesn|http://blogs.sun.com/javamesdk/entry/first_aid_when_emulator_doesn] and follow step 2, please. Hopefully it will help you.
    Best regards,
    Radko

  • Welcome to the Novell Plug-in SDK Forum!

    Hello all,
    This forum is dedicated to the Novell Plug-in SDK, which currently
    provides a framework for the development of Sentinel and Identity
    Manager plug-in components, namely Reports, Collectors, Actions, and
    Solution Packs, although we do hope to expand that list in the future.
    If you have questions about the SDK, the build scripts, the API, or
    just want advice on the best way to build something, post here and the
    community may provide just the answer you are looking for.
    The Sentinel Plug-In SDK includes libraries and code developed by
    Novell Engineering, as well as template and sample code which you can
    use to begin developing your own projects. Please ensure, however, that
    you understand the official support policy:
    * Novell officially supports the API (classes, attributes, and
    methods) documented as part of this SDK. Novell does not support any
    classes or methods developed by customers to extend their solutions.
    * Novell officially supports the SDK install, build scripts,
    template code and layouts for Collectors, Actions and Reports, except
    for any template code that is in the dev directory for the plug-in
    itself and is modifiable.
    * Novell does not officially support the sample code that is copied
    into the release.js files and which is editable by the developer.
    * Novell will not support any customer- or partner-developed code
    directly, though Novell Support will provide guidance on troubleshooting
    in order to determine whether the bug is in the supported components.
    If you want support above and beyond what you can get from this forum,
    and your issue is with something listed as supported above, then contact
    Novell Support for more assistance.
    DCorlette
    DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
    View this thread: http://forums.novell.com/showthread.php?t=416417

    Hello all,
    This forum is dedicated to the Novell Plug-in SDK, which currently
    provides a framework for the development of Sentinel and Identity
    Manager plug-in components, namely Reports, Collectors, Actions, and
    Solution Packs, although we do hope to expand that list in the future.
    If you have questions about the SDK, the build scripts, the API, or
    just want advice on the best way to build something, post here and the
    community may provide just the answer you are looking for.
    The Sentinel Plug-In SDK includes libraries and code developed by
    Novell Engineering, as well as template and sample code which you can
    use to begin developing your own projects. Please ensure, however, that
    you understand the official support policy:
    * Novell officially supports the API (classes, attributes, and
    methods) documented as part of this SDK. Novell does not support any
    classes or methods developed by customers to extend their solutions.
    * Novell officially supports the SDK install, build scripts,
    template code and layouts for Collectors, Actions and Reports, except
    for any template code that is in the dev directory for the plug-in
    itself and is modifiable.
    * Novell does not officially support the sample code that is copied
    into the release.js files and which is editable by the developer.
    * Novell will not support any customer- or partner-developed code
    directly, though Novell Support will provide guidance on troubleshooting
    in order to determine whether the bug is in the supported components.
    If you want support above and beyond what you can get from this forum,
    and your issue is with something listed as supported above, then contact
    Novell Support for more assistance.
    DCorlette
    DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
    View this thread: http://forums.novell.com/showthread.php?t=416417

  • Targeting iOS 6.0 SDK

    Hey guys,
    Recently I submitted an application via Itunes Connect which was rejected for the following:
    Invalid Launch Image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.
    I'm building with Flash Professional CS6 using Air 3.4. I have included a launch image for the larger iPhone 5 screen and make certain modifications for that size. How do I target which version of iOS I build for? My app only supports the 4s and 5. Could it be that I just don't have the latest iOS SDK on my Mac?

    Support for SDK 6.0 came in with AIR 3.5 I think. You can add the later SDKs from the Manage option in the Help menu. Or, read this longer answer of mine:
    http://support.muse.adobe.com/message/4959939
    That tells you how to use a patched version of adt.jar, with AIR 3.4.

  • Camera Orientation issue in landscape mode application

    Hello Team,
    I have developed one application and it is totally in landscape mode. I have one problem with opening camera in landscape mode. I have given only one orientation support "Landscape-Right" in .plist file . So that when i click Record button in my application at that time application crash and it gives me an error
    'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'
    I have also read that iPhone support only Portrait mode for opening camera . In my application i have forcefully changed it to landscape using custom overlayview.
    Anyone have any idea regardig this?

    Please ignore, I have finally found the problem.
    I was initializing the UIView in my ViewController with the CGRect defined when in Portrait (bounds). So when I turned the device to go into landscape it was still using a portrait frame.
    I'm now initializing the UIView with: CGRect appFrameLandscape = CGRectMake(0, 0, 480, 320);

  • Can i use Stored procedures and triggers with SDK

    hi all
    How to use the stored procedure and Triggers with SDK, can i get a sample code
    Regards
    Salah

    Hi, Salah.
    Use "Exec" in your query to run procedures.
    SAPbobsCOM.Recordset     oRS;
    oRS = (SAPbobsCOM.Recordset)pCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
    oRS.DoQuery ("EXEC YourStoredProcName");
    Triggers are not supported in SDK.
    Regards,
    Aleksey

  • Is ABAP Objects support Header Lines?

    Hello Friends,
    Is ABAP Objects (Object Oriented) Supports Header Lines? If not, why Abap Objects doesn't Support?
    Thanks & Regards
    Sathish Kumar

    Hi,
               ABAP objects does not support HEADER LINE. you will get syntax error if your use OCCURS or WITH HEADER LINE in any class methods.
    ABAP objects concept was brought to proivde strict type checkings. ABAP objects is a relatively new concept. even in normal ABAP program HEADER LINE is obsolete.
    Use of tables with header line might lead to some coding error specially when maintaining.
    If you use CLEAR itab, it clears the work area may be you intend to clear the table.
    to clear the table you have to use CLEAR itab[]. This syntax is not advised and error prone so it is not allowed in ABAP objects. Its allowed in ABAP to be consistant with old programs which still use header line.
    Regards,
    Sesh
    Message was edited by:
            Seshatalpasai Madala

  • Loading ldap sdk 51 dlls from a webserver module

    Hi ,
    I have sunone webserver 4.1 SP9 running on my NT system. I have written a module using NSAPI which
    loads (using loadlibrary) another module. This module depends on ldapsdk 51 dlls. It loads the sdk libs
    properly. But somehow my first call to "ldap_simple_bind_s" does not return. It keeps waiting on some
    condition in "libnspr3.dll" loaded by the webserver for its own purpose.
    The stack trace is as follows:
    NTDLL! 77f682db()
    KERNEL32! 77f04f37()
    LIBNSPR3! 30019517()
    LIBNSPR3! 30019e35()
    NSTIME! 00261111()
    This happens ONLY when my module is talking to the DS in SSL and ONLY for the first request. A second
    request goes fine. I have also tried pre-loading the sdk libraries but to no avail.
    Any idea why the first calls enters libnspr3.dll rather than entering lbnspr4.dll. This problem is
    definitely because of the webserver loading the nspr3.dll as similar module on IIS works properly.
    Is this a known problem or is there any solution/patch that addresses this issue.
    Any pointers?
    Thanks in advance.
    -Achyut.

    Hi Chris,
    Thanks for your reply.
    After further debugging, I have some more information. For this thread, the first bind call goes thru but then the thread tries to acquire the handle again, the bind call does not return back. The call stack I sent yesterday was for the wrong thread. Sorry about that. The correct stack trace is:
    NTDLL! 77f67f77()
    LIBNSPR4! 090488ce()
    00528700()
    0052ad20()
    0052aab0()
    0052ca50()
    LIBNSPR4! 090582c0()
    00528700()
    0052ad20()
    0052aab0()
    0052ca50()
    LIBNSPR4! 090582c0()
    This does not seem to give much information apart from the fact that this does not seem to be problem with co-existence of the nspr dlls of diff. versions.
    Ideally, any plugins running in an iWS 4.1 server would link against the NSPR and LDAPSDK versions bundled with the server. The relevant header files and import libraries are published to the web server's plugins/include and plugins/lib directories.[Achyut] We have a requirement and we need to support ldap sdk 51 with our product. Is there any alternative to this? As in, some SP for the same webserver version which will bundle sdk 51 along with it.
    >
    You can try adding the following directive to the server's config/magnus.conf file:
    KernelThreads 1[Achyut] I tried this but the problem still persisted.
    Ultimately, though, mixing and matching NSPR and LDAPSDK versions is simply not guaranteed to work...[Achyut] Is there any service pack for the webserver version (4.1) that bundles ldap sdk 51?
    Thanks again.
    -Achyut.

Maybe you are looking for

  • Unable to use kde after upgrade

    i , I upgraded my system yesterday with [Pacman -Su] . Now I cant get into kde. I understand this is an issue from my researdch, so  I tried to install nouveau. I did pacman -S nouveau-drm xf86-video-nouveau However, I get /sbin/ldconfig: file /usr/l

  • I updated my iphone and now it won't turn on

    i updated my iphone and now it just wont turn on! The apple sign comes up as if its going to turn on and the sreen goes darker and just goes blank. why wont it turn on? its been doing this for the past half hour

  • Removing music from itunes without affecting music on ipod

    How can you delete music from the itunes library as well as the itunes folder, but not have these same songs deleted from the ipod that syncs with the computer?

  • Itunes opens on it's own when headphones connected

    Itunes opens on it's own when headphones are connected and also starts/stops playing on it's own completely randomly. Extremely annoying - No problems at all when headphones are not connected. Crazy - Surely Apple must be aware of this and create a f

  • Move movies folder in OSX 10.9.3

    Could I move my "movies" folder in OSX 10.9.3 to another internal sata disk? Unfortunately, my SSD disk has been full from the media of FCPX. But please, a reliable solution. Also, I do not want to move my whole "user" folder.