Android Camera Driver - embedded

I am a newbie to android driver programming. I would like to write a camera driver for an embedded device. Can anyone tell me how to proceed and give me references to it.

A quick google search lead me to this question on SO. You're not going to get started on this at SO, you need to do more research so that you can start asking specific questions.

Related

Qt Mobile broadcasting (DVB-H) API

I want to create a Qt program that uses the DVB-H headset to watch and record programs. I know there is already such a program on the Nokia store but it doesn't work with latest headset. I have already found this http://library.developer.nokia.com/index.jsptopic=/Java_Developers_Library/GUID-154101B4-1539-4025-9698-FC1FBF393C0E.html for using the headset with a Java app, but I want to know if there is a Qt version of this API that I can use. I have been looking around but I can't find one, maybe there isn't one. If you know anything about this please help.
Qt APIs for DVB-H do not exist. JSR-272 is the only option on Symbian.

Capture mac screen

What is the best way to record the mac screen with cocoa? I know there are many examples at the apple developer reference library. SonOfGrab explain how to capture the screen with quartz but also that it isn't enough fast to use it to grab many frames every second. OpenGLScreenSnapshot has same results but it isn't fast, too. OpenGLScreenCapture seems to be the best way to do it but XCode prompts me many errors because it's made for 10.4 and it requires old Quicktime commands I think they pushed into QTKit but I can't find a way to convert it. Could anyone send me to someone's site that converted the project or tell me if there are some other ways to do it. Thanks in advance.
OpenGL would be the way to go. You should still be able to use the OpenGLScreenCapture sample if your architecture is set to 32-bit. (QuickTime is not available in 64-bit.)
-Ken

Is it possible to record screen with Titanium / Appcelerator?

We're in process of developing a desktop application which needs to record user's screen once he clicks a button. I read a tutorial about Adobe AIR, which says it is easy to do with AIR: http://www.adobe.com/devnet/air/flex/articles/air_screenrecording.html
But our preference is Titanium as we've explored it a little bit. So I want to know is that even possible? If yes, how can we get started with?
There's also an interesting solution which uses Java applet for recording, as demonstrated here: http://www.screencast-o-matic.com/create?step=info&sid=default&itype=choose
But again, we're not sure about JAVA and would like to know how can it be done? or if its even possible to run a JAVA applet in Titanium?
When you say "record screen", I'm assuming you mean video. Correct?
The only way to do this in Titanium Desktop right now is to take a bunch of screenshots and string them together (encoding would probably need to be done server-side).
Depending on how long your videos need to be, this probably won't work for you. I'm also not confident in how quickly you could capture screenshots, and if it would have a high enough frame rate to be usable.
Past that, a module could be developed for Desktop to support some native APIs to record video. That's not something I see on the horizon, though.
I hope this helps, albiet a rather dismal answer. -Dawson

how to get notification of devices in the bluetooth range in objective c?

I am working on one application where i need to display notification for the devices in the bluetooth range. I surfed a lot also searched in the stack overflow,but got most of the questions unanswered or the solution to use pacifist,which is quite impossible for me,as i cant download old version of xcode,its not allowed in my organization.
So can anybody help me out with some sort of example code or something that i can use in my application and proceed further?
Thanking you.
-Sarah.
Is this for the Mac or for iOS? If it's the latter, I'm sorry to report that after having researched the heck out of it, there's no App-Store-safe way to access the Bluetooth stack. That leaves no way to detect nearby devices except through Gamekit, which is very limited.
[Edit: note that this is old information, and that much more is available now.]
Try Bonjour for zero-configuration networking/detection between devices. It silently switches between Bluetooth and WiFi but it may still suit your needs.

How to make a library for the webcam?

I'm learning Factor and I thought it would be great to have a small program to capture images from the webcam that comes with my mac pro. I know every webcam will be very different but sounds like something I should be able to do. I want to create a library with support for Mac, Linux and Windows. The problem is that I'm not sure where to start.
Factor-based answers are welcome but I'm looking for the language agnostic solutio. When I google for it, all I get is programs that capture images. I want to learn how to interact (in the 3 big operative systems) with the drivers I guess.
I think the only clue I have is the ioctl wiki page. How would you start such a project? What kind of google keywords would you use? Books?
It's not clear if you want to write a driver for your particular webcam or a library that makes talking to the existing driver easier.
If you want to write a driver for your webcam, you probably want to investigate libusb for Mac and Linux and libusb-win32 for Windows. You would need to understand the protocol that your webcam talks, though. You could probably read the source code for the existing Linux driver (assuming there is one, which is pretty likely).
As for Google search terms, you might try "video capture" and maybe looking for Python/Ruby etc. code or Open Source programs will get you code you can look at to see how to do what you want to do.
Perhaps if you describe in a little more details what you're trying to accomplish someone could give you better suggestions.