[SOLVED] Hide Gallery icon on CM10/JB - Android Q&A, Help & Troubleshooting

Is it possible to hide the icon (on every launcher, not a particular one) of the gallery on JB, which is the same application as the camera? i want to keep the camera icon only. I readed, but i dont remember where, that you can do something like that with some .xml editing... any ideas?

Re: [Q] Hide Gallery icon on CM10/JB
mato_d007 said:
Is it possible to hide the icon (on every launcher, not a particular one) of the gallery on JB, which is the same application as the camera? i want to keep the camera icon only. I readed, but i dont remember where, that you can do something like that with some .xml editing... any ideas?
Click to expand...
Click to collapse
Try hide it pro from play store
Sent from my Android Smartphone

dkmali said:
Try hide it pro from play store
Sent from my Android Smartphone
Click to expand...
Click to collapse
Thanks but im looking for something to put in a ROM that im making, so this wont help sady.

mato_d007 said:
Is it possible to hide the icon (on every launcher, not a particular one) of the gallery on JB, which is the same application as the camera? i want to keep the camera icon only. I readed, but i dont remember where, that you can do something like that with some .xml editing... any ideas?
Click to expand...
Click to collapse
Did you ever solve this problem?

The Bownz said:
Did you ever solve this problem?
Click to expand...
Click to collapse
Sadly not, im still looking for some help on this.

Ok, i found a way to do it. To hide any app icon you have to delete this on the manifest:
Code:
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
In this case, there is two times this code, one for the gallery and one for the camera. Just delete the gallery´s one and recompile.

Related

Link for mirror app?

Looks like the latest update removed the mirror app, which I used every so often. Does anyone have a download link to reinstall it? TIA!
It's hidden there somewhere. If you touch your search button (lower right) and search for mirror it will find it. Don't know how to get it back in the app drawer , but I had already had a shortcut to it on one of my pages.
Also turn the camera on and use it from there but It's multi step instead of the one click.
Sent from my PG86100 using XDA App
I'm looking for the app drawer shortcut, much easier to access. Is there any way to restore it?
You can't until they fix the camera issues they made... You can use the old camera.
I pinned it to my home screen by adding a shortcut
Sent from my HTC EVO 3D X515m using XDA App
I'm totally stock, never rooted, never unlocked and updated to the latest ota. The mirror app is still in my app drawer.
Sent from my PG86100 using Tapatalk
Rydah805 said:
You can't until they fix the camera issues they made... You can use the old camera.
Click to expand...
Click to collapse
what issues?
FoeKilla said:
I'm totally stock, never rooted, never unlocked and updated to the latest ota. The mirror app is still in my app drawer.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
Did you have it on a launcher page. That's the only people I've heard of so far that still have it in the app drawer.
I just noticed this yesterday at lunch when my wife and I were checking our teeth for salad. I'm all stock and after the update, the mirror app is gone.
U already have a mirror app, turn on ur camera and switch the camera to the front one, problem solved no need for mirror app, or am I missing something?
Sent from my 3vo
alexnaoumi said:
what issues?
Click to expand...
Click to collapse
Camera shutter sounds not disablable and mirror app missing from app drawer.
Wiley_11 said:
Did you have it on a launcher page. That's the only people I've heard of so far that still have it in the app drawer.
Click to expand...
Click to collapse
Nope. I only had it in the app drawer before and it's still there.
Sent from my PG86100 using Tapatalk
mine is gone from the ALL APPS screen as well.. used to have a gray mirror icon that said MIRROR. disappeared after recent OTA 20.8.651.2
What's funny here is everyone will just tell you to either go get another mirror app or just deal with the fact that it's gone. The fact that it's totally gone from everywhere on the phone but the search function means that there is a problem that needs to be fixed, that something's not working like it's supposed to.
HTC pretty much tells me that they don't care and I should deal with it. Ya, I know that it's just a minor thing at most, but it still is an issue. I wonder what else is gone that shouldn't be. Not like we'd ever know, since these issues don't seem to be given proper attention anymore. The last thing I remember being fixed was back when the Phone shortcut went missing from the Lock Screen. They fixed that fast enough, right?
I know, I'm kinda ranting here, but wth? I want what I paid MY money for to work the way it's supposed to, as I'm sure some of you do.
I don't think enough people are complaining for htc to roll out an update just to fix this one thing.
I know the fix, and it isn't an accident that they hid the mirror app, because its still there. You can go into your app drawer, hit search, type mirror and it pops up. I re-enabled it in my ROM.
Via My HTC Evo 3D On The Now Network From Sprint.
johnequickiii said:
What's funny here is everyone will just tell you to either go get another mirror app or just deal with the fact that it's gone. The fact that it's totally gone from everywhere on the phone but the search function means that there is a problem that needs to be fixed, that something's not working like it's supposed to.
HTC pretty much tells me that they don't care and I should deal with it. Ya, I know that it's just a minor thing at most, but it still is an issue. I wonder what else is gone that shouldn't be. Not like we'd ever know, since these issues don't seem to be given proper attention anymore. The last thing I remember being fixed was back when the Phone shortcut went missing from the Lock Screen. They fixed that fast enough, right?
I know, I'm kinda ranting here, but wth? I want what I paid MY money for to work the way it's supposed to, as I'm sure some of you do.
Click to expand...
Click to collapse
You opened a 2 month old thread for this rant?
Rydah805 said:
I know the fix, and it isn't an accident that they hid the mirror app, because its still there. You can go into your app drawer, hit search, type mirror and it pops up. I re-enabled it in my ROM.
Via My HTC Evo 3D On The Now Network From Sprint.
Click to expand...
Click to collapse
Why say you know how to enable it, and not show how?
------------------
The following should make the mirror app show up:
- Decompile HTCCamera.apk
- open up androidmanifest.xml in notepad++
- if the mirror icon is hidden either the activity for it is hidden or not there.
- if it is it should look like the following:
Code:
<activity android:theme="@style/mirror_window" android:label="@string/mirror_name" android:icon="@drawable/ic_launcher_mirror" android:name="MirrorEntry" android:taskAffinity="android.task.mirror" android:clearTaskOnLaunch="true" android:launchMode="singleTask" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation">
<meta-data android:name="android.app.default_searchable" android:value="*" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
- make the necessary changes, save and recompile
Problem with editing the androidmanifest is that you have to resign all the apk with the same shared id, that's a pain to figure out, so you could just resign all the apk's in the system/app/ folder with testsign or in a batch with apkmanager.
Just remember to resign, if not the camera won't show up after a reboot.
EDIT: Just noticed that this thread was bumped.. Oh well, I'll still leave up the info above in case someone needs it
flashinglights said:
Why say you know how to enable it, and not show how?
------------------
The following should make the mirror app show up:
- Decompile HTCCamera.apk
- open up androidmanifest.xml in notepad++
- if the mirror icon is hidden either the activity for it is hidden or not there.
- if it is it should look like the following:
Code:
<activity android:theme="@style/mirror_window" android:label="@string/mirror_name" android:icon="@drawable/ic_launcher_mirror" android:name="MirrorEntry" android:taskAffinity="android.task.mirror" android:clearTaskOnLaunch="true" android:launchMode="singleTask" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation">
<meta-data android:name="android.app.default_searchable" android:value="*" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
- make the necessary changes, save and recompile
Problem with editing the androidmanifest is that you have to resign all the apk with the same shared id, that's a pain to figure out, so you could just resign all the apk's in the system/app/ folder with testsign or in a batch with apkmanager.
Just remember to resign, if not the camera won't show up after a reboot.
EDIT: Just noticed that this thread was bumped.. Oh well, I'll still leave up the info above in case someone needs it
Click to expand...
Click to collapse
I've also seen it fixed by removing the following from \system\customize\MNS\default.xml
Code:
<set name="plenty" max="7">
<item name="package">com.android.camera</item>
<item name="class">com.android.camera.MirrorEntry</item>
</set>
Nice to see someone actually post a solution (even if the thread is 3 months old ).
mwalt2 said:
I've also seen it fixed by removing the following from \system\customize\MNS\default.xml
Code:
<set name="plenty" max="7">
<item name="package">com.android.camera</item>
<item name="class">com.android.camera.MirrorEntry</item>
</set>
Nice to see someone actually post a solution (even if the thread is 3 months old ).
Click to expand...
Click to collapse
Yes sir. That's correct. But, it needs to be done before flashing the ROM.
Via My HTC Evo 3D On The Now Network From Sprint.

[Q] Removing Battery Status From Lock Screen

Hi all,
does anyone know how I can remove the battery info that shows on the stock lock screen (percentage and id_lock.. images)? Now I've changed the battery info in the status bar, it's really not needed.
I've tried removing the relevant lines from keyguard_screen_lock.xml in the layout folder of my framework-res, but it hasn't changed anything and I'm too noobish to know what else to fiddle with.
I could try Widgetlocker or something similar, but that kinda defeats the point. Plus, I'm just too stubborn..
Many thanks!
Ticklefish said:
Hi all,
does anyone know how I can remove the battery info that shows on the stock lock screen (percentage and id_lock.. images)? Now I've changed the battery info in the status bar, it's really not needed.
I've tried removing the relevant lines from keyguard_screen_lock.xml in the layout folder of my framework-res, but it hasn't changed anything and I'm too noobish to know what else to fiddle with.
I could try Widgetlocker or something similar, but that kinda defeats the point. Plus, I'm just too stubborn..
Many thanks!
Click to expand...
Click to collapse
Are u using a Custom ROM like mini CM7!? when yes goto Settings / CyanogenMod settings / Lockscreen / Widget options
when NO i dont know
edit: ah im blind u use stock !!!
martiii said:
Are u using a Custom ROM like mini CM7!? when yes goto Settings / CyanogenMod settings / Lockscreen / Widget options
when NO i dont know
edit: ah im blind u use stock !!!
Click to expand...
Click to collapse
Was trying to figure out how to turn it ON after installing a new ROM! Thanks!
Yeah, I like to make things difficult for myself. lol
I think I've figured it out, but I'll have to wait until I get home to try it out. It looks like I need to edit keyguard_screen_tab_unlock.xml in the layout folder of my framework-res.apk and remove the line:
"<TextView android:textSize="18.0dip" android:textColor="#ccffffff" android:id="@id/status1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:drawablePadding="8.0dip" />".
Apparently, status1 is the battery icon and percentage while status2 is the alarm icon and info.
I'll try it out and report back.
scook94 said:
Was trying to figure out how to turn it ON after installing a new ROM! Thanks!
Click to expand...
Click to collapse
Glad to see my issue creates someone else's solution..lol
Y'know, if you're in the mood, you could add even more battery info to your lockscreen. If you fancy doing some fiddling, check out this: http://www.webyme.net/?p=254

[Q] Show Wireless Display in Settings

Hi,
I have got a mediatek powered phablet and I miss the wireless display settings.
So i decided to look over the settings.apk and saw the following line in xml/display_settings.xml:
Code:
<PreferenceScreen android:title="@string/wifi_display_settings_title" android:key="wifi_display" android:fragment="com.android.settings.wfd.WifiDisplaySettings" />
But there is no wifi_display setting..
Is there a method to activate the desired option? Maybe it is only hidden and I have to unhide it.. I installed an app to show the wfd dialog, works fine. But I want the android settings way to do this..
Could you please help me?
Thanks a lot!
Best regards
Marcus
freibergisch said:
Hi,
I have got a mediatek powered phablet and I miss the wireless display settings.
So i decided to look over the settings.apk and saw the following line in xml/display_settings.xml:
Code:
<PreferenceScreen android:title="@string/wifi_display_settings_title" android:key="wifi_display" android:fragment="com.android.settings.wfd.WifiDisplaySettings" />
But there is no wifi_display setting..
Is there a method to activate the desired option? Maybe it is only hidden and I have to unhide it.. I installed an app to show the wfd dialog, works fine. But I want the android settings way to do this..
Could you please help me?
Thanks a lot!
Best regards
Marcus
Click to expand...
Click to collapse
Check in your settings apk for that fragment listed.."android:fragment="com.android.settings.wfd.WifiDisplaySettings"
If it there they it should be fairly easy..
Maybe it's missing a layout or something else. Snoop around
Sent from my SCH-I605 using xda app-developers app

[MOD] Build.prop modifications

Hello, I am by no means a dev but had a useful modification to my edge I wanted to share.
I came from a G3 and there was a thread about modifications to the build.prop file.
Link: http://forum.xda-developers.com/lg-g3/general/guide-build-prop-tweaks-free-ram-t2825693
I found the stock scaling to be a little cramped for a 1440p screen.
I used a build.prop editor and simply found the ro.sf.lcd_density property and switched the scaling around.
There seems to be 2 ro.sf.lcd_density property. One at 640 and one at 480. 640 is the one you want to change around. I'm guessing 480 is for the easy mode or the ultra power setting mode.
I liked the stock PPI on my G3 but when I set the Edge to the stock PPI of 540 things were a bit small. I found that 590 hits the mark for me.
Like I said I'm no dev and this was just a handy trick I happened to pick up while I owned a G3. If anyone has any more useful properties to edit feel free to add.
I'm going to try out the disable all android log edit as well and see if it helps performance ever so slightly more.
DISLAIMER
Do with your own risk, I'm not responsible for your devices
I'm not responsible if your device bootloops.
Make sure you know what you are doing.
Tested and works fine on my 915S
reserved in case?
Just noticed that the only thing this affects is the camera app. For some reason the camera app cannot adjust to the new dpi and it stays the same size as if it was 640 and registers touch not where icons are but where the icons would've been in if the dpi was 640. So far this is the only thing that's an issue. Taking photos still work fine but video mode crashes. Anyone know a fix?
You can always use app settings module in xposed and reset the density of the apps.
Sent from my SM-N915G using XDA Free mobile app
panjaby said:
You can always use app settings module in xposed and reset the density of the apps.
Sent from my SM-N915G using XDA Free mobile app
Click to expand...
Click to collapse
Doesn't work to "fix" the camera app. Video still crashes.
But I am using app settings to change chrome, instagram, maps, etc. :good:
In that case you might want to change the build prop dpi back to stock and change the per app dpi with the module. That's how I've done it and have no problems.
panjaby said:
In that case you might want to change the build prop dpi back to stock and change the per app dpi with the module. That's how I've done it and have no problems.
Click to expand...
Click to collapse
I love the dpi change the most on the main screen. Is this possible with the module? Also this seems like a lot of work >.<
Anyone else find any other interesting mods to build prop
I have changed systemui, settings, and many other apps with no problems.
Yes it's a bit of work but on the brighter side if some app doesn't like it you can always change it back to stock.
Some screen shots
panjaby said:
Some screen shots
Click to expand...
Click to collapse
Nice panjaby!
do you have problems with the Edge panel?
No the edge panel is working great
Press Thanks if i was helpful
panjaby said:
No the edge panel is working great
Press Thanks if i was helpful
Click to expand...
Click to collapse
If anything I figured the edge panel would crash due to dpi change and was surprised to find it working just fine but the camera app? cmon... hahaha
I'll try it out. The dpi change allows for so much more room for activities in the notification panel it's amazing.
panjaby said:
Some screen shots
Click to expand...
Click to collapse
Nice. What DPI did you use for settings and system ui?
Also, if anyone can help me solve this issue, I'd be extremely grateful:
I used the App Settings module to force auto rotation for the Touchwiz launcher. It works, but everything is shifted to the left and cut off at the bottom. Anyone know what settings I can adjust to "correct" this? Thanks!
Screenshots of what it looks like vs what it SHOULD look like are attached.
pieces of cake said:
Nice. What DPI did you use for settings and system ui?
Also, if anyone can help me solve this issue, I'd be extremely grateful:
I used the App Settings module to force auto rotation for the Touchwiz launcher. It works, but everything is shifted to the left and cut off at the bottom. Anyone know what settings I can adjust to "correct" this? Thanks!
Click to expand...
Click to collapse
I found the native 540 dpi to be way too tiny and found 590 was the best for me.
As for your other question you might have better luck in the Q&A section
panjaby said:
Some screen shots
Click to expand...
Click to collapse
Also, what is the package name to change in the app setting to change the dpi on the notification panel.
tospace2006 said:
Also, what is the package name to change in the app setting to change the dpi on the notification panel.
Click to expand...
Click to collapse
System UI
[quote name="panjaby" post=57582514]Some screen shots[/QUOTE]<br />
<br />
Nice. What DPI did you use for settings and system ui? <br />
<br />
Also, if anyone can help me solve this issue, I'd be extremely grateful:<br />
<br />
I used the App Settings module to force auto rotation for the Touchwiz launcher. It works, but everything is shifted to the left and cut off at the bottom. Anyone know what settings I can adjust to "correct" this? Thanks!<br/>
Im using 551 dpi for system & settings
As for modifing stock tw launcher i think its only possible if you get the modded tw launcher app i remember i saw it somewhere.
Press Thanks if i was helpful
panjaby said:
[quote name="panjaby" post=57582514]Some screen shots
Click to expand...
Click to collapse
<br />
<br />
Nice. What DPI did you use for settings and system ui? <br />
<br />
Also, if anyone can help me solve this issue, I'd be extremely grateful:<br />
<br />
I used the App Settings module to force auto rotation for the Touchwiz launcher. It works, but everything is shifted to the left and cut off at the bottom. Anyone know what settings I can adjust to "correct" this? Thanks!<br/>
Im using 551 dpi for system & settings
As for modifing stock tw launcher i think its only possible if you get the modded tw launcher app i remember i saw it somewhere.
Press Thanks if i was helpful[/QUOTE]
The only modified TW launcher that I've seen is the one that swaps out Briefing for the camera when you swipe all the way to the left. Is there another one?
Incase anyone missed my other post, and add requested:
http://forum.xda-developers.com/showthread.php?p=57706483
So I've noticed some apps say they are not compatible with the note edge on the play store.
In case anyone was not aware of you goto build.prop and change your device from tbltespr (where spr is your variant) to trltespr you get more games as the play store thinks you are a regular note 4.
The lines will be:
ro.product.name=tbltespr
ro.product.device=tbltespr
r o.build.product=tbltespr
To
ro.product.name=trltespr
ro.product.device=trltespr
r o.build.product=trltespr

Change shortcut in lockscreen ?

Hi,
I've installed the Google Camera app for my Honor 7 and would like to change the camera shortcut on the lockscreen because it lauch the Honor/Huawei camera app.
I've searched in settings but can't find anything
Thanks !
Which android version are you using now??
Sent from my GT-S5360 using XDA Free mobile app
I'm on B371 EMIUI 4.0
iMaxime said:
Hi,
I've installed the Google Camera app for my Honor 7 and would like to change the camera shortcut on the lockscreen because it lauch the Honor/Huawei camera app.
I've searched in settings but can't find anything
Thanks !
Click to expand...
Click to collapse
I don't quite understand your question. Do you want to put Google camera at your homescreen? or do you want to just change the icon of the Google camera?
Well if you want to do the first one, then you just have to drag and drop the icon at your homescreen, and if you want to do the latter one then you should install a third party launcher.
DigiGoon said:
I don't quite understand your question. Do you want to put Google camera at your homescreen? or do you want to just change the icon of the Google camera?
Well if you want to do the first one, then you just have to drag and drop the icon at your homescreen, and if you want to do the latter one then you should install a third party launcher.
Click to expand...
Click to collapse
Hello Digigoon,
I would like to do the same as iMaxime.
We do not want to change icon in HOME screen, we would like to change application triggered by LOCK screen icon.
That is... we may not be able to have the fast picture feature in-build in Honor camera app, but we would be able to launch the third-party camera app from the lock screen. May be more complicated than that, but could you please help us? Is this even possible?
Cordially,
Xavi
XavierNovella said:
Hello Digigoon,
I would like to do the same as iMaxime.
We do not want to change icon in HOME screen, we would like to change application triggered by LOCK screen icon.
That is... we may not be able to have the fast picture feature in-build in Honor camera app, but we would be able to launch the third-party camera app from the lock screen. May be more complicated than that, but could you please help us? Is this even possible?
Cordially,
Xavi
Click to expand...
Click to collapse
As far as I know, you can't do that with stock ROM (or any that isnt customizable on that way). You'll need to download a launcher or an app do costumize your lockscreen
joaomPT said:
As far as I know, you can't do that with stock ROM (or any that isnt customizable on that way). You'll need to download a launcher or an app do costumize your lockscreen
Click to expand...
Click to collapse
Thanks!
XavierNovella said:
Thanks!
Click to expand...
Click to collapse
You may try and freeze the native camera app and install the app you want. If there is no FC, then any shortcut will lead to Google Camera as it will be assumed as the default (only) camera app.
I´ve removed myself some useless system apps and some others just can´t be removed. Never tried camera.
Settings > Apps > Advanced > Default App Settings > Camera.
If you change it from there, doesn't it get changed from the lock screen?
produstoandaluz said:
Settings > Apps > Advanced > Default App Settings > Camera.
If you change it from there, doesn't it get changed from the lock screen?
Click to expand...
Click to collapse
It does not work for me
iMaxime said:
Hi,
I've installed the Google Camera app for my Honor 7 and would like to change the camera shortcut on the lockscreen because it lauch the Honor/Huawei camera app.
I've searched in settings but can't find anything
Thanks !
Click to expand...
Click to collapse
You can use a method described by Paul O'Brian but you will have to dig for it a bit.
I don't recall specifically but he used something like
pm.hide.something
To hide the native app and use the one you want. After that, it will use your custom app.
Tag him in the post and he can clarify more.

Categories

Resources