Advices required for a JAWT implementation for Windows Mobile 5 and 6

Hi,
I want to create a jni bridge in order to open a player in a java Frame. This player works fine in a mobile native application.
I want to know if somebody tried already to create such a bridge keeping in mind that this is for mobile environment. If yes, is there some specific problems which I should be aware of?
Specifically I have 2 problems.
1. My jni getHWND method always return 0.
JNIEXPORT jint JNICALL Java_JavaRMEngineInterface_getHWND
(JNIEnv *env, jobject obj, jobject component){
     HWND hWnd = 0;
//try {
typedef jboolean (JNICALL PJAWT_GETAWT)(JNIEnv, JAWT*);
JAWT awt;
JAWT_DrawingSurface* ds;
JAWT_DrawingSurfaceInfo* dsi;
JAWT_Win32DrawingSurfaceInfo* dsi_win;
jboolean result;
jint lock;
bstrt jawtPath = "\\Windows"; // Put Path String from jrePath to jawtPath
//Load AWT Library
if(!_hAWT)
//for Java 1.4
hAWT = LoadLibrary(jawtPath + bstr_t("\\jawt.dll"));
//if(!_hAWT)
//for Java 1.3
//_hAWT = LoadLibrary(jawtPath + bstrt("\\awt.dll"));
if(_hAWT)
PJAWT_GETAWT JAWT_GetAWT = (PJAWT_GETAWT)GetProcAddress(_hAWT, L"_JAWT_GetAWT@8");
if(JAWT_GetAWT)
awt.version = JAWT_VERSION_1_3; // Init here with JAWT_VERSION_1_3 or JAWT_VERSION_1_4
//Get AWT API Interface
result = JAWT_GetAWT(env, &awt);
if(result != JNI_FALSE)
ds = awt.GetDrawingSurface(env, component);
if(ds != NULL)
lock = ds->Lock(ds);
if((lock & JAWT_LOCK_ERROR) == 0)
dsi = ds->GetDrawingSurfaceInfo(ds);
if(dsi)
dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo;
if(dsi_win)
hWnd = dsi_win->hwnd;
ds->FreeDrawingSurfaceInfo(dsi);
ds->Unlock(ds);
awt.FreeDrawingSurface(ds);
return (jint)hWnd;
//}catch()
return (jint)hWnd;
2. this second method throw an "error C2100 illegal indirection" at the last line on g_hwndMain.
JNIEXPORT jboolean JNICALL Java_JavaRMEngineInterface_construct
(JNIEnv *env, jobject obj, jlong peer, jint hwnd, jlong top, jlong left, jlong bottom, jlong right, jstring lpszSystemLanguage, jint nCacheSize){
     CRMEngineInterface cpp_obj = (CRMEngineInterface)peer;
     HWND g_hwndMain = (HWND)hwnd;
     HDC hDC = ::GetDC(g_hwndMain);
     SIZE size;
size.cx = (LONG) right - (LONG) left;
size.cy = (LONG) bottom - (LONG) top;
     TCHAR sInstallDir[MAX_PATH];
     ::GetModuleFileName(NULL, sInstallDir, MAX_PATH);
     TCHAR* pEndPath = _tcsrchr(sInstallDir, L'\\');
     if (pEndPath != NULL)
          *(pEndPath + 1) = 0;
     TCHAR sContentDir[MAX_PATH];
     memcpy(sContentDir, sInstallDir, MAX_PATH);
     UINT nCacheSizeCPP = (UINT) nCacheSize;
     return *cpp_obj->construct( hDC, g_hwndMain, size, sInstallDir, sContentDir, 0);
Any advice will be very helpful.

Hello Brian,
the client technology is based on web dynpro, but it runs in an own Mobile Client. Therefore you do not need the internet browser for the application.
During the client development you can use the web dynpro tools to design the layout and the screen flow of your application. In the last step you can deploy the application to your mobile client and run it without a browser.
The mobile client includes a web dynpro runtime to display the data. Therefore you do not need a J2EE server in order to run an application.
The mobile occasionally connected scenario provides a api to access the local database. NetWeaver Mobile 7.1 for PDA supports two different databases:
1. MinDB ( from SAP, included no additionals license fee required )
2. DB2E
NetWeaver Mobile includes a complete queing mechanism.
You can also take a look into two eLearnings which provide a good technical overview:
Link:  [Architecture and Runtime|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e048e20c-7246-2a10-e8a5-8b2b78b5b994]
Link: [Development Cycle and Tools|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/204fc387-6646-2a10-99b7-bba030bc3f68]
Unfortunetly there is no fixed timeline for WM6.But I guess this will be available soon.
I'm afraid but also don't know of any fixed timeline regarding Adobe Interactive forms.
The architecture of NetWeaver Mobile 7.1 is pretty new and full of great new functionalites. The User Interface for NetWeaver Mobile 7.1 uses eSWT to render the UI elements.
Best Regards,
Stefan

Similar Messages

  • Error in Plugin Installation For MS Office 2013 on Windows 8 and 8.1

    Hello,
    We have developed an installer for MS Word and MS Excel plugins. So far it has been working fine for MS Office 2003, 2007 etc. but since I have upgraded to a Windows 8.1 machine with MS Office 2013 installed, the plugin installation is giving error.
    The installation fails and an error dialog appears with Error Code Type: Error, Error:1, Owner:30a.
     The installer works well for MS Office 2010 on Windows 8/ 8.1 machine or MS Office 2010 on Windows 7 machine.

    HiDinesh,
    Is there any other error message when installation fails?
    According to this error message “Error Code Type: Error, Error:1, Owner:30a.”
    This is problem conclusion provided by IBM:
    This issue is no longer reproducible in V6R2012x.
    Installation checks have been modified to throw an error only when none of the Office applications
    (Word, Excel, PowerPoint and Outlook) are installed. This error will not occur if one or more of the Office products are installed.
    For more detail information:
    http://www-01.ibm.com/support/docview.wss?uid=swg1HE09464
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    If there is anything I can do for you regarding this issue, feel free to post back.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Network Connectivity Status Indicator for IPv6 works wrong in Windows 7 and Windows 8

    Hi Folks,
    I am working on testing Network Connectivity Status Indicator for IPv6 in Windows 7 and 8.
    Waht is "Network Connectivity Status Indicator(NCSI)" you can refer to https://technet.microsoft.com/en-us/library/ee126135%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
    I found that even if Network Connectivity Status Indicator detect IPv6 connection to http://ipv6.msftncsi.com/ncsi.txt failed.
    Windows IE still use IPv6 to connect to website first, rather than stop using IPv6 and to use IPv4.
    It will cause IPv6 fallback to IPv4 problem, that's 21 secs and 7 secs delay for fallback in Windows 7 and 8.
    Does anyone suffer the same problem?
    Or someone know how this works?
    Thanks!

    Hi Roger_Wang0214,
    "Windows IE still use IPv6 to connect to website first, rather than stop using IPv6 and to use IPv4."
    By default Windows prefers IPv6 over IPv4,we can manually configure the IPv4 prefer over IPv6 if it has result in any troubles.
    Here is a link for reference :
    Resolving Internet connectivity issues after World IPv6 Launch (June 6, 2012)
    https://support.microsoft.com/en-us/kb/2533454
    "The "Prefer IPv4 over IPv6" Fix it solution will configure your computer to prefer IPv4, instead of IPv6. By default, Windows prefers IPv6 over IPv4. If you are having problems using IPv6 to connect to some websites, this may resolve the
    problem."
    For a Windows 7 machine ,we can try the following fixit tool to configure IPv4 prefer over IPv6 .For a Windows 8.1 machine ,we can configure it referring to the manual part .
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents
    If the DisabledComponents entry is unavailable, we can create it (DWORD (32-bit) Value).Then set a value with "0x20"to prefer IPv4 over IPv6 by changing entries in the prefix policy table.
    Here is a link for reference :
    How to disable IPv6 or its components in Windows
    https://support.microsoft.com/en-us/kb/929852
    Best regards
    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]

  • How to create the C++ DLL for Windows Mobile and how to import it in C#

    Hi All,
         Please can u guide me for creating DLL on C++ and using it in C#
         1) Steps to create the DLL using C++ for Windows Mobile
         2) And where to place the DLL after builiding to make use of it in my C# project
    Thanks in Advance!!!
    Thanks & Regards,
    Sharan

    Hello all,
    I know this is an old thread but i have to give it a try ( i am stuck with an almost identical problem but cant solve it since 5 days googling and reading.
    I am developing an app for Unitech HT660e which has Win CE. THe app is complete but now i need some more control over the barcode scanner. In order to gain controll i need to use USI.dll which is explained in this documentation (chapter 2 has the link to
    the SDK which contains the USI.dll ) :
    http://www.datacol.co.nz/pdf/uni_prog-guide_1.21.pdf
    But i also get : Cant find PInvoke DLL 'USI.dll'.
    In chapter 4 is SysIOAPI.DLL mentioned which i cant fin.
    Chapter 17 has USICF.dll which may be interesting bcos this one can be added as reference and "using USICF" . I am using compact framework 3.5 for this and the emulator is "usa windows mobile 5.0 pocket pc r2 emulator". 
    Reading your post i noticed i can use the "Pocket PC 2003 SE Emulator" but it gives me the same error.
    Maybe i need to include a path in my code but i tried this as well...and get the same problem. Maybe i am missing something.
    Here is my code:
    using USICF;
    using System.Runtime.InteropServices;
    namespace SmartDeviceProjectzaDLLtesting
        public partial class Form1 : Form
            [DllImport("USI.dll", EntryPoint = "VibrationOn")]   //ignorethis?:,CallingConvention=CallingConvention.Winapi)]//Cdecl)]    //EntryPoint = "VibrationOn")]
            public static extern void VibrationOn(bool bEnable);
            public Form1()
                InitializeComponent();
            private void Form1_Load(object sender, EventArgs e)
               // USICF.USIClass usiba = new USICF.USIClass(this); // this gives an exception as well
               VibrationOn(true); // thiis causes the exception
     //           VibrationOn(false);

  • Best wireless security for mixed Mac OS X, Windows XP and Windows 2000

    While I am posting, I may as well ask this question too.
    It seems that WPA/WPA2 are only supported by Windows XP or later.
    But I also think I read somewhere that there are different flavours of WEP for Macs and Windows.
    For a home network based on AE, what is the best form of wireless security to handle 2 Macs (iMac and MacBook Pro), a Windows XP and a Windows 2000 notebook (all running wireless G).
    Thanks

    Thanks for the suggestion Michael - unfortunately software changes to the Win2k machine are not an option for me - it has been completely locked down by my corporate IT dept.
    So I think I am stuck with WEP. From scouring the Apple tech discussion posts it looks like a five letter ASCII or thirteen letter ASCII password in WEP are my only options, but I am not sure which of these is most appropriate for all 4 machines.

  • Known Issue: Setup warnings for Windows 10 SDK, Emulators for Windows Mobile, and Tools for Windows 10 Universal Apps (Windows 10 Insider Preview SDK and tools, April 2015 release)

    When you install Visual Studio 2015 when not connected to the internet, for example from an ISO, you may receive warnings after setup completes for Tools for Windows 10 Universal Apps, Windows 10 SDK, and Emulators for Windows Mobile. These warnings include:
    This product did not download successfully: The server did not return the file size.
    This product did not download successfully: Signature verification failed on downloaded file.
    This product did not download successfully: HTTP Status 502: The server….

    To fix this issue, your computer must be connected to the internet to download these components.
    Make sure your computer is connected to the internet.
    Open Control Panel, and select Programs and Features. 
    Select Microsoft Visual Studio 2015 RC, click Change, and then click
    Modify.
    Select the feature “Universal Windows App Development Tools”, and click
    Update.

  • Windows mobile and sync-engine

    I followed the wiki (http://wiki.archlinux.org/index.php/Syn … ows_mobile) but could not get my HTC Touch Diamond to sync, it connects and I can view the files, dirs and installed programs with synce-kpm, but it just does not want to do a sync (contacts, notes, etc.)
    So I read that sync-engine needs to be configured for such a sync to work and I followed the tutorial over here:
    http://www.synce.org/moin/SynceSetup/OpenSync
    I am now however stuck at trying to install all the plugins that is required:
    msynctool --listplugins
    Available plugins:
    According to the tutorial and according to what I have read on other forums you need to:
    If you don't see the above plugin in the output of msynctool, then download the [http://synce.svn.sf.net/svnroot/synce/trunk/sync-engine/plugins/synce-opensync-plugin-2x.py plugin] and copy this file to /usr/lib/opensync/python-plugins or /usr/lib64/opensync/python-plugins for x86-64. After that, when you rerun msynctool --listplugins you should see the synce-opensync-plugin in the output and you can continue with creating an opensync group.
    The required plugin is already in /usr/lib/python2.6/site-packages/plugins/synce-opensync-plugin-2x.py, so I just copied it to /usr/lib/opensync/python-plugins (there is no /usr/lib64 in Arch).
    Thing is it is still not recognised, I even tried the synce-install-plugins.py script with no luck.
    Can someone please tell me what I'm doing wrong here or where I should copy the files?

    A simple google search "windows mobile sip client" can give you some options, no idea how apps are delivered to windows mobile, if there's an equivalent to play store/app store, search for SIP
    http://www.voipvoip.com/windows-mobile/sip.html

  • Windows Mobile and syncing with Vista

    I just recently bought a new laptop (within the last week) with Vista as the operating system.  I also use Outlook 2007.  When I hook my phone up by the usb cable sometimes the computer acknowledges my phone and sometimes not.  However, when it does acknowledge it, it does not give me the option to set it up, only an option to sync music, photos and tv.  All I want to do is to sync to Outlook. 
    You can probably tell from my message that I am not very tech savvy but if someone can tell me what to do I can do it!  I have read the help menu in Vista backward and forward but still have no idea how to get my phone to sync.  Someone please help me before I lose my mind!  Is there anything that I have to download to be able to sync?  I realize that activesync no longer is needed on Vista but I am unable to tell whether I have to download the Windows Mobility Device Center or if it is already in Vista.  I cannot find anything that looks like the WMDC is supposed to look like on my computer and like I said, I am not offered the option of setting up my device. 
    HELP!!!!!!!!!!!!!!!!!!!!
    Post relates to: Treo 700wx (Alltel)

    Ok one way to make sure and see if WMDC is install is to go into your control panel and open the programs and features. And look for the windows mobile device center. If it is listed then it is installed if not (which I think is the case) then you would need to go to here to install it http://www.microsoft.com/windowsmobile/en-us/help/synchronize/device-center.mspx
    once installed you should get the setup option.
    Let me know if any of this does not work
    Post relates to: Palm Z22

  • Authentication for easy vpn users using windows ad and xauth on pix firewa

    Hii
    We need to authenticate the VPN client users from windows as pix as the network device where all vpn configuration done
    Need the accounting for those vpn users.
    Thanks
    Manish GaurPlease guide me

    Manish,
    Which version of the pix os are you running 6.x.x or 7.x.x. If your using 6 your have to use radius. Follow this guide for radius:
    http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a00800b6099.shtml
    For the actual pix configuration its easiest to run through the vpn wizard in PDM (PIX Device Manager)
    The radius guide should work for 7.0 if you run the ADSM Wizard for the vpn portion.
    Patrick
    Please rate any posts that are helpful.

  • HT5219 What are the external monitor requirements that can support having two windows email and safari open side by side?

    I have a 27" iMac at home that supports this but would like to see if I can enable my Macbook air to do the same thing.  I want to find out if this capability can be supported with my Macbook air and if so what are the monitor requirements.

    Usually two causes of that, the first being the windows dpi scaling (most common cause) and the second being your graphics card driver needs to be updated.
    Try playing with the windows dpi settings
    Right click on your Desktop and select Screen Resolution
    Then in the screen that comes up, click on Make Text or Other Items Larger or Smaller
    Then move the slider under Change the Size of All Items to Smaller and restart windows 8
    Also, you can try clicking on Let me choose one scaling level for all my displays, then click on Custom sizing options and drag on the rulers to set 149% and see if that is any better.

  • Minimum implementation for SMTP-ESMTP clients

    Hi,
    if I want to develop a Mail client I can use SMTP/ESMTP. I read already some of the RFC-Specs, but I cannot find an advice for the minimum implementation for a client - just for servers.
    Is the minimum number of commands the same as for the servers (7 commands for SMTP and 9 commands for ESMTP) ?
    Thanks for any help.
    BR

    Simple config...
    rserver host EXCHANGE001
      ip address 10.2.3.101
      probe PING_EXCHANGE
      inservice
    rserver host EXCHANGE002
      ip address 10.2.3.102
      probe PING_EXCHANGE
    rserver host EXCHANGE003
      ip address 10.2.3.103
      probe PING_EXCHANGE
    rserver host EXCHANGE004
      ip address 10.2.3.104
      probe PING_EXCHANGE
    serverfarm host EXCHANGE
      description EXCHANGE SERVERS
      predictor hash address
      probe PR-EXCHANGE-HTTPS
      rserver EXCHANGE001
        inservice
      rserver EXCHANGE002
      rserver EXCHANGE003
      rserver EXCHANGE004
    class-map match-all EXCHANGE-VIP
      10 match virtual-address 10.2.3.100 tcp any
    sticky ip-netmask 255.255.255.255 address both EXCHANGE-STICKY
      timeout 20
      replicate sticky
      serverfarm EXCHANGE
    policy-map type loadbalance first-match EXCHANGE-VIP
      class class-default
        sticky-serverfarm EXCHANGE-STICKY
    policy-map multi-match EXCHANGE_POL
      class EXCHANGE-VIP
        loadbalance vip inservice
        loadbalance policy EXCHANGE-VIP
        loadbalance vip icmp-reply
    NB: Only rsever EXCHANGE001 is active in the serverfarm.

  • JSR 135 (mmapi) Implementation for Pocket PC

    Hello,
    I�m looking for the Mobile Multimedia API implementation for a Pocket PC with Windows Mobile 2005, but I can�t find anything.
    Does this implementation exist?
    Thanks.

    Hi Teodalo,
    I have many problems, for example capture audio/video using j2me and transmit captured data via IP (RTP or UDP).
    Someone says he has successful play audio/video using JMF (cross platform) AND J9 VM, but I am not successful on work JMF on the IBM J9.
    all that on Pocket PC 2003.
    Have you any Idea ?
    tnx
    sn

  • Can we install a KVM or CVM for windows mobile/Palm?

    Hello friends,
    I am porting applications developed in CLDC and MIDP to windows Mobile and Palm Devices,
    Since many of these devices doesnot come with a JVM, is it possible for install KVM for all the devices even for devices which are capable of having a CVM?
    Please guide me in this regard.
    Thanks,
    Sumanth

    Hi,
    Yes it is!
    Have a look at: http://ovenordstrom.blogspot.com/2007/01/developers-have-got-power.html

  • Known Issue: Emulators for Windows Mobile 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294

    Some users are receiving the following errors after Visual Studio setup completes
    Emulators for Windows Mobile 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294
    Windows 10 SDK 10.0.10069 : The installer failed. User cancelled
    installation. Error code: -2147023294

    We've fixed this issue, and have released an update as of 7PM PDT 30 April 2015.
    New installs of Visual Studio 2015 RC should expect to no longer encounter this problem, unless
    you lose your internet connection during installation. (That is, this error now indicates that the Windows SDK or Windows Emulator setup invoked by Visual Studio setup has lost internet connectivity and cannot download necessary files.)
    To fix the issue, re-run setup and select the features "Universal Windows App Development Tools" and/or "Emulators for Windows Mobile" again.
    If you have already installed Visual Studio and encountered this problem, you can now modify your Visual Studio installation to successfully install.
    Go to Program & Features, select Visual Studio 2015 RC, and select Change. Click
    Modify, then select the features "Universal Windows App Development Tools" and/or "Emulators for Windows Mobile", and click
    Update.
    Note that "Universal Windows App Development Tools" will be already selected. This is expected. Keep it selected, and click
    Update.
    An alternate solution is to install the Windows 10 SDK and Windows Emulators separately. Go to
    https://dev.windows.com/downloads/windows-10-developer-tools. Scroll to the bottom of the page and install
    the Windows 10 SDK and Windows 10 emulators outside of Visual Studio setup.
    Thanks!
    -Paul

  • Where do I find Windows Media and Quicktime player I need them for online classes

    For Angel learning I need windows Media and QuickTime player for the site to work properly. I had both add-ons in my earlier version of Firefox but they didn't carry over into Firefox 4 I'm disappointed in this version the look sucks and the pop-up blocker menu doesn't work.

    Go to the following page:
    [[http://windows.microsoft.com/en-US/windows/downloads/windows-media-player]]
    That's the download page for WMP. Use WMP 10.

Maybe you are looking for

  • My iPod touch 4th Gen won't turn on!

    So I had something stuck in the headphone jack, and i got it out with a bit of prodding from a pin. Now, when i try to turn on my iPod touch, the screen remains black. When I plug it in, the apple logo will appear for about 3 seconds and then the scr

  • Is it possible to get a copy of an old bill

    My new employer has requested I prove all my addresses for the past 5 years. As I was in student halls this is difficult as the only utility bill I paid was BT. Is it possible for BT to send out a copy of an old bill from a closed account? I (or rath

  • I book doesnt work with power cord only

    Hello. I was just using my ibook g4 and shut it down. When i tried to turn it back on it worked for about 5 minutes then it shut off. I tried taking out the battery and holding down the power button for 5 seconds among other things. I gave up and bor

  • Is it possible to add pages from a different template

    than the one one chose to work in? Juan Carlos

  • Mobile me to iweb import problems.

    A year ago I created a family history album on iweb and published it. Now I cannot edit it or see the pages in iweb. They are only viewable in mobile me. How can I import the pages to iweb so I can edit them. The site contains a lot of family images