yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] tdunham:
Somehow I lost intent access to a couple of apps in RC somewhere along the way. I have others that work fine so not sure what happened so need some guidance. The interesting part is the items are missing as well so the activity isn't resolving I think.

The androidmanifest shows this activity and I even pulled the activity through adw launcher and they are identical.

<PreferenceScreen
android:title="3Minit Battery Mod"
android:key="com.three.minit.minitbatterysettings.MainActivity"
android:summary="Enable icon type to use">
</PreferenceScreen>
[Android Apps and Games] daxgirl:
Troy, some apps do not behave properly with this method. Because the don't have main activity in the main package. And they should.

Nevertheless in this case it's better to use normal preference screen intent. We have published solution while back... it involves some java edits.
[Android Apps and Games] tdunham:
Thank you!

I must've already implemented this java fix but when I had to start over I missed it. In case anyone needs it, the thread is here:

http://xdaforums.com/showpost.php?p=64145465&postcount=454
[Android Apps and Games] stang5litre:
My 3minit works fine but won't download the other icons lke from other users and so on. Does that java fix have anything to do with that by chance? Have both apks in as well. Never seen this before. But my app control works great for swapping to normal and to 3 minit

Thanks
[Android Apps and Games] daxgirl:
I don't think Troy was talking about problems WITHIN the 3minit app. He was talking about problem creating intent to open it from rc.

Anything that has to do with internal functionality of the application, such as downloading icons, has to be taken up on the 3minit thread.
[Android Apps and Games] tdunham:
Yes that is correct on both counts.

The online icons are hosted somewhere so if you're having trouble connecting it might be a temporary issue but I just tried several and they worked for me.
[Android Apps and Games] stang5litre:
Thanks for the confirm. I posted in the 3minit thread. Guess I'll re check my code. Works on my s4 just not the s5. S5 has some stupid file structure. Very minimal mod. Maybe my resources apk is messed up. I'll get it :). Thanks again for the Confirm [emoji106]
[Android Apps and Games] tdunham:
I know we're not supposed to ask android studio specific questions but I have a pretty easy one I think...

My prior version of android studio used to open the folder where the build was located automatically and I'd like to set it back that way.

Right now it just shows the (pictured) popup to open it in explorer.

This is fine if you're patient enough to wait for it to build but I often go do something else and if I click out of studio and go back the little popup is gone and I have to rebuild again.
[Android Apps and Games] daxgirl:
Why have to rebuild? When you use Generate signed apk the apk is in your main project folder.

I highly recommend using signing config though. And running assemble release from gradle.

If you need help I'll show you how to.
[Android Apps and Games] tdunham:
I'm sorry, you are correct I used the wrong terminology I do build with signature. Maybe I should just create a shortcut for the main project folder but I was spoiled when it would automatically open it in a new folder for me at the end of the build. :D
[Android Apps and Games] daxgirl:
I know what you build and how you build. Remember, I saw you doing that...

What I am suggesting is different. And much easier. Let's switch to private channel and I will explain.

For the new Rom control version we will include it as part of studio tips and tricks.
[Android Apps and Games] Gayos24:
hey i have a problem

i added this :

<PreferenceScreen android:icon="@drawable/xda" android:title="ExyFire S7 Edge" android:summary="Click to visit the ROM thread">

<intent android:action="android.intent.action.VIEW" android:data="http://xdaforums.com/s7-edge/development/rom-bring-fire-t3400282" android:clickable="true" />

</PreferenceScreen>

but on the app when i click , it don't open the browser

any fix ?

or anything i can add

java file i think
[Android Apps and Games] daxgirl:
Has been answered fully with a fix to launch native preference screen intents.

Also will be made easier in the next release. For now please search, has been asked and answered.
[Android Apps and Games] Gayos24:
i don't want to check 105 pages
[Android Apps and Games] daxgirl:
I see...
[Android Apps and Games] Ather:
It's just 1 page back,hell troy even linked it...
[Android Apps and Games] daxgirl:
You made Java edit that resulted in null pointer exception because you're trying to remove a null preference. Don't touch Java unless you understand what you're doing.
[Android Apps and Games] asc1977:
I removed the superuser asking at every rominstall like menioned some posts before and worked first time. Now i didnt know whats happend
[Android Apps and Games] daxgirl:
Well if you don't know what happened... how can I? ???

Let me explain to you how it works [MENTION=4596062]asc1977[/MENTION]

This is not a mod or an application. This is source code project. When you first compile it when pulled from git, it works. That's it.

If you do something to it afterwards and it stops working, that's, to put it mildly, YOUR PROBLEM. the code is given to you so you can work with it. If you screw it up, how is it my responsibility to fix it?

That should be an explanation enough.
[Android Apps and Games] asc1977:
Yes i know. I thought you have an idea with this log. Problem is i do noting and it happen. I build and push to phone and work. I add it to rom and for users dont work. Really crazy bug. After njild app again it didnt work without changes on my side. All is crazy.

But anyway thanks. I leaved s6edge and go to note5 so i didnt can look for solution anymore. I tried woth romcontrol on my note5 but same problem
[Android Apps and Games] daxgirl:
This is not our bug. This is your handy work on touching code you don't understand.

I think it would be easier if you used custom settings by ficeto. It's very straight forward and all and all bugless. And most importantly you're not allowed to change smali code, only xml. Which reduces the risk of "bugs".
[Android Apps and Games] asc1977:
No no no

I use your rc and mostly waiting for new one

I have a big rc nuilded without problems only this after updating android studio.

I build up new from scratch
[Android Apps and Games] nguyentankiet:
I test mod gear reboot. But why my control not change color?
[Android Apps and Games] daxgirl:
Using the wrong key probably

Scratch that. Edit. Your color is transparent. Enable alpha in the color picker preference.
[Android Apps and Games] tdunham:
Maybe because you set transparency as default color in SwitchPreference in the original guide? I didn't question it, just saying... :rolleyes:

[MOD][APP][GUIDE] How to add expanded power (kinda) option to.... well anywhere

<SwitchPreference
android:defaultValue="true"
android:key="gear_reboot_view_visibility"
android:summaryOff="Disabled"
android:summaryOn="Enabled"
android:title="Gear reboot view visibility"/>
<com.wubydax.romcontrol.prefs.ColorPickerPreference
android:defaultValue="#00000000"
android:key="gear_reboot_view_color"
android:title="Gear reboot view color"/>

Edit: ColorPickerPreference I meant to say.
[Android Apps and Games] daxgirl:
Well yeah. I like it. Then themes can overlay it. But it's important to say that enabling the alpha is always important.
[Android Apps and Games] tdunham:
Yes, alpha is very underestimated.

I always set default color to match stock for first use. The users can change it later. Since you brought up themes, I don't think play store themes will theme the color of an addon like this will they? I so rarely use one but I have always wondered and never got around to testing that out.
[Android Apps and Games] nguyentankiet:
Lol. I copy code but forgot edit it. Thank you very much

I must learning build control. How to enable alpha?
[Android Apps and Games] daxgirl:
The gear reboot view is themed in the expanded notification panel if the color of it is set to transparent. Just try it and then reboot system ui. You will see the theme overlay. Remember in my guide how I set the tint? That tint by definition is from themes. You know how I hate to break stock functionality...

[MENTION=1042140]tdunham[/MENTION] see images...
[Android Apps and Games] daxgirl:
Read op dear... where we explain that preference. We spent long hours writing the op...
[Android Apps and Games] JonathanRAZ:
Here you go

http://xdaforums.com/showpost.php?p=67378049&postcount=7262
[Android Apps and Games] nguyentankiet:
OK girl. I experimenting build control for myself to not crestfallen on V2. Before, i just de/recom from control.apk :)
[Android Apps and Games] daxgirl:
If you do, we don't wanna know about it. It's quite insulting.. ?????
[Android Apps and Games] nguyentankiet:
haha, i build project from source to apk, then de/recom it :D

My PC is very slow for make on Android Studio
[Android Apps and Games] JonathanRAZ:
Lol i dont use pc for rom control and i dont decompile recompile i build from source on phone use AIDE trust me it works fine
[Android Apps and Games] daxgirl:
Yeah but you're a weirdo ???
[Android Apps and Games] JonathanRAZ:
Hahaha lol maybe a little lol for the only thing i had to use android studio was for adding code to mainactivity its easy
[Android Apps and Games] nguyentankiet:
yes, he is great
[Android Apps and Games] tdunham:
I don't know how you geeks use phone for programming.

Its enough to need glasses for sitting too close to Television when I was young. :rolleyes:
[Android Apps and Games] nguyentankiet:
I successful. And thank for hexconvert v2.0, it very usefull
[Android Apps and Games] daxgirl:
Thanks to all ya bugging me when I work on rc v2, on the next rc the color pucker preference is by default with alpha and hex. Only if you cancel it it will not show.

Troy the troublemaker...
[Android Apps and Games] nguyentankiet:
Present, how old are you, td?
[Android Apps and Games] daxgirl:
Project support officially discontinued for v1.0

Dear friends!

We are about to start creating a new thread for v2.0, since for the amount of changes they cannot be maintained together as single project.

Thank you, to all of you, for starting and continuing this journey with us. We will see you on the other side :)

V1.0 is now officially discontinued and deprecated. Sources are still on git, of course.

We will make a notification when the new thread is operational!

See you soon,

Wuby and Dax
[Android Apps and Games] sfofu:
1.0 stopped

What time have the latest version of the download?
[Android Apps and Games] daxgirl:
Currently unknown
[Android Apps and Games] #Henkate:
Just tried this today. Had some noob problems at begin since was my first time using android studio :D

I was using CustomSettings before and i quite like Rom Control design over the CustomSettings.

I still have to play around with it, at this moment im trying to change the "6thGear ROM" text :laugh:

[MENTION=4714483]daxgirl[/MENTION]

When i will publish my rom, it will include this awesome app.

I understand that i have to publish the sources before publishing my rom. Ill have just to upload the stuff to github from /home/robert/AndroidStudioProjects/MyApplication/ ?
[Android Apps and Games] daxgirl:
Hey!

It doesn't matter what you change.

You have to provide the updated sources for the latest version you compile. For example if in your Rom you use Rom control, the sources have to be on github for the entire project. Not link to our sources. But to your most uodated sources Just like we have ours, but including your changes. Any changes.

The rule of thumb is... the format of your sources should be such that anyone can fork, clone and compile them with no extra requirements.sources have to be full and ready to be compiled.
[Android Apps and Games] #Henkate:
I understand.

I can change the package name in androidmanifest as well?

Can you tell me how can i change the "6thGear ROM" text? Cant really find out how to do it lol.

EDIT:

[MENTION=4714483]daxgirl[/MENTION]

Just found out how to change that text xD It was quite simple, lol.

Just like you said:
[Android Apps and Games] daxgirl:
Hey. You can change anything you want. The application you compile is yours. The code is public.

As to how to change things and where, you really need to dig in and learn on your own. The op is extensive. And if that's not enough there is always android documentation and stackoverflow to search. You need to have some background as stated in OP. And you need to learn on your own if you don't.

Good luck!

Not like I mind telling you, it's not state secret. But

A. I am at work and code is not

B. It's really better if you solve on your own.

Now, see how weird that is? You are unsure how to change a single string but you're eager to change the package name in manifest. ???
[Android Apps and Games] JonathanRAZ:
So quite lol
[Android Apps and Games] jazzespresso:
Hi [MENTION=4714483]daxgirl[/MENTION]

using the latest Android Studio, i could not able to find this? can you give me instruction what to do here?

2. Go to the preference fragment repository and download the master as zip. Extract the zip contents into /your android adt directory/android-studio/plugins/android/lib/templates/other/

bunch of thanks!
[Android Apps and Games] daxgirl:
Just wait a couple of days. You won't need this.

But in general in Windows studio is in ProgramFilesx86 under android
[Android Apps and Games] jazzespresso:
thanks!!!
[Android Apps and Games] nguyentankiet:
Couple of days, you mean v2.0?[emoji6]
[Android Apps and Games] daxgirl:
Yes. Making OP now. It's going slooowwww.... much work... the code is ready.
[Android Apps and Games] mdrobiulhasan:
Really it's Great work [MENTION=4714483]daxgirl
[Android Apps and Games] Bloodlvst:
[MENTION=4714483]daxgirl[/MENTION],

Thanks for this tool, it's proven very useful. One question I can't seem to figure out. Is there any way to have the seekbars allow decimals? Say a scale where you can go 0.1 - 3.0? One of my values requires finer tuning. Is there any way to accomplish this out of the box with ROM Control? Or will editing be required somewhere?
[Android Apps and Games] daxgirl:
Hey!

No, at the moment only integers. Also we already have v2.0 and because of very different concept we have a separate thread for it.

I will look into allowing fractions with slider. Thanks for the idea!
[Android Apps and Games] Viroy:
[MENTION=4714483]daxgirl[/MENTION]

i want to add menu buttons that open an app like adaway xposed something like that

this is the code but nothing happen

<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:orderInCategory="1" android:title="@string/more_options">
<menu>
<item android:icon="@drawable/ic_setting_grid_adaway" android:id="@id/adaway_id" android:title="@string/adaway" android:targetPackage="org.adaway" android:action=".intent.action.MAIN" android:targetClass="org.adaway.ui.BaseActivity" />

</menu>
</item>
</menu>

could u please help me ^^
[Android Apps and Games] Wuby986:
You just need to use right way the information we provided in OP. Have a look at the OpenAppPreference class.

Sorry i realized just now that this is the v1 tread.. switch to v2, and use thebabove mentioned class, will make your life much easier
[Android Apps and Games] :
I followed the guide from [MENTION=4714483]daxgirl[/MENTION] for Rounded Notification

I cant figer out what is causing this

When change from stock shape to round shape

I lose all text and the fuction to even customize notification panel

Any one got any ideas what could be causing this?
[Android Apps and Games] asc1977:
Hmm, now you asked in the third thread. And thats the wrong thread for your question. All people who might be know that what you want to know read all three threads.

Its rude what you do
[Android Apps and Games] :
:confused:
[Android Apps and Games] daxgirl:
This is not thread topic.

Since you brought it up, there is no such a thing as guide doesn't work. Guide is a reference for example on how to implement. It's not literal. If the example doesn't work, you need to work to adapt it. Which what a developer does. If you're not a developer, you probably should study before modding. No guide is literal.

And please do not tag me everywhere. There is no warranty on any of the guides we post. Which means we share our knowledge. With no obligation to fix/adapt them. Tagging people for help imo is rude. And coming to this thread, which is completely unrelated, and shoving this question here as well just because it's our thread is even ruder.

You have been told by asc1977 that the mod needs tweaking to work on grace ux. So start tweaking. And stop posting same question on every possible thread and tagging people.

Bottom line, it's enough that people take time to post guides. Don't come demanding fixes. Fix yourself if you need. No one owes you anything that warrants 3 threads and 3 tags on same topic. Especially over something we nothing to do with.
[Android Apps and Games] :
To be Clear!!!

On your cavaliere respect for others

I never complained about about your guide I found it helpful

I don't follow you or tag you I only the subject at hand

Ive seen that you have not only been rude to me but to other members as well

lve been with XDA since 2008 and never heard of you until

now you don't own me anything and l don't expect anything from you

My self and along other appreciate the knowledge youve have

shared

But that doesn't give you and any one else the right to tell

other members where when and what to post

Again I didn't post my findings only for you or to be rude to you

I shared my fiinding to the XDA community hoping that it

would help someone else trying to do the same thing or who have had the same experience with the updated Systemul

Since I've been with XDA thats what its been about

I posted the same thing on other threads too not trying to

be rude and I didn't get rude responses

as I said before my post is only to communicate with anyone working on the new SystemUI

With your guide and modifications to the Rom Control and SystemUI l solved the problem with the new SystemUI changing from Stock to Rounded Notification

This is your thread and out of respect for you I won't post

Think you for help
[Android Apps and Games] daxgirl:
Great work! I am sure many will benefit from this modification! Looking forward to seeing your guide.

And you're taking things way too hard. It's just a freaking forum. All good. No hard feelings. I just hate being tagged. Well.. I hate it alot ???

Cheers, mate!
[Android Apps and Games] josephpatrick:
where exactly should i extract the contents of the master zip template, i see a lot of folders like activities, eclipse, gradle, gradle-projects, other

in android studio, in the first page, i selected "check out project from version control->git", then entered "https://github.com/daxgirl/CustomSettingsForDevs.git" and click on Clone, I get the error "clone failed....failed to start git process"
[Android Apps and Games] Wuby986:
you should first of all clone the v2 not v1.. much easier..

then in any case you probably didn't installed git

Inviato dal mio SM-G930F utilizzando Tapatalk
[Android Apps and Games] josephpatrick:
how do i clone v1 and git has to be installed via manager?
[Android Apps and Games] Wuby986:
i do insist for anyone to pick v2.

clone is the same for any repo.

search online for git.exe

Inviato dal mio SM-G930F utilizzando Tapatalk
[Android Apps and Games] senzatiOn-:
hi [MENTION=4714483]daxgirl[/MENTION]

Say me pls how i can disable root check / permission on first start app
[Android Apps and Games] Wuby986:
there is an async task in MainActivity if i am not mistaken that checks for root and will copy the script files f.e.

i would actually spend a couple of words in why you shouldn't remove it.

it will ask for root when it will need to execute an operation that requires it blocking the foreground ui tread untill the superuser pop will shown. meaning that this is a bad thing, because probably user won't understand what is going on and complain that the app freezes.

Inviato dal mio SM-G930F utilizzando Tapatalk
[Android Apps and Games] senzatiOn-:
I need it for supplemental apk for rom controls just for open links for some post.. it want to use it for all users not just with root
[Android Apps and Games] Kamy:
It was posted once before, search you would find your answer.
[Android Apps and Games] Wuby986:
that is definitely not how it is intended.. it's way easier to create a new app for that! if you just want that it's way easier, no permission need at all - no need for priv-app and so on!

Inviato dal mio SM-G930F utilizzando Tapatalk
[Android Apps and Games] mirkolo:
Dear [MENTION=4714483]daxgirl[/MENTION] i buil my rom stocksamsung with custom control hevrithing working fine i have just 1 problem in my section when i chang different launcher don not come bak to stocklaucher....any idea?
[Android Apps and Games] methoddon1:
hello to all... so basically if Im going to post rom control on xda I'll need to drop a link to this thread or to both github links in op for it not to get banned ?! thanx!

Sent from Galaxy Beast 4 (aka Magnum) Powered by DN7 Rom
[Android Apps and Games] Wuby986:
if you will share ANYWHERE ,not xda only, you'll need to share your sources, meaning the exact set of edits you did for a certain release, and whenever you make a change in the code for release, you'll have to provide updated sources.

and problem is not to get banned, but to get in front of an international court for not respecting licence.

Inviato dal mio SM-G930F utilizzando Tapatalk
[Android Apps and Games] koko115:
Please delate
[Android Apps and Games] wowanbelousov:
Guys Hello!

I have a problem using Rom Control in 7.0 Nougat, Tried by others RC Similarly I get the same error

Build: samsung/a5xeltexx/a5xelte:7.0/NRD90M/A510FXXU4CQDK:user/release-keys

java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to android.widget.LinearLayout
at com.wubydax.romcontrol.v2.PrefsFragment.setUpNestedPreferenceLayout(PrefsFragment.java)
at com.wubydax.romcontrol.v2.PrefsFragment.onPreferenceClick(PrefsFragment.java)
at android.preference.Preference.performClick(Preference.java:1185)
at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:289)
at android.widget.AdapterView.performItemClick(AdapterView.java:339)
at android.widget.AbsListView.performItemClick(AbsListView.java:1717)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:4183)
at android.widget.AbsListView$13.run(AbsListView.java:6753)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)

I understand that I do not him

like framevork.jar

Previously used in MM 6.0.1 . This was not, there are any tips.

Thank you!
[Android Apps and Games] Wuby986:
this is a known problem with nougat, but you can fix this way:

link

also i would suggest you to switch to rc v2 in the link above, much better ;)
[Android Apps and Games] wowanbelousov:
Thanks :good:, I'll try , my rc v2 ;)
[Android Apps and Games] millo1978:
Hello people! :)

...and thanks for this Wonderful work! :)

I have a question... I have a lot to learn.

I want to have this:

I want choose the app...

I want that this app (es: org.videolan.vlc) is added to terminal command

su shell settings put system white_music_for_keyguard

How to make it?

I have to use something like this:

<com.wubydax.romcontrol.prefs.IntentDialogPreference
includeSearch="true"
setSeparatorString="\##"
android:key="choosen_app_gear"
android:title="Choose App" />

a little bit edited...

and then?

maybe a script?

thanks in advance :)
[Android Apps and Games] Wuby986:
i'm sorry i don't really understant what you are trying to do!

Inviato dal mio SM-G930F utilizzando Tapatalk