Native Windows mobile code for SUP 2.0

Hi,
i am new to windows mobile coding. As told in the sybase devlopment guide when i set and do a LoginToSync(username,password); i get an error Sunchronisation exception was unhandled in customerDB.cs file generated by Sybase.
Am i missing something.?
iAnywhere.Data.UltraLite.ULException: SQLE_INVALID_LOGON
   at iAnywhere.Data.UltraLite.ULConnection.RuntimeError(IntPtr natKey, ULSQLCode code, Object p0, Object p1, Object p2)
   at iAnywhere.Data.UltraLite.ULConnection.RuntimeError(ULSQLCode code)
   at iAnywhere.Data.UltraLite.ULConnection.Synchronize()
   at com.sybase.afx.db.ConnectionUtil.Synchronize(ConnectionWrapper dbConn, SyncStatusListener listener, Connection connection, String[] mboNames, Hashtable tableMBOMap)
   at com.sybase.afx.db.ConnectionUtil.Synchronize(ConnectionWrapper dbConn)
   at cust.CustDB.Synchronize(String synchronizationGroup, SyncStatusListener listener)
   at cust.CustDB.InitialSync()
   at cust.CustDB.LoginToSync(String username, String password)
   at SmartDeviceProject4.Form1..ctor()
   at SmartDeviceProject4.Program.Main()
do we have any sample code so that i can get an idea of how to do it.
Regards,
Vivek

Hi all,
Appneding the code i used in the constructor of the first form.
InitializeComponent();
            ConnectionProfile profile=CustDB.GetSynchronizationProfile();
            profile.ServerName = "ip-addr/system name";
            profile.PortNumber = 2480;
           profile.Save();
            MyCallbackHandler callback = new MyCallbackHandler();
            CustDB.LoginToSync("supAdmin", "s3pAdmin");
            CustDB.Subscribe();
I am trying to get data from backend and display it on a list int this screen.
Regards,
Vivek

Similar Messages

  • Oracle Barcode and Windows Mobile 2003 for Pocket PC

    I have the following for the system of Barcode
    Pocket PC Symbol (MCG9000) MC9060 con Windows Mobile 2003
    Printer ZEBRA Z4M
    Access Point DWL-2100AP 802.11g/2.4GHz Wireles (D-LINK)
    Please I need the following:
    That I need software to develop the program for the reading of the barcode?.
    I Want develop in order to that it be executed in the Internet Exporer of the Windows Mobile 2003 and updating the data base Oracle online 10g.

    Internet Explorer on the Windows Mobile 2003 is not supported as an interface to Oracle Lite.
    You would need to use .Net(C#,C++, Visual Basice) or develop with a native CE development environment.
    You can also develop with java on the CE device.
    Internet Explorer is supported on a Win32 device with a component call Web Development(formerly Web-to-Go)
    Regards...

  • I need the code for creating popup windows and code for open and close

    I can write the code for creating popup window , i am getting problem while trying to open and closing that popup windows.
    Can anybody help me in that pls ?
    Regards
    Sreeni.

    Hi
    For pop up window
    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    window.setWindowPosition (300, 150);
    window.show();
    wdContext.currentYourNodeElement().setPopupAttribute(window);
    For closing window code
    IWDWindow window = wdContext.currentYourNodeElement().getPopupAttribute();
    window.hide();
    window.destroyInstance();
    For more infornation refer this link
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true
    This link is very useful for you.
    Regards
    Ruturaj
    Edited by: Ruturaj Inamdar on Aug 13, 2009 9:10 AM

  • Is new Windows Mobile VM for Java ME in new SDK 3.0 for common users?

    Hi,
    There are bunch of buggy VMs for WM Platform such as Esmertec JBED, Esmertec JBLEND, IBM J9 etc. They have lot of bugs and they don't support neccessary JSRs. Now I have read about Windows Mobile integration in new SDK 3.0 EA for Java ME - I undestand that there is a new VM for WM from Sun, is that right? But when I installed CAB version, it seams it is just for on-device debugging with connected Wireless Toolkit on PC. I can't launch midlets located in my WM device on it. Is there also VM for common users? So they could install virtual machine and then install their midlets? I think many developers and users would apreciate it. Or is it at least in plan to release such VM?

    Jackson_Bill wrote:
    What IDE are you using and what platform?Read first.
    Moh Bob wrote:
    I'm using J2ME platform SDK 3.0
    db

  • Windows Mobile 6 for Palm Treo 700wx (Verizon)

    I'm sorry if this is similar to other posts, but I didn't find any I was looking for specifically.
    Up until Christmas Eve I had a Palm Treo 700wx from Verizon with WM5 on it update 1.22.  On Christmas Eve my phone pretty much became useless.  Verizon tech support could not resolve the problem so they sent me to a Verizon store to get a replacement.  This phone now has WM6 (I use this term loosely I'll explain later) update 1.24.
    Ok, so great WM6 I think.  Need to learn new stuff some things are in different places and some stuff is just plain different and new GREAT!!!  Then while surfing the web to get myself knowledgeable in the ways of WM6 I start finding myself to become very very disappointed.  I find that most of the joys of WM6 are missing.  Yeah great I think where are they.  I see talk of a Task Manager that actually looks like the Windows XP Task Manager (I can't find this on my phone).  I hear talk of these neat things called plug-ins (anyone know where they are?)...  I hear this thing about My Desktop ummm is that supposed to have replaced the Today Screen, because I can't find that on my phone.  It seems to me that Palm has rolled out a bastardized version of WM5/WM6 and labeled it as WM6 this is quite disappointing.
    Can anyone tell me how to get on my phone what is seen is this video link: http://video.msn.com/video.aspx?mkt=en-us&vid=44589ab6-7674-4730-8fb0-ea730631fd77 this is supposed to be a video from Microsoft highlighting the features of WM6 with Microsoft engineers doing the highlighting.  But I can't find half of this stuff on my Palm phone.
    Post relates to: Treo 700wx (Verizon)

    Hello slvrmoontiger and welcome to the Palm forums.
    The guys in the video are talking about Windows Mobile 6.1.  Your Treo 700wx now has Windows Mobile 6.0, the same as the Treo 750.  The featutes of Windows Mobile 6.1 are not available in the 6.0 Professional release.
    Alan G
    Post relates to: Treo 755p (Sprint)

  • Licence code for apple instead of windows

    Hello
    I am pretty new here and I have a problem with my license code of new computer for lightroom.
    Can I still use my "windows" lightroom code for my new apple computer or do I have to buy a new license?
    Best regards
    Wolfgang

    Wolfgang,
    There is no activation process for LR.  It is on the honor system.  So there is nothing to cancel.  Have you ever had an earlier version of LR?  As far as I know the only reasons why a license code will not work is if it is entered incorrectly (i.e. transferred numbers incorrectly), used a purchase code rather than a license code (usually a different number of digits), the license code is for the wrong version, or using an upgrade code (cheaper price) instead of an original code.
    Double check your license code.  Where did you get the code that you are trying to use?  Is it possible you used an earlier version code from a saved email or saved disk?  Did you go to the saved location on your Windows machine to get the code?
    John

  • Sync with windows mobile

    how can I sync my macbook with windows mobile?

    For a Windows Phone 7 you can use this http://itunes.apple.com/us/app/windows-phone-7-connector/id415571499?mt=12
    For an 'older' Windows phone 6 this http://www.markspace.com/products/windowsmobile/mac/windows-mobile-sync-software .html
    Stefan

  • Timp Capsule, will it allow PSP, Windows Mobile Wifi and others....

    Recent Mac convert, I got a iMac for Xmas gone, very very happy.
    Im maybe in the market for a NAS and a new router (N, may as well go best speed can), I was looing at getting the buffalo Linkstation, and a Belkin 'N' router, but then read about Time CApsule, which will basically be the same price. A few questions if I may
    1) Will I be able to use the Time Capsule, for a WiFi internet connections on all devices, ie non Apple eg Sony PSP for WiFi game playing over internet, Windows Mobile PDAs for web browsing?
    2) Can I use it as a normal NAS drive for Winodws XP machines and as a Time CApsule for my iMac for Time Machine
    3)Can I use it for XBMC streaming froma Xbox 1?
    cheers

    Thanks for reply.
    Sinc you hve one can you help a little more.
    So PSP you can play games over the internet no problems using TC?
    XBMC is on my Xbox 1 (not 360) and is Xbox Media Centre, basically a media centre lke Windows Media Centre, I belive it uses SAMBA to stream stuff, so my question is (also for Windows PCs) can they connect and stream from a TC NAS drive?
    So have you got movies for example on your TC, will it stream them to your PS3 ok? (this should work for my Xbox 360 then?)
    Can you access the TC NAS drive from over the internet? eg if you were at a friends, is there a possibility to connect (FTP or otherwise) to your TC, to get some files?
    cheers

  • Guide for creating native mobile applications in windows mobile?

    could someone suggest me or provide a guide to create native applications sup windows mobile?

    Hi Carlos,
    If you are referring to SMP 3, Odata SDK is not supported for Windows (windows support is planned for future). Still you can develop Windows apps using REST APIs. Ex. SyBooks Online.
    REST API is available from SUP version 2.2. If you follow REST API approach for development of windows apps in older SMP versions it will be easy to migrate to SMP 3. More info:SUP/SMP 2.x vs. SMP 3.0 - Migration effort
    Regards,
    Midhun VP

  • Emulators for windows mobile 10.0.10069 : the installer failed. fatal error during installation. error code: -2147023293

    I am using win 10 home insider preview, build 10074.  When I am trying to install VS 2015 community RC, selected Universal Windows App, it failed at
    emulators for windows mobile 10.0.10069 : the installer failed. fatal error during installation. error code: -2147023293
    VS file version is 14.0.5596.25192

    Hello EL_1980,
    The error -2147023293 translated to Hex is:FFFFFFFF80070643
    0x80070643 is a general error here so it is hard for us to troubleshoot. Please try download the ISO format of Visual Studio 2015 Community so that you can use the fciv.exe tool to verify the hash value. All info are listed on the VS2015 download page:
    https://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs.aspx
    Please click first "Visual Studio 2015" tap below image.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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

  • Communication error in login function in windows mobile in sup 2.0

    hello experts,
    i have developed sample application using sup 2.0
    the application works fine for windows
    I am using windows xp sp3
    i refer all the dll required for the application
    i also configure Active sync 4.5 and Virtual machine 2007 SP1 for windows mobile 6.0 professional emulator
    but when i create application for windows mobile
    it throw error at
    LoginToSync("supAdmin","s3pAdmin");
    as
    iAnywhere.Data.UltraLite.ULException: Communication error
       at iAnywhere.Data.UltraLite.ULConnection.RuntimeError(IntPtr natKey, ULSQLCode code, Object p0, Object p1, Object p2)
       at iAnywhere.Data.UltraLite.ULConnection.RuntimeError(ULSQLCode code)
       at iAnywhere.Data.UltraLite.ULConnection.Synchronize()
       at com.sybase.afx.db.ConnectionUtil.Synchronize(ConnectionWrapper dbConn, SyncStatusListener listener, Connection connection, String[] mboNames, Hashtable tableMBOMap)
       at com.sybase.afx.db.ConnectionUtil.Synchronize(ConnectionWrapper dbConn)
       at TestMobile.TestMobileDB.Synchronize(String synchronizationGroup, SyncStatusListener listener)
       at TestMobile.TestMobileDB.InitialSync()
       at TestMobile.TestMobileDB.LoginToSync(String username, String password)
       at SMATestMobile.Form1.btnContact_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.ButtonBase.WnProc(WM wm, Int32 wParam, Int32 lParam)
       at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
       at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
       at System.Windows.Forms.Application.Run(Form fm)
       at SMATestMobile.Program.Main()
    Details:
    StreamErrorCode =SOCKET_CONNECT
    StreamErrorSystem = 10060
    StreamErrorParameters =
    Regards,
    Rahul

    change the ActiveSync connection setting to accept DMA connection at the following:
    ActiveSync menu -> connection setting -> tick allow connections to one of the following: -> choose DMA
    Visual studio emulator will connected to the activesync when cradle and you should able to sync the database.
    Try it out.
    Best Regards
    Choong

  • I need Native Code for my code

    can anyone tell me native code for my method ..
    BOOL CALLBACK DetectProcesses(HWND hwnd, LPARAM lParam)
         char str[60] ;
         ::GetWindowText(hwnd, str, 60) ;
         CListBox listbox = (CListBox )lParam ;
         if( str[0] != 0 )
              listbox->AddString( str ) ;
         return true ;
    BOOL CAllProcessesDlg::OnInitDialog()
         CDialog::OnInitDialog();
         // Add "About..." menu item to system menu.
         // IDM_ABOUTBOX must be in the system command range.
         ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
         ASSERT(IDM_ABOUTBOX < 0xF000);
         CMenu* pSysMenu = GetSystemMenu(FALSE);
         if (pSysMenu != NULL)
              CString strAboutMenu;
              strAboutMenu.LoadString(IDS_ABOUTBOX);
              if (!strAboutMenu.IsEmpty())
                   pSysMenu->AppendMenu(MF_SEPARATOR);
                   pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
         // Set the icon for this dialog. The framework does this automatically
         // when the application's main window is not a dialog
         SetIcon(m_hIcon, TRUE);               // Set big icon
         SetIcon(m_hIcon, FALSE);          // Set small icon
         LPARAM lp = (LPARAM)&m_process ;
         ::EnumWindows(DetectProcesses, lp) ;
         return TRUE; // return TRUE unless you set the focus to a control
    }

    can anyone tell me native code for my method ..native code for your method

  • 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);

  • How to compile a java file in J9 for windows mobile 5.0

    I have downloaded J9 for windows mobile 5.0 and need help on how to compile a java file.

    You can compile your source code using J2SE ;)
    may be this is important for you:
    http://awareness.ics.uci.edu/~rsilvafi/pocketPC/index.
    html
    Regards!!!Actually i am using some eSWT related classes also.. so is there any way to compile from the J9 environment using J9 console..

Maybe you are looking for

  • Reg.Stock report

    Dear Experts We want report like MB5B in ALV report. We want the following Sale order number,PO number,stock qty in between date (eg 01.04.2007 to 30.09.2008). Pls help .. Thanks Rajakumar.K

  • Calendar list view 7.1.2

    What happened to Calendar List view in 7.1.2.   I used to be able to get List View for ALL dates.   Now I can only get it for ONE DAY!  I believe list view worked correctly (i.e. list all days on FULL SCREEN) in 7.1.1.  Only since last update (to 7.1

  • EAP-TLS or PEAP authentication failed due to unknown CA certificate during SSL handshake

    Hi All ,              I am trying to test EAP_TLS authentication on acs 4.2.1.15 running on Appliance 1120 , I have installed my server certficate along with CA certficate on my appliance box , I have enabled features of  EAP_TLS under golbal authent

  • FireFox Sync No longer shows at the bottom of the screen, just in tools

    Foxfire Sync dose not show at the bottom of the page == This happened == Every time Firefox opened == 1.4

  • SCRIPTED INSTALL of Windows XP on a Mac - possible?

    Hi everyone. I've been tasked with getting our standard Windows build onto our new lab Macintosh's (for dual booting between Windows and Mac OS). Normally we would reload from a floppy image which connects over the network to the folder containing th