[Q / DISCUSSION]WiFi/Bluetooth switch] [DEV ONLY] - Sony Xperia S, Acro S, Ion

Guy I need some help !from developers! @niaboc79 @letama @Felimenta97 @TrinityHaxxorX @abo hani @beniamin24 @DooMLoRD
....and all of you, guys, who know something about this subject...
Tnx guys
This project is 99.9% finished, I need only one little thing to fix and I'll release it for all
I'm working on one project and have problems.
So, let's begin.
I'm building my own settings, sliding settings to be precise (it'll be out soon, as soon as I/we fix this)
And every time I compile and sign settings.apk, everything is O.K except wifi and bluetooth switch/toggle on a main screen settings.
I'll try to explain...
I'm working on editing settings.apk and when I install/move settings I stuck with this situation.
Wifi or bluetooth toggle can be toggled just one time then it becomes gray(ish)/blocked and I have to restart settings or just rotate screen from portrait to landscape (or the othe way, from landscape to portrait).
I belive it just won't refresh or "listeners" doesn't work well.
Check this:
I open settings (wireless is on, I enabled it from status bar) :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- everything is O.K, wireless is on.
Then I turn wireless off:
Wireless switch/toggle isn't available anymore for switching, until I rotate the screen(device) or restart settings (not phone, settings).
Compare red and blue circled switches, red one is blocked (check it colour,it's not same as on bluetooth switch) it's gray and bluetooth, which I haven't touch is O.K (if I had turned it on it'll enable bluetooth but it'll become light blue and it'll be blocked like wifi)
One thing is important to say.
Both adapter (wifi and bluetooth) are fully working without any problems from status bar or even from submenues in settings:
I can enable and disable it without any problems (all the time)....
That's why I don't know what to do...
I tried many stuff...
I compiled seven different versions with seven different sources (settings.apk from various JB ROMs / stock based) but with every single one I have this problem.
And yes, I tested every single settings.apk on various ROMs and frameworks (stock JB and Honami) and all switches are working great, so I'm 100% sure it's not problem with sources)
Problem is because I use tutorial and few smali and xml files are always same - so problem must be there.
I hope some experienced developer will see this and contact me.
I'll send, of course, all sources and compiled apk if some dev like to see and try to help.
Of course only to guys who can help!
As soon as I finish this it'll be out for all the rest
Thank you very much :thumbup:
Sent from my LT26i using Tapatalk 4

Can't believe no one knows...
I'll post link to that tutorial, maybe someone could try and check.
Sent from my LT26i using Tapatalk 4

i believe it has smth to do with framework

Dude, is it happening only for Wifi or even Bluetooth and other sliders?? And why didn't u mention DooMLord for help..!!!!

Please PM me the TUT.
Sent from my LT26ii using xda app-developers app

I dont know exactly what are you doing ?
If stock Setting apk not have this problem. The problem only with your new Settings => check your method "sliding settings to be precise"
We dont have this method, so we can not do anything :angel:

Tnx guys for replying.
I said everything, only two switches on the main screen doesn't work (if I refresh screen (rotate or close and open settings again) it'll work then block again.
Obviously I have to repeat - I tested every single settings.apk in single tab mode and it's working - problem is only when I rearrange settings_headers in three tabs.
Of course that automatically removes framework as an option - it's impossible rhat framework do this (at least in this scenario).
I'll change my question...
Anyone knows which files (probably smail, but which one?) in settings.apk are responsible for wifi and bluetooth switch on a main settings screen (not in a sub menus but in a main screen).
Once again, switches/toggles in submenus are working excellent...
Sent from my LT26i using Tapatalk 4

I've been trying to port this mod to our Xperia S for more than a month and I'm stuck at this point too. I've checked different ports and compare all smali codes, making my own changes but nothing is effective...
It seems something related with resume and pause methods of WifiEnabler and BluetoothEnabler...
There's not any significative difference between my port and other's except for:
Code:
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
Instead of
Code:
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
But it looks not to be related with our issue.
I hope great devs/themers like @peetr_, @XDA.AGM or @NuriJ could take a quick look to our files.:fingers-crossed:

tutorial of this
plz provide me a tutorial
that what you have done

Related

[APP] LiveCam - Watch the image from your pda's camera in a Web browser

Hello, this is my another release (though you may not remember previous ones).
My little app is called LiveCam and it allows you to watch what your phone's (rear) camera sees. Currently still images are taken every 5 seconds, and you can only see still images in browser but in future I'ma make it able to transfer real-time video! The app is totally uncustomizable for now because I only wanted to make it work. It contains whole lot of bugs. The app consists of 2 parts joined in 1 executable:
- a camera server that takes picture every 5 second
- a small HTTP server that allows you to see the most current image.
App could be possible only thanks to Alex Mogurenko's DirectShow .NET CF
How-to:
- Copy LiveCam.exe and DirectShow.NETCF.DLL to one folder wherever on your device.
- Ensure you have at least 400kB free space on your device root folder.
- Check your device name in Start > Settings > System > About. E.g. mine is HTC52, some may be Pocket_PC or alike. You may change it for more friendly for you or easier to remember if you want but do it now.
- Connect your phone to WiFi or ActiveSync/WMDC. Wait until the connection is established.
- Run LiveCam.exe. Click "Enable Cam" button (don't worry there's still a camera disabled text, if you see picture from your camera then everything's allright). Click "Enable HTTP" button (same here, don't worry of the HTTP disabled text).
- Run your PC's web browser and point to http://your_device_name:1222/
e.g. http://HTC52:1222/ Should be working.
- If you want to use it via data connection you must first activate it, however it won't work if you don't have external IP service.
- If you want to access it from an Internet computer (not in your subnet), please redirect 1222 port on your WiFi router, check your Pocket PC's IP.
Tested only on HTC KAISER. May not work on other devices. Please report.
Note this is a pre-pre-pre-alpha-release and it has maybe 10% of the functionality I want it to have.
Known bugs/limitations:
- Only 240x320 available res (will be fixed)
- Only still images, no video (5 seconds)
- No auto-refresh in web server must refresh manually to see current image (will be fixed easily)
- No customizable HTML page (will be fixed easily)
- No customizable HTTP port (will be fixed easily)
- No way of turning Flashlight (should be fixed)
- May hang up or eat memory as I didn't try it for longer time. Please always use the Give up button to exit app so that resources are believed to be released then.
If you like the app, I will make it really usable in next version but I must know that I don't work just for myself.
.NET CF 2.0 IS REQUIRED!
It works on my Blackstone(Touch HD)
It crashes when you click on init server multiple times and it doesn't show that it's running but you can access it through the browser.
I'd really like to have a webcam app that really works because other software I tried always had bugs or didn't work at all.
wonderful idea.. and it works great! (touch hd as well)
U dont work just for yourself, keep it going bro
Edit: Touch HD - working! Qtek 9100 - not working!
TyTN Stock
Frakken Awesome!
Works on my unbranded stock Kaiser. Keep up the good work!
its great for my htc touch hd .... owesome and it would be bloody owesome if it would be motion i mean video
Awesome!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Works on blackstone wm6.5 via web ^^
but config screen doesn't update to "enabled", even if server and cam are enabled. just says "disabled" but works. keep up your pretty idea. looking forward to new versions.
some feature-wishes:
- option to turn off the display during stream
- password lockable web interface, so you can only watch the camera if you have the password (htaccess)
- auto refresh in browser and choise between photo and video
- autosave video to sd
- option to switch between main and front camera
- portrait/landscape switch
- ... ^^ sry
where do I enter the address ? is it under LAN settings in IE ?
Thanks!
It works on my old Dopod 818 pro
hi, welcome back video should be possible, it is no bug that after clicking 'initialize' nothing changes, the app was written very fast and therefore not fully implemented. But if I happen to find some time, I may make it better. But no promises Thank you very much for feedback, I thought no one except me could find use for this.
This ideal is good if video streaming is included.
kartam said:
I thought no one except me could find use for this.
Click to expand...
Click to collapse
I bet you would find many who would like to use something like this
schmeichler said:
I bet you would find many who would like to use something like this
Click to expand...
Click to collapse
And I'm one of them~
Please keep on going!!

[Q] Moving status/notification bar to bottom of screen

I'm looking to move the status/notification bar to the bottom of the screen so that it'll appear on top of the navigation bar (I'm on the latest nightly of CM9). Also I suppose as an effect, the notification tray would have to be reversed so that it expands up (and not down).
I know there was a mod/app called ReloadedICS that was able to do this but it seems like the developer for that mod seemingly disappeared some time ago, so now it's incompatible with the latest CM9 builds.
Now I'm hoping this could be as simple as an XML edit in systemui or framework-res.apk, but I'm not entirely sure where exactly to look if this were the case. I have searched for a potential solution to no avail.
So my questions are: First, is this possible with some simple XML edits? Second, and if so, what XML files do I need to change and with what parameters?
Any help would be most appreciated!
Just to clarify what I'm looking for (not tablet mode's combined status bar):
(Screen capture from Reloaded ICS (http://forum.xda-developers.com/showthread.php?t=1531222))
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Change the DPI to 180 or less, either in the build prop or use an app that will do it, the UI should go into tablet mode.
phatmanxxl said:
Change the DPI to 180 or less, either in the build prop or use an app that will do it, the UI should go into tablet mode.
Click to expand...
Click to collapse
Thanks for the reply, but I should clarify that I'm not looking for tablet mode which activates the combined bar.
What I'm looking for is simply moving the notification bar to display on-top of the navigation bar. The aforementioned Reloaded mod had a setting where it did just that. http://forum.xda-developers.com/showthread.php?t=1531222
Basically I wondered if anyone had any knowledge of how that was accomplished.
A lot of roms already have an option to change the system's dpi but some apps tend to crash. Phone especially. Why not just flash paranoid rom and have a problem-free experience in tablet mode?
Sent from the future.
SocialReject said:
A lot of roms already have an option to change the system's dpi but some apps tend to crash. Phone especially. Why not just flash paranoid rom and have a problem-free experience in tablet mode?
Sent from the future.
Click to expand...
Click to collapse
While paranoidandroid seems to do a good job at handling tablet mode, I'd rather go with a non-tablet mode approach like I just clarified in my original post and to keep myself on the official CM9 nightly build path.
I'd also like to expand my knowledge in modifying XML files (assuming that's what it takes to make this kind of modification).
Mooem7 said:
While paranoidandroid seems to do a good job at handling tablet mode, I'd rather go with a non-tablet mode approach like I just clarified in my original post and to keep myself on the official CM9 nightly build path.
I'd also like to expand my knowledge in modifying XML files (assuming that's what it takes to make this kind of modification).
Click to expand...
Click to collapse
In CM7, you can easily move the notification/status bar down in a setting. They haven't added this ability (if it's possible) to CM9 yet unfortunately.
Mooem7 said:
I'm looking to move the status/notification bar to the bottom of the screen so that it'll appear on top of the navigation bar (I'm on the latest nightly of CM9). Also I suppose as an effect, the notification tray would have to be reversed so that it expands up (and not down).
I know there was a mod/app called ReloadedICS that was able to do this but it seems like the developer for that mod seemingly disappeared some time ago, so now it's incompatible with the latest CM9 builds.
Now I'm hoping this could be as simple as an XML edit in systemui or framework-res.apk, but I'm not entirely sure where exactly to look if this were the case. I have searched for a potential solution to no avail.
So my questions are: First, is this possible with some simple XML edits? Second, and if so, what XML files do I need to change and with what parameters?
Any help would be most appreciated!
Just to clarify what I'm looking for (not tablet mode's combined status bar):
(Screen capture from Reloaded ICS (http://forum.xda-developers.com/showthread.php?t=1531222))
Click to expand...
Click to collapse
but it saw a message reloaded ics has stopped

[MOD]Twelve Headphone Shortcuts v0.1

Twelve Headphone Shortcuts MOD
REQUIRES ROOT + BUSYBOX!
This mod extends the number of shortcuts that appear on the notification pulldown when headphones are connected to TWELVE shortcuts!
The shortcuts are now placed six in a row instead of the default five. If you add more then six a second row appears.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mod is attached. Flash using CWM and use my app Headphone Shortcuts for SGS3 to customize the shortcuts.
This is only tested by me, flash only if you know what you are doing!
If possible, backup your /system/app/ContextAware.apk
BusyBox: market link
If you like this app - press the Thanks button and rate the thread 5-stars!
If you like this app and have money to spare - donate a few $$$ to the WWF Tiger conservation project
I'm new to Android development, so leave feedback! Not working? I'll fix it!
Version history
Planned for next version
* Based on XXBLG1
* Layout improvements (make top space = bottom space = between-rows space)
* React to bluetooth headsets (might be delayed until v0.3)
v0.1 (10 Jul 2012)
* Initial release
* Based on XXALF6
Looking forward to some feedback. Did it work? Or did your phone burn up?
Can I confirm with you that the important changes are in the app_list_view.xml, ids.xml, public.xml and CANotiView.smali files? (InteractionManager.smali, too, possibly but I haven't looked at it in great detail) I'm asking because I run stock so I like to odex my /system/app APKs and also because Samsung seemed to have made other changes in LFB (I'm guessing your ContextAwareService.apk is from Omega 7)
Thanks
qwerty12 said:
Can I confirm with you that the important changes are in the app_list_view.xml, ids.xml, public.xml and CANotiView.smali files? (InteractionManager.smali, too, possibly but I haven't looked at it in great detail) I'm asking because I run stock so I like to odex my /system/app APKs and also because Samsung seemed to have made other changes in LFB (I'm guessing your ContextAwareService.apk is from Omega 7)
Thanks
Click to expand...
Click to collapse
Thats right. InteractionManager.smali is not touched, everything else you name is modded. The apk is from Omega 7, should probably get the latest one.
U r the best that's what I was searching for thnxxxxx alit
Sent from my GT-I9300 using xda premium
kakyyabata said:
U r the best that's what I was searching for thnxxxxx alit
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Can you confirm that it actually works for you? =)
After bastardizing your changes and removing the other layout folders that are in the LFB version, I can indeed confirm that your work does, well, work very nicely:
Thanks!
qwerty12 said:
After bastardizing your changes and removing the other layout folders that are in the LFB version, I can indeed confirm that your work does, well, work very nicely:
Thanks!
Click to expand...
Click to collapse
You're on cm9, right...if not and you're on stock(custom) rom, how did u get brightness slider on notification bar.
To OP...
Btw. Thanx for the 12 toggle. One request though,could u make the toggles scrollable instead of over/under.
zodiaxe66 said:
You're on cm9, right...if not and you're on stock(custom) rom, how did u get brightness slider on notification bar.
Click to expand...
Click to collapse
Samsung added it in the XXLFB firmware.
EDIT: If you're using a custom ROM, it may be using the XXALF6 version of SystemUI. (When I've ran APKTool on these SystemUIs, I've always found oddities.)
zodiaxe66 said:
Btw. Thanx for the 12 toggle. One request though,could u make the toggles scrollable instead of over/under.
Click to expand...
Click to collapse
Doesn't seem possible I'm afraid. The reason for this is that what we get in the notification pulldown when we connect the headset is a kind of notification that uses RemoteViews to render itself. A RemoteViews object is limited to including the following (according to the Android docs here):
FrameLayout
LinearLayout
RelativeLayout
AnalogClock
Button
Chronometer
ImageButton
ImageView
ProgressBar
TextView
ViewFlipper
ListView
GridView
StackView
AdapterViewFlipper
What we would have needed is a HorizontalScrollView, and we don't get that. I think this limitation is in place because dy default swiping a notification to the right clears it so we would have inconsistent behavior.
I GUESS it would be possible to hack the framework somehow, but I don't think I have the time or the energy for that.
Thank you for allowing this to be ported to the epic touch 4g
Hi!
Can some one tell me why the apps I choose to be shown does not stay always in the same position? They some time move left and right and so they don't keep same position in notification menu...
How to fix them definitely??
Sent from my GT-i9300 using TapaTalk2
Hello. I use the Nova launcher and I don't have the headphones shortcut. Can I enable it with this launcher or with others,? Because if we don't use the Samsung launcher we can't have the headphones shortcut.
Thanks
This is confirmed working on jedixp8 for the at&t note2
Edit: by the way this is amazing. Also I used to twrp 2.3.3.1 to flash this
Any chance or any way to get this working in an AOKP or CM10 rom?
Any way to go back to stock number of toogles as 12 toogles does not align good for me
I just hide 2 apps in the right side
BTW...my device is a GS2 ..Galaxy 3 should not have issues.

[APP] Standby Touch - simple app for a simple job

Warning! This has been developed and tested on Galaxy Nexus. It should work fine on One X, but have a backup, just in case something goes wrong (can't imagine what)
Today I got a little bit bored and decide to make this simple app. As the name says, it allows to put the phone in Standby (Lock) with the touch of app's icon. I know that there are many many apps that do this, but maybe in the future I could add other options to it. So far it seems to work fine, I tested it with Jellbro latest nightly and works like a charm. Maybe I am too lazy, but because my phone is on the desk most of the day, I find it not very convenient to press the Power button...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelog for version 1.4:
1.4
- added Tasks feature
- on some ROM versions the screen my try to turn itself on again after lock, the app will double check and try to lock it again. Please provide feedback if it still does not work.
- minor graphic tweaks
You can find it on Google Play at: https://play.google.com/store/apps/details?id=com.alinberce.standbytouch
Feel free to give me suggestions . Also a high rating on Google Play would help. Thanks.
Nice simple little app.
A suggestion-
Could you add per day schedule?
Ie. If I wanted to turn WiFi off when I know I'm at work but not on weekend.
Sent from my HTC One X using xda premium
Thank you for trying the app. The suggestion is great and I've noted it down. I will try to implement it in the next version.
I am using the app and haven't got any "wake screen" events. So hopefully works as expected.
I was thinking of a feature:
1. set an interval in seconds, let's say 60
2. set in the app, Enable touch screen to wake
3. in you press the screen on this interval, the phone awakes.
This of course with the cost of battery life....
What do you say, is is useful or not ?
I've just released a new version in the market. Unfortunatelly it does not have new features as I've been really busy in the last few months but includes two important things:
- there is no more white screen + app's icon when pressing the app's icon, just before the screen shuts down
- I added compatibility with JB 4.2
https://play.google.com/store/apps/details?id=com.alinberce.standbytouch
thank you! that is what iam searching for! :good:
greetings from germany
Please just let me know if it works fine. I currently don't have a One X for testing.
Offtopic. Great game for childrens you developed
Sent from HOX with ARHD 14.2
Awesome app, rated 5* in play store.
Sent from my EndeavorU using Tapatalk 2
Thanks a lot guys, I'm glad you like it and I'm very happy when I see a 5* rating!
@elmo: I am happy you like the babies app. I made a presentation on free software section, here on xda: http://forum.xda-developers.com/showthread.php?p=34258314#post34258314 I'd love to get some feedback from those of you who have small babies (1 to 3 years).
Thanks a lot, again.
alinescoo said:
Thanks a lot guys, I'm glad you like it and I'm very happy when I see a 5* rating!
@elmo: I am happy you like the babies app. I made a presentation on free software section, here on xda: http://forum.xda-developers.com/showthread.php?p=34258314#post34258314 I'd love to get some feedback from those of you who have small babies (1 to 3 years).
Thanks a lot, again.
Click to expand...
Click to collapse
I noticed 2 bugs on my htc x one. Later I will provide pictures in right thread
Sent from HOX with ARHD 14.2
Hi guys,
I have released a new version of the app. I have removed the Tasks feature as it wasn't too helpful and added Sleep Mode. So basically, the Sleep Mode shows for a brief moment (the time you set in Settings) 2 icons which allows you to switch off Sound/Wi-Fi/Data.
Here is how it works:
1. Go to Settings -> Zzzzzz Mode -> Set the interval in hours when you want the icons to be displayed. Set the milliseconds to be displayed and check the toggles you want to disable
2. Next time you press the StandBy icon you will see 2 icons on the screen. The moon icon puts the phone to standby and toggles off the checked things from settings. The sun icon, simply turns them on again and closes, without going into standby.
Any feedback is gladly received.

[Q] make checkboxes invisible?

This question builds on the original question a bit below this, so I just edited this thread rather than posting a new one.
So I got this far!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But now I want to remove all the unchecked buttons. This is because all the unchecked ones do not actually work
I don't understand why pick up to call doesn't tho, as that shuld only need proximity sensor and we do have that
Anyways, simply removing the code for these buttons in the corresponding xml files makes the motions settings menu crash the phone due to smali files looking for options that aren't there anymore, and I fail at editing smali so I don't know where to begin with that
So new question then! is there an easy way to hide these buttons from view without impairing their function?
like android:visibility="gone" or android:visibility="invisible" ? I tried both of these, but apparently that's not gonna work on checkboxes.
-------------------------------------------------------------------------------------------------
ORIGINAL QUESTION
I want motion settings on my ace, specifically flip to mute.
It is a feature of our phone in stock gingerbread and it works great then, so i want it on JB as well. (cause I use it ofcourse!, but I also feel like we are getting cheaped out on options )
So when compiling SecSettings.apk and having a look thru that, I found that everything needed is present, meaning:
- there is a menu reference in res\xml\settings_headers
- there is a motion_settings.xml, Smotion_settings.xml and a lot of other xml's about motion presen in res\xml as well
- there are strings, publics and id's present for everything
- there is a ic_settings_motion.png in drawable (also referred to in res\values\strings and public)
- there are files and folders for motion in smali\com\android\settings as well
Basically, all that is needed for motion settings is incorporated in our secsettings.apk, but it doesn't show up in settings.
So question is: what needs editing to make the motion settings menu show up in settings?
search in values/bools.xml if there is false next to some motion string and set it to true.
Rox said:
search in values/bools.xml if there is false next to some motion string and set it to true.
Click to expand...
Click to collapse
I had hoped it was this simple, but there are only a few bools, and of those, not too many are set to false.
To make sure (and for laughs) I did change em all to true and while I only got a few extra options in settings, I got an app drawer icon for both wifi tethering and usb tethering and a lot of new widets. Nothing seems to work tho and I just get a lot of force closes on my settings
If you use slim bean (maybe other ROMs too, that option is available in phone settings (it works only for incoming calls ofc), maybe you could logcat it or sth to see how it works (just guessing)
Wysyłane z mojego GT-I8160 za pomocą Tapatalk 2
judas1977 said:
If you use slim bean (maybe other ROMs too, that option is available in phone settings (it works only for incoming calls ofc), maybe you could logcat it or sth to see how it works (just guessing)
Wysyłane z mojego GT-I8160 za pomocą Tapatalk 2
Click to expand...
Click to collapse
I have indeed been using slim bean, and both pick up to call and flip to mute are present in that rom, which is awesome ofcourse. But samsung's touchwiz framework and apps do add functionality that I find too useful to give up on. (camera/gallery, DLNA. lockscreen). Not to mention that I am no fan of the black and blue theme that all the aosp based roms come with, nor do i like having to resort to a theme manager app for getting rid of it. (but I realize this is personal, and i can still mod the framework to my likings if I so desired)
Also, it is easier to add slim bean features to the touchwiz framework than it is the other way around, so that's what I'm doing instead
So for that I wanna learn how to make that motion settings menu work on touchwiz
EDIT:
I've installed the secsettings of an S Advance rom (fw xxqle) and that made a motions settings menu appear ^_^
of all these settings, only 2 actually worked, including flip 2 mute! (oh and shake to refresh) but not including pick up 2 call, which is mean since we do have a proximity sensor.
Anyways, I turned these options to on, replaced the original settings and the functions remained working :victory:

Categories

Resources