device

WCF service and communication with devices

I have a project comming my way: devices with their own system written in C, and a Windows application for managing purposes (sending configuration, retrieving recorded data from devices, monitoring device's state). I have flexibility in choosing what technology I'll use. The requirements are pretty fuzzy right now so it should be someth...

Does SetupDiGetClassDevs work with device instance IDs as documented?

According to MSDN documentation, SetupDiGetClassDevs can be passed a device instance ID to obtain a device information set for a specific device: To return only a specific device, set the DIFCF_DEVICEINTERFACE flag and use the Enumerator parameter to supply the device instance ID of the device. I get the device instance ID by...

Allocate 2D Array on Device Memory in CUDA

How do I allocate and transfer(to and from Host) 2D arrays in device memory in Cuda? ...

Ambient light detection - iPhone

Hello, I'd like to use the device's ambient light detection for my app (to set my app luminance in relation to daylight/moonlight). Is it possible? If so, where can i find the API? Thanks for your future answers. ...

Install old IPhone OS on development device

I want to roll back an IPod Touch 2nd gen from the 3.0 OS to the 2.2.1 release so I can test my application on there. The documentation lists the OSes as being available on the dev center, but I'm unable to find them but for the 3.1 beta's. Did Apple just hide them where I didn't look, or are those files not available anymore, and if so,...

IPHONE SDK Getting Device ID or Mac Address

I have an application that uses rest to communicate to a server, i would like to obtain the iphones either mac address or device ID for uniqueness validation, how can this be done? ...

NSFileManager works fine on simulator but not on device

Hi, I have problem creating directories and files with NSFileManager on the iPhone device. My code, shown below, works fine on the simulator, but not on the device, could you please help me? Gimme some directions where the problem may be, thanks for every reply.. I'm first creating directories this way: NSFileManager *fileMgr = [NSFile...

Linux termios VTIME not working?

We've been bashing our heads off of this one all morning. We've got some serial lines setup between an embedded linux device and an Ubuntu box. Our reads are getting screwed up because our code usually returns two (sometimes more, sometimes exactly one) message reads instead of one message read per actual message sent. Here is the code ...

Drive Letter to Device Instance ID

How do I get from a drive letter to a device instance ID? My process starts with a device arrival message. I have been successful in getting the drive letter from the arrival message and in opening the dvd tray. I have searched the various Setup API items; but I haven't found anything that gets me from a drive letter to a device instan...

UIScrollView app crashing in Device but running perfect in simulator

I am working on a photo gallery app. Root view is a navigation controller which takes the user to the thumbnail view. Tapping any thumbnail takes the user to PhotoView which shows the tapped image in full screen. Below is what I have done in my PhotoViewController: The approach is pretty much similar to the ScrollingMadness project whi...

Why does a file appear localized in the iPhone simulator, but not on the device?

Hi, I have an iPhone localization problem that has me perplexed. I was localizing my app and had English as well as simplified and traditional Chinese working fine. I have two files, Localizable.strings and sounds.plist which have been localized. Strings in both files appeared correctly on the device and emulator. Now yesterday I am ad...

FileNotFoundException AndroidManifest.xml

I am working through my first Android app and have gotten it to work in the emulator but am unable to get it running on a real device (myTouch running cupcake). I have put the app out on my web site accessible through a link with type attribute set to "application/vnd.android.package-archive" and I have also added that mime type to apa...

How is the video streaming for videochat in mobile devices managed?

Considering the amount of pressure each of the algorithms for decoding put on the processor, how is streaming video (real time) from web cam chat servers decoded in the mobile devices like cell phones? Is it displayed using a flv player (more or less like uploading a video on to youtube and simultaneously viewing it elsewhere. With this...

Order confirmation devices

We are building a solution where we have to send orders to our clients whenever a customer places one on our site. To simplify the process we are looking at some kind of low cost order confirmation device where the order can be printed at the clients ends and the client sends a confirmation back. I have searched for such kind of devices...

Change Video Depth Setting of the Network Services Account

We're running into issue where the Network Services account that ASP.NET uses has a video depth of 16. We need it to be 32. This affects image decoders that use hardware (annoyingly). Not being a "device" person I'm not sure how to go about changing this setting from an installer. Any help is appreciated. ...

[Objective c] iphone device Testing errors?

Hi, I'm currently trying to test my iPhone application on a real device but I have multiple errors like that: Undefined symbols: "_OBJC_CLASS_$_UITableView", referenced from: __objc_classrefs__DATA@0 in CustomSearchController.o __objc_classrefs__DATA@0 in HistoryController.o __objc_classrefs__DATA@0 in SavedSearchesController....

How to access an app through the device settings?

Hi all , I have deployed an application in my device. Now i want that the app to be accessible through the device settings. Like changing some of the settings of the app that should show up in the device settings for the app. Plz suggest me a way. Thank You All. ...

How to read from a device's COM Port?

Hello, I´ve a device running Windows CE, which is capable to receive GPS datas. Now I wrote an application (C#, .Net Compact Framework 2.0 using VS2008) in order to receive this data and later on work with it. The support contact of the device told me to use its COM port (number 5) to get the data. As I´m not that experienced in working...

Can using my iPhone as a development device ruin my iphone for normal use?

I'm a programmer with about 5 years of experience and I'm thinking about going into iPhone development. I checked out some books from the library for info. I found something that disturbed me tucked in a little corner of a book: "A development unit needs to be devoted exclusively to development. Using a device as a development unit mea...

Disable system device VB.Net

Is there any way to disable a system device from VB.NET. Such as a device that needs to be enabled/disabled quickly and or uninstalled. ...