yashsingh1/xdaforums huggingface dataset:
[Sony Xperia L] serajr:
Bro... unfortunatelly I have no guide showing how to implement it into SystemUI.apk, but just take a look at RecentsPanelView.smali from this mod and compare to yours!
[Sony Xperia L] Darklord96:
Okay bro

but u need to make a guide for noobs like me LOL

just tell me which xmls and smali files i should compare bro :confused:

and thanks for help :good::good:
[Sony Xperia L] skad00sh:
If you are the noob, then I am the elite developer here! Lol lol!! 8) :p :D
[Sony Xperia L] ralude2014:
works good

:good: nice work, after several hours now finally working on my xperia L C2105 with 15.3.a.1.17 :D

You need this to deodex: http://xdaforums.com/xperia-l/development/deodexer-15-3-1-17-deodexed-zipaligned-t2739756

NO need to change the services.jar, it works after flashing deodex and flashing swiping_powertoggles.zip :D:D

Thank you serajr & Ben Ling
[Sony Xperia L] Bakaczo2:
Serajr, I follow Your work more than 2 years. I started when i got LWW, now L :)

Your work is flawlees man, thank You for Your time spended on something You're giving for free.

That Power Toggles is ideal for me, I love to have all important settings under finger.

I have 2 questions about SystemUI:

1.) How can I make SystemUI transparent, without using Xposed? (I dont see that option in Your Xperia Xposed Module, and i dont want to use others modules like GB, cause I think they consuming a lot of RAM)

2.) In this Topic i red about more advanced SystemUI from Your hand, can I find it for my device?

Xperia L 15.3.A.17
[Sony Xperia L] androidfreak70:
[MENTION=3989065]serajr[/MENTION] WOW!

Its really amazing:crying:

PLEASE port this for xperia z kitkat:(

Now xperia L is better than Z with this:crying::D:(
[Sony Xperia L] dywerd:
Hi all! Can someone share the first version of this mod? I need that.
[Sony Xperia L] serajr:
Thank you so much buddies!!

Xperia Xposed v3 will have suggested features ;)
[Sony Xperia L] androidfreak70:
We all waiting impatiently for it :)

Xperia™ Z (C6602) with Tapatalk.
[Sony Xperia L] the_vanya1:
[MENTION=3989065]serajr[/MENTION] thx fot this awesome work)

I try to port your toggles and its work, but when I choose flashlight and others toggle - fc

Pls check my logcat
[Sony Xperia L] serajr:
Thank you!

Caused by: java.lang.[B]NoClassDefFoundError[/B]: com/serajr/powertoggles/utils/[B]LedController[/B]

Compiler did not found LedController class.

Is LedController.smali inside com\serajr\powertoggles\utils\ folder?
[Sony Xperia L] the_vanya1:
[MENTION=3989065]serajr[/MENTION] i already fix it, thx but new error with flip anim). Maybe i can delete flip anim line in flashlight.smali?

Update - Success with port flip anim and flashlight. And now, i try to port camera toggle

Pls check this logcat (when i tap and long click on camera). No field error. but in your .smali dont have this field
[Sony Xperia L] Punkzappa09:
Hi Sir [MENTION=3989065]serajr[/MENTION] I've ported your great work (viewpager,customdrawer and powertoggles) on our device.. which is My|phone A848i duo ( JB .4.1.1 ) here in Philippines.. :o

Sorry Sir if I change/edit the MeProfile.smali.. because the image/picture is kinda blurred/pix-elated in your device..

i want to have Camera toggle.. but I think it's not working in 4.1.1 :crying: Sorry for my bad english.. thank you so much for this.. ;)

take a look at here Sir.. https://www.youtube.com/watch?v=xQEWbGxys7Q
[Sony Xperia L] serajr:
Great job!!

The camera button uses functions/methods added on api level 17 (4.2.2), I don't know if you can replace them!
[Sony Xperia L] Punkzappa09:
i think i need to put PanelView.smali in my systemui sir.. that's what my logcat say.. hehehehe :)

I'm not sure..
[Sony Xperia L] dr3amCatch3r:
Help please.

Ehmm..Hey I got a little problem with that,did everything that was said on my xperia L c2105 and after that my systemUI and settings things disappeared even though I set them as 0644 in the system app root folder.Is there an easy way to fix this cause wouldn't like to flash again the stock Rom after I managed to clean it form most of the bloatware.Just wanted a nice perk :(
[Sony Xperia L] DihaX:
Try disable system applications signature check, the systemUI and settings disappeared because app not installed :D
[Sony Xperia L] Mystery000777:
Master serajr are you going to update this? Or your not planning to do so :( anyway thanks for your hard work! Also do you have any idea to make our status bar change colors like paranoid android and the x posed module?
[Sony Xperia L] Nagaeh:
In the event you plan to update this module,

Could u remove the white space between the toggles and the clock? (Probably enlarge the toggles to fill the space)
[Sony Xperia L] Udit_Sharma:
Sir whan i flash the zip and reboot my xperia l it show error (system ui has stop working) plz help and sry for bad English
[Sony Xperia L] sconly:
I realise that this is an old thread, but does anybody still have a copy of this? As the links don't work for me.

Thanks
[Sony Xperia L] vanitea:
Yes.... canot take screenshot after using it
[Sony Xperia L] Marília de Oliveira:
Great job [Ótimo Trabalho]

Ótimo trabalho Serajr, grande criatividade em sua SystemUI. Quero para o linha Xperia 2011 kkkk :D

Serajr great job, great creativity in your SystemUI. I want to Xperia line 2011 kkkk
[Sony Xperia L] Svartehjerte:
Ok serajr, after recovering my phone and installing c'n't, i'm running this. Obrigado!
[Sony Xperia L] skad00sh:
Done! Thanks!
[Sony Xperia L] serajr:
Volume Down + Power (not working?)

or

Sdk monitor.bat
[Sony Xperia L] SlikToxic:
Vol down + Power didn't work to take screenshot after using power toggle systemui.

It works :P I just knew you applied new method of power toggle that it must swipe screen from the left to see your toogle :D
[Sony Xperia L] vanitea:
Vol down + power

It shooted but on notification shown "coldn't capture screenshot. couldn't save screenshot, storage maybe in use"
[Sony Xperia L] serajr:
:confused:

I´m gonna investigate it ok!!!
[Sony Xperia L] SlikToxic:
deleted
[Sony Xperia L] niaboc79:
Sera, quick question.

How are you determining if an icon is colored or not, in which smali file. For example some sound icons are not colored. I want to remove theme coloring of some icons like battery and settings ;)

Cheers

Envoyé de mon C6603 en utilisant Tapatalk
[Sony Xperia L] Svartehjerte:
Serajr... what people say is true:

-Screenshot working in c'n't with your "stock" sysui version

then by installing new sysui with sliding menu

-Screenshot by vol down + power doesn't work, since it takes the picture but a message appears saying "screenshot couldn't be saved"

-Same goes to boot menu (Power off/Reboot/Flight mode/Take screenshot)
[Sony Xperia L] vanitea:
This is log for that isue

https://db.tt/sQZEJSwJ
[Sony Xperia L] niaboc79:
Found answer by myself :laugh:

Replaced

.method protected updateState()V
.locals 1

.prologue
.line 99
const-string v0, "power_toggles_system_settings_icon"

invoke-static {v0}, Lcom/serajr/powertoggles/utils/ResourceUtils;->getDrawableResId(Ljava/lang/String;)I

move-result v0

iput v0, p0, Lcom/serajr/powertoggles/buttons/SystemSettings;->mIcon:I

.line 100
const/4 v0, 0x6

iput v0, p0, Lcom/serajr/powertoggles/buttons/SystemSettings;->mState:I

.line 102
return-void
.end method

by

.method protected updateState()V
.locals [COLOR="Red"]2[/COLOR]

.prologue
[COLOR="Red"]const/4 v1, 0x2[/COLOR]

.line 99
const-string v0, "power_toggles_system_settings_icon"

invoke-static {v0}, Lcom/serajr/powertoggles/utils/ResourceUtils;->getDrawableResId(Ljava/lang/String;)I

move-result v0

iput v0, p0, Lcom/serajr/powertoggles/buttons/SystemSettings;->mIcon:I

.line 100
const/4 v0, 0x6

iput [COLOR="Red"]v1[/COLOR], p0, Lcom/serajr/powertoggles/buttons/SystemSettings;->mState:I

.line 102
return-void
.end method

or I could have simply change

.line 100
const/4 v0, 0x6

by

.line 100
const/4 v0, 0x2

Now I must found where value used for mState determine if icon is colored or not...

Edit: Found once more:

.field public static final STATE_DISABLED:I = 0x2

.field public static final STATE_ENABLED:I = 0x1

.field public static final STATE_INTERMEDIATE:I = 0x5

.field public static final STATE_TURNING_OFF:I = 0x4

.field public static final STATE_TURNING_ON:I = 0x3

.field public static final STATE_UNKNOWN:I = 0x6
[Sony Xperia L] samsoul16:
Buddy while giving the teaser u had written for gb+ so can it be back ported to gb? have u made the preferences app to work with gb?

And check ur inbox I have sent u files yesterday only.

Sent from my GT-S6102 using Xparent BlueTapatalk 2
[Sony Xperia L] serajr:
That´s a functional workaround!!! Congrats!

"or I could have simply change" << Yep!

If you take a look into arrays.xml you can see one titled "power_toggles_available_buttons" that has buttons keys. I´ve implemented it to allow themer/dev an easy way to choose which buttons they want, so if you remove one from there, this one will not be loaded into Power Toggles.

So I can easily create a new array in which just buttons inside it will be colored with accent color! What about?
[Sony Xperia L] serajr:
Not totally tested yet, so I can´t tell you for sure, but Power Toggles can be successfully compiled with API Level 10!

Issue found!!! Thanks again for feedback... I need some time to fix it, so in this meantime if you need to take screenshots, sdk monitor is a good alternative!
[Sony Xperia L] samsoul16:
means the app u made in eclipse named power toggles can be compiled with gb api. so it can be backported to gb but problem is of navigation drawer i think its supported from 4.1 can u build it like noraml app with api for gb so i can test it as an normal app and see if it works. if yes i will definately backport it to gb..like i had backported ur jellybean like lidroid code to gb. remember i was the first to do it:D:p but i shared it l8. check ur inbox also
[Sony Xperia L] serajr:
Bro... Here´s a GB (API level 10) compiled CustomNavigationDrawer test app. I´ve built it to looks like expanded view (tried :p)

Install it as normal apk... If it works, you can start porting it into a fresh GB SystemUI (from your fw) by comparing its code to mine (from OP)... good luck!

.

.
[Sony Xperia L] Gabboxxx:
Hey man, u can upload a services.jar patched for xL?? Thanks
[Sony Xperia L] niaboc79:
I am doing my best to learn ;)

Yes very good idea for new array as I would like to have some icons exactly like this, my own variation of quick settings.

Envoyé de mon C6603 en utilisant Tapatalk
[Sony Xperia L] iAyush:
Looks pretty good. Imma try it very soon.
[Sony Xperia L] Droidlover123:
[MENTION=3989065]serajr[/MENTION] bro one more unique work:thumbup::thumbup:

And if you remember I asked for tutorial:p:p:D
[Sony Xperia L] djedjy:
Works on ICS too ;)
[Sony Xperia L] niaboc79:
Hi, sera

I've had some time this morning so I've ported the Swiping Power Toggles to JB 4.1.2 :good:

There is one problem, JB 4.1.2 doesn't have method makeExpandedInvisibleSoon()V so the CustomDrawer is not close automatically when the expanded status bar is closed.

I thought to add the method but she need an other one: makeExpandedInvisible()V who need many more smali edition to be fully implemented.

Any easy way to change things or it will need deep work?

Something else:

How to add back the text under each toggle?

Thanks
[Sony Xperia L] SpaceCaker:
same here

what i did for the toggles was use the old lidroid toggles ;)

It has text under the toggles ;)

or use the other Powertoggles smalis from serajr.

there can be done a lot with this ;)

its nice feature.
[Sony Xperia L] NoeVermilion:
HELP

me too i can't make a screenshot...help me sir it's always show on notification like COULDN'T SAVE SCREENSHOT....thanks :crying:
[Sony Xperia L] skad00sh:
This bug is noticed by [MENTION=3989065]serajr[/MENTION], and glad to tell you that he has already fixed it! Just wait for release of v1.1
[Sony Xperia L] serajr:
Great news!!!!

For 4.1.2 I think you´re right on put CustomDrawerLayout visibility line within makeExpandedInvisible()V, put that line just before return-void

To show up toggles tittles back, delete red lines

.method private setupPowerToggles()V
.locals 3

.prologue
.line 45
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

const v1, 0x7f0800f6

invoke-virtual {v0, v1}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

move-result-object v0

check-cast v0, Lcom/serajr/powertoggles/PowerToggles;

iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerToggles:Lcom/serajr/powertoggles/PowerToggles;

.line 46
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerToggles:Lcom/serajr/powertoggles/PowerToggles;

iget-object v1, p0, Lcom/android/systemui/SystemUI;->mContext:Landroid/content/Context;

invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v1

const v2, 0x7f0d005e

invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

move-result v1

invoke-virtual {v0, v1}, Lcom/serajr/powertoggles/PowerToggles;->gridWidth(I)V

[COLOR="Red"].line 47
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerToggles:Lcom/serajr/powertoggles/PowerToggles;

const/4 v1, 0x0

invoke-virtual {v0, v1}, Lcom/serajr/powertoggles/PowerToggles;->buttonShowLabel(Z)V[/COLOR]

.line 48
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerToggles:Lcom/serajr/powertoggles/PowerToggles;

invoke-virtual {v0}, Lcom/serajr/powertoggles/PowerToggles;->setupPowerToggles()V

.line 49
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerToggles:Lcom/serajr/powertoggles/PowerToggles;

invoke-virtual {v0}, Lcom/serajr/powertoggles/PowerToggles;->updatePowerToggles()V

.line 50
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerToggles:Lcom/serajr/powertoggles/PowerToggles;

new-instance v1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$41;

invoke-direct {v1, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$41;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

invoke-virtual {v0, v1}, Lcom/serajr/powertoggles/PowerToggles;->setChangeContentObserverListener(Lcom/serajr/powertoggles/PowerToggles$ChangeObserverCallbackInterface;)V

.line 51
return-void
.end method

I´ve fixed screenshots issue, so If you want, wait just a single day to release your ported versions, you´ll have to change some few lines. I´ll provide you (here) a little guide.

Btw... others news from v1.1 are:

- Array for colored buttons (as we talked about)

- PowerTogglesReceivers.apk - tiny app (about 11kb) that receives intents from SystemUI Power Toggles and change proper system settings, so SystemUI queue processes becomes lighter!

Let´s make our beloved xperias fly (at least we try :p)!
[Sony Xperia L] Gabboxxx:
thankss man =P u are the boss =)

the only bad thing is the time what i spend trying to deox my phone XD

thanks bro
[Sony Xperia L] niaboc79:
1) On 4.1.2 we don't have makeExpandedInvisible()V neither so I have added:

.line 2048
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mCustomDrawerLayout:Lcom/serajr/systemui/navigationdrawer/CustomDrawerLayout;

invoke-virtual {v0}, Lcom/serajr/systemui/navigationdrawer/CustomDrawerLayout;->closeDrawers()V

.line 1779
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerToggles:Lcom/serajr/powertoggles/PowerToggles;

invoke-virtual {v0}, Lcom/serajr/powertoggles/PowerToggles;->fullScroll()V

in this method:

.method performCollapse()V
.locals 4

.prologue

[COLOR="Red"].line 2048
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mCustomDrawerLayout:Lcom/serajr/systemui/navigationdrawer/CustomDrawerLayout;

invoke-virtual {v0}, Lcom/serajr/systemui/navigationdrawer/CustomDrawerLayout;->closeDrawers()V

.line 1779
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerToggles:Lcom/serajr/powertoggles/PowerToggles;

invoke-virtual {v0}, Lcom/serajr/powertoggles/PowerToggles;->fullScroll()V[/COLOR]

const/4 v3, 0x0

.line 1447
iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedVisible:Z

if-nez v0, :cond_1

...

2) I haven't had any problem with screenshots in my differents ports (4.2.2 or 4.1.2), maybe because I have implemented your stuff on my own systemUI.

3) Thanks for the text under toggle (Why not add the option... ) :victory:

4) Array with colored stuffs, great way to do some nice variation :good:

Keep the good work :p
[Sony Xperia L] NoeVermilion:
Thanks sir i hope it will fix soon.. :D
[Sony Xperia L] Chocklety Boyee:
Gud work [MENTION=599722]niaboc79[/MENTION] bro..hope we ll get this kinnda system ui plus z1 taskswitcher in this upcoming Ota update for 4.1.2..you are so awsome bro..camly waiting for ya...
[Sony Xperia L] whalesplaho:
any update for V/T/Tx users brov?
[Sony Xperia L] niaboc79:
Waiting next version, this one ported already to SP and S.
[Sony Xperia L] niaboc79:
Worked with alpha and do some more, here's screenshots of copy and original :D
[Sony Xperia L] whalesplaho:
i trust yhu buddy... i know yhu will!! thanks. hope tha ME picture wont be blurry anymore?

"Sorry, you are limited to 8 thanks per day"

Serajr.... Always tha King! :D
[Sony Xperia L] rakz992:
[MENTION=3989065]serajr[/MENTION]

After adding these lines to build.prop,

dalvik.vm.verify-bytecode=false

dalvik.vm.dexopt-flags=v=n,o=v,m=y

I don't have verifier error for class phonestatusbar anymore after build.prop editing

But the systemui doesn't start nor it gives fc, this is for port to ICS

Also there is no StatusbarWindowView.smali for ICS, what do I replace in methods setupPowerToggles etc in place of StatusbarWindowView?

I've attached a screenshot of logcat after adding lines to build.prop

Thanks in advance :)
[Sony Xperia L] serajr:
dalvik.vm.verify-bytecode=false

dalvik.vm.dexopt-flags=v=n,o=v,m=y

Lines above are not necessary, they are within C´n´T build.prop for future use, so u can remove them!

Logcat does not show us relevant info!!

Amazing bro!! Next version soon...

I´m in a kind of personal vacations with my wife right now, I´ll come back to real life in the middle of this week!!!!!!
[Sony Xperia L] niaboc79:
Enjoy time with your wife, mine would be happy if I was doing the same with her :D Spending too much time on our computers...

In the meantime, I have created a new toggle Camera :D and redrawed all icons ;)

Envoyé de mon C6603 en utilisant Tapatalk
[Sony Xperia L] getochkn:
I like the old way with the pull down from the top and the labels underneath the icon. Good job Serajr, but I uninstalled and installed Gravity box to use instead. I like having 1 corner as a hotspot and label!!!! I can't remember what every icon does. lol.
[Sony Xperia L] NoeVermilion:
Waiting for the next version of Serajr Swiping Power Toggles v1.1 that can save my screenshot..:fingers-crossed:
[Sony Xperia L] serajr:
I´m gonna try to release it today yet!!!

What can I say, unless... AMAZING!!!!

Check your pm!
[Sony Xperia L] serajr:
My new baby was borned... (720p please)

[MENTION=599722]niaboc79[/MENTION] Thank you very much my friend!!!

[YOUTUBE]MoJCp0ATyp0[/YOUTUBE]​
[Sony Xperia L] niaboc79:
You're welcome :D

Even better than what we talked ;)

Hurried to test it :P
[Sony Xperia L] serajr:
You´ll be the first one as promissed (soon I´ll send it to you)... I intend to release it by tomorrow!!!

HUGE thanks and credits go to you on OP with its release... Thanks again!!!
[Sony Xperia L] skad00sh:
Awesome!!! Looking very nice!!!

Eagerly waiting for next release!!!
[Sony Xperia L] vanitea:
Waiting for new version update

Btw, congratulation for serajr junior birth.
[Sony Xperia L] NoeVermilion:
that's awesome [MENTION=3989065]serajr[/MENTION]...n congratulations for serajr junior was born...

i'm still waiting for he get growing up everytime... :D :fingers-crossed:
[Sony Xperia L] zacutesz:
can i use this SystemUI in AOSP ROM?? right now i'm in Phantom kernel v3 and AOSP ROM..
[Sony Xperia L] samsoul16:
THIS IS SUPER SEXY AWESOME. BUDDY FOR GB TOO :P and u returneD? very good. u came and releasing a superb update
[Sony Xperia L] serajr:
Thanks bro... Yep!!

And also a ListView kind Power Toggles will be available soon...
[Sony Xperia L] samsoul16:
u Could Have Pressed it :P
[Sony Xperia L] R.A.B:
Ha, that's great... - I love it. Thank you very much!
[Sony Xperia L] Gabboxxx:
Excuse me, Where is the New link? o.o

Is for the video or the v2

Thanks :)

Awesome work :3
[Sony Xperia L] serajr:
Here
[Sony Xperia L] Gabboxxx:
Thanks for reply, i think that link is for dowload v2. :(

Other question, u have any app in play market?? I wanna to gift to u a beer and support your work

:D
[Sony Xperia L] SpaceCaker:
Damn looka nice and the icons are amazing aswel :)

good job :thumbup:
[Sony Xperia L] djedjy:
Congratz :)

And this is awesomee,, soon for ICS? :)
[Sony Xperia L] NoeVermilion:
Great looking

is the link has already download??

can i feel this awesome power toggles?? Sir [MENTION=3989065]serajr[/MENTION]...:o

many thanks.. :D
[Sony Xperia L] serajr:
Today yet buddy!!!
[Sony Xperia L] serajr:
v2 Released...

Please, read whole OP before post issues and/or how to install it!!

v2 changelog will be updated soon!

Enjoy it! ok!! ;)
[Sony Xperia L] niaboc79:
Wooo :laugh: :highfive:
[Sony Xperia L] aniketroxx:
I can only say one thing , this is "SEXY"
[Sony Xperia L] whalesplaho:
please brov, ima anxiously waiting for yur mod..... please!!!!:good::good:

---------- Post added at 04:16 PM ---------- Previous post was at 04:16 PM ----------

mindblowing brotha... never expected tha least from yhu!!!:cowboy::highfive:
[Sony Xperia L] damian01211:
[MENTION=3989065]serajr[/MENTION] can you give me the edited service.jar ? I've tried doing it by myself but got bootlooped.
[Sony Xperia L] serajr:
Here we go... from CnT rom v4 (Try at your own risk)!
[Sony Xperia L] damian01211:
Thanks, working great. The camera toggle is really nice add but I think it takes pictures in 4:3 8 MPx. I more prefer taking them in 16:9 5 MPx.

Also screenshots are working great. Again thanks for great mod.
[Sony Xperia L] nebixts:
[MENTION=3989065]serajr[/MENTION] Once again i say THANK YOU.
[Sony Xperia L] niaboc79:
My first variation ;)

Envoyé de mon C6603 en utilisant Tapatalk
[Sony Xperia L] serajr:
You´re right!

Here´s a brief explanation about Camera toggle parameters (in code):

.
.
.
// THE LOOP BELOW SETS THE LARGEST SUPPORTED PICTURE SIZE BY TRAVERSING ALL SIZE PARAMETERS

// use largest picture size
android.hardware.Camera.Size pictureSize = mParams.getPictureSize();

for (android.hardware.Camera.Size size : mParams.getSupportedPictureSizes()) {

if (size.width > pictureSize.width && size.height > pictureSize.height) {

pictureSize = size;

}
}

mCameraSize = pictureSize;
mParams.setPictureSize(pictureSize.width, pictureSize.height);
.
.
.

I can implement (in future) a preference to user choose its preferred picture size... ok!! ;)
[Sony Xperia L] serajr:
That´s my friend!!!

Awesome...
[Sony Xperia L] samsoul16:
Serajr bro check inbox. My new mod almost done. U will surely like it. Sharing ss today or 2mrw. Need some layout fixes.

Sent from my GT-S6102 using Xparent BlueTapatalk 2
[Sony Xperia L] whalesplaho:
i know i can count on yhu mate.. tha theme accent style looks amazing!

seriously waiting for it brov..... please!!! :D

---------- Post added at 11:14 PM ---------- Previous post was at 11:13 PM ----------

nicee idea brov... a future update will be nice! :good:
[Sony Xperia L] NoeVermilion:
nice it working great with camera toggle n screenshot...many thanks for u sir... I hope ur junior is always born... :thumbup::D
[Sony Xperia L] R.A.B:
I like the new v2 icons. Great work again.

Thank you very much
[Sony Xperia L] niaboc79:
Here's my first port thread: http://xdaforums.com/showthread.php?t=2548421

Sera, I have changed Throw toggle, he's now like other of same kind (Recent, Settings, ...) who doesn't have On/Off fonctions, you should do the same ;)