Related
Hi,
Has anyone had any luck with writing Midlets for the XDA2? I'm trying to write one use the camera as a webcam (Yes, I know, a bit ambitious for my secomd midlet!)
I'm using this line:
Code:
Player vPlayer = Manager.createPlayer("capture://video");
I get a MediaException, meaning '...a Player cannot be created for the given locator.' (quoted from MMAPI JavaDoc).
Also, calling the Manager.getSupportedProtocols() method for 'mpeg/video' returns an empty list, as does calling Manager.getSupportedContentTypes() for 'capture://video'.
Has anyone else managed to access the XDA2 camera from a Midlet? If so, what is the trick?!!
cheers
Paul
I don't think anybody's managed to get access to it from native eVC++ let alone midlets, and IA style aren't revealing anything about how their app does it, so I wouldn't hold your breath for a solution... Bloody closed APIs.
Knackers!! :evil:
Cheers anyway! I'll keep poking and see what happens....
Paul
i suspect that their applications take pretty much control direct without using the winCE api
because when i start the cam my clock which it still display stop being 24h and turn to the AM/PM confusement
I'm programming on a program that uses cell broadcast messages to determine your position. (http://gknavigation.de) - It was a project at "youth research" this year.
It is based on an idea of W.Back...
Now I want to get rid of a external gsm phone at the position determination, because the new Pocket PC Phone Edition have a integrated radio functionality.
I've written a small terminal-prog. for the XDA (http://gknavigation.de/beta.htm), which let's you sent modem-command into the gsm and recieve replies.
On the XDA2 it is working well until the line "AT command interpreter ready" is displayed on the terminal. After that common AT-commands like "AT+CBC" won't work any longer, and result with an "ERROR".
The line (and the errors as result) seems to apear after a few seconds the port is open.
I think I have opened the port and initialized the shared use of the gsm serial communication well. :?
Check out that Sourcecode please:
The .DLL-file-project, which is written in C++ and opens/closes the port:
http://mcflown.net/eVC/XDAcom_func/
The visual basic project, which is for reading and writing operations, and user interface:
http://mcflown.net/eVB/XDAterm/
Greeting and sorry for the hopfully not thaaat bad englisch!
F. Wetzel[/url]
Hasn't really nobody any suggestions?
:?
Florian
Summary
Hi,
Just wanted to let you know that I will have alook and see what I can do
for you.
Have you got a break down of what you are trying to achieve
Click to expand...
Click to collapse
A summ ups are written in German, sorry!
But i will try to describe it briefly:
My prog recieves the messages of the cell broadcast channel 221 by a mobile
phone connected via any inteface. (Bluetooth, IrDA, RS-232)
In Germany this channel contents data about the position and sending
direction of the mobile (fix installed) stations. With some (or many) tricks
i'm able to determinate your own own position up to a 50 meters. (in best
case - depending on the number of installed stations)
This is drawn on a map.
The prog is running under PPC and PC, but the PC version is less
interesting, because the PPC is more portable.
Newerdays, the PPCs have a integrated GSM radio module, so that it should be
possible to recieve those CB-messages vie the internal modem.
By that the users of XDA/MDA/... in Germany would get an alternative to GPS
for navigation/orientation without buying new hardware!
Lateron this prog is perhaps compatible with Tomtom. - I'm checking how to
do it!
Greeting, and thanks in advance!
Florian
hey xda internal access
Hey man i must say i respect you , you have done great work !!!
I am currently working on xda2 as university project and i need to access internal modem of xda ... so might need ur help ... i would wanna help u too and i probly will ... just letting u know i'll try a bit on ur prob and get back to ya ...
any advice ou can give me to access the internal modem ??
great job ! talk soon
On the XDA2 it is working well until the line "AT command interpreter ready" is displayed on the terminal. After that common AT-commands like "AT+CBC" won't work any longer, and result with an "ERROR". Crying or Very sad
The line (and the errors as result) seems to apear after a few seconds the port is open.
I think I have opened the port and initialized the shared use of the gsm serial communication well. Confused
Check out that Sourcecode please:
Click to expand...
Click to collapse
after read your source, i think:
- set Sleep time between each other AT commands > 100ms for response time of GSM modem
- try to close the com port and re-open it before sending another AT-command.
- try to use only RIL port or COM2, don't open them and use them at the same time.
hey i read through the code its good but i dont see how u get "AT Interpreter Ready" in the VB app ... i looked hard !!! can anyone enlighten me ??
I guess "AT Interpreter Ready" is the answer from device.
AT Interpreter Ready is sent by device after radio resets itself. You should never see this reply.
ok - when i get "AT interpreter Ready" from my terminal it allows me to send an AT commands, so in a way i'm guessing that i should get it -
Indeed it happens when the GSM resets does anyone have more explanations on how it appears ???
i get "AT interpreter Ready", too.
Compile
Could someone compile the DLL and EXE and post them here in one zip? Would save me having to install Visual Studio !
I need the GSM Triplets for a project but haven't really got a clue how to get them. I tried with RIL_SendSimCmd but I don't know how to write the command nor how to read the answer. Unfortunately I didn't find some useful docs yet.
Does someone know more about this?
An idea? Anybody?
I think I know how to send the command now (see http://ftp.rz.tu-bs.de/pub/mirror/ccc_Chaos_Computer_Club/ftp.ccc.de/gsm/gsm_log_commented for an example), but I still get no answer at all, and my callback function isn't being used at all.
Is there noone who can help me getting this SRES and Kc?
Re: An idea? Anybody?
Dissem Faé said:
I think I know how to send the command now (see http://ftp.rz.tu-bs.de/pub/mirror/ccc_Chaos_Computer_Club/ftp.ccc.de/gsm/gsm_log_commented for an example), but I still get no answer at all, and my callback function isn't being used at all.
Is there noone who can help me getting this SRES and Kc?
Click to expand...
Click to collapse
I don't think it is possible, at least with my HTC Blueangel.
The required AT+CSIM (Generic SIMUICC access) command is missing in the command set.
There is only a AT+CRSM (Restricted SIMUICC access) command which only allows access to the SIMs filesystem.
Does this only mean that it won't work with AT commands or does it also mean that it will not work with RIL or even not at all?
Dissem Faé said:
Does this only mean that it won't work with AT commands or does it also mean that it will not work with RIL or even not at all?
Click to expand...
Click to collapse
AFAIK RIL uses AT commands to communicate with the gsm modem.
Just for completion: I checked with HTC and they say it's impossible with all their devices at this moment.
hiiiiiiiiii
i have problem in my phone
my mobile is (hp ipaq6315)
that it desnt work on my network
our network here at egypt is gsm
my phone can not worek on it
hiii
my mobile is hp ipaq
it was operating with tmobile network
now its in egypt & i need to make the mobile operat with both vodafone & mobinle network in egypt what i have to do to reciept its password
Its amazing the amount of people who come on here asking for a certain type of software that they cant seem to find only for someone within minutes to provide a link to said software.
So...
Is there a program/plugin that will kick in the wifi automatically when you run internet explorer ?
Is there any program that will run an app with command line ( load a radio station into real player for example ) even in standby mode at a given date / time ?
Anyone know of anything ?
knowsleyroader said:
Is there any program that will run an app with command line ( load a radio station into real player for example ) even in standby mode at a given date / time ?
Anyone know of anything ?
Click to expand...
Click to collapse
I'm pretty sure you can find it because it would be actually fairly simple to write.
You can achieve what you wish with MemMaid. Select the Notification Queue tab (2nd from the left) and click the add button
Select the program you wish to run and select "Run at time" as type of event. Here you go! Of course this is not the primary use of MemMaid but it's a great app to have anyway.
I would like a program that would tell me how many hours I have spoken to a contact saved like in the contacts profile. I found a program that could do that but it had a lot of junk and made my cell run slow.
so i have been thinking about my homes security and i have some questions...
i have collected quite a few expensive gadgets and they need protection!
So, i have been tinkering with my **** logitech orb web cam and it now supports motion detection. now call me crazy but i would like to be able to receive on my diamond, the video that has been recorded by a motion detection enabled web cam set up in my home. i'm trying to get my logitech web cam to save on my HP media smart server, running windows home server, not default on my laptop, and be notified by either sms that there is new video on my server or the video itself sent to my diamond. i would also like to be able to connect remotely to my laptop and be able to activate the camera software from a desktop link or something like that.
now i swear this is diamond related in the fact that i would like to use the device as a controller.
i have not used remote desktop on my diamond yet, i could not get it working.
i'm not sure if this is a app request, idea, or util so ill follow the forum template rules once this thread takes shape.
please shed some light on how one could make this happen. i think it could be useful to all of us, at home or place of business or your just want to bust your stupid parents snooping around your room.
so you are looking for an app that does the following:
act as webcam streaming server, but only when motion is detected, and when it does detect motion, it must notify you via sms, plus: you need a simple app for youre diamond to vie the stream..
i dont think I would be able to do this, but if you can clarify exacly what you want thinking WITH you is more easy...
on the other hand, i am sure the pc part has already some usefull apliactions wich are able to act as a server. but im not sure about the notification sms..
it would be ideal if that sms contained a link that you follow to open youre browser to view the stream...
what i know what is possible, there are apps for the pc that record video and send it via e-mail...
just use google for webcam security..
maybe there are pplz around here that can adapt software for u...
but i u seach im sure there are apps out there wich can do that... the only app you need is a browser capable of viewing video streams..
Would be good an app who detect movement, and then make several actions:
- Upload a photo/video on an FTP
- Save photo/video
- Play an AUDIO alarm
- Send an mms with the photo/video
- Send a warning sms
- Make a call (and let you listen what's happening)
....all when Movement is detected via the pda camera
Improvise
What you are trying to accomplish is mostly already possible. You'll need to do some research and some creative thinking to get it to work though. You will most likely not get an all-in-one solution to this issue.
It sounds to me like the motion detection and subsequent video capture is already taking place via the software you have installed for your web cam.
Basically you need two things: A way to be notified of a new video file and a way to view it.
I'm not aware of any existing application which will send an email (which can arrive as an SMS) based on a new file being created in a directory, but as a programmer I can asure you there's not much to it.
There are however many solutions which would allow you to view a video file on your WM device from you computer at home and remote desktop is not the way to go here. Your best bet is probably good old http since most video applications will handle "streaming" to file to you as you watch. You'll need to familiarize yourself with IIS (Internet Information Server; I'm assuming you're using Windows) and create a "virtual directory" pointing at the folder where the video files arrive. You'll also need to take the necessary steps to open port 80 so that your computer at home can host via http (this means configuring your router and your computer's firewall). Once this is done just pick your favorite video player and choose "open URL" or something similar and type in http://YourExternalIP/YourVirtualDirectory/YourVideoFile.
I'll leave it up to you to figure out how to best make yourself aware of new files.
As LucidObscurity says there already are several solutions available to this through the combination of existing discrete applications, although .
My setup does does what you desire although goes quite a bit further so it may be overkill for your requirements. However, as food for thought it may still be of interest. It consists of:
- A series of Panasonic BL-C1 IP cameras distributed around my house (running on the wired house network, although wireless versions are available) - these are quite discrete cameras and don't have the typical 'camera look' hence are aesthetically compatible with partners, guests etc (most people I've pointed them out to hadn't noticed them and then didn't believe they were cameras)
- The motion detection/analysis software ZoneMinder - the 'brains' - this monitors the cameras, detects motion (in zoned areas) and records the events as required (it buffers the images so you can capture what happened before the trigger too)
- The SMS tool MercurySMS (and VGSMail gateway) used to alert me via text when motion has been detected (the texts contain various event-related details/stats and a link to the recording)
- A handful of other scripts used for small housekeeping tasks e.g. scheduling the starting/stopping of the system, realtime offsite backup of recorded material (there's no point me capturing a thief on video if he then goes an nicks my PC!), etc
- My Diamond, or any other device with a web browser, used to interface with the system - controlling/configuring it, accessing live/recorded video etc. A web front end is essential in my opinion - you don't want to tie access down to a single platform/device.
Whilst it's not a setup that is up-and-running out of the box now that's it's fully configured it works well - very well. False alarms are practically nill and it doesn't miss a thing. Remote access via the web is powerful and as simple/complicated as you want - on holiday my girlfriend regularly fires up the quick 'snapshot' montage to keep an eye on our cats (we do have a dedicated 'catcam' monitoring the catflap so we can see the history of who came in/out and when).
I'm sure there are some all-in-one solutions available but they likely come at a cost and perhaps do not have the power and flexibility of a modularised solution - it'd be worth seeing what's available though.
Mathew
thanks for all your replies. great read.
i just want all my systems, Windows Home Server, Vista Home Pro and WM6.1 to come together. i will take a look into the apps you have linked to and see whats what.
i already have the ability to record with motion detection. when a new file is created in a folder on my home server, i want to be notified and linked to or streamed. i have remote access to my file via browser [ blazeitup123.homeserver.com ]. i can't get the logitech software to actually save to the server because it says i dont have the rights. i'll try and fix that tonight after dinner, but saving to the server is very improtant because my laptop could be stolen and then the whole setup was pointless. i want to incorperate my diamond into this process as much as possible, like with the remote activation and so on.
Wooow this is one of the coolest threads I read in a long time.
Although I'm not as advanced as some of the members regarding computing, I was thinking:
-Cam software streaming to remote address.
-When motion is detected, cam starts recording, thus creating movement in the remote address.
-When new connection(movement) is detected, you activate a new RSS feed.
-You get RSS notification on phone.
-Connect to remote address and check the stream.
What about:
A spy cam on the Diamond, I mean that you could hide your phone somewhere and point it at a certain spot you want to view. Then remotely access the phone and view the live stream?
Since the phone is so small its an easy hide.
Greetings to all and luck in all your great projects!
you should actually look here...
http://www.incax.com/
Looks good. I've also found Wapcam
(Seems to alert via e-mail to you could use either push e-mail or an email-to-SMS gateway for instant alerts)
Mathew
shogunmark said:
you should actually look here...
http://www.incax.com/
Click to expand...
Click to collapse
looks like great software. ill try the trail and it only 20 dollars to buy . seems very simple to. i want something more server based because my laptop would be the first thing out the door.
Security
Blazeitup123 said:
looks like great software. ill try the trail and it only 20 dollars to buy . seems very simple to. i want something more server based because my laptop would be the first thing out the door.
Click to expand...
Click to collapse
Perhaps you should invest in a big dog.
I m using this one:
http://www.accordiva.com/
U have there SecuRanger 2 Support 4 video channels
or one Camera only: SecuExpress 2
SecuExpress 2
both come with WM application for remote / viewing etc..
Take a look at orb.com. It has the ability to sms or email you if it detects movement. You could then connect to your home webcam through the phone's' browser.
...a good spy, like a 007 , should be able to SPY also without his PC
The only one that i've found is Invisible Shooter... for symbian os there are a lot of those apps (no pc needed), but for the pda there aren't many... (see the post #3)