device

Connectin an iPhone device to an external device

Hello, I have to develope a software that connect to an external device. The problem is the connection. Is there a way to connect without Apple's special chip? Any way is possible: Bluetooth, Wifi, or USB. Thank You ...

What is the difference between #ifdef __IPHONE_3.2 and #if __IPHONE_3.2?

Hi, I have an iphone app that needs to work for 3.1.3 for the iPhone and 3.2 for the iPad. It is an iPhone app that I want to work on the iPad. The main difference is the MPMoviePlayerController which introduces/and deprecates lots of things in 3.2. Since, the iPhone OS only goes up to 3.1.3 and the iPad is on 3.2, I need to seper...

How to detect if an Android device has been touched\moved

Is it possible to know if the phone has been touched\moved (lifting it for example), using some Events? How would you code it? ...

C# Speaker Output Device *Advanced* Settings

Hello all. I have a C# (WPF) application which checks for all output devices (Speakers) and I need to check the Bit Depth and Sample Rate of the output device. Has anyone worked with this or know of a way to do so? I have been searching around, but found nothing similar... Any help is much appreciated. Thanks ...

How to debug on a real device (using Eclipse/ADT)

I'm trying to figure out how to debug applications directly on my phone (HTC Desire). I've installed the USB driver that came with the phone and the phone is listed when using "adb devices". How do I configure eclipse/ADT to launch on the phone instead of launching the emulator/virtual device? ...

problem in write file or mkdir on android device

Hi. I have a android application which is write some html files on the sdcard. The application run on emulator very well. But when I tried to run the same application on OMAP android device It can't write files or mkdir on the device sdcard. I don't know how it happened. My OMAP device use sdcard for file system at the boot time tha...

iPhone Caching Content on Device

Hello all, I have an app that builds a video from a large number of single frame images. These frame images are currently stored in a folder on my computer and when building my app in simulator I use the path to the folder to load the images. Now I'm building my App on the device and of course the device cannot find this path. Putting ...

Android Apps Not Showing Up In AVD

I recently started messing with Android Apps, but I have had nothing but problems trying to get them into the Virtual Device for testing. For some reason, they never seem to show up in the AVD. It has worked one time, but that's it out of hours spent just trying to test one or two very simple apps. I've redone the AVD setup many, many...

What software design pattern is best for the following scenario (C#)

I have a gps device that records data e.g. datetime, latitude, longitude I have an sdk that reads the data from the device. The way the data is read: A command packet (basically a combination of int values in a struct) is sent to the device. The device responds with the data in fixed size chunks e.g. 64bytes Depending on the command i...

MPVolumeView, avoid displaying "No Volume Available"

Hey. I have a project with a MPVolumeView in it. It is set up, and it works, the only thing is that when I mute the device, the text "No Volume Available" comes up instead of the MPVolumeView. I would rather like the slider of the MPVolumeView to be disabled when the device is muted. The volumeView is initialized in the view volumeBoun...

Documents/Images display fine in Simulator, but not on my device

Hello. My application is running fine on the simulator, but not on the device. Basically, any documents from the web (PDF, Word, M4P videos) are working great on the simulator (and can be accessed from Safari on the iPhone). However, running on the iPhone, they don't display anything. Here's some sample code: // Set up the URL d...

My Spinner Widgets look different on different devices. How can I define a own Spinner that looks the same on all handsets?

I use this code to generate a spinner in my app: subCatAdapter = new ArrayAdapter<Subcategory>(this, android.R.layout.simple_spinner_item, subCategories); subCatAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); On my device (Motorola Milestone) and in the emulator this looks like the standard gra...

Connecting Omron blood presure device on my own health vault application

Dear all, I have an application using WPF and WCF integrated with Windows health vault. and now, I have a Omron blood pressure device that i want to connect with my own application. health vault has its own app to upload the data, but my requirement is using my own apps. so the flow more or less is like this: when i plug the device in...

How can I select device to execute debug build on Xcode?

How can I select device to execute debug build on Xcode? ...

Creating a "virtual" path (/bla) in Mac OS X and Linux that calls custom code

Just something I'd like to play with, I would like to create a "virtual" file/directory in the File System of Linux or Mac OS X (Not sure if I can share the same code - does POSIX help?), for example /foo and then perform custom code when something is read or written to it. Similar how /dev/null allows for stuff like echo "Hello!" > /d...

How to write a generic USB Host Driver for Printers from various vendors?

I want to develop a USB host on an embedded device that will talk to printers from various vendors. Drivers for the vendor specific printers would be available on PC which is ultimately communicating with printer but my device is facilitating this communication and needs to perform the basic handshaking/setup of the printer (i.e, it nee...

How do you test your blackberry application on the device?

This may sound very noobish, but I can't seem to get my app to my blackberry. I was trying to follow the beginning blackberry development book's guide, but maybe I just missed the point somewhere. For remote download, Is it really as simple as drop the COD and JAD files in the same folder on your server then just navigate to the URL wi...

NSURLConnection and the corresponding device type

For the iPad, iPhone, iTouch app that talk to remote web service by making NSURLConnection calls, is there a way for the remote service to tell what kind of device that the call is made from? Basically, how I can know the device type of the device on which my app is running? ...

When someone says " device, fifo or filename to write yuv frames too" what does fifo mean here?

I am reading docs for VLC Command line programming. there I saw YUV video output --yuv-file=<string> device, fifo or filename device, fifo or filename to write yuv frames too. What does device and fifo mean? how to specify them? ...

Blackberry Development, communicating two Blackberry device in a multiplayer game programatically

We are developing a game application for Blackberry, which will have multi player option to let two or more player compete against each other. We have implemented the logic for that and already two or more player are able to play the game simultaneously on single device. Now we want to upgrade our application so that two or more user c...