lg expo forum
Find Your Forum
  
Welcome, Guest. Please login or register.

News: Do you like LG eXpo?
Advanced search
Get invisibleSHIELD for LG eXpo      Scratch Protector for LG eXpo      Hottest Ringtones for LG eXpo Awesome Price on AT&T phones
Pages: [1] 2
Print
Topic: Will pay $50.00 USD For Flashlight, Torch App  (Read 2810 times)
Douglas5763
Newbie
*

Cookies: 0
Offline Offline

Posts: 11


View Profile
« on: May 01, 2010, 01:43:25 PM »

Hello All,

I am willing to pay $50.00 USD for an app that turns the Camera LED on and off.

I had an app called Zlight for my E-ten M800 that when you open the app it simply turns the led on and off.
I dont need any options just a simple on and off.
I will promply pay through paypal.

 
Logged
mrpants
Full Member
***

Cookies: 5
Offline Offline

Posts: 103


View Profile
« Reply #1 on: May 03, 2010, 09:15:12 PM »

I'm flattered if this is a result of my post in the other thread   Shocked

I took a look at the cameraplatform.dll and I think it's got what I'd need. I couldn't figure out where the lgcamera app made it's calls, but I didn't look too hard, tomorrow perhaps.

I did check out the source for torchbutton   briefly


it's got very similar calls for one of it's supported models, but my c++ is weak enough I wouldn't feel ok running something I wrote on my phone, let alone anyone elses. Sad

You may want to try asking the original developer of torchbutton; he should only need our cameraplatform.dll ... and possibly a little incentive like you've provided here. Wink


Otherwise, I'll eventually be taking a stab at creating a simple c# lib and open sourcing the "result...After looking at torchbutton I think I'd have a tough time not implementing all those features if I built a flashlight app but that's going to take some time.  Undecided
« Last Edit: May 03, 2010, 09:18:58 PM by mrpants » Logged
zoom
Newbie
*

Cookies: 0
Offline Offline

Posts: 5


View Profile
« Reply #2 on: May 06, 2010, 09:11:21 PM »

Save the $50!  Goto the camara.  Flip it to vidoe.  There is a lightning symbol on the left side of the screen...click that.  Check always on.  Now, whenever you go to video, the light will always be on.  I am a Realtor and use it all the time.  It is crazy bright too.  Great! 
Logged
Douglas5763
Newbie
*

Cookies: 0
Offline Offline

Posts: 11


View Profile
« Reply #3 on: May 09, 2010, 08:47:06 PM »

I'm flattered if this is a result of my post in the other thread   Shocked

I took a look at the cameraplatform.dll and I think it's got what I'd need. I couldn't figure out where the lgcamera app made it's calls, but I didn't look too hard, tomorrow perhaps.

I did check out the source for torchbutton   briefly


it's got very similar calls for one of it's supported models, but my c++ is weak enough I wouldn't feel ok running something I wrote on my phone, let alone anyone elses. Sad

You may want to try asking the original developer of torchbutton; he should only need our cameraplatform.dll ... and possibly a little incentive like you've provided here. Wink


Otherwise, I'll eventually be taking a stab at creating a simple c# lib and open sourcing the "result...After looking at torchbutton I think I'd have a tough time not implementing all those features if I built a flashlight app but that's going to take some time.  Undecided


Well, i contacted Netripper the author of Torchbutton.  I have yet to hear anything.

My offer still stands.
Logged
mrpants
Full Member
***

Cookies: 5
Offline Offline

Posts: 103


View Profile
« Reply #4 on: May 10, 2010, 05:21:54 PM »


Well, i contacted Netripper the author of Torchbutton.  I have yet to hear anything.


The HD2 is actually pretty close hardware wise to the IQ/Expo (in so far as they're both snapdragons and running at least the same family of board underneath) so most of his existing knowledge should be transferable ... it's too bad he hasn't responded. Sad

I was going to try posting in that thread or PMing him but I figured I should give it a shot on my own first.

Anybody that's reading this know anything about LEDs? I'd like to know if I go low on the amperage to the led if it'll be detrimental to it's health. I know overpowering it is. Superficial googling says no, but you can't believe everything you read on the internet. Wink

I'm dividing my free time between this and a custom rom, so hopefully I'll have something by the end of the week ...
Logged
Jug6ernaut
Full Member
***

Cookies: 6
Offline Offline

Posts: 166



View Profile
« Reply #5 on: May 10, 2010, 05:53:12 PM »

unless someone here knows how to hack dll's we wont ever have this app...
Logged

LG Monaco/LG Expo
-------
HTC Raphael/AT&T Fuze
-------
HTC Kaiser/AT&T Tilt
-------
HTC Wizard/Cingular 8125

"If your not smart enough to make your own rom, you are smart enough to fuck up someone elses"[
mrpants
Full Member
***

Cookies: 5
Offline Offline

Posts: 103


View Profile
« Reply #6 on: May 10, 2010, 08:02:38 PM »

unless someone here knows how to hack dll's we wont ever have this app...

I've been playing with the cameraplatform.dll. Based on the little I remember of assembly from school, a couple of quick web tutorials on arm + asm and reading hd2 hacking threads I think I've got a decent shot at making it work. Smiley

That's why I was asking about the LEDs. The easiest route seems to be to call a function that literally tells the phone to pass X milliamps to the LED. This is one of the two methods torchbutton uses on the HD2.  For those that are interested, the other method entails going a little "lower" in the software stack to try and get a better "bright" mode[1]; which while I understand the concept is not something I really  want to mess with, so if I succed it'll at all probably be the one lower/safe setting.  Undecided

[1] apparently there's an auto-off in the hardware of the HD2 that cuts the bright mode after approximately 750MS... probably to stop the LED from overheating .... I don't think I'm brave enough to push my only phone's hardware to test that we have it too.

While all that probably could have been summed up with "don't give up hope yet" I'm in a rambling type mood Wink

Could someone with an Expo post their cameraplatform.dll .. I want to make sure it's the same as the IQ and don't really want to download the whole Expo OEM package for the one dll.
Logged
dalb3
Newbie
*

Cookies: 0
Offline Offline

Posts: 34


View Profile
« Reply #7 on: May 11, 2010, 02:23:08 AM »

I just have my video camera's light function set to "on" so when i hit the camera quick access button i slide it over and the light comes on automatically. Works fine for me.
Logged
Douglas5763
Newbie
*

Cookies: 0
Offline Offline

Posts: 11


View Profile
« Reply #8 on: May 12, 2010, 09:36:29 AM »

I have used the camera app to use as a flashlight, but it is an extreme waste of battery life.  You see the screen is on and the camera is on as well as the LED, this is a big waste of resources.  I would really like an app to turn on the LED.

Mr Pants,  As far as underpowering LED's it should not be a problem, but overpowering would be.  I think a safe bet would be to start around 60 to 100 milliamps and not go above 350 milliamps. As far as DLL files go im completely clueless, that is why i have made the offer of $50.00.  And if Mr Pants can make it work as a flashlight then i will be paying.  I use the flashlight on my other phone on a regular basis and having a working flashlight on my new phone is worth paying for.  Keep up the good work.
Logged
mrpants
Full Member
***

Cookies: 5
Offline Offline

Posts: 103


View Profile
« Reply #9 on: May 12, 2010, 09:52:53 AM »

I have used the camera app to use as a flashlight, but it is an extreme waste of battery life.  You see the screen is on and the camera is on as well as the LED, this is a big waste of resources.  I would really like an app to turn on the LED.

I agree ... and I'm hoping the LED'll stay on while the display is off without me having to do anything crazy Smiley

Mr Pants,  As far as underpowering LED's it should not be a problem, but overpowering would be.  I think a safe bet would be to start around 60 to 100 milliamps and not go above 350 milliamps.

The "Bright" mode on the HD2 is from 31 milliamps to 255 (iirc) ... torchbutton uses 1 milliamp for the 'normal' mode which is where I'll be starting since it should be safe.

I've got a rudimentary gui with a slider allowing my test app to push more milliamps without recompiling all the time ... if that works out for me I may push it above 30 and see what happens....if I don't post again my phone probably exploded and I died in the resulting blast. Wink


As far as DLL files go im completely clueless, that is why i have made the offer of $50.00.  And if Mr Pants can make it work as a flashlight then i will be paying.  I use the flashlight on my other phone on a regular basis and having a working flashlight on my new phone is worth paying for.  Keep up the good work.

Thanks for the words of encouragement. Smiley  

I decided to grab the Expo Add-On for the kitchen so I've got everything I could possibly need for it too.

I've got some time today (if MS's patches yesterday didn't break anything that I didn't notice...no calls from clients yet Smiley ) So hopefully I'll have an update on my progress a little later.


edit:
I have no progress to report. I didn't have any luck in the brief amount of time I was playing with it. Sad

I've got a few more calls in the dll I'm going to try before I hook a debugger up to LGCamera and see if I can figure out how it's initializing the camera. I still haven't figured out what to do with LGCamera.pak, which I assume is where most of what I'm looking for lies. Undecided
« Last Edit: May 12, 2010, 07:28:02 PM by mrpants » Logged
mrpants
Full Member
***

Cookies: 5
Offline Offline

Posts: 103


View Profile
« Reply #10 on: May 13, 2010, 07:41:38 PM »


Another disheartening day. Sad For anyone following along, I hooked my phone up to my dev laptop and attached a debugger to the lgcamera app. It doesn't even load the cameraplatform.dll but instead uses a "lower level" dll (remote_api_clnt); which, I'm sure not entirely coincidentally, cameraplatform imports and wraps.

I haven't been able to find a test for the flash in the engineering menu or qtest[1], does anyone know if I missed it?

[1] There's a test that fires up the lg camera, records a quick video and then launches that video in media player, but that's not really helpful.

soooo .. I'm going back to trying to read through the decompiled dll (I can only spend so long in front of a debugger and stay sane .. not that staring at assembly code is any better Wink ) to try and determine how to initialize the flash.

I've also posted on lgcommunity.com, maybe lgproductpro will hook us up Smiley
Logged
mrpants
Full Member
***

Cookies: 5
Offline Offline

Posts: 103


View Profile
« Reply #11 on: May 27, 2010, 10:08:10 AM »

Just a quick update on my lack of progress.

I haven't given up hope, I just haven't had much time. Between work, may24, and the release of Red Dead Redemption (which is highly recommended!) I haven't been motivated enough to even look at it for more than a few minutes.

I did open a support ticket with LG's developer network asking for some form of docs/sdk for our devices ... I haven't had a response in 9 days though. Sad

It's interesting that the Leo CPU speed app works on our devices, that may mean the registers for the flash are the same too ... that'll be my next attempt .. maybe this afternoon if cleaning the inside of my car doesn't take up too much time (it's kinda dirty  Embarrassed )

Logged
mrpants
Full Member
***

Cookies: 5
Offline Offline

Posts: 103


View Profile
« Reply #12 on: June 15, 2010, 08:43:03 AM »

Just a quick update on my lack of progress.
Still lacking progress and time, I've barely even looked at it since my last post.

I did open a support ticket with LG's developer network asking for some form of docs/sdk for our devices ... I haven't had a response in 9 days though. Sad

After almost a month I got a response, basically saying they're sorry they took so long and they've made changes to ensure it wont happen again. Additionally they would be happy to help me with java, which (at least according to LG's SDK) is too "high level" for what we need but I've asked if they knew some way to do it regardless.
Logged
mrpants
Full Member
***

Cookies: 5
Offline Offline

Posts: 103


View Profile
« Reply #13 on: July 11, 2010, 09:36:02 PM »

Subject says it all. Sad

I've only had about two hours to devote to it since the last time I posted. That's not entirely true ... I've only gotten off my ass and devoted two hours to it since the last time I posted.  Embarrassed

Not much has changed. I haven't heard back from LG regarding doing it through java, and I haven't figured out how to unpack the .pak files the camera uses.

I did try using the IO Control Codes from the Leo (taken from htc's flashlight) but didn't have any luck. Unlike the CPU the camera and flash is apparently manufacturer specific (which makes sense, the Leo has two LEDs and the Acer F1 has a lower res camera).

Unfortunately this next month isn't looking any more promising for time. Not only is it summer, but I've got a bunch of work on the go and a developing addiction to both red dead redemption and crackdown 2. Wink

I think I've found a way to possibly do this in Java (see jsr-234 FlashControl http://mobilezoo.biz/jsr/234/index.html if you wanna give it a shot yourself), which will be better than nothing in the short term. And hopefully then I can see how Java's interacting with the hardware to turn the light on and rewrite it in something a little more performant.

As per usual, I'll post here if I succeed or if another month goes by.  Undecided
Logged
Douglas5763
Newbie
*

Cookies: 0
Offline Offline

Posts: 11


View Profile
« Reply #14 on: August 15, 2010, 02:35:04 PM »

Well Im glad to see that people have not given up.  My offer still stands.  I do appreciate the time and work that has been put forth already. 
Logged
Pages: [1] 2
Print

Jump to:  

Got a new phone? Find the forum here


Related Topics
Subject Started by Replies Views Last post
Flashlight?
How To....
nm1069 6 1037 Last post March 21, 2010, 05:36:37 PM
by modry
Flashlight , Torch , LED Flashlight App.
Third Party LG eXpo Applications
Douglas5763 4 1403 Last post October 17, 2010, 03:38:31 PM
by mrpants




Thanks for visiting LG Expo Forum Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Sitemap

Galaxy Note | Samsung Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "sales@verticalscope.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip