You Are Here:

Community: Developer Discussion Boards

#1 Old can I able to control the camera to take pictures in sampled manner - 2009-03-24, 23:43

Join Date: Mar 2009
Posts: 5
sri_reddy523
Offline
Registered User
hi

I am using N95 mobile.I have implemented program to take snapshot from the camera.

Can I able to take the pictures for every 2 min automatically.........

Please kindly suggest me

thank you
Sri
Reply With Quote

#2 Old Thumbs up Re: can I able to control the camera to take pictures in sampled manner - 2009-03-25, 06:15

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Hi,
Well, you can do this indeed.
Start the camera and get the time when the first snap was taken...
then on thread you keep the track of the current time,it is greater or equal 2 min then again take the snap and re-initialize the timer.
like this,
1.startingTimer = System.currentTimeMillis();\
and take the first pic.
2.Keep checking like this
if(startingTimer - System.currentTimeMillis() >= 2*1000*60)
{
startingTimer = System.currentTimeMillis();
}
take the pic..

hope that this code can help you.


Thanks

R a j - The K e r n e l
Reply With Quote

#3 Old Re: can I able to control the camera to take pictures in sampled manner - 2009-03-25, 14:34

Join Date: Mar 2009
Posts: 5
sri_reddy523
Offline
Registered User
hey Raj thanks for reply

I need to work on taking the snaps for every 1 min without help of user and send that picture to the server that is my goal.

2Q.If i implement the snapshot midlet in mobile,I am getting unnecessary pop ups on form(allow media content yes or no), is there any possibility to block those pop ups.

any way thanks for reply
Reply With Quote

#4 Old Thumbs up Re: can I able to control the camera to take pictures in sampled manner - 2009-03-26, 05:30

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Hi,
yeah buddy to avoid these popups u have to signed ur application. Also change the multimedia settings for application from App manager of device from "ask every time" to "Ask once".

Please try this and reply.


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#5 Old Re: can I able to control the camera to take pictures in sampled manner - 2009-03-26, 06:11

Join Date: Mar 2009
Posts: 5
sri_reddy523
Offline
Registered User
hi jitu

Do I need to purchase Certificate from VeriSign or Thawte.

can I able to run 'spy' application that do exactly
wake up periodically, take a picture, send it to the
internet, and then go back to sleep.

Please kindly let me know is it possible or not.
Reply With Quote

#6 Old Thumbs up Re: can I able to control the camera to take pictures in sampled manner - 2009-03-26, 07:15

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Quote:
Originally Posted by sri_reddy523 View Post
hi jitu

Do I need to purchase Certificate from VeriSign or Thawte.

can I able to run 'spy' application that do exactly
wake up periodically, take a picture, send it to the
internet, and then go back to sleep.

Please kindly let me know is it possible or not.
Yup, you must have to purchase the certificate for the same.
for the rest of the goal,follow my last post.


Thanks

R a j - The K e r n e l
Reply With Quote

#7 Old Thumbs up Re: can I able to control the camera to take pictures in sampled manner - 2009-03-26, 07:42

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Hi,

Quote:
Originally Posted by sri_reddy523 View Post
hi jitu

Do I need to purchase Certificate from VeriSign or Thawte.

can I able to run 'spy' application that do exactly
wake up periodically, take a picture, send it to the
internet, and then go back to sleep.


Please kindly let me know is it possible or not.
I have not checked yet but i have seen the same option in suite settings of application in app manageer about which i was discuss in my last post. Please try it by urself and let us know. We are awaiting to know the result.


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#8 Old Re: can I able to control the camera to take pictures in sampled manner - 2009-03-26, 19:52

Join Date: Mar 2009
Posts: 5
sri_reddy523
Offline
Registered User
Hi

I got a reply from a guy who worked on similar application.
If I purchase certificate but if it doesn't I will be in trouble, So please suggest me can I make agreement with manufacturer to get manufacturer domain certificate.


Now, here is the bad news.
It is impossible with a Java Code Signing Certificate to remove the
permission message for *BOTH* taking a picture (Mobile Media API) *AND*
sending over the internet.
The designers of the phone wanted to protect the security/safety of users by
making it impossible to install a 'spy' application that could do exactly
what you want to do: wake up periodically, take a picture, send it to the
internet, and then go back to sleep.

It is also impossible with a Java Code Signing Certificate to remove the
permission message for *BOTH* automatic wake-up *AND* connect to the
internet - for the same reason. This is intended to protect the user.

However, anything can be done with a Manufacturer Domain or Operator Domain
level certificate. But, these are nearly impossible to get. You need a
partnership agreement with the manufacturer or carrier.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia N-Series Complete Model Line-Up Dopod General Discussion 6 2008-07-22 21:16
Camera in a Compound control vidyats Symbian Media (Graphics & Sounds) 4 2006-06-01 13:43
Camera control yunghei Mobile Java Media (Graphics & Sounds) 2 2004-10-15 03:20
Camera Control on the Nokia 3200 fba90130 Mobile Java General 1 2004-05-11 13:03
Which is the color depth of low quality pictures from the 6600 camera hskopp General Symbian C++ 0 2004-03-10 23:28

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ