Loading of Dynamic Maps

Hi,
I'm developing an occasionally connected application for handheld devices using NetWeaver Mobile 7.1.
Here I need to load dynamic maps like Google Maps or Microsoft Live Maps within my application itself. Suggest me the solution to resolve the above issue.
Thanks in advance.
Regards,
DVR.

Hi Vinodh,
There is no webbrowser kind of control provided with SAP NWMobile Client.
To acheive this scenario what I suggest is developing a custom control which could be used to browse and open external web links.
Client framework provides support for hosting customer custom controls inside the application. You can develop a eSWT based control and host it inside the application.
Also you can use any third party applications/browser to achieve this and call it from the application using core java functionality on How to call external applications in normal java code.
On writing a custom control please see to some of these blogs:
     /people/mike.brosseau/blog/2008/10/09/mobile-71-intro-to-custom-eswt-controls
     https://www.sdn.sap.com/irj/scn/wiki?path=/display/community/using%2bsignature%2bcapture%2beswt%2bcontrol%2bin%2bmobile%2bwebdynpro
Regards,
Nipun

Similar Messages

  • Dynamic mapping using xslt

    I have question regarding XSLT map. I saw xslt is embedded  as part of map dll. Now I have case like different vendors are sending me files in different structure . Let me clear here all my input is EDI files.
        Example one vendor is sending HL segment at header level and one at detail level. Other vendor send only at header level . So surely my map logic is different .
        So I was thinking create XSLT for each vendor and load dynamically based on ISA Id and GSId. Is it possible that load xslt dynamically something like this?
      If(ISAId == "sender1" && GSId ="sender1)
       //code to load map dll
      map1.LoadXslt(sender1xslt).
    What is better way to handle this case . I  am not considering to create at receive location as I will get data from AS2 and I will have only one receive location.
       What is better approach for this? Do I need to create  separate  map for each TP and load it?
    Please let me what is better approach in this case?

    I tried one small sample with keeping map name in config file as 
    <add key="Map1" value="DynamicMap.OrdMap,DynamicMap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=51b3a99d8425ff5a"/>
    <add key="Map2" value="DynamicMap.OrdMap2,DynamicMap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=51b3a99d8425ff5a"/>
    then in orchestration have 
    expression shape with 
    MapName = System.Configuration.ConfigurationManager.AppSettings["Map1"];
    MyMapType = System.Type.GetType(MapName);
    Then messageassignment shape with 
    transform(OutMsg) = MapName(InMsg);
    When I test it get following error with message get suspended
    Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'DynamicMap.OrdOrc(948a9a82-1325-e745-d019-d110d636f3fd)'.
    The service instance will remain suspended until administratively resumed or terminated. 
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: 9c6f164e-b194-4acf-ad14-cb3fcfdcea7d
    Shape name: ConstructMessage_1
    ShapeId: 595267b1-451b-42a3-b0e4-9ecca16205d9
    Exception thrown from: segment 1, progress 11
    Inner exception: Error encountered while executing the transform System.String. Error:Unable to create the transform..
    Exception type: XTransformationFailureException
    Source: Microsoft.XLANGs.Engine
    Target Site: Void ApplyTransform(System.Type, System.Object[], System.Object[])
    The following is a stack trace that identifies the location where the exception occured
       at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
    Can anybody help me what it mean?

  • RE: Dynamically mapping data to widgets

    One quick and dirty solution would be something like this (though not
    terribly efficient):
    newPanel : Panel;
    newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);for childWidget in newPanel.children do
    -- check if the childWidget field name matches field name to be
    set
    if childWidget.name.isEqual(source=<..FieldNameToSet..>,
    ignoreCase=TRUE) then
    dataWidget : dataField = dataField(childWidget);
    if dataWidget.textvalue = NIL then
    dataWidget.textvalue = new;
    end if;
    -- set the textvalue of the childWidget to required
    value
    dataWidget.textvalue.setvalue('WORKS !');
    end if;
    end for;
    Your problem would have been directly solved if the Forte library class
    CompoundField provided a SetDataObject( ) method corresponding to the
    GetDataObject( ) method.
    According to Forte Help - "The GetDataObject method returns the object
    that the compound field is mapped to. If the compound field is not
    mapped to an object, this method returns NIL."
    Maybe Forte could consider providing this in a future release.
    Another option would have been to use the GetFieldByName( ) method on
    the newly created panel to get at the child widgets directly.
    According to Forte help - "GetFieldByName is designed for use in dynamic
    applications. For example, you can use GetFieldByName to retrieve the
    names of dynamically created fields for immediate use in dynamic
    applications."
    This works fine for compile-time named widgets, but I couldn't get it to
    work for the newPanel child widgets using the code below, or maybe I am
    missing something here.
    newPanel : Panel;
    newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);newPanel.name.setvalue('newPanel');
    newPanel.parent = <aGridField>;
    dataWidget : dataField = dataField(newPanel.getFieldByName('age'));
    (OR)
    dataWidget : dataField =
    dataField(<aGridField>.getFieldByName('newPanel.age'));
    (OR)
    dataWidget : dataField =
    dataField(self.window.getFieldByName('newPanel.age'));
    In all cases the return value was NIL.
    Maybe someone from Forte could shed more light on this.
    Hope this helps.
    Prashant.
    From: Richard Finegan[SMTP:[email protected]]
    Reply To: Richard Finegan
    Sent: Thursday, August 13, 1998 2:27 PM
    To: 'Forte Users Mailing List'
    Subject: Dynamically mapping data to widgets
    Here's what I'm trying to do:
    I have a panel with a bunch of data fields that I've mapped to an
    object.
    I want to replicate the panel several times to programmatically
    populate a
    TabFolder (although the TabFolder bit isn't really relevant here, I
    think).
    But I can't figure out how to get at the mapped data in the replicas
    of my
    object...
    newPanel : Panel;
    newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);
    panelCreatedFromWindowWorkshop.anAttributeOfObjMappedToPanel =
    something;
    // tada! "something" appears in a data field of the original panel
    newPanel.? = something; // how to do the same thing with the new
    panel?
    How do I map an object to the replicated panel? I've experimented
    with
    assigning "Widget.AppData" to a new object, but I can't seem to get it
    to
    do anything...
    Thanks in advance for your help.
    Richard Finegan
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Michael,
    did you find any solution?
    I've the same problem.

  • Dynamic mapping: I have no Class. I want to get database columns into a map

    I want to practice dynamic mapping.
    I don't know the class in development time. I know the attributes only on runtime. Then I create the table, and want to practice OR Mapping to get and set data in this table while all I have is aa map of fields (Strings/int for direct-to-field mappings, Lists, Objects, etc.) - against this new table.
    I have no Class. Neither source nor Class object in hand.
    In Hibernate it is possible and very well documented. It's called "Dynamic Model". I have to get a special Hib session from a session i already have, and it starts to work with Maps and not real classes and objects.
    Here is the command in Hib: sess.getSession(EntityMode.MAP);
    Thanks in advance.
    Doron

    Doron,
    We have been working with dynamic models and byte code weaving for a while now. I took some work I did a few months back now and upgraded it to work with EclipseLink JPA. I have started creating an example within EclipseLink to both illustrate how EclipseLink can be extended to deliver this dynamic mapping and also to start consolidating our existing dynamic support in our SDO and DBWS components into a more general solution that be used out of the box with JPA.
    I have started a wiki page to illustrate how this functionality can be used. Take a look and let me know if this might address your requirements.
    http://wiki.eclipse.org/Eclipselink/Examples/JPA/Dynamic
    Doug

  • FDS and Hibernate dynamic mapping

    I am using FDS with hibernate
    (flex.data.assemblers.HibernateAssembler) to transfer data between
    the flex client and my JDBC database. This works really smooth, as
    long as I specify a server-side java class (POJO) in the
    <hibernate-mapping><class name="some.class"> attribute.
    As I dont really need these server-side java classes for
    anything else, I have tried to save some work by using the
    hibernate "dynamic-map" mode (<hibernate-mapping><class
    entity-name="some.entity">). But in this case, FDS does not map
    the result to the corresponding flex ActionScript class with the
    correct RemoteClass alias. The DataService "fill" method returns an
    ArrayCollection of "ManagedObjectProxy" items containing the field
    "$type$=some.entity" instead.
    Does FDS support hibernate dynamic mapping? Is there a
    workaround for this problem?
    Best,
    Per

    Hi Per,
    The Hibernate assembler doesn't currently support the
    dynamic-map mode, so for now you'll need your POJOs.
    Best,
    Seth

  • Dynamic mapping for alv

    Hi All,
    I need to display three tables  using alv.
    i have used one alv component  in my application.
    In my context  i have three nodes ( for three tables )
    when i am trying to map  one node of my component control to  'DATA' of alv component
    its working fine. i am getting the data of one table .
    Now , my problem is for the remainig two tables . how these two nodes are mapped for the same alv 'DATA' attribute of alv component.
    Whether i need to create  two more  alv components or Is there any possible to dynamic mapping ?
    Thanks and Regards,
    sravan.

    Hi Sravan,
    Now , my problem is for the remainig two tables . how these two nodes are mapped for the same alv 'DATA' attribute of alv component
    You cann't map the multiple context nodes to the DATA node of interface controller.You have to declare 3 component usages.
    or
    you want to set the map the dynamically then use this code.
    data:l_ref_interfacecontroller type ref to iwci_salv_wd_table.
    l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
    l_ref_interfacecontroller->set_data( lo_node ).

  • Dynamic mapping

    Hi,
    how to make dynamic mapping?
    Is it possible to make mapping at runtime?
    Thanks a lot.
    Regards,
    Jorge Luiz

    Hello,
    Please see these:
    [Dynamic Context Creation, Mapping, and Data Binding|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44]
    [Web Dynpro ABAP: Dynamic Context Creation, Mapping, and Data Binding|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89]
    Regards

  • How to load the google map into an empty movieclip

    how to load the google map into an empty movieclip ?  Thank you

    if you're using as3, check the google maps api for flash.  if you're using as2, check the google maps api for javascript and use the externalinterface class in flash.

  • How to give dynamically mapping in interface

    Hi all,
    I have requirement for this requirement i am thinking various scenarios,
    could please tell me is there any way to we can give source,target data stores and mapping dynamically(execution time) to the interfaces ? if it is possible then i can re use job again and again ?
    please give your solutions for this post
    Thanks,
    Surya.

    Please let me know if I miss the mark here.
    If you are trying to build the 150 interfaces without spending the time to do so manually, use the ODI SDK. Check out David Allan's blog post for examples here https://blogs.oracle.com/warehousebuilder/entry/odi_11g_interface_builder. You can build your interfaces once - without need for dynamic mapping at execution time.
    I'm pretty sure there is no good way in ODI "out of the box" to dynamically map columns at execution time, but I imagine you could use the ODI SDK to write a Java program that does so. Then, use the Open Tools feature in ODI to run the Java program within your ODI processes. I'm not sure the value of this, but I do not have a full understanding of your requirement.
    I hope this helps. Enjoy!
    Michael R.

  • About how to build dynamic maps using jdeveloper 10g and mapviewer

    i follow the guidance (about how to build dynamic maps using jdeveloper 10g and oracle application server mapviewer) to write a jsp file,but error take palce ,i get information "Project: D:\jdev1012\jdev\mywork\WebMap\ViewController\ViewController.jpr
    D:\jdev1012\jdev\mywork\WebMap\ViewController\public_html\WebMap.jsp
    Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(12,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(14,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(15,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found"
    can you help?
    greetings

    I found a lot of information in document 133682.1 on metalink.
    step by step example how to deploy a JSP business component application.

  • Dynamic Map

    Hi;
    I search a source code (C# or JS) to show the dynamic France MAP wiht a view which displays the name when a user selects with the mouse the  country ?
    Web part or WSP or any package.
    Regards,

    Hi,
    Per my understanding, you might want to display a dynamic map in a web part.
    A suggestion is that you can use the gmaps.js plugin which “allows you to use the potential of Google Maps in a simple way”:
    https://hpneo.github.io/gmaps/
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • 'Operation could not be completed' when trying to load a displacement map

    Im running PS CS6 13 x64 on a MacBook Pro with Mountain Lion OS X 10.8.2. I want to load a displacement map but when I'm in the Displace dialogue box and I click OK I get 'Operation could not be completed' Any ideas? it's pretty urgent and have been on hold on the Adobe helpline for 30 minutes so far!!!!

    Anything particular about the files (Color Mode, size, …)?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)?

  • Loading data dynamically to XML file

    Hi ,
    1) in my project i need an xml file that loads data
    dynamically,i will get data using HttpService,
    How to do this ?Please Help me its urgent.
    2)Can i create an xml file that loads data dynamically using
    Flex???

    Just need to clarify if you mean to load your data FROM an
    XML file, which is relatively straightforward, or if you're saying
    you want to WRITE an XML file based on something that's happened in
    your application and store it on a server somewhere.

  • Load font dynamically

    Hi,
      I need to load font dynamically in my application 
    The swf size is 2.34 MB (which contains the 20 embeded fonts)
    My application size is 1.92 MB
    SDK 4.0
    OS is windows XP
    It takes 1 min to load 20 fonts in list. But i wants to load more than 200 fonts dynamically 
    Please suggest me the way to reduce the loading time.
    I have used the following code in application's creation complete event to load the swf,
    var cssEventDispatcher:IEventDispatcher=styleManager.loadStyleDeclarations("assets/style/Prop ertyFonts1.swf")
                                            cssEventDispatcher.addEventListener(StyleEvent.COMPLETE, onComplete);
    Thanks in Advance
    Siva

    you want to load font or text??

  • Ipsec Stateful Failover issue with Dynamic-Map

    Hi all, I have an issue with a couple of Cisco ISR 2921 in Ha Ipsec Stateful Failover configuration.
    With static crypto-map, stateful works good, Ipsec sessions are correctly trasmitted from Cisco Active router to Cisco Standby router.
    With dynamic-map and profile, stateful fails, Ipsec sessions are not correctly trasmitted from Cisco Active router to Cisco Standby router.
    I tried different IOS version:152-1.T3, 152-3.T2 and 153-1.T but I have the same behavior.
    Could you help me?
    Marco

    Yes it is supported. It is supprted on VAM, VMA2, VAM2+.

Maybe you are looking for

  • Plz help using ms access as database,i want to create a login page in java

    hye frnz... plz help me m new to java m using ms access as database and try to create a login page where user type username and pw i had enter valid user entries in database i checked connectivity is working i want as user login the main window must

  • SQL Server Reporting Services Multi Color selection

    Hi to All. iam trying to use this swicth condition in SSRS for multi color view. But its not getting can u suggest me  =switch(Fields!AVGSALES.Value<2000 ,"red",Fields!AVGSALES.Value<5000, "blue", Fields!AVGSALES.Value>5000,"yellow"

  • ITunes will not launch, does reading itunes library and stops

    Repaired itunes a couple of times & no luck. Installed fresh itunes download, installs itunes, does reading itunes library and stops.  Plug in iphone 5s & ipad, does reading itunes library and stops, no luck. What's up with the program?

  • Inserting spray menu bars

    Could someone help me with spary menu bar? I have created a menu bar on a HTTP home page and uploaded it with spray assets. When I checked on the net, I can see texts which link to another http pages, such as contact http pages. However, it does not

  • Using Find Command

    Help If anybody can try this and tell me how it works I would be forever grateful. I can not seem to get the FIND command to find timecodes of clips in a sequence. I have copied all my clips from my bin and pasted them into a new sequence I'll name s