Yahoo Messenger front camera is working now! :-)

droidrx

Senior Member
Apr 11, 2011
253
258
0
Toronto
I HAVE INSTALLED:
yahoo.imvideo-270.apk AND
com.htc.hardware.twincamdevice.jar
THANKS
you have to install yahoo.im.apk too. yahoo.im is the main app and yahoo.imvideo is the plugin for voice and video. they should be installed together. when you use the apk versions, you dont need the jar anymore


Sent from my MB860 using XDA App
 

welard

Senior Member
May 5, 2009
297
14
0
you have to install yahoo.im.apk too. yahoo.im is the main app and yahoo.imvideo is the plugin for voice and video. they should be installed together. when you use the apk versions, you dont need the jar anymore


Sent from my MB860 using XDA App

laugh....silly me...how comes i didnt think of that........thanks for pointing it out........
 

welard

Senior Member
May 5, 2009
297
14
0
HI.....how would i go about checking visidon applock manifest.xml or classes.dex to see how front camera is called or ie: (looks for front camera).........thanks

this is what i found in the manifest.xml : v i s i d o n . A p p L o c k  u s e s - s d k  u s e s - p e r m i s s i o n  a n d r o i d . p e r m i s s i o n . C A M E R A
 
Last edited:

droidrx

Senior Member
Apr 11, 2011
253
258
0
Toronto
HI.....how would i go about checking visidon applock manifest.xml or classes.dex to see how front camera is called or ie: (looks for front camera).........thanks

this is what i found in the manifest.xml : v i s i d o n . A p p L o c k  u s e s - s d k  u s e s - p e r m i s s i o n  a n d r o i d . p e r m i s s i o n . C A M E R A
That is just a permission to use the cam. Is that app available in the market? I'll take a look at it tonight


Sent from my MB860 using XDA App
 

welard

Senior Member
May 5, 2009
297
14
0
That is just a permission to use the cam. Is that app available in the market? I'll take a look at it tonight


Sent from my MB860 using XDA App

yes its on the market.....if u like the apk i got it.........by the way ymessenger shows back camera only when i do video call.....thanks
 
Last edited:

vonmaurer

Member
Jul 7, 2011
5
0
0
hi,
i have SG SL i9003 rooted with the latest froyo.
I uninstalled market YM+plugin, installed your YM then your YM plugin but it gives me error when i launch it.
Also tried with adb script but i get permission denies when typing entering su.
Any ideas?
 

nono240

Senior Member
Jul 2, 2011
61
25
0
A lot of users reporting me that the application "ooVoo" is using the FFC with their device on Froyo ! ooVoo is the app" to decompile ;)
 

domhall

Senior Member
Jul 20, 2006
621
115
0
Doesn't seem to work. I used the cwm zip to apply the update. I can see the flip camera icon but it never switches to front camera.

Update: removed and applied again through cwm, works like charm! Thanks for sharing.

Sent from my MB860 using XDA Premium App
I'm running VU1271 and I found and flashed (via recovery) a very simple file that fixed my YIM FFC issue... I'll see if I still have it on my phone when I leave work today!!!
Or... Just ck my statistics and see if there is a post on YIM under my name when the server comes back up!!!
 

ynamojn

Senior Member
Jan 6, 2011
222
59
48
YM video call problem

Sorry, maybe my question is out of topic. It has nothing to do with the front camera. But since to me, you are knowledgeable in video call using Yahoo! Messenger on Android, I hope you might have some idea to my my problem.

My problem is that I can't see the video/picture of my YM friend. Although he/she can see the video/picture from my camera. It looks like a twisted interlaced picture. Any idea maybe regarding my problem?
 

drew1974

New member
May 3, 2008
1
0
0
hellllppppp me!

hello everybody...
specially for Mr.droidx...i recently buy a samsung S2...and i have the same problem on yahoo messenger with the front camera...please explain me step by step how can i do to start front camera on.I watch your tutorial but I'm stuck on the moment.Please explain me how you do it.
With respect,
Drew


I was looking at how yahoo video plug-in uses the HTC front camera and found out that it calls “com.htc.hardware.twinCamDevice.FrontFacingCamera. getFrontFacingCamera();” to load it. So I baksmali-ed the com.motorola.hardware.frontcamera.jar and changed it to look like the HTC version so YM can use it.

ADB Method (YOU MUST BE ROOTED TO APPLY IT):

1. Extract YMFrontCamADB.zip
2. Connect your device in Debugging mode (Settings -> Applications -> Development -> USB Debugging)
3. Run YMFrontCam.bat and follow the instructions.
4. Close the process for YM plug-in.
5. Make a video call.

YMFrontCamCWM.zip and YMFrontCWMCamRemover.zip can be used for CWM un/installation


NON-ATRIX devices should use the ADB method as the CWM method is specific for Atrix only. If the ADB method doesn't work, download the com.htc.hardware.twinCamDevice.zip, extract com.htc.hardware.twinCamDevice.jar, copy it to your /system/framework and change the permission to 644



2011-05-31 - Updated to support more devices.

Gingerbread devices (using the standard 2.3 front camera API)
Motorola
Samsung
LG
Dell Streak and Streak 7 (Untested)
Huawei (Untested)
Other htc devices without the com.htc.hardware.twinCamDevice.jar (Untested)

Feel free to edit the source and make it work on your device :)

2011-05-31 - Updated YMFrontCamADB.zip script to fix mount command on other devices. The new script requires busybox (rooted devices should have it anyway)

2011-06-11 -Updated YMFrontCamADB.zip and com.htc.hardware.twinCamDevice.jar to fix the exception in integer "Parameters" values (samsung, dell, lg). Source code FrontFacingCamera.java.zip is updated as well. CWM method NOT updated.


2011-07-03 - After more than 2 months of hiding and distributing the APKs in secrecy, I’m now attaching them in here. I was advised not to post modifications for Google Market APKs here and so I did but as I can see in other threads, everything is allowed.

For a fix that does not need root and ADB stuffs, you can download the APK versions. First you have to uninstall the YM and YM plug-in from the market, install yahoo.im.apk (a must) and choose one among the plugins that suits best your need.

There are 4 versions of the plug-in I made. Some users reported that their devices got the wrong camera orientation (side-ways, or flipped image) and so I made 3 additional versions that add 90, 180 or 270 degrees clockwise to the orientation. It might or might not show the correct orientation on the android device but the transmitted image should be correct. Another thing is that, FFC and back cam doesn’t always have the same orientation so fixing the other might break the orientation of the other; so choose which cam you prefer to use.
 

nerdrin

Member
Mar 29, 2011
14
1
0
Help!, the screen is black

Help!, the screen is black on LG P970.

My log:

V/FrontFacingCamera( 2737): info: getFrontCamera begins
V/FrontFacingCamera( 2737): info: isSupported begins
V/FrontFacingCamera( 2737): info: ffcIndex 0 test (result = false)
V/FrontFacingCamera( 2737): exception: ffcIndex 1 test (java.io.FileNotFoundExce
ption: /system/framework/com.motorola.hardware.frontcamera.jar)
V/FrontFacingCamera( 2737): exception: ffcIndex 2 test (java.lang.ClassNotFoundE
xception: android.hardware.HtcFrontFacingCamera)
V/FrontFacingCamera( 2737): exception: ffcIndex 3 test (java.lang.ClassNotFoundE
xception: android.hardware.CameraSlave)
V/FrontFacingCamera( 2737): exception: ffcIndex 4 test (java.lang.ClassNotFoundE
xception: com.dell.android.hardwareCameraExtensions)
V/FrontFacingCamera( 2737): exception: ffcIndex 5 test (java.lang.NoSuchMethodEx
ception: DualCameraSwitch)
V/FrontFacingCamera( 2737): exception: ffcIndex 6 test (java.io.FileNotFoundExce
ption: /system/framework/seccamera.jar)
V/FrontFacingCamera( 2737): info: ffcIndex 7 test (result = false)
V/FrontFacingCamera( 2737): info: ffcIndex 8 test (result = false)
V/FrontFacingCamera( 2737): info: ffcIndex 9 test (result = false)
V/FrontFacingCamera( 2737): exception: ffcIndex 10 test (java.lang.reflect.Invoc
ationTargetException)
V/FrontFacingCamera( 2737): info: ffcIndex 11 test (result = false)
V/FrontFacingCamera( 2737): info: isSupported ends (ffcIndex = -1)
 

SoberGuy

Senior Member
Jan 2, 2008
776
89
0
Orange County, CA

NON-ATRIX devices should use the ADB method as the CWM method is specific for Atrix only.

OK, call me an idiot... Have an AT&T Atrix, btw.

I don't see a CWM method in the first post or any instructions for it. In looking at the various files attached, I'm assuming I can rule out the first one, as it says ADB and I'm looking to do it via CWM. The second is for HTC hardware, which obviously the Atrix is not. The next several are APKs, which obviously won't go through CWM. This leaves the last .zip. Is it safe to assume the last file attached is the one meant for flashing via CWM on an Atrix?
 

mim2007sa

Member
Mar 5, 2009
22
0
0
I was looking at how yahoo video plug-in uses the HTC front camera and found out that it calls “com.htc.hardware.twinCamDevice.FrontFacingCamera. getFrontFacingCamera();” to load it. So I baksmali-ed the com.motorola.hardware.frontcamera.jar and changed it to look like the HTC version so YM can use it.

ADB Method (YOU MUST BE ROOTED TO APPLY IT):

1. Extract YMFrontCamADB.zip
2. Connect your device in Debugging mode (Settings -> Applications -> Development -> USB Debugging)
3. Run YMFrontCam.bat and follow the instructions.
4. Close the process for YM plug-in.
5. Make a video call.

YMFrontCamCWM.zip and YMFrontCWMCamRemover.zip can be used for CWM un/installation


NON-ATRIX devices should use the ADB method as the CWM method is specific for Atrix only. If the ADB method doesn't work, download the com.htc.hardware.twinCamDevice.zip, extract com.htc.hardware.twinCamDevice.jar, copy it to your /system/framework and change the permission to 644



2011-05-31 - Updated to support more devices.

Gingerbread devices (using the standard 2.3 front camera API)
Motorola
Samsung
LG
Dell Streak and Streak 7 (Untested)
Huawei (Untested)
Other htc devices without the com.htc.hardware.twinCamDevice.jar (Untested)

Feel free to edit the source and make it work on your device :)

2011-05-31 - Updated YMFrontCamADB.zip script to fix mount command on other devices. The new script requires busybox (rooted devices should have it anyway)

2011-06-11 -Updated YMFrontCamADB.zip and com.htc.hardware.twinCamDevice.jar to fix the exception in integer "Parameters" values (samsung, dell, lg). Source code FrontFacingCamera.java.zip is updated as well. CWM method NOT updated.


2011-07-03 - After more than 2 months of hiding and distributing the APKs in secrecy, I’m now attaching them in here. I was advised not to post modifications for Google Market APKs here and so I did but as I can see in other threads, everything is allowed.

For a fix that does not need root and ADB stuffs, you can download the APK versions. First you have to uninstall the YM and YM plug-in from the market, install yahoo.im.apk (a must) and choose one among the plugins that suits best your need.

There are 4 versions of the plug-in I made. Some users reported that their devices got the wrong camera orientation (side-ways, or flipped image) and so I made 3 additional versions that add 90, 180 or 270 degrees clockwise to the orientation. It might or might not show the correct orientation on the android device but the transmitted image should be correct. Another thing is that, FFC and back cam doesn’t always have the same orientation so fixing the other might break the orientation of the other; so choose which cam you prefer to use.
Thanks brother. It works now on my Galaxy S 1. I was so eager for this front cam correction. Thanks brother.