yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Goldie:
Probably your regsiter numbers. Do it in a new method....

.method public setpanelimage()V
.locals 4

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

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "notification_panel_bg_chooser"

const v3, 0x0

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

const v2, 0x1

if-eq v1, v2, :cond_new

const v2, 0x2

if-eq v1, v2, :cond_new2

const v2, 0x7f021135

goto :goto_new

:cond_new

const v2, 0x7f021136

goto :goto_new

:cond_new2

const v2, 0x7f021134

:goto_new

iget-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;

invoke-virtual {v3, v2}, Landroid/view/View;->setBackgroundResource(I)V

return-void
.end method

Then invoke in makestatusbarview....

move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setpanelimage()V
[Galaxy S II Android Development] CNexus:
It means that you're invoking some method with too many or too few parameters
[Galaxy S II Android Development] remuntada78:
the method's name is that, how can i fix it?
[Galaxy S II Android Development] CNexus:
Find the line it's pointing you to and fix the parameters for the method it's calling

Or, use Virtuous Ten Studio and it will highlight all the little errors for you :thumbup:
[Galaxy S II Android Development] remuntada78:
i guess the problem is retun-void ,caused by my added updateIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;Lcom/android/internal/statusbar/StatusBarIcon;)V in .method public onChange(Z)V

how can i fix it?
[Galaxy S II Android Development] MyLifeRocks10:
Problem is this method

updateIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;Lcom/android/internal/statusbar/StatusBarIcon;)V

As you can see it needs three arguments but you are passing only one. I had similar problem a while back and Goldie suggested to use restartui method to make changes so may be try that.
[Galaxy S II Android Development] remuntada78:
or maybe if i add the code for notification panel background into a new method and then call it in PhoneStatusBar$SettingsObserver.smali without to call makeStatusBarView method might work?
[Galaxy S II Android Development] Goldie:
Told you to put it in its own method about 10 posts ago :p

Even posted it as a new method with the invoke :)

Sent from my GT-I9305
[Galaxy S II Android Development] remuntada78:
yes ,but I did not think I would have had that kind of problem in the observer,:p

about to add it into a new method,where i need to add this code?

move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setpanelimage()V

below iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;?
[Galaxy S II Android Development] Goldie:
Try it :p

Sent from my GT-I9305
[Galaxy S II Android Development] remuntada78:
:laugh::laugh::laugh:

edit:work perfectly with the code

move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setpanelimage()V

below iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;

thanks again:good:
[Galaxy S II Android Development] remuntada78:
[MENTION=3065070]Goldie[/MENTION]

how do you see this code for show random image?

.method public randomimage()V;
.locals 6

.prologue
.line 20
new-instance v0, Ljava/util/Random;

invoke-direct {v0}, Ljava/util/Random;-><init>()V

.line 21
.local v0, rand:Ljava/util/Random;
const v1, 0x7f050001

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

move-result-object v2

invoke-direct {p1}, Landroid/app/Activity;-><init>()V

const/4 v3, 0x3

new-array v3, v3, [Ljava/lang/Integer;

const/4 v4, 0x0

.line 22
const v5, 0x7f020003

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

const/4 v4, 0x1

.line 23
const/high16 v5, 0x7f02

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

const/4 v4, 0x2

.line 24
const v5, 0x7f020001

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

iput-object v3, p1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mImageIds:[Ljava/lang/Integer;

iget-object v3, p1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mImageIds:[Ljava/lang/Integer;

move-result-object v3

array-length v3, v3

invoke-virtual {v0, v3}, Ljava/util/Random;->nextInt(I)I

move-result v0

aget-object v3, v3, v0

invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

move-result v3

invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundResource(I)V

return-void
.end method

there is any error?
[Galaxy S II Android Development] Goldie:
You cant use this line....

invoke-direct {p1}, Landroid/app/Activity;-><init>()V

Your method doesnt have any parameters. I guess that line wad from your app. You dont need it here

Sent from my GT-I9305
[Galaxy S II Android Development] CNexus:
Also, you're calling iget and iput on p1, which doesn't exist

Make sure you change those to p0, which is the phonestatusbar instance
[Galaxy S II Android Development] Goldie:
No...you are invoking with v3 which is null.

I lm a bit confused. I wrote the method for you a page or so ago and gave you the invoke line. Add the key to phonestatusbar observer and add a call to the new method in onchange. Why do you keep trying to do different? :p

Sent from my GT-I9305
[Galaxy S II Android Development] remuntada78:
as i edit in my post ago i've already implemented the code you've written for me and it work and I want to thank you, :good:

now i was trying to make it for random:silly:
[Galaxy S II Android Development] Goldie:
Then just call your random method instead of panel image method as before.

Sent from my GT-I9305
[Galaxy S II Android Development] remuntada78:
:laugh:i'm sorry I had not seen, I was convinced to have written

.method public notificationpanelbackground()V
.locals 4

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

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "notification_panel_bg_chooser"

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->randomimage()V

return-void
.end method
[Galaxy S II Android Development] CNexus:
You're getting the value of the key but you're not doing anything with it...you should check it to see if you need to call the random bg method or something else
[Galaxy S II Android Development] remuntada78:
.method public notificationpanelbackground()V
.locals 4

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

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "active_notification_panel_bg_chooser"

const/4 v3, 0x1

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

if-eqz v1, :cond_activerandomimage

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->randomimage()V

:cond_activerandomimage

iget-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;

invoke-virtual {v3, v2}, Landroid/view/View;->setBackgroundResource(I)V

return-void
.end method

I'm getting closer?

i'm confused about the last's call of v2, v3 registers
[Galaxy S II Android Development] CNexus:
When you call setBackgroundResource, v2 holds a string so you'll get an error on that since setBackgroundResource is expecting an integer
[Galaxy S II Android Development] Many40:
Hi,

I just successfully implemented a color picker for 23 toggles following Goldie's guide for coloring images but I have one concern - as it could be expected color is applied for every piece of the toggles ("on" images, "off" images, indicators) so everything is colored the same what is for sure not a final stage of the mod.

At least "on" and "off" toggles should differ each other to notice if a particular option is turned on or off.

I read of course Goldie's advice to make for example "off" images semi-transparent so that their color will be dimmed compering to "on" images.

However my aim is rather to avoid playing with image editing software and rather keep existing color of "off" toggles (white) and to apply color only to "on" toggles.

To do so probably only way is to call images by their IDs and then color them one by one but so far have no idea where to start :)

Please tell me if my thinking is correct. Any further advices are appreciated.
[Galaxy S II Android Development] remuntada78:
then it should be v1, to set registers :eek:make me confuse
[Galaxy S II Android Development] CNexus:
So v1 will hold the value of the resource for the selected background?
[Galaxy S II Android Development] remuntada78:
it should be, if I follow this

---------- Post added at 07:57 PM ---------- Previous post was at 07:37 PM ----------

Hi I have never worked with lidroid, but with normal toggles you can make two color picker , one for toggles_on ,second for toggles_off

to do this you need to go in QuickSettingButton.smali and add the code for toggles_on around here

:pswitch_0
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mBtnImage:Landroid/widget/ImageView;

iget v1, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mOnIconID:I

invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

and here

pswitch_1
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mBtnImage:Landroid/widget/ImageView;

iget v1, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mOnIconID2:I

invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

and add code for toggles_off around here

:pswitch_3
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mBtnImage:Landroid/widget/ImageView;

iget v1, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mOffIconID:I

invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

and here

:pswitch_4
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mBtnImage:Landroid/widget/ImageView;

iget v1, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mOffIconID2:I

invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

I hope this can help you
[Galaxy S II Android Development] phenomarc:
MODs on the fly

Hi. I have made a method to show/hide the 3minit panel. This is the method in PhoneStatusBar.smali:

.method no3minit()V
.locals 6

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

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "no_3minit"

const/4 v3, 0x1

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v3

if-nez v3, :cond_0

const v3, 0x8

:cond_0
iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

const p0, 0x7f0d0126

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

move-result-object v4

invoke-virtual {v4, v3}, Lcom/android/systemui/statusbar/policy/quicklaunch/QuickLaunchContainer;->setVisibility(I)V

return-void
.end method

Then, I invoke the metod in MakeStatusBarView:

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->no3minit()V

And finally, in PhoneStatusBar$SettingsObserver I have added this:

const-string v1, "no_3minit"

invoke-static {v1}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;

move-result-object v1

invoke-virtual {v0, v1, v2, p0}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V

in .method observe()V, and

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;->this$0:Lcom/android/systemui/statusbar/phone/PhoneStatusBar;

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->no3minit()V

in .method public onChange(Z)V, but it's not applied on the fly.

The method works but I need to hotboot to apply the changes.

I have other mods like Notification Panel color change and it applies on the fly.

I had left something?

Thanks in advance.
[Galaxy S II Android Development] remuntada78:
Hi , i added this code in PhoneStatusBar.smali

.field private mImageIds:[Ljava/lang/Integer;

.method public randomimage()V
.locals 6

.prologue
.line 20
new-instance v0, Ljava/util/Random;

invoke-direct {v0}, Ljava/util/Random;-><init>()V

.line 21
.local v0, rand:Ljava/util/Random;
iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2

const/4 v3, 0x5

new-array v3, v3, [Ljava/lang/Integer;

const/4 v4, 0x0

const v5, 0x7f021134

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

const/4 v4, 0x1

const v5, 0x7f021135

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

const/4 v4, 0x2

const v5, 0x7f021136

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

const/4 v4, 0x3

const v5, 0x7f021137

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

const/4 v4, 0x4

const v5, 0x7f021138

invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v5

aput-object v5, v3, v4

iput-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mImageIds:[Ljava/lang/Integer;

iget-object v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mImageIds:[Ljava/lang/Integer;

move-result-object v3

array-length v3, v3

invoke-virtual {v0, v3}, Ljava/util/Random;->nextInt(I)I

move-result v0

aget-object v3, v3, v0

invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

move-result v3

invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundResource(I)V

return-void
.end method

and i got this error

W/dalvikvm( 2349): VFY: copyRes1 v3<-v7 cat=3 type=0

W/dalvikvm( 2349): VFY: rejecting opcode 0x0c at 0x0044

W/dalvikvm( 2349): VFY: rejected Lcom/android/systemui/statusbar/phone/PhoneStatusBar;.randomimage ()V

W/dalvikvm( 2349): Verifier rejected class Lcom/android/systemui/statusbar/phone/PhoneStatusBar;

W/dalvikvm( 2349): Class init failed in newInstance call (Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)

D/AndroidRuntime( 2349): Shutting down VM

W/dalvikvm( 2349): threadid=1: thread exiting with uncaught exception (group=0x40d782a0)

i've only understood that there is an error around on move-result-object

can you help me?

thanks in advance
[Galaxy S II Android Development] remuntada78:
Hi i'm unable to solve this:(

what i'm wrong?
[Galaxy S II Android Development] Goldie:
Taking a step back from this thread for a while until some issues are resolved. Thanks for your patience :)

Sent from my GT-I9305
[Galaxy S II Android Development] CNexus:
[MENTION=5292754]remuntada78[/MENTION]

You know, I'm not seeing anything wrong with your code that involves a move-result-object. Did you check to make sure that you aren't missing a semi colon or something? Because if you are, it would explain the weird error
[Galaxy S II Android Development] remuntada78:
i tried to search with google about this VFY: copyRes1 v3<-v7 cat=3 type=0, but i found only a similar error https://groups.google.com/forum/#!topic/android-developers/4DFS6jAtItA, i think the key is type=0
[Galaxy S II Android Development] Ticklefish:
First of all, there just aren't enough thanks in the world to cover this. I've always struggled with smali and at least now I have a clearer idea of what the hell all this gibberish means..lol

Second thing, I'm still struggling with this. I've been trying to do this colour-changing mod and I just get a recompile error:

This is my original method:

And here's what I came up with:

This is from a Sony Xperia stock rom running Android 4.3. Can you help?

Oh, and you could disable the smilies in the op's please? They're all over the code..
[Galaxy S II Android Development] remuntada78:
Hi ,your change color code is in the wrong place, you need to add it after this line

invoke-virtual {p0, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

and remove this line

invoke-virtual {p0, v3}, Lcom/android/systemui/statusbar/policy/DateView;->setText([COLOR="rgb(221, 160, 221)"]Ljava/lang/CharSequence[/COLOR];)V

try to compare it with this my for clock
[Galaxy S II Android Development] Ticklefish:
Thanks!

I'll take a look in a moment, I'm just doing some deodexing right now. Busy, busy!!
[Galaxy S II Android Development] Goldie:
Maybe change this...

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->getPackageName()Ljava/lang/String;

move-result-object v7

To....

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->getPackageName()Ljava/lang/String;

move-result v7

And...

invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v1

To...

invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result v1
[Galaxy S II Android Development] remuntada78:
now i try it ,but I have a doubt ,i got the last code creating an app with eclipse and i decompiled this app and this is the smali with the code

.class public Lcom/grigview/MainActivity;
.super Landroid/app/Activity;
.source "MainActivity.java"

# direct methods
.method public constructor <init>()V
.locals 0

.prologue
.line 9
invoke-direct {p0}, Landroid/app/Activity;-><init>()V

return-void
.end method

# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
.locals 8
.parameter "savedInstanceState"

.prologue
.line 14
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

.line 15
const/high16 v5, 0x7f03

invoke-virtual {p0, v5}, Lcom/grigview/MainActivity;->setContentView(I)V

.line 17
new-instance v3, Ljava/util/Random;

invoke-direct {v3}, Ljava/util/Random;-><init>()V

.line 18
.local v3, rand:Ljava/util/Random;
const/4 v5, 0x3

invoke-virtual {v3, v5}, Ljava/util/Random;->nextInt(I)I

move-result v5

add-int/lit8 v4, v5, 0x1

.line 20
.local v4, randomNumber:I
const v5, 0x7f050002

invoke-virtual {p0, v5}, Lcom/grigview/MainActivity;->findViewById(I)Landroid/view/View;

move-result-object v0

check-cast v0, Landroid/widget/ImageView;

.line 21
.local v0, image:Landroid/widget/ImageView;
new-instance v5, Ljava/lang/StringBuilder;

const-string v6, "image_"

invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

move-result-object v5

invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v1

.line 22
.local v1, imageName:Ljava/lang/String;
invoke-virtual {p0}, Lcom/grigview/MainActivity;->getResources()Landroid/content/res/Resources;

move-result-object v5

const-string v6, "drawable"

invoke-virtual {p0}, Lcom/grigview/MainActivity;->getPackageName()Ljava/lang/String;

move-result-object v7

invoke-virtual {v5, v1, v6, v7}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

move-result v2

.line 24
.local v2, image_ID:I
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

.line 26
return-void
.end method

:confused:
[Galaxy S II Android Development] Goldie:
Guess Im wrong then :p
[Galaxy S II Android Development] Goldie:
In other news....I got an S5 coming on release day and a Galaxy Gear :D

Thanks to the alliance team for covering the £89 upfront payment :)
[Galaxy S II Android Development] remuntada78:
and for us?:laugh:
[Galaxy S II Android Development] Vivek_Neel:
Hey hey

Good news.

Glad u did not go for lg g2,n5 etc.

Samsung forever:D
[Galaxy S II Android Development] remuntada78:
Could be this the cause of the error?

.line 20
.local v4, randomNumber:I
iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;

move-result-object v0

.line 21
.local v0, image:Landroid/widget/ImageView;
new-instance v5, Ljava/lang/StringBuilder;

const-string v6, "image_"

in the original smali was this ,i tried to adapt for my target

.line 20
.local v4, randomNumber:I
const v5, 0x7f050002

invoke-virtual {p0, v5}, Lcom/grigview/MainActivity;->findViewById(I)Landroid/view/View;

move-result-object v0

check-cast v0, Landroid/widget/ImageView;

.line 21
.local v0, image:Landroid/widget/ImageView;
new-instance v5, Ljava/lang/StringBuilder;

:confused:
[Galaxy S II Android Development] CNexus:
[MENTION=5204275]gerryS2[/MENTION]

There should be some

W/dalvikvm

Tags in the log just above when the android runtime errors (E/) start showing up

Those will tell you what is going wrong more than the runtime error, because it's very likely that the null pointer is simply due to the object not getting created because of an error somewhere else
[Galaxy S II Android Development] remuntada78:
[MENTION=5204275]gerryS2[/MENTION]

Search lines with FVY in the log

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Galaxy S II Android Development] gerryS2:
The problem may be caused to incorrect connection made ​​by the constructor method to virtual methods, but I can not find the exact way to connect the virtual method of the text to the method constructor. Can anyone give me some suggestions on how to create a proper link?

P.S.I did not find lines FVY in the logcat
[Galaxy S II Android Development] CNexus:
He meant lines with the words "VFY" in them (no quotes of course)

get those lines, then copy them to pastebin and drop a link here

Make sure you grab the log while it's crashing of course
[Galaxy S II Android Development] remuntada78:
[MENTION=3065070]Goldie[/MENTION]

Hi Goldie , I noticed you have added listview animation in Alliance Roms, I tried to look for the code to study:D,but i didn't find it:eek:, I searched in android.policy ,framework.jar ,framework2.jar, services.jar.Where have you hidden it?:p
[Galaxy S II Android Development] remuntada78:
Hi Goldie, I would like to implement the change color of statusbar_expanded background

I would like to know if this view is already implemented in PhoneStatusBar.smali or i need to call the id of it?

thanks in advance
[Galaxy S II Android Development] gerryS2:
Try to change this line:

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setStatusbarExpandedColor()V

with:

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setStatusbarExpandedColor()V
[Galaxy S II Android Development] remuntada78:
thanks gerryS2 your correction is right, i am very distracted, but after this correction i got the same error. :confused:

There should be something else wrong