Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,235 Members 50,665 Now Online
XDA Developers Android and Mobile Development Forum

[TUTORIAL] How to recording video with active music

Tip us?
 
Jeka_Osokin
Old
(Last edited by Jeka_Osokin; 9th April 2014 at 06:31 PM.)
#1  
Senior Member - OP
Thanks Meter 108
Posts: 174
Join Date: Jun 2012
Location: Irbit

 
DONATE TO ME
Info 2 [TUTORIAL] How to recording video with active music

Hi! Its my first thread in XDA...
So, when you open SemcCamera.apk with active music, your music is stopped by camera app
I finded method to recording video with playing songs!
1. So decompile your SemcCamera.apk
2. Go to SemcCameraUI.apk\smali\com\sonyericsson\android\ca mera\IntentHelper$BroadcastIntent.smali
3. Find .field public static final MUSICSERVICE_COMMAND_PAUSE:Ljava/lang/String; = "pause"
3.1 And remove "pause" in this line
(lock like this .field public static final MUSICSERVICE_COMMAND_PAUSE:Ljava/lang/String; = " ")
4. Go to SemcCameraUI.apk\smali\com\sonyericsson\android\ca mera\ExtendedActivity.smali
4.1 Find const-string v2, "pause" and remove!
4.2 Find invoke-direct {p0, v1}, Lcom/sonyericsson/android/camera/ExtendedActivity;->muteSound(I)V and remove
5. recompile and enjoy!
Sorry for bad English!
I hope that one day porting SkinPicker from 2012/2013 xperia phones! Please who have the time, get it
The Following 3 Users Say Thank You to Jeka_Osokin For This Useful Post: [ Click to Expand ]
 
devilmaycry2020
Old
#2  
devilmaycry2020's Avatar
Senior Member
Thanks Meter 120
Posts: 755
Join Date: Apr 2013
Quote:
Originally Posted by Jeka_Osokin View Post
Hi! Its my first thread in XDA...
So, when you open SemcCamera.apk with active music, your music is stopped by camera app
I finded method to recording video with playing songs!
1. So decompile your SemcCamera.apk
2. Go to SemcCameraUI.apk\smali\com\sonyericsson\android\ca mera\IntentHelper$BroadcastIntent.smali
3. Find .field public static final MUSICSERVICE_COMMAND_PAUSE:Ljava/lang/String; = "pause"
3.1 And remove "pause" in this line
(lock like this .field public static final MUSICSERVICE_COMMAND_PAUSE:Ljava/lang/String; = " ")
4. Go to SemcCameraUI.apk\smali\com\sonyericsson\android\ca mera\ExtendedActivity.smali
4.1 Find const-string v2, "pause" and remove!
4.2 Find invoke-direct {p0, v1}, Lcom/sonyericsson/android/camera/ExtendedActivity;->muteSound(I)V and remove
5. recompile and enjoy!
very good. it's worked on my TX4.3 but on Manual mode only, Auto Mode got FC. please help. anyway my TX have different files. i have to edit these file:
BaseActivity.smali,IntentConstants$BroadcastIntent .smali,CommonConstants$BroadcastIntent.smali
Click the "Thanks" button if I've helped you
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes