Skip to content

Mobile

General Discussions on Mobile related development. For Android specific development please see the Android forum

This category can be followed from the open social web via the handle mobile@forum.codeproject.com

3.8k Topics 8.1k Posts
  • palm game programmers

    c++ com game-dev tools question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • string class in STL for eMbedded Visual C++..help

    c++ question html com hardware
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • STL for eMbedded Visual C++ - Windows CE usage

    c++ html com hardware help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How can i use Createpen ?

    question help
    8
    0 Votes
    8 Posts
    0 Views
    M
    Although,There is no way to do this,I still thx for ur answer ><"
  • C# Transparent Controls

    csharp learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • porting embedded linux

    linux hardware tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Wizard Dialog again

    question
    8
    0 Votes
    8 Posts
    0 Views
    J
    :-O
  • &quot;szAutoDialFunc&quot; in RASENTRY supported in PPC???

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Dialog BOx Question

    question
    3
    0 Votes
    3 Posts
    0 Views
    D
    I do it the following way: ... class CConnMsgDlg : public CDialog { ... // Implementation protected: // Generated message map functions //{{AFX_MSG(CConnMsgDlg) virtual BOOL OnInitDialog(); ... //}}AFX_MSG afx_msg LRESULT OnEnd(WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() ... private: static const UINT MY_WM_END; }; ... ///////////////////////////////////////////////////////////////////////////// // Message table const UINT CConnMsgDlg::MY_WM_END = RegisterWindowMessage(_T("MY_WM_END-{29813B84-DD1E-11d7-9B13-0002B32C4875}")); BEGIN_MESSAGE_MAP(CConnMsgDlg, CDialog) //{{AFX_MSG_MAP(CConnMsgDlg) ... //}}AFX_MSG_MAP ON_REGISTERED_MESSAGE(MY_WM_END, OnEnd) END_MESSAGE_MAP() BOOL CConnMsgDlg::OnInitDialog() { CDialog::OnInitDialog(); // TODO: Add extra initialization here // Create the thread and start it return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } LRESULT CConnMsgDlg::OnEnd(WPARAM wParam, LPARAM lParam) { EndDialog(wParam); return 0L; } void CConnMsgDlg::ThreadFnc() { ... PostMessage(MY\_WM\_END, IDOK); // destroy the dialog } I have a dialog that starts a thread in the 'OnInitDialog' function. The thread reads some data from the serial port. This can take a long time, so I do it in a own thread. When the thread is ready it post the message 'MY_WM_END', that I have registered in the message map. The 'OnEnd' function closes the dialog with 'EndDialog'. Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)
  • 3d App under WindowsCE

    graphics game-dev performance question
    2
    0 Votes
    2 Posts
    0 Views
    D
    Take a look at the following links: Programming DieselEngine 2. Using Diesel3D GAPI Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)
  • Incomming call problem

    question linux help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Shockwave Flash

    help adobe
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to control the backlight on/off or adjust the brightness

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    D
    I don't recall there being a standard way, because backlight is Pocket PC depended. Different Pocket PC devices need different code to control backlight and for most of them this code is undocumented. Your device's manufacturer may have an SDK that you can use to set the backlight. Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)
  • GPS

    question
    3
    0 Votes
    3 Posts
    0 Views
    D
    Take a look at the following links: Pocket GPS GpsTools .NET Migrating a GPS App from the Desktop to eMbedded Visual Basic 3.0 Tales of a GPS Demo ... Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)
  • Uploading data to emulator?

    csharp question
    2
    0 Votes
    2 Posts
    0 Views
    D
    You can map a drive to a network share on the host PC from within the emulator; just open File Explorer on the emulated device and map it from there.
  • Symbian DMA

    com game-dev help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • fingerprint reader

    json help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Testing mobile web form

    sysadmin testing beta-testing question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • sql CE

    database csharp question visual-studio design
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • problem with fscanf in Pocket PC

    question c++ performance help
    4
    0 Votes
    4 Posts
    0 Views
    D
    Try this: for (k=0;k<256;k++) { for (l=0;l<12;l++) { long* pl = melCdb->vq[k]; fscanf(fmel,"%ld",&pl[l]); } } Don't forget to use %ld in the fscanf function, because this are the right syntax for a long. -- Cheers, Daniel ;)