Notices


Reply
Thread Tools
ozen78's Avatar
Posts: 34 | Thanked: 8 times | Joined on Dec 2009 @ London
#11
Originally Posted by noobmonkey View Post
Jozeph, i am learning to program in python and doing this healthcheck application

Similar to what you want? (Well, bits of it)
Hi noobmonkey

I know you are busy with the HealthCheck application, which I think is a great tool to have.

I think it would be fairly easy to for someone with you talents to write a script that checks GPS location on a pre determined time scale and saves the data to a log file, continuously overwritten. 5 minutes later for this data to be ftp or uploaded to a server directory that can be selected by the user.

further more I think people also wanted the ability to be able to send an SMS to activate and de-activate this feature just like instamapper.com.

plus i think this topic need to be merged, as usual people start new threads and posts without searching to see if there is already an existing topic - http://talk.maemo.org/showthread.php...ighlight=theft
 

The Following User Says Thank You to ozen78 For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#12
Originally Posted by ozen78 View Post
Hi noobmonkey

I know you are busy with the HealthCheck application, which I think is a great tool to have.

I think it would be fairly easy to for someone with you talents to write a script that checks GPS location on a pre determined time scale and saves the data to a log file, continuously overwritten. 5 minutes later for this data to be ftp or uploaded to a server directory that can be selected by the user.

further more I think people also wanted the ability to be able to send an SMS to activate and de-activate this feature just like instamapper.com.

plus i think this topic need to be merged, as usual people start new threads and posts without searching to see if there is already an existing topic - http://talk.maemo.org/showthread.php...ighlight=theft
Hi Ozen, sorry didnt see this post (Well havnt looked for a while)

Sounds doable - but i have a few apps on my list to do after Healthcheck...
If no-one has got round to it, will definitley look into it when i can
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 27 | Thanked: 74 times | Joined on Nov 2009
#13
Originally Posted by jozeph View Post
Maybe... I already contacted pavan before...

But to help, I need to understand first all resources available... I'm discovering how to perform some actions, like take a picture from front camera, access GPS data, detect Sim Card changes, intercept SMS messages, etc.
I'm trying something similar, and have gotten a part of it working.

First, setup a reverse ssh connection to one of your local machines (this seems like a good tutorial to do this).
It would be easier if we had autossh, but this looks like it'll do.

After you've done this you can login to the server you're connected to (i'm assuming you forwarded to port 2210) and do a:

Code:
ssh -p 2210 root@localhost
to login to your phone.

To take a pic with the front cam do:

Code:
gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! pngenc ! filesink location=/home/user/MyDocs/frontcam.png
and sftp the picture over to your server with:

Code:
sftp -oPort=2210 root@localhost
on your server with which you grab the /home/user/MyDocs/frontcam.png .


With this method you can also start vnc if you have x11vnc installed by calling "x11vnc" from the commandline and making sure in the first step to also send over your vnc port (standard is 5900). Or you can use it to have mplayer play an MP3 if you lose the phone, which is how i figured all this out

I haven't figured out how to read the GPS from here yet though, if anyone has any info on that i'd be very grateful.
 

The Following User Says Thank You to synthaxx For This Useful Post:
Posts: 89 | Thanked: 6 times | Joined on Feb 2010
#14
With this command below:

gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! pngenc ! filesink location=/home/user/MyDocs/frontcam.png
I get a completely black picture. I can't see anything....
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#15
can never remember of that is front or back camera -
change the number below to a 0 and try again

(if 1 is the back camera, then you need the lens cover open, if it is not, and it is the front, then aim it at a bright light!!!!....

gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! pngenc ! filesink location=/home/user/MyDocs/frontcam.png

gst-launch v4l2src device=/dev/video0 ! ffmpegcolorspace ! pngenc ! filesink location=/home/user/MyDocs/frontcam.png
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#16
Just another thought, checked my code and i do it slightly differently.....

http://talk.maemo.org/showthread.php...2Fdev%2Fvideo0
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 89 | Thanked: 6 times | Joined on Feb 2010
#17
The problem is: all pictures from Front Camera is completely dark.
 
Posts: 247 | Thanked: 91 times | Joined on Jan 2008 @ London/M4 Corridor
#18
Originally Posted by jozeph View Post
The problem is: all pictures from Front Camera is completely dark.
A guess: try this as root, following a "sudo gainroot" after you've installed rootsh. I'm thinking about permissions on the video device.

If this doesn't do help, I'd suspect a hardware fault.

Does anyone else have other tests?
__________________
--
If you don't know who the Eletronic Frontier
Foundation are, you should. Check out
http://www.eff.org.
 
Posts: 89 | Thanked: 6 times | Joined on Feb 2010
#19
Please, take a look these attached images... Both are from front camera using command line.

If I try the 'mirror' application, the images from front camera is fine.

Originally Posted by Alan_Peery View Post
A guess: try this as root, following a "sudo gainroot" after you've installed rootsh. I'm thinking about permissions on the video device.

If this doesn't do help, I'd suspect a hardware fault.

Does anyone else have other tests?
Attached Images
  
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#20
As i said, point it at a realllllllllllly bright light
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:44.