Quantcast
Channel: Site Root
Viewing all 6557 articles
Browse latest View live

Forum Post: EP10 add camera resolution

$
0
0

Hi,

I'm developing a mobile application for a Psion EP10 device with C# on framework 3.5. I use camera applet in Pictures or Videos in my application. I’ve tried to add one more resolution for camera, but without success. When I added resolution in Software\Microsoft\Pictures\Camera\OEM\PictureResolution it didn’t apear in list of available resolutions (in camera applet in Pictures or Videos), even I increased numOptionNum. What I should do to add one more resolution for camera applet in Pictures or Videos?


Forum Post: RE: The Pub

$
0
0

I'm with you John... I thought it was originally a good idea too. 

I think people may have shied away from posting here as its under the company umbrella (and a new one at that), and you never really know what may or may not be offensive to the new owners.

When it was just our little merry band, I think we had a better feel for what to post.

We should try to keep this alive, if only to keep I.W. going....

 

 

Forum Post: RE: Keyboard mapping - change scan button to tab

Forum Post: RE: Need Omnii CE6 1.3.10161.img

$
0
0

Hi ,

I would advise you to contact your local Help Desk to provide you with that particular firmware. We provide older firmware to the customers that have service and support agreement through local help desks.We also provide them to out Value added resellers assuming that they are going to use them only for their customers and not distribute them.

You can also request this software via email support to the local help desk.

 

Kind regards,

Lana

Help Desk

Forum Post: Very long repair times for iKon

$
0
0

Hi,

Just wondered if anyone else is having trouble with repairs for the iKon in EMEA? We have a 3 day SLA contract but we have units in repair for 40 days+. Sad

File: JNI 101 - Bluetooth Helper

$
0
0

Overview

The attached demo solution embeds a JNI, which wraps the below listed Microsoft Bluetooth functions / APIs to sense and set the Bluetooth radio power state:


--

As explained below, putting together such JNI was not overly complex.

1)  First of all, I created the below Java class

BluetoothHelperJNI.java

class BluetoothHelperJNI
{
  public static final int BTH_POWER_OFF = 0;
  public static final int BTH_CONNECTABLE = 1;
  public static final int BTH_DISCOVERABLE = 2;

  public native int BthGetMode(int[] pdwMode);
  public native int BthSetMode(int dwMode);

  static
  {
    System.loadLibrary("BluetoothHelperJNI");
  }
}

which I compiled as follows:

"C:\Program Files\Java\j2sdk1.4.2_19\bin\javac.exe" BluetoothHelperJNI.java

 

2)  I then executed the below javah command to generate a  C header file from the BluetoothHelperJNI class

"C:\Program Files\Java\j2sdk1.4.2_19\bin\javah" -jni -classpath "%CD%" BluetoothHelperJNI

The newly created C header file read as follows:

BluetoothHelperJNI.h

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class BluetoothHelperJNI */

#ifndef _Included_BluetoothHelperJNI
#define _Included_BluetoothHelperJNI
#ifdef __cplusplus
extern "C" {
#endif
#undef BluetoothHelperJNI_BTH_POWER_OFF
#define BluetoothHelperJNI_BTH_POWER_OFF 0L
#undef BluetoothHelperJNI_BTH_CONNECTABLE
#define BluetoothHelperJNI_BTH_CONNECTABLE 1L
#undef BluetoothHelperJNI_BTH_DISCOVERABLE
#define BluetoothHelperJNI_BTH_DISCOVERABLE 2L

/*
* Class:     BluetoothHelperJNI
* Method:    BthGetMode
* Signature: ([I)I
*/
JNIEXPORT jint JNICALL Java_BluetoothHelperJNI_BthGetMode
  (JNIEnv *, jobject, jintArray);

/*
* Class:     BluetoothHelperJNI
* Method:    BthSetMode
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_BluetoothHelperJNI_BthSetMode
  (JNIEnv *, jobject, jint);

#ifdef __cplusplus
}
#endif
#endif

 

3) I then created the attached VS2008 C++ project to build the BluetoothHelperJNI.dll.


As you will read, this DLL exports two functions to wrap the above mentioned Microsoft Bluetooth functions / APIs to sense and set the Bluetooth radio power state.

BluetoothHelperJNI.cpp

#include <windows.h>
#include <bthutil.h>
#include <jni.h>

#include "..\BluetoothHelper.h"   // this header file was generated by javah

#pragma comment(lib, "Bthutil.lib")

JNIEXPORT jint JNICALL Java_BluetoothHelperJNI_BthGetMode(JNIEnv *env, jobject obj, jintArray ptr)
{
      jsize len = env->GetArrayLength(ptr);
      if (len == 0)
            return ERROR_BAD_ARGUMENTS;

      DWORD dwMode = 0;
      DWORD dwRet = BthGetMode(&dwMode);
      if (dwRet == ERROR_SUCCESS)
      {
            jint *mode = (jint*)&dwMode;
            env->SetIntArrayRegion(ptr, 0, 1, mode);
      }
      return dwRet;
}

JNIEXPORT jint JNICALL Java_BluetoothHelperJNI_BthSetMode(JNIEnv *env, jobject obj, jint dwMode)
{
      return BthSetMode((DWORD)dwMode);
}

 

4) Next, I created the following Java program to conduct tests and verify the JNI does the trick

SenseSetBluetoothPowerState.java

class SenseSetBluetoothPowerState
{
     public static void main(String[] args)
     {

           System.out.print("[+] main\n");
           BluetoothHelperJNI bt = new BluetoothHelperJNI();

           int[] iArray = new int[1];
           iArray[0] = bt.BTH_POWER_OFF;

           int dwRet = bt.BthGetMode(iArray);
           if (dwRet != 0)
           {
                System.out.print("BthGetMode() failed with " + dwRet + "\n");
                return;
           }

           System.out.print("Power mode currently set to " + iArray[0] + "\n");

           int dwMode = bt.BTH_POWER_OFF;
           if (iArray[0] == bt.BTH_POWER_OFF)
                dwMode = bt.BTH_DISCOVERABLE;

           dwRet = bt.BthSetMode(dwMode);
           if (dwRet != 0)
           {
                System.out.print("BthSetMode(" + dwMode + ") failed with "
                + dwRet + "\n");

                return;
           }

           System.out.print("BthSetMode(" + dwMode + ") returns " + dwRet + "\n");
           System.out.print("[-] main\n");
     }
}

which I compiled and archived (along with the BluetoothHelperJNI class) as follows:

"C:\Program Files\Java\j2sdk1.4.2_19\bin\javac.exe" -classpath "%CD%" SenseSetBluetoothPowerState.java
"C:\Program Files\Java\j2sdk1.4.2_19\bin\jar.exe" cmf SenseSetBluetoothPowerState.mf SenseSetBluetoothPowerState.jar *.class

 

5)   Finally, I executed [1] this java test program against a Workabout Pro Windows Mobile 6.1 device [2] and got:



[1] See the Test BluetoothHelperJNI .cpp file embedded in the attachment for more details.
[2] The CrEme JVM v4.12 was previously installed on this device.

--

& Powering on the Bluetooth radio may take few seconds.

--

Ref: Case 218422

Forum Post: Need Omnii XT15 image

$
0
0

Hi,

I need Omnii XT15 4.0.29702.image.

May i know where i can get one as the Teknet only shhows the latest.

Forum Post: RE: EP10 add camera resolution

$
0
0

Are you using DirectShow or ICS to control the camera? 

When you say 'add more resolution' to the camera, do you mean find another resolution?  Or, add a new one?  You can't add a new resolution to the camera:  it supports a particular range of resolutions, and that's it.


Forum Post: RE: EP10 add camera resolution

$
0
0

Thank you, it’s exactly what I tried to do. I use CameraCaptureDialog in my application and I thought I could add new resolution in Registry.

Forum Post: RE: Need Omnii XT15 image

$
0
0

Hello Alex 

Only the current recommended build is posted, if you had a need for an alternate version please contact your Regional Technical Help Desk

Regards

David

Forum Post: RE: Downloading backup into 'new' psion...

Forum Post: RE: Programically shut down scanner

$
0
0

It is potentially possible.  It would depend on the Telnet client you are using and emulation type you are using.  There is no "standard" way to disable the scanner but the client may support a proprietary command to do what you want.

Forum Post: RE: EP10 with Star Mictronics Printer

$
0
0

Good afternoon Ignacio,

You will find several Bluetooth samples and posts/articles on this community portal.
For example,

  • click this link to list the existing posts/articles
  • click this link to list the existing samples

I do hope this helps.

Kind regards,
Jacques 

Forum Post: RE: Downloading backup into 'new' psion...

$
0
0
Worked like a dream, I'm now fully 'restored'. Many thanks for your help with this.

Forum Post: RE: Downloading backup into 'new' psion...


Forum Post: RE: Programically shut down scanner

$
0
0
It is potentially possible.  It would depend on the Telnet client you are using and emulation type you are using.  There is no "standard" way to disable the scanner but the client may support a proprietary command to do what you want.

Forum Post: EP10 with Star Mictronics Printer

$
0
0
Hi, I have an EP10 and want to print with the Star Mictronics SM-S200 Bluetooth Printer.  Do you have any sample code to star with and dependency files to use? Thanks for your help

Forum Post: RE: EP10 with Star Mictronics Printer

$
0
0
Good afternoon Ignacio, You will find several Bluetooth samples and posts/articles on this community portal. For example, click this link to list the existing posts/articles click this link to list the existing samples I do hope this helps. Kind regards, Jacques 

Forum Post: OMNI XT15 - which sdk

$
0
0
I have device OMNI XT15.  System Properties retunt follow information: Scanner Firmware: NBRZMABF Scanner: Symbol 1524 ER Multi Image Version: 8.0.38540.0 I can not found who sdk use to control barcode scanner on this device. 

Blog Post: Motorola Solutions - New Enterprise Service & Support Portal Available May 12, 2014

$
0
0
TekNet & IngenuityWorking users will receive an email in English with their new MSI Enterprise Support Portal link and log on credentials. The content of this communication has also been translated into 5 different languages if needed (French, Spanish, Dutch, Italian and German) and posted here. Motorola Solutions RMA Portal - May 12 Communication - DUTCH Motorola Solutions RMA Portal - May 12 Communication - FRENCH Motorola Solutions RMA Portal - May 12 Communication - GERMAN Motorola Solutions RMA Portal - May 12 Communication - ITALIAN Motorola Solutions RMA Portal - May 12 Communication - SPANISH Note: Users will need to refer to their English version communication that was been emailed to tem for their specific MSI Enterprise Support Portal link and log on credentials.
Viewing all 6557 articles
Browse latest View live