device

Getting mount point when a USB device is inserted Mac OS X and linux

Hi All, I am trying to develop a program in Mac OS and Linux which lists the files and folders in USB drive. I need to get the some events when USB device is connected and removed. I know that in Mac OS X I can use IOKit. But I do n't know how to get the mount point where the device is mounted. Can I get it using IOkit? Is there any cro...

Choose between multiple devices in XCode

Hi I've 2 devices (iPhone + iPod) connected to my Mac and both are available as developper devices in XCode. How can I choose which one to use for testing purpose and switch from one to the other when I want ? For the moment the only way I found is to unplug the unwanted one in order for the other to be available. Am I missing something...

How bind socket to device in windows?

I have same network cards in computer. All cards has identical IP. I need to bind socket to specific card. In linux I can use flag SO_BINDTODEVICE. How I can do this in windows. P.S. This needed for UDP sockets. ...

Designing Web Interface for Embedded System

OS : Linux. Im trying to find possible ways to design web interface for my embedded system. Currently there is a shell(text based) and a small set of commands are implemented to query the device. Im new to web development, my questions are : What web server must i use ? ( i got apache up on my development setup and tried using cgi ...

app could not be verified alert

HEllo, I am quite new to iphone development, I am following the specified steps to test app on my device. I have two provisioning profiles outof which none are expired. These profiles aare working fine on 3.0 devices, but when I try on 2.0(iphone) devices it says application could not be verified. I am using snow lepord and it doesn...

iPhone development - How to get some device info

So, I know that is possible to retrieve some info, like Device name, unique ID, etc. all of them provided by UIDevice Class. I would like to know if there is a way to get information related with wireless usage (Download and upload), amount of SMS sent, minutes of talking, and any other statistics. Does anyone has any idea on how to ge...

iPhone warning when installing build on device

hii i am new to user.... when i am installing the build in the device i am getting the warning: Unable to read symbols for ""/Users/sudharastogi/Documents/Kapil/iPhone Project Docs/Buy Me/build/Debug-iphoneos"/Buy Me.app/Buy Me" (file not found)....... Can you please help me out why this warning is coming...... as it causes problem late...

Visual Studio 2008 Create new Smart Device project option not available

I have installed Visual Studio 2008 (also tried with 2010 beta) and cannot see the option to start a new smart device project (for windows mobile) I have tried multiple websites - I appears I have to install windows mobile 6 SDK but when I try to install that it says I need to have visual studio 2005 installed. Am I missing something r...

Install Device Unit Test Framework

Hi all, I have Framework2.0 already installed in device, I have created a unit Test project for the smartDevice application, now to test this project I need to have Device Unit Test Framework installed in the machine. http://msdn.microsoft.com/en-us/library/bb545998.aspx Here I want to know if Device Unit Test Framework is distributed ...

Device browsing problem

I’m writing file browsing software and I want it to work correctly with all portable devices, such as cameras, smart phones and so on. My program shows thumbnails, so I need to read the content of each file. Now I’m facing some problems: With both my photo cameras I can open only one ISteam from device. For every additional stream I g...

How to Debug on the Samsung Galaxy I7500 Android Phone

How to Debug on the Samsung Galaxy I7500 Android Phone modify c:\android-sdk-windows-1.5_r3\usb_driver\x86\android_usb.inf under the [Google.NTx86] entry add ; SAMSUNG GALAXY %USB\VID_04E8&PID_6640.DeviceDescRelease%=androidusb.Dev, USB\VID_04E8&PID_6640 %USB\VID_04E8&PID_6640&MI_04.DeviceDescRelease%=androidusb.Dev, USB\VID_04E8&PID_6...

Smart Phone ! Iphone | Reading the device phone number HTTP etc

Does anyone know if one of these devices connect to the web whether their phone number can be read from a header or some other means? ...

Opengl ES Application works in simulator, but not on phone

Hello, I have created a simlpe Opengl ES application, a sphere bouncing back and forth in a room. When running on simulator it works fine. I have configured the simulator to be HW 3.0, from xCode I chose Simulator - 3.0|Debug. Since I only have a 3G, not 3Gs, I assume this should give the same result? What can the reason be and how th...

Debuggin iPhone app on the phone

I've gotten stung by a bug that I just can't figure out how to debug. Basically I run my code on the simulator and everything is just fine. When I go to the actual device however, I get a EXC_BAD_ACCESS error. Unfortunately, when running on the phone under the debugger the damned thing works just fine, so I have no way to judge where th...

control a users USB device via a webpage? Possible?

Hi Guys, I'm wondering if there is a way to create an asp.net webpage that will connect a visitors USB device to an application on the windows bases server? This way we avoid having to install a software on the visitors computer to control a USB device update that they purchase form us. All they have to do is visit our update page, pl...

iphone weird crash on device but not seen in simulator

Hello, I tried to install and run one of my applications on device. On a simulator, it was working fine. But once on device, it crashes somehow. I was trying to debug but i could not get anything there. Here is what the debugger console shows.. Can someone please help me with this..: Here is the debugger log: Program received signal EXC...

android execution in emulator or device ?

Is there any way to know if my application is running on the emulator or on the device ? ...

Open C: Directly with `FileStream` without `CreateFile` API

I trying to open C: directly with FileStream without success: new FileStream("C:", FileMode.Open, FileAccess.Read, FileShare.ReadWrite); System.UnauthorizedAccessException was unhandled Message="Access to the path 'C:\' is denied." Source="mscorlib" StackTrace: in System.IO.__Error.WinIOError(Int32 errorCode, Str...

Writing Device Drivers for a Microcontroller(any)

Hi All , I am very enthusiastic in writing device drivers for a microcontroller(like PIC, Atmel etc). Since I am a newbie in this controller-coding-area I just want to know whether writing device drivers for controller is same as we write for linux( or any other OS) ? Also can anyone suggest some online device driver building tutorial ...

Minimal standalone install of Microsoft Device Emulator

I have installed the Microsoft Device Emulator 3.0 and the Windows Mobile 6.5 DTK on a clean Windows 7 system. From the Start menu, I can start an emulator. However, the Device Emulator Manager does not show any of the emulators, so it is impossible to Connect and Cradle the emulator. How can I install apps to the emulator using the Wi...