Native iOS app with MAF logon components: Linking fails

Hi all,
I try to compile a SDK 3.0 project with MAF logon components.
I followed this tutorial and finally got a running iOS app with the dependencies for the SDK: Getting started with SMP3 Native OData iOS apps
Now I would like to add MAF logon component usage. The Sybase guide describes this under Developing with MAF Logon.  I copied the basic initialization steps from there to my project.
However, although I have all the required headers, the linker fails trying to find the implementation for MAFLogonUIViewManager.h
I guess I did not add a dependency properly. In which of the files/bundles added should this component be?
Best, Martin

Hi,
  I am having a similar issue. I am following the same instructions. At the point where I create the LogonHandler, the file MAFLogonManagerNG.h is not found by Xcode. This file does not seem to be present in the SDK either. When I comment it out, the MAFLogonUIViewManager is not recognized.
Have you been able to resolve your issue?

Similar Messages

  • Can Flash CS5.5 create ios app with in game purchase function?

    Can I use flash CS5.5 to create ios app with in game purchase function and other ios specific functions? Is there any limitation compare to using ios native development environment? Same questions for Android OS.
    Thank you very much.

    First disable autoplay. It gave errors for me. Try to make the movie play with the play() command.
    to embed the movie in your air bundle, just go to publish settings for your flash project. Then in that screen go to the player settings.
    In the first GENERAL tab you'll see a the bottom that you can add files to your project
    Propably there is allready your .swf and an .xml file in there.
    Using the + icon you can add your video.
    Make sure that your video is in the same directory as your . FLA file and you can use it as is (by name)
    If for example your flashfile is in c:\mytest\mytest.fla and the video in c:\mytest\videos\myvideo.flv , then you will have to load your video as "videos/myvideo.flv" with a FORWARD slash, never use \
    Good luck

  • Mix native iOS development with Adobe DPS created iPad apps

    Is it possible to mix programmtic elements into an app developed with the Adobe DPS tools?
    Although one can hook up buttons and gestures for slide shows, as I've seen in some of the videos, I need to build a hybrid app where a section of the app hands control over to a native IOS built set of components.
    I'm coming from the iOS development side of things, so I know little of the capabilities of a client's InDesign and DPS toolset, except that I haven't found resources to do anything beyond simple interactions within DPS.

    No, you can't include native iOS components in a DPS publication. For extensibility people tend to write HTML5 content and include that in a web overlay.
    Neil

  • SMP3.0 SP05 register process and reconnect in native iOS app

    Hi,
    we do this steps Getting started with SMP3 Native OData iOS apps to get a native iOS application functioning through the SAP Mobility platform version 3.0 SP05 and retrieving data from OData services.
    But we do not understand the register process completely.
    If we install the app and do the register process and retrieve the data everything is ok. A user with the ApplicationConnectionID is registered in in SMP. But if we start the app again (without a new installation) we do not register the user again an set the connection id we get in the registration process:
    [self.clientConn setApplicationConnectionID:[selfreadInPlistMitKey:@"appConnectionID"]];
    we set the encryptionKey in the manager and initialize the Cache once for the application launch.
    [EncryptionKeyManager setEncryptionKey:key withError:nil];
    But if we want to retrieve the data we get a Request Failed.
    2015-01-15 18:13:31.885 AuthTest[12663:5b07] Firing requests from DB...
    2015-01-15 18:13:31.886 AuthTest[12663:4c07] UrlString:   http://smpServerAdress:8080
    2015-01-15 18:13:31.889 AuthTest[12663:4c07] Connectivity changed...
    2015-01-15 18:13:31.889 AuthTest[12663:4c07] Detected network...
    2015-01-15 18:13:31.889 AuthTest[12663:4c07] Start queue...
    2015-01-15 18:13:31.900 AuthTest[12663:4c07] UrlString:   http://smpServerAdress:8080
    2015-01-15 18:13:31.906 AuthTest[12663:907] Request Failed
    What do we wrong? Where is the different between the request with registration an without.
    Thanks,
    André

    Hi Ali,
    thank you but this was not realy what we need. But we can now register without to use the MAFLogonScren but when we whant to open the Online Store we get this error: "OpenStore failed with network error: 401 unauthorized" Do you know what we cvan do against this error or what the reason of this error is?
    Here is the code snipped what we use:
        MAFLogonUIViewManager *logonUIViewManager = [[MAFLogonUIViewManager alloc] init];
        NSObject<MAFLogonNGPublicAPI> *logonManager= logonUIViewManager.logonManager;
        HttpConversationManager* httpConvManager = [[HttpConversationManager alloc] init];
        [[logonManager logonConfigurator] configureManager:httpConvManager];
        MAFLogonCore *lc = self.appDelegate.lc;
        MAFLogonContext *context;
        if ([lc unlockSecureStore:@"abcd1234" error:&error]) {
            context = [lc getContext:&error];
        MAFLogonRegistrationContext *regContext = context.registrationContext;
        SODataOnlineStore *onlineStore = [[SODataOnlineStore alloc]
                                          initWithURL:[NSURL URLWithString:regContext.applicationEndpointURL]
                              httpConversationManager:httpConvManager];
        [onlineStore setOnlineStoreDelegate:self];
        [onlineStore openStoreWithError:&error];

  • Question about Dreamweaver Native Mobile Apps with PhoneGap

    I am trying to determine the best way to build an app for my business.  It doesn't need to be anything fancy, but needs a clean UI that is easy to navigate and interfaces with an online database.  The PhoneGap intergration with Dreamweaver 5.5 seems really intriguing, but before I spend the $650 to upgrade my creative suite, I had some questions.
    Doing some research, I have found multiple references to apps created in this way running slowly.  Noticable lapses on button pushes, pages loading slowly, etc.  Is this an issue and if it is, is there any way to get around it? 
    Idealy, I would deploy my app to both Android and iOS devices, how smoothly does that run?  I have some basic knowledge of both Java and Objective-C, but using dreamweaver seems to be quite a timesaver.
    If anyone has any input or comments about using Dreamweaver to create native mobile apps I would love to get some feedback.  Thanks!

    PhoneGap builds mobile apps with HTML, CSS, and JavaScript. You cannot use a server-side language, such as PHP, with PhoneGap.
    Presumably, you want to connect with a MySQL database on a remote server. To do so, you would need to use Ajax to send and receive data from the MySQL database. You can use jQuery to send and receive data as JSON. PHP has JSON functions that decode and encode data as JSON strings.
    How difficult or easy you would find setting this up depends on your knowledge of jQuery and PHP. I don't know of any tutorials that show how to pull everything together for PhoneGap, but it shouldn't be too difficult to find tutorials for using jQuery Ajax to communicate with MySQL.

  • Native android apps - with DPS single edition?

    Can you build native android apps also with DPS single edition or only with enterprise edition?
    Thank you for you help!

    Thank you for your reply, Bob!
    I've forgotten to ask the most important thing: This also stays that way for DPS V30?
    Thank you!

  • Can I use the Chrome for iOS app with Chromecast?

    I recently purchased a Chromecast for my home television to see how it stacks up to the Apple TV3 (which I also have). I see very clearly that Netflix and YouTube are well integrated for use with this dongle but I do not see that Chrome for iOS is (on iPhone or iPad). It seems counterintuitive to not have the Chrome iOS app work with Chromecast even though other iOS apps do (Netflix;Youtube). Can anyone confirm or deny whether or not we can, or in the near future be able to, use the iOS Chrome app with Chromecast? It is in this very department that AppleTV has the Chromecast beaten, among others.
    Also, Google Groups seems difficult to navigate in order to post my question there. If anyone has any insight for that as well I would greatly appreciate it.
    Thank you!

    Google has made an App specifically to control the ChromeCast from an iOS device rather than integrating the control into the Browser.
    https://itunes.apple.com/us/app/chromecast/id680819774?mt=8

  • Viewing online images in native phone apps with AIR?

    Gidday guys
    What's the standard way of loading an online image into a native phone app? An image that can't be packaged with the app as it may have been changed by the user eg a profile picture, or their logo?
    Cheers

    Yes - I do this with my desktop AIR app.
    What I'm wondering though is it OK to do this for phone apps, or is there some advantage to emedding the images and putting them in your project's assets folder? eg phones being able to cache images from assets, but not if the images are built into the swf.

  • Unable to load external image into iOS app with AS3

    Just trying out Flash Builder for iOS app development and have run into a problem right off the bat with loading an external image into an iOS app.  The actionscript is very simple (this was basically my Hello World attempt), and I'm hoping someone here can explain where I'm going wrong.  This code works in Flash Pro, and works when launched on the desktop from Flash Builder, but doesn't work on my iOS devices.
    Here's the code:
                                  var container:MovieClip = new MovieClip();
                                  addChild(container);
                                  var imageLoader:Loader = new Loader();
           imageLoader.load(new URLRequest("http://www.google.ca/intl/en_ALL/images/logos/images_logo_lg.gif"));
                                  imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, startListener);
      function startListener (e:Event):void{
                                                 container.addChild(imageLoader);
    Any thoughts on why this won't work would be greatly appreciated!

    I had the same issue, and modified my domain policy file as specified  in http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html#_Configuring_URL_M eta-Policies but the loader is not loading the file. Any ideas on how to fix this issue?

  • Creating an iOS App with File Sharing Activated

    From what I can decipher, the only way for a user to retrieve a document created by an iOS app is through iTunes, but only if the app has file sharing activated.
    Is there a way to create an iOS app in Flash CS5.5 and make it a file sharing app?

    I used the following code for sharing files to documents directory, and it works just fine. I am able to access the files copied by the app.
    I made this app using Flash Builder. I will share another one using Flash Pro, soon.
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
              xmlns:s="library://ns.adobe.com/flex/spark" title="Share File">
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <fx:Script>
              <![CDATA[
                   public function shareFile():void
                                  var file:File = File.applicationDirectory.resolvePath("original.swf");
                        var dest:File = File.documentsDirectory.resolvePath("copy.swf");
                        file.copyTo(dest, true);
                        input.text = "File Written";
              ]]>
         </fx:Script>
         <s:TextArea id="input" x="216" y="89" width="336" height="59"/>
         <s:Button id="button" x="292" y="220" width="184" height="50" label="Share Data" click="shareFile()"/>
    </s:View>
    Can you please share the app/more details about the issue in the meanwhile?

  • Developing iOS apps with Flash Guide.

    Hello,
    Does anybody know any good guide or tutorial for build iOS apps in flash?
    I had done an application which is in "Waiting for review", but I made it lineal, without packages or clases, because I don't know them, so i used pure ActionScript in a single FLA.
    I don't know what people can say when they mention AIR ... I don't have that? (or I do)?)
    I need to make an app that is basically a book, so I need smooth paging and scrolling technique
    Sorry if it's too much, any help will be apreciatte
    Best Regards

    See Xcode Versions ~ iOS - As of 4.29.12

  • I can't create a native android app with 2560x1600 rendition. I only see the 2048x1536 and 1024x768 option in the web native Android application ?

    Hello All,
    i ve created a native android app. I need to publish on a 2560x1600 android tab. the problem is that in my library i have my 2048x1536 and 1024x768 ipad version.
    I know that when i create my native Android app i should be able to chose my rendition in only 2560x1600 but in the Library Tab of de web android native app builder I only see the 2048x1536 and 1024x768 option.
    Please do you have an idea ?
    TX

    The dropdown only lists the folio sizes you have published in your app's publication account. Make sure you've actually published a 2560x1600 folio and then you'll be able to select it from the dropdown.
    Neil

  • Is it possible to Manage iOS apps with Lion Server

    I was wondering if anyone knows whether or not it's possible to manage (add and remove) iOS apps using Lion Server, specifically apps available via the app store rather than apps built for internal use? I can't seem to see a way of doing it using profile manager but was wondering if I was maybe missing something?
    Thanks

    The answer to this would appear to be no.

  • Linker error while packaging iOS app with my ANE

    While trying to write a iOS Native Extension for ZXingObjC (https://github.com/TheLevelUp/ZXingObjC), the following link error shows up when exporting in Flash Builder 4.x:
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "___divmodsi4", referenced from:
          +[ZXEncoder numDataBytesAndNumECBytesForBlockID:numDataBytes:numRSBlocks:blockID:numDataBytesInBlock: numECBytesInBlock:error:] in libcom.google.zxing.ZXingNativeExtension.a(ZXEncoder.o)
          +[ZXAztecEncoder encode:len:minECCPercent:] in libcom.google.zxing.ZXingNativeExtension.a(ZXAztecEncoder.o)
          +[ZXAztecEncoder generateCheckWords:totalSymbolBits:wordSize:] in libcom.google.zxing.ZXingNativeExtension.a(ZXAztecEncoder.o)
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    This happens in Flash Builder 4.6 or 4.7 using AIR SDK 3.7
    This isn't my first Native Extension for iOS. No amount of fiddling around with adding frameworks or libraries in Xcode to the static library works.
    Looking for guidance on what to try next to resolve this linker error...

    I am also receiving an error related to ___divmodsi4 (using different libraries which use that symbol) which appears to be a compiler level math function. It should be packaged automatically but apparently AIR isn't doing it.  No idea what additional library should be linked, attempts to link the 3rd party libraries (and/or packagedDepenency them) failed.
    Undefined symbols for architecture armv7:
      "___divmodsi4", referenced from: (methods in a third party library)
    My Platform.xml is as such:
    <platform xmlns="http://ns.adobe.com/air/extension/3.7">
        <sdkVersion>6.0</sdkVersion>
        <linkerOptions>
        <option>-ObjC</option>   
        <option>-weak_framework Accounts</option>
        <option>-framework AddressBook</option>
        <option>-framework AddressBookUI</option>
        <option>-weak_framework AdSupport</option>
        <option>-framework CoreAudio</option>
        <option>-framework CoreLocation</option>
        <option>-framework CoreMotion</option>
        <option>-framework CoreTelephony</option>
        <option>-framework EventKit</option>
        <option>-framework EventKitUI</option>
        <option>-framework iAd</option>
        <option>-framework MapKit</option>
        <option>-framework MediaPlayer</option>
        <option>-framework MessageUI</option>
        <option>-framework OpenAL</option>
        <option>-weak_framework PassKit</option>
        <option>-framework StoreKit</option>
        <option>-weak_framework Twitter</option>
        <option>-framework UIKit</option>
        <option>-lsqlite3</option>
        <option>-lxml2</option>
        <option>-lz</option>
        </linkerOptions>
    </platform>
    If the author or anyone manages a solution, please post it in this thread!

  • Error while packaging an ios app with FB4.7

    Why can I package the android version without problem and not the ios ?
    !ENTRY com.adobe.flexbuilder.project 4 43 2013-03-01 14:16:18.414
    !MESSAGE Error occurred while packaging the application:
    Exception in thread "main" java.lang.Error: Unable to find named traits: org.hamcrest::Matcher
              at adobe.abc.Domain.resolveTypeName(Domain.java:232)
              at adobe.abc.Domain.resolveTypeName(Domain.java:149)
              at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:273)
              at adobe.abc.GlobalOptimizer$InputAbc.resolveSlotType(GlobalOptimizer.java:956)
              at adobe.abc.GlobalOptimizer$InputAbc.resolveType(GlobalOptimizer.java:536)
              at adobe.abc.GlobalOptimizer$InputAbc.resolveTypes(GlobalOptimizer.java:449)
              at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:332)
              at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:599)
              at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:104)
    Compilation failed while executing : ADT
    !STACK 0
    java.lang.Exception
              at com.adobe.flexbuilder.project.internal.FlexProjectCore.createErrorStatus(FlexProjectCore. java:1020)
              at com.adobe.flexbuilder.util.logging.GlobalLogImpl.log(GlobalLogImpl.java:66)
              at com.adobe.flexbuilder.util.logging.GlobalLog.log(GlobalLog.java:52)
              at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.doPackage (ExportReleaseVersionWizard.java:296)
              at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.performFi nish(ExportReleaseVersionWizard.java:159)
              at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
              at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
              at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
              at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
              at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
              at org.eclipse.jface.window.Window.open(Window.java:801)
              at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:1 01)
              at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
              at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
              at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
              at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.jav a:508)
              at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
              at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.j ava:241)
              at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
              at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
              at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:116)
              at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerActi on.java:168)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
              at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
              at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:79)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

    If someone has any problem with this kind of error the solution is simple!
    You should use the source code of the hamcrest as3 project instead of swc in the build path.
    This problem happened because of the BindageTool as3 library.

Maybe you are looking for