yashsingh1/xdaforums huggingface dataset:
[Android General] daxgirl:
This is a studio error. Not code error.

Clean build and run again.

Also your log is useless. You need to find something that actually points to the problem and it a random snippet.

In any case, see if cleaning the build solves it.

Another thing that could be, see if you still have the fragment template from v1 in your studio files on c:\ProgramFiles... if you do, delete it for good.

And lastly, no need to indicate that you're new and we should be nice to you. As a rule we are very nice. If we are not, it usually deserved. And... buy s7 edge.
[Android General] jazzespresso:
I am broke....all my money goes to kids summer camp stuff this summer :(

will check your advices and try...
[Android General] daxgirl:
Well you know I'm just kidding ??? we're all in the same boat with kids and without money ???
[Android General] jazzespresso:
you the best:o
[Android General] daxgirl:
Did deleting the template work?
[Android General] jazzespresso:
YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES!:good:
[Android General] daxgirl:
Lol... enthusiastic ?
[Android General] asc1977:
Both work now after fixing. Thx again
[Android General] Gayos24:
My...Ids

I want to add thread section in about

But I don't where I need to add MyThreadsIDs
[Android General] daxgirl:
You need to declare array of integer objects.
[Android General] Gayos24:
ok i found it thanks mate
[Android General] daxgirl:
Put a cursor on the red error letters of class member name, press alt+enter, choose add field.
[Android General] Gayos24:
Error

I still have this in red
[Android General] daxgirl:
It's not myThreadsIds it's mThreadsIds.
[Android General] Gayos24:
oh lol thanks
[Android General] daxgirl:
You're welcome. I do suggest learning Java basics before editing Java files. But all and all well done! You got the idea ?
[Android General] JonathanRAZ:
Good news i can do it on my phone i just have to do first all the items population on pc copy files to the phone and start working [MENTION=4714483]daxgirl[/MENTION] i fixed my problem with some files from my linux sdk and some text edits on xml files some easy stuff...
[Android General] daxgirl:
You're a stubborn weirdo ? but I have to admit it looks cool ???
[Android General] JonathanRAZ:
Hahaha thank you

Now time to try and learn

Btw Good job on v2
[Android General] tdunham:
Just a heads up for those of you trying to port over existing code and using FilePreference, the path has changed.

This path is used in smali not Rom Control so you will need to find and change anywhere it is utilized:

Old Path
[COLOR="Red"]"/data/data/com.wubydax.romcontrol/files/your_key"
[/COLOR]
New Path
[COLOR="Blue"]"/data/data/com.wubydax.romcontrol.v2/files/your_key"
[/COLOR]
[Android General] Kamy:
Yeah did it last night after a while being in hangout that why my mod doesnt work. It's just amazing feature. I cannot be happier with RC v2.

Is this v2 feature that after closing the rom control the opening it, it opens in the same tab you left?
[Android General] tdunham:
Yes, it now remembers the last pref you were in. I think its great. I didn't like going back to the beginning every time I went in.

---------- Post added at 03:28 AM ---------- Previous post was at 03:25 AM ----------

The bad news, I had to fix 4 different apk's for the FilePref path. I don't have a lot of them but that was the kicker. :eek:
[Android General] tamirda:
Amm which apks [emoji50] i know only about incallui ;)

Sent from my SM-G900F boosted by PhoeniX ROM
[Android General] daxgirl:
Lol, there is a saying in Russian which goes something like this "I wanted to do what's best, but it ended up being as usual".

The idea of changing package name was so it would be easier on you guys, because as you develop your can install both old and new on same device.

Funnily enough we completely blacked out on the file preference issue. It's inevitable to change all your smalis. Or to revert to old package name.

Luckily you don't have alot of them... and it's not a big fuss to change.

Ps: you can revert to old package name in android without changing the inner app structure. Change application id in gradle build for app module back to old. Now you will have new structure but old package name. So the path to smali will remain old. How does that sound?
[Android General] thereassaad:
Anna can we get the old menu for reboot etc , i would like to add restart options for some apks like launcher / or incallui or contact etc etc .. ??
[Android General] Kamy:
Best? What can I ask more than this? This is DA BESTEST! Loool. And I don't mind keep the package name exactly as it is, not complicated just add a ".v2" at the end of my code

Huh? killing apps are now controled by a boolean. Just add

app:packageNameToKill="you package name"

at the end of your preference. Give you an example:

<com.wubydax.romcontrol.v2.prefs.MyListPreference
android:entries="@array/tw_effect_entries"
android:title="Touchwiz Page Effect"
android:key="tw_page_effect"
android:defaultValue="1"
android:entryValues="@array/tw_effect_values"
app:packageNameToKill="com.sec.android.app.launcher"/>

Isn't it great?
[Android General] daxgirl:
Don't do that ???
[Android General] thereassaad:
Yea , this its a great , thank u for ur heads up me about it ,,

Yes Yes ?
[Android General] tdunham:
Stop peeking under the hood of my rom. :D:D:D
[Android General] tamirda:
Never ;)

It's like Pokemon GO: You must catch them all (all mods ;) )

Sent from my SM-G900F boosted by PhoeniX ROM
[Android General] tdunham:
So I hope your look at the goods makes you go blind and prevents procreation in the basic sense. We can't have more of you running around ya know... :silly::silly::silly:
[Android General] tamirda:
Ammm....

Sent from my SM-G900F boosted by PhoeniX ROM
[Android General] daxgirl:
You know what he meant... he adds ball buster to his mods... literal functionality.. ???
[Android General] tdunham:
Yes, I embrace Irish heritage and wear kilt in traditional manner so have slain many enemies this way. :D:D:D:D:D
[Android General] kep2008:
I tried to uploading sources to git, but does not seem to get to the right place... :o

It can be fixed?
[Android General] daxgirl:
Did you fork our repository before cloning it?

If you didn't... you need to disconnect your app from our sources. For that... in the project directory in file manager delete .git folder. Return to studio. It will throw error on vcs root. Click configure on error pop-up. Delete the old vcs root.

Then go to vcs > import into version control > share project on github > create new repository in the pop-up and provide authentication if needed.
[Android General] kep2008:
Thank you.

I hope that now I did the right thing... :confused:

https://github.com/kep2008/RomControl
[Android General] daxgirl:
Thumbs up!!!
[Android General] OvrDriVE:
welp after 10 or so complete restarts i finally got it built and complete. and i must say i absolutely love it. it's easier to setup. everything works. thank you [MENTION=4714483]daxgirl[/MENTION] and [MENTION=5493353]Wuby986[/MENTION] you guys rock.
[Android General] daxgirl:
Hey!!! Really happy to hear!!!

Oh and btw, wubydax is our android domain name... my partner is wuby986 ???
[Android General] OvrDriVE:
my bad. fixed. sorry bout that wuby
[Android General] daxgirl:
Nah don't worry!!! We were just having a good laugh about it. Troy was threatening to take that user name and become a programming robot. Now discussing the 3 rules of robotics he would abide by... bunch of nerds...
[Android General] tamirda:
Wtf you have time to laugh??? [emoji23] [emoji23] [emoji23]

Sent from my SM-G900F boosted by PhoeniX ROM
[Android General] daxgirl:
Yeah.. we have a VERY serious telegram group of... mostly nerds... and wuby (the only normal... but very special... person) ???
[Android General] tamirda:
And I am not at that group ?

Sent from my SM-G900F boosted by PhoeniX ROM
[Android General] daxgirl:
Nope. It's for sdk 22 and lower ??? plus you said you never install telegram.
[Android General] tamirda:
Lucky I am on the latest SDK to make sure I am updated ;)

Sent from my SM-G900F boosted by PhoeniX ROM
[Android General] JonathanRAZ:
Do we have to clone it?
[Android General] daxgirl:
Please read post 2. It explains exactly how to import the project. It says explicitly to not clone our repo but to fork it. And to not download as zip.

We provided you with a way of doing things easy.
[Android General] JonathanRAZ:
No no sorry i know that i meant duplicate the repository i wrote the wrong thing
[Android General] daxgirl:
Although your log is very long, it basically says that it failed to inflate a layout needed to start main activity. Which layout caused it is a big question.

Did you ever manage to run it?

Trace back your changes and try to run. Try doing clean build from build menu. Make sure you didn't change targetsdk in gradle. It's supposed to be 22. Not higher.

Other than that, impossible to say from your log. Try cleaning or undoing your changes. I can't check your code now since I am not with pc and won't be for some time. If you dint manage by the time I get to pc I will have a look. Of someone gets to it before me, it will be great.
[Android General] daxgirl:
To our dear friends, please a kind reminder for publishing sources for your apps. [MENTION=7158231]Gayos24[/MENTION], you have been contacted through pm and informed us that you have removed the sources for RC v1.0 until you finish building rc v2.0. It's been a while. Please publish updated sources on both your roms threads. They both have rc and none of them have sources.

On your thread in credits section you ask if you forgot something to pm you. We did. Well you are still forgetting something. ??? The sources.

[MENTION=4819130]Kamy[/MENTION] my friend your pm is full and not possible to contact. Your newest rom has rc v2.0 and link for sources is for RC v1.0. And your sources for v2.0 are empty. They only contain our source. Please update.

Guys we would seriously hate if we got to a point of taking measures for that. It's easy to keep sources updated and public. We ask and beg for you to respect the freedom of code.
[Android General] thereassaad:
Exactly what i did Anna , i remove my old source v1.0 & push my v2 source to github thanks Anna for ur awesomeness updated really like it ,

Here my source v2

https://github.com/thereassaad/RomControl-v2-
[Android General] Kamy:
Sorry. There should be my mistake. I have 2 links in my OP. RC v1 is on top is and on bottom of the OP v2 but it contains my latest codes. The time I released the lastest build of aryamod port it was quite late. I am travelling now. I actually forgot to remove v1 on top of the page that's it. When I am back, probably after a week, I would remove it.
[Android General] daxgirl:
Not a problem dear. As I said, I have no doubt in your compliance. I was try8ng to send you pm. But it seems not possible. Sorry for mentioning you like that. I found I have no other means to contact you. Have a safe trip!!!
[Android General] jazzespresso:
<item>Star Trek - for being ultimately better than Star Wars</item>

hah hah hah...the best:good:
[Android General] ROBERT CM:
Thanks [MENTION=4714483]daxgirl[/MENTION] [MENTION=5493353]Wuby986[/MENTION] for this amazing update..

I have a question about rc v2

How remove o change color in shadow background in navigation drawer and dialog alert?

I try but without sucess

Thanks!
[Android General] daxgirl:
Hey, Robert!

We're happy you like it.

As for your request, I would like to refer you to op post number 1. At the bottom it says what we do not give support for. One of the things is theming of the app.

The reason for that is that we want people to try and study on their own.

We built a code of enormous functionality. If you want to change the way it looks, you have to put in the work.

If you looked and didn't find, you didn't look hard enough. Because it's possible. If you tried and didn't work, then you tried the wrong thing.

Please put in your own work and time to find out how to do that. From the images other people have posted we can see they already managed that. So can you.

And please, next time read the op. It's one of the first things we mentioned we will not support and why. There is no excuse for asking someting that is clearly stated as not supported.
[Android General] ROBERT CM:
I understand that you say ..

I'm starting to play and study this new source code to customize it to my liking

This source code is totally different from the version 1

this is a new challenge for me and I accept it gladly..

then to continue studying and learning more and more.. lol :laugh: ;)

Regards!
[Android General] jazzespresso:
Hi [MENTION=4714483]daxgirl[/MENTION]

Hope you are doing wonderful!...here it is like 100F, darn hell's door open...

OK, to my question, this may sound a bit stupid, if so forgive me....I have been playing around with ROMControl, I know everything we make change or something, it sure writes to setting storage database, and I can confirm that because I browsed it with DBEditor and I can see that....what's my problem is that mode is not there even if I followed the mode correctly...I know most of people developer moder here and other thread (TOUCHWIZ UNIFIED MODS THREAD) are probably using S5, Note 5, S7, and me having tablet (Galaxy Tab S2) and trying to get some mode makes differences...I am just not sure if I am doing something wrong with RC or possible changes I made somehow did not take, or maybe something else....there are couple of great modes that I would love to get them on my tablet...

OK this was not really question, just asking some advice...

and p.s: no I am not getting S7 :), having Galaxy Tab S2 and Nexus 6P good enough for now......maybe maybe...Note 7:p
[Android General] daxgirl:
Lol hi!

Well the thing is like this. If the key is written into db by rc and is read from db by your mod, the mod should work.

Why it doesn't work? It's a question for the how you made the mod.

I cannot answer that even if I tried hard. The idea is simple. The mod you make is based on information it's getting from db. The rc is writing that info into db. Why they don't communicate? Typo in keys? Maybe needs observer? Maybe needs app restart? It's a very complex subject and forgive me for not getting into it here. I can write volumes on how many things can go wrong with that. But one thing I can tell you with 100% certainty. It's not on rc side. Because as complex as this code is, in the end its one and only purpose is to write into db. And it does. The problem is always on the receiving side. We cannot control that. All we do is write value with key.

Could be some of the mods don't work because they are for phones? Could be different smali and different layout files should be edited for tablet? As developers when we write combined apps we have on the same app support for tablets and phones and even watches and TV. And they all sit in the same app. So maybe... it's that. And maybe not. You see what I am saying? So many things can go wrong when you build those mods. Especially since they are all built for phones.

I don't know if I helped you, but maybe at least it clears things up. I believe you can ask specific questions related to specific mods on the guides thread by Troy. Provide the changes you made. Show what you did. And maybe someone will be able to tell you what doesn't work and why. As you know it's not my area of expertise. I barely understand smali enough to make simple mods.

And of course buy s7... ???
[Android General] daxgirl:
Update:

Added Multiwindow and Popup window support on samsung devices

Follow changes in this commit

Or manually change the manifest as following (add the lines in blue where they appear):

<application
android:name=".MyApp"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:supportsRtl="true"
android:theme="@style/AppThemeDark"
tools:ignore="GoogleAppIndexingWarning">
[COLOR="Blue"] <meta-data android:name="com.samsung.android.sdk.multiwindow.penwindow.enable" android:value="true"/>
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />[/COLOR]
<activity
android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

<category android:name="android.intent.category.LAUNCHER"/>
[COLOR="blue"]<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />[/COLOR]
</intent-filter>
</activity>
[Android General] shingz96:
Dont know why i can build the project but fc when used color picker preference , open app preference in xml, the app will force stop as error in inflate a layout

all the setup is original from your sources without any changes

when only switch preference the app can run, and switch theme between dark or light cannot function
[Android General] daxgirl:
Ok. Let's see.

1. Saying you get fc to me is like saying to a doctor "I am not feeling well". I have no idea what causes the fc. I don't have the fc. No one else who built it has fc. Meaning... YOU CHANGED SOMETHING. And you screwed something up. I looked at your link to git. It is identical to our source code. There are no changes there. So you must have changed something and changes are on your pc.

2. You said you made changes to gradle file. What changes? There are no changes on your git to gradle file. So show us what changes you made.

3. Search your error that you get in LOGCAT. Android studio provides live LOGCAT. Search online the error you get and try to solve it.

4. If you can't make it work its really no biggie. Imo you can always use custom settings by ficeto to control your mods. Same idea of app. And you don't need to mingle with studio.

If you are running this project on device with sdk lower than 21, don't bother even trying. It's not supported. Your device must be lollipop or higher to run this project. By definition.

Good luck.
[Android General] claude96:
#That extra mile I was talking to you about is in the following pics, if it wasn't for your great work and your great partner of course ( no tag, I know you both hate it btw ) I wouldn't have done it, tbh I've never worked on android studio b4 ( I still have tons & tons of hrs to read of course )

#of course this is just the ( run ) version, I'll build it ( hopefully ) when I finalize every thing ( later ), THANKS A MILLION TONS AS ALWAYS.
[Android General] daxgirl:
Woooooooowwwwwwwwww!!!!!! Amazing job!!!
[Android General] claude96:
it's all thanks to you really.
[Android General] kep2008:
How do i add this commit on github to be displayed as the author wubydax?
[Android General] daxgirl:
You don't need to. Just update your own sources and update git.
[Android General] shingz96:
Well i try to run the app i build in an emulator with android 6.0, it work, but android 5.0 does not work for certain preference like color picker, open app. Anyway thanks for your reply, will stick with RC v1 :p
[Android General] daxgirl:
Works on emulator 5.1 here no problem.
[Android General] SammyTRK:
I know you say no AS help, but I cant get the preview to work for ui_prefs.xml. I have been searching google and downloading everything in the SDK manager all for nothing.

Is it just me or does everyone see this when they first start working from git source?

ScreenShot:
[Android General] daxgirl:
Those are subclasses with functionality that involves access to actual device services. It will never work in preview. In order to load their view it needs to set initial value. The initial value is set based on device storage database value.

Preview in Android studio works on actually compiling the class live. Since it cannot access database while not on device, you cannot have preview. You will always have null pointer exception on preview.
[Android General] SammyTRK:
Thank you for that info. You have saved me from wasting any more time on that.

One more question then I can start learning about v2.

Is there any way to run / view the app on an AMD computer? or do I just have to do it the hard way and build and push it to device to test it?:confused:
[Android General] daxgirl:
All the info on running is in post 3... I think. You can run as data app. Using instant run. Just don't use the reboot functions. Of you run on emulator you will also be OK. But of course no su functionality as well.

Refer to the post about running and gradle. It explains all in alot of detail. I highly recommend to NOT push into system as you build the initial setup. It's pointless.
[Android General] SammyTRK:
Ok thanks, lol, I haven't made it that far into the original posts yet.

I sure you get this a lot but you guys are awesome. Thanks for what you do.

N920T + DarthStalker v10 + Stock Mod kernel + Xposed v86
[Android General] daxgirl:
Lol. Seriously though, you should read them all before starting. We invested quite a lot with a sole purpose of easing your way into it.
[Android General] SammyTRK:
I plan to. I have been frustrated with AS today thinking I was doing something wrong.

N920T + DarthStalker v10 + Stock Mod kernel + Xposed v86
[Android General] sfofu:
2.0 how to add a topic, please thank you
[Android General] Kamy:
Hi Anna I am just back from my vacation. Hope you are doing well. About my source code that we discussed about it several pages back I just removed v1's link from opening page of my project (the latest one is AryaMod Port S7Edge PortV6.1 that is using RC v2) here is my source in case anybody likes to look at it: AryaMod-RomControl-v2.0 It's also attached to the OP of mentioned project.
[Android General] daxgirl:
You're just amazing. Thanks!
[Android General] daxgirl:
If you mean adding item to navigation drawer, it's explained in one of the op posts.
[Android General] amtra:
[MENTION=4714483]daxgirl[/MENTION] can i able to use

de.hdodenhof.circleimageview.CircleImageView

view in preference screen or any way to add icon for a preference screen:confused:
[Android General] daxgirl:
Not at the moment. It needs more Java edits. Maybe we will add in the future.
[Android General] amtra:
and one more here, i am modding my SystemUI to enable custom bg image on notification panel, i used your latest 6thGear Custom View for any app method. i have already finished up. but in your native method there is a smali edit to fix pinned notification bug. is that must or simply adding

<com.android.wubydax.CustomBg android:layout_height="fill_parent" android:layout_width="fill_parent"/>

into expanded_status_bar.xml is enough?
[Android General] daxgirl:
We do not answer modding questions here. Please refer to modding thread.

Also that view is not for notification panel. It will not work. Needs many changes. It's been discussed on the guide thread.
[Android General] amtra:
:mad: sorry my mistake
[Android General] OvrDriVE:
got a rather weird question for you [MENTION=4714483]daxgirl[/MENTION]

is it possible to have a colorpicker preference that will modify a specific line in colors.xml so i can change the actual color from say #ff1874cd to say #00000000 or any other color?
[Android General] daxgirl:
Lol. No. Xml calues are hard code. But what color you need to change?
[Android General] OvrDriVE:
actually what i am interested in doing is being able to change the color of the bg on the dial and video call buttons. there not actually images. there just xml files that set the shape and call the color from colors.xml

i have manually changed them and it's fine until i turn off the main dialer bg. then the buttons are invisible because i set them to transparent.

thats why i asked about a colorpicker preference that could write a new value into colors.xml with the new color choice

or is there a way to do this that i am unaware of
[Android General] sonnguyenpg:
Sorry Anna . I mod custum background incallui . So i choise color and gradient is ok but image not show. You can helf me.

J710F