3 Replies - 520 Views - Last Post: 16 November 2015 - 09:39 AM

#1 mudonja   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 16-November 15

How to set a different flash sequence on my app?

Posted 16 November 2015 - 06:39 AM

Hi All,

I am really sorry if this is in the wrong section of the forum, but i don't know where to place it as i am kind of looking for the answer to how this is done myself.


I was wondering if anyone could help me with an issue I have. Basically I am wanting to set up a different flash sequence for my android app. So using the camera on my phone, I would like to set a unique flash sequence another device would recognise. So for example if is it possible for me to set "by pressing a button on my app the flash camera would flash 6 times and stop"? Is this possible? If anyone has any information about it could you please let me know?

Thanks

Tom

Is This A Good Question/Topic? 0
  • +

Replies To: How to set a different flash sequence on my app?

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15571
  • View blog
  • Posts: 62,358
  • Joined: 12-June 08

Re: How to set a different flash sequence on my app?

Posted 16 November 2015 - 08:13 AM

Presumably you would start by checking if you can in the package manager..
https://developer.an...ageManager.html

.. being this is a camera thing check that object/namespace out..
https://developer.an...are/Camera.html

Most likely the 'getParameters()'.. then from there the parameters should have a 'set flash mode'.
https://developer.an...Parameters.html

After that - Bob's your uncle.
Was This Post Helpful? 0
  • +
  • -

#3 mudonja   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 16-November 15

Re: How to set a different flash sequence on my app?

Posted 16 November 2015 - 09:27 AM

Thanks for your reply Modi123_1. I am quite new to this so what you wrote above kind of confused me a little. How would i check if i can in the package manager if i don't really know how its done? Not sure if there is a easier way? I did find some tutorials with creating a flash light on youtube, But wasnt sure if i can set the flash sequence however i want.
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15571
  • View blog
  • Posts: 62,358
  • Joined: 12-June 08

Re: How to set a different flash sequence on my app?

Posted 16 November 2015 - 09:39 AM

Those key points I highlighted go to docs to show you what the functions do and how to use them. The end game is it leads to you being able to turn off the led of the camera. Once you can do that you can set what ever sequence or pattern you would like.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1