device

C# Smart Device Input Panel hiding Controls

Hi, I have a SmartDevice application (C# .net 3.5) that using a scrolling panel (AutoScroll property is set to true) that shows a vertical scroll bar. When a user taps into a textbox the on focus event calls the Input Panel and resizes the scrolling panel. The problem is that the textbox may be hidden by the Input Panel. Is there a w...

How to architecture, design a RESTful device controller?

Hi all, we are planning to develop a device controller for a banking machine. This controller would be embedded directly on the machine, the idea is to use an off the shelf ARM board with Linux for this. We would like to provide the API as a RESTful Web Service. Probably we would have to separate the software on the controller in at le...

Stream data into a file in a linux device driver

I am rather new to Linux device driver programmring, but for debugging purposes, I would like to write a stream of data directly to a file. Or maybe I should aks the question differently: I have a system-on-chip, where one module provides a data stream. The module has to be initlized with a write address. Instead of writing the data int...

How to detect hardware keyboard presence?

Is there a way to detect if the device I'm currently running on has a hardware keyboard installed? How do I query device capabilities anyway? ...

Block Access to physical address on Windows

I'm accessing my memory-mapped device via a device-specific physical memory on the PC. This is done using a driver that maps a specific physical address to a pointer in linear memory on my process address space. I wanted to know if there is any way I can obtain a block the specific physical address and prevent other processes or devices...

device token expiry

The device token that got from APNS is send to the provider. I have two questions on this device token : 1) Whether device token has the expiry time 2) Whether I will get the same device token for each time I call registerForRemoteNotificationTypes in the application launch? We are planning to go for 1:1 mapping between logged in use...

mounting without -o loop

Hi, I have written a dummy (ram disk) block device driver for linux kernel. When the driver is loaded, I can see it as /dev/mybd. I can successfully transfer data onto it using dd command, compare the copied data successfully. The problem is that when I create ext2/3 filesystem on it, I have to use -o loop option with the mount command...

iPhone images on the simulator and the actual device - different bitsPerPixel values?

Hi there, I have code running in an iPhone application I am developing. Basically, the code needs to load an images and calls: size_t bitsPerPixel = CGImageGetBitsPerPixel(imageRef); I noticed that on the iPhone simulator this call returns 24 and the device itself it returns 32. Is this behavior by design? Is it somethin...

Portable Device Path on Windows

I've actually got an Windows/Java Question. I've got a plugged-in device which I want to access via Java. Normally you can access an e.g. USB-Stick via the Drive letter... but this tablet is displayed by Windows as a "Portable Device"... which means, that the Path is something like "Computer\Archos 5S" and there is no Drive letter. I ...

usb device identification

hello all i am using python on ubuntu 9.04 say i have two usb devices connected to a single PC. how can i identify the devices in python code.....for example like if usb port id == A write data to device 1 if usb port id == B write data to device 2 any ideas.... ...

tiny java wifi device

Hi all, I want to create a purpose built device capable of running a java vm connecting to a wireless network via dhcp playing a simple sound I'm looking for advice regarding who could what kind of devices are available pre-built who could manufacture a single device who could manufacture devices in small scale any ideas apprec...

How can I use a pre-populated core data DB on my device.

Hi all, I have developed my app using core data. It works fine in the simulator. When I deploy it to the device the DB is empty. It is 49k where it should be 484k. Basically it is not populated. Since I don't write to the DB when the app is running I need to provide a populated DB to the App. So I copied the populated DB from th...

Clock problem with FTDIchip FT2232 MPSSE mode

Hello, I'm trying to write/read to an extern device connected to a FTDIchip FT2232 MPSSE mode using SPI. I'm using the SPI function given by FTDI for Labview. I'm doing this: Open_Device - Init_Device - Write/Read - Close_Device The problem is that I don't have a clock signal on the scope when I try to read/write. Do you have a solut...

Digital Signature Device Recommendations (Mini Tablet)

I'd like to capture signatures of application users with a mini-tablet/little pos signature device. I welcome any first hand experiences of which ones were good and which ones to stay away from. Off the top of my head I can think of a few features I'd like to see: USB interface Not too expensive (I don't know 100-200 dollars?) Be eas...

Backflip Testing Results

Good Morning, I got my app to install on the Backflip and started testing it. On the emulator everything appeared ok but on the Backflip there are a few notable differences. I have edittext boxes which on the emulator automatically vary in size to accommodate the text. The text is a number, the max being two digits, i.e., 1-99. On t...

Sharing a COM port over TCP

What would be a simple design pattern for sharing a COM port over TCP to multiple clients? For example, a local GPS device that could transmit co-ordinates to remote hosts in realtime. So I need a program that would open the serial port and accept multiple TCP connections like: class Program { public static void Main(string[] args...

Problem with Landscape and Portrait view in a TabBar Application

I have an TabBar app that I would like to be in landscape and portrait. The issue is when I go to tab 2 make a selection from my table then select tab 1 and rotate the device, then select tab 2 again the content does not know that the device rotated and will not display my custom orientated content correctly. I am trying to write a pri...

objective c iphone : can we view console log on device

is there a way to view the console output as we are running an iphone App on the device? If not directly, is there an app on the App store which lets you view the log after the App has finished running? ...

iphone audio plays on simulator but not on device

The following code plays well on the simulator but the audio doesnt play on the actual device. I have tries aif, wav and mp3 ... all three with the same behaviour. Please sugest what could be wrong. SystemSoundID aSound; AudioServicesCreateSystemSoundID(CFBundleCopyResourceURL(CFBundleGetMainBundle(),CFSTR("drop"), CFSTR("wav"), NULL), ...

Control webcam from C#

Hi I have a Creative Life CAM Optia AF webcam, the software included in the package is able to control the camera in different ways, like set autofocus to auto or manual, and a bunch of gamma and brightness settings. I'm capturing the feed with the AForge Computer vision library, and it's working great. But i would like to be able to s...