[REQ]Hide Modules in launcher - Xposed General

Is it possible to Hide Modules From launcher and launch them only in the Xposed Installer UI?

This can be done easily by the module authors themselves. If your favorite modules don't do it, maybe you can ask the authors to change it.
Otherwise, this could only be done by a module if the launcher doesn't support it. Maybe there already is a module for this, but generally, different launchers will require different approaches to hide the icon, so it might not work for you. In any case, this wouldn't be part of Xposed itself, but a third-party module.

Actually I believe there is a module that does this, or it might only do app locking, I haven't used it but it's worth checking out.

It can be usefull!!
Sent from my Nexus 4 using XDA Premium 4 mobile app

A lot of launchers hide the icons of apps which is good enough I'd of thought. They would only be visible in xposed
From my paid for buggy ass XDA app...

pjohn23 said:
Is it possible to Hide Modules From launcher and launch them only in the Xposed Installer UI?
Click to expand...
Click to collapse
just remove this line from your activity:
Code:
<category android:name="android.intent.category.LAUNCHER" />
And please make sure your activity has this line in the intent-filter:
Code:
<action android:name="android.intent.action.MAIN" />
For more information, you can visit the xposed installer source:
https://github.com/rovo89/XposedIns...id/xposed/installer/ModulesFragment.java#L241

I tried that sir. but xposed framework says module doesnt have UI

liudongmiao said:
just remove this line from your activity:
Code:
<category android:name="android.intent.category.LAUNCHER" />
And please make sure your activity has this line in the intent-filter:
Code:
<action android:name="android.intent.action.MAIN" />
For more information, you can visit the xposed installer source:
https://github.com/rovo89/XposedIns...id/xposed/installer/ModulesFragment.java#L241
Click to expand...
Click to collapse
Actually, instead of removing the category, use this:
Code:
<category android:name="de.robv.android.xposed.category.MODULE_SETTINGS" />

Related

ADW Theme Development Help Needed.....

I have figured out almost everything for developing an ADW theme and have even finished my first theme and placed it in the Market. However the one thing I cannot seem to figure out is how to add the wallpaper library to the theme. I really want to make my themes as complete as possible and I have searched high and low but cannot find any information on how to do this. Any help would be greatly appreciated.
Thanks
hello,
i would like to know that to ?
have you found how its done ?
thanks
Yes I contacted the developer and he pointed me to an open source theme that I used some files from to mod my theme, I will get the link when I get home
i'm using some files from this template https://github.com/Wysie/ADW.Rustik
but dont work i'm missing something. dont know what
FOUND THE PROBLEM
i was missing this activity...
<activity
android:label="iTheme Wallpapers"
android:icon="@drawable/theme_icon"
android:name="wallpaper"
android:screenOrientation="nosensor"
android:finishOnCloseSystemDialogs="true">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

[MOD] Transparent Notification Pulldown (EC05 Bonsai 4.0.X)

Hey all,
Here's a mod to make the notification drawer pulldown transparent. It based on EC05. This one's off of Bonsai's 4.0.X. Let me know what you think. This is at 70% opacity.
Thanks to malfunctions DIY guide: http://forum.xda-developers.com/showthread.php?t=812541 and to Decalex.
Make copies/backups of
/system/framework/twframework-res.apk
/system/framework/framework-res.apk
Preview (Disclaimer: Does not come with the custom branding/batt mod):
CWM3 Flashable:http://www.megaupload.com/?d=5AAHOSKK
Heres a suggestion where the red part is bring the pull down menu so it completely covers the screen
XxLostSoulxX said:
Heres a suggestion where the red part is bring the pull down menu so it completely covers the screen
Click to expand...
Click to collapse
I always wonderd why that space was there.
Also how did you get the time over there by the date?
Sent from my SPH-D700 using Tapatalk
Yeah, idk what's up with the extra padding there. I noticed that too. That is not something I did. That's just the way it is by default. We could look into what causes that but I think it's beyond me currently. I just started messing with modifying PNG's and .9.PNG's. I know XML but have never messed with Android's schemas.
Actually the image status_bar_close_on.png purposely has a shadow now that I take a closer look. Simple enough to modify if you have a little Photoshop skills.
Or maybe it's fixable by adjusting the image padding in the xml file.
I was able to find status_bar_tracking.xml which references the image.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.server.status.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.server.status.TrackingPatternView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
<com.android.server.status.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.server.status.CloseDragHandle>
</com.android.server.status.TrackingView>
Maybe if android: paddingLeft="0.0px" android: paddingRight="0.0px" android: paddingBottom="0.0px" [spaces added to remove smileys] could be made negative value pixels we could force status_bar_close_on.png down a bit? We'd have to try.
The clock being moved from the normal status bar to the pulldown notification status bar is a mod in the services.jar file. It was done by Randy_T and Mammon for the Bonsai rom and that's what I have installed. You can probably replace yours and get the same effect. Make a backup just in case.
coryshad said:
I always wonderd why that space was there.
Also how did you get the time over there by the date?
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
p3dr0maz said:
The clock being moved from the normal status bar to the pulldown notification status bar is a mod in the services.jar file. It was done by Randy_T and Mammon for the Bonsai rom and that's what I have installed. You can probably replace yours and get the same effect. Make a backup just in case.
Click to expand...
Click to collapse
Cool thanks
Sent from my SPH-D700 using Tapatalk
It does reach all the way to the bottom - it is built so that it has a drop shadow below it. Just replace the close on with one that doesn't have that drop shadow or modify it in photoshop to remove it and slide the handle to the bottom of the canvas and it will hit the bottom.
Edit - read the first part of your post now - your first assumption is correct.
p3dr0maz said:
Hey all,
Here's a mod to make the notification drawer pulldown transparent. It based on EC05. This one's off of Bonsai's 4.0.X. Let me know what you think. This is at 70% opacity.
Thanks to malfunctions DIY guide: http://forum.xda-developers.com/showthread.php?t=812541 and to Decalex.
Make copies/backups of
/system/framework/twframework-res.apk
/system/framework/framework-res.apk
Preview (Disclaimer: Does not come with the custom branding/batt mod):
CWM3 Flashable:http://www.megaupload.com/?d=5AAHOSKK
Click to expand...
Click to collapse
Would this be flashable on sfr 1.2?
brandonc0526 said:
Would this be flashable on sfr 1.2?
Click to expand...
Click to collapse
Yes its just modified pngs (graphics) in the framework-res.apk and twframework-res.apk files. Nothing else should be included in this zip package to make these transparency changes. You can think of this as a sort of mini-theme that your flashing.
Paul627g said:
Yes its just modified pngs (graphics) in the framework-res.apk and twframework-res.apk files. Nothing else should be included in this zip package to make these transparency changes. You can think of this as a sort of mini-theme that your flashing.
Click to expand...
Click to collapse
Because this is the framework it isn't that simple. You would lose all battery mods, themes and rom customization (that is part of the apk's). The best thing to do would be to open it up and pull out the images and place them in the srf framework files than push them to the phone.
Sent from my SPH-D700 using XDA Premium App
crawrj said:
Because this is the framework it isn't that simple. You would lose all battery mods, themes and rom customization (that is part of the apk's). The best thing to do would be to open it up and pull out the images and place them in the srf framework files than push them to the phone.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
Correct, as the OP stated this is only the transparent pull down notification background. It doesn't include anything else so it would overwrite any other modifications that are done to the current framework-res.apk and twframework-res.apk you have installed.
The files you would need to pull are...
twframework-res.apk/res/drawable-hdpi/
status_bar_close_on.png
status_bar_header_background_01.png
status_bar_header_background.png
status_bar_background.9.png
framework_res.apk/res/drawable-hdpi/
status_bar_item_background_focusl.9.png
status_bar_item_background_normal.9.png
status_bar_item_background_pressed.9.png
I think that should about cover the transparent notification pulldown section. For the average person this may seem a bit much to move these files over, but I think this transparent theme/mod that p3dr0maz did was for those who were looking for maintaining the stock appearance with some transparency thrown in

[Q] Is there a News & Weather app that works for Droid 3 (GenieWidget.apk)

I've tried installing version 1.1.7 RC6 and it just force closes the second you try and run it on the Droid 3.
This was one of my favorite apps on my original Droid (and I was running CM7 gingerbread 2.3.3) with it and it still worked fine.
Yep...I've been running it on mine since the Droid 3 came out...
http://android.snkbitten.com/apps/GenieWidget.apk
Works....
Awesome! Thanks. That one works perfect.
is this the AOSP news/weather app?
640k said:
is this the AOSP news/weather app?
Click to expand...
Click to collapse
There is no AOSP news & weather app. Most apps are proprietary to the brand manufacturer.
The only AOSP apps (if I remember from compiling AOSP) are:
Browser
Calculator
Email
Phone
Contacts
Calendar
Gallery
Gallery 3d
Music
Mms
Launcher2
this is easier.......here are the Gingerbread AOSP apps if pulled from Android's github...though not all install to every build...depending on what hardware you are building towards.
<project path="packages/apps/AccountsAndSyncSettings" name="platform/packages/apps/AccountsAndSyncSettings" />
<project path="packages/apps/Bluetooth" name="platform/packages/apps/Bluetooth" />
<project path="packages/apps/Browser" name="platform/packages/apps/Browser" />
<project path="packages/apps/Calculator" name="platform/packages/apps/Calculator" />
<project path="packages/apps/Calendar" name="platform/packages/apps/Calendar" />
<project path="packages/apps/Camera" name="platform/packages/apps/Camera" />
<project path="packages/apps/CellBroadcastReceiver" name="platform/packages/apps/CellBroadcastReceiver" />
<project path="packages/apps/CertInstaller" name="platform/packages/apps/CertInstaller" />
<project path="packages/apps/Contacts" name="platform/packages/apps/Contacts" />
<project path="packages/apps/DeskClock" name="platform/packages/apps/DeskClock" />
<project path="packages/apps/Email" name="platform/packages/apps/Email" />
<project path="packages/apps/Gallery" name="platform/packages/apps/Gallery" />
<project path="packages/apps/Gallery3D" name="platform/packages/apps/Gallery3D" />
<project path="packages/apps/HTMLViewer" name="platform/packages/apps/HTMLViewer" />
<project path="packages/apps/Launcher2" name="platform/packages/apps/Launcher2" />
<project path="packages/apps/Mms" name="platform/packages/apps/Mms" />
<project path="packages/apps/Music" name="platform/packages/apps/Music" />
<project path="packages/apps/Nfc" name="platform/packages/apps/Nfc" />
<project path="packages/apps/PackageInstaller" name="platform/packages/apps/PackageInstaller" />
<project path="packages/apps/Phone" name="platform/packages/apps/Phone" />
<project path="packages/apps/Protips" name="platform/packages/apps/Protips" />
<project path="packages/apps/Provision" name="platform/packages/apps/Provision" />
<project path="packages/apps/QuickSearchBox" name="platform/packages/apps/QuickSearchBox" />
<project path="packages/apps/Settings" name="platform/packages/apps/Settings" />
<project path="packages/apps/SmartCardService" name="platform/packages/apps/SmartCardService" />
<project path="packages/apps/SoundRecorder" name="platform/packages/apps/SoundRecorder" />
<project path="packages/apps/SpeechRecorder" name="platform/packages/apps/SpeechRecorder" />
<project path="packages/apps/Stk" name="platform/packages/apps/Stk" />
<project path="packages/apps/Tag" name="platform/packages/apps/Tag" />
Click to expand...
Click to collapse
tcrews said:
There is no AOSP news & weather app. Most apps are proprietary to the brand manufacturer.
The only AOSP apps (if I remember from compiling AOSP) are:
Browser
Calculator
Email
Phone
Contacts
Calendar
Gallery
Gallery 3d
Music
Mms
Launcher2
this is easier.......here are the Gingerbread AOSP apps if pulled from Android's github...though not all install to every build...depending on what hardware you are building towards.
Click to expand...
Click to collapse
Attached apk force closes on my D3
Works on SG3
tcrews said:
Yep...I've been running it on mine since the Droid 3 came out...
Works....
Click to expand...
Click to collapse
Thank you for this :good: I had this on my LG Ally and used it all the time and just upgraded to SG3 blue 32GB (Verizon) and was searching for it - created an account here to let you know it works except for the weather - it would freeze to a black screen and not do anything until I went into settings and unchecked everything in the weather section (location) - so now at least I get the news tabs which was the main reason for using this. Shame about the weather part as I found it to be incredibly accurate (weather.com)
my SG3 is stock/unrooted.
***
Update: after researching, seems the weather aspect has stopped working for many people on various phones and in various countries as well
the google mobile help forum is replete with complaints about it
***another update***
weather is now working - I see this listed in widgets and tbh, not sure if it was alrdy there or if this actually added it as I completely forgot about the whole widget screen on long pressing... and yes, the transparent one works on unrooted SG3.
Doesn't work anymore
tcrews said:
Yep...I've been running it on mine since the Droid 3 came out...
http://android.snkbitten.com/apps/GenieWidget.apk
Works....
Click to expand...
Click to collapse
This doesn't work on my Razr Maxx. It crashes when it starts. Does it have a virus?

How to let users change App icon?

Hi, i have an app and i want to create a function where it allows users to change the icon of the app.
Is there a way to create a button to allow users to select a variety of app icons they can change to?
It's not possible and from a users perspective I'm totally fine with the limitation. Just imagine having totally different app icons every time you open your app-drawer.
There was a way to change shortcut icons by removing them and adding them back to the homescreen with another icon but it was also very unreliable.
ts-apps said:
It's not possible and from a users perspective I'm totally fine with the limitation. Just imagine having totally different app icons every time you open your app-drawer.
There was a way to change shortcut icons by removing them and adding them back to the homescreen with another icon but it was also very unreliable.
Click to expand...
Click to collapse
It is possible, i have tried it on a app like gallery lock in playstore. Mine is more or less a security app that want to allow users to change the icon as a form of 'misdirection'. But i can't find any info anywhere
Xposed framework can do that. Some apps of this category can be found in playstore and requires rooted devices with Xposed framework. Without that, there is no system wide icon application unless you use a ROM with icon theme support(like CM). I don't think there is any no root method.
You may search play store for an Xposed module named Flipster, it can replace not only icons but all image resources and color xml in any app. An app called Icondy allows user to create custom icon packs that can be applied using theme engines or launchers.
Some developers implement icon changing features in the app settings like in SuperSU or themed apps that allow user to change interface color schemes. There are a number of such apps.
SpaceMan013 said:
Xposed framework can do that. Some apps of this category can be found in playstore and requires rooted devices with Xposed framework. Without that, there is no system wide icon application unless you use a ROM with icon theme support(like CM). I don't think there is any no root method.
You may search play store for an Xposed module named Flipster, it can replace not only icons but all image resources and color xml in any app. An app called Icondy allows user to create custom icon packs that can be applied using theme engines or launchers.
Some developers implement icon changing features in the app settings like in SuperSU or themed apps that allow user to change interface color schemes. There are a number of such apps.
Click to expand...
Click to collapse
I just want to implement a function(button) inside my app to let user change the app's icon. So there's no way to do that for unrooted version of android?
Zetomono said:
I just want to implement a function(button) inside my app to let user change the app's icon. So there's no way to do that for unrooted version of android?
Click to expand...
Click to collapse
You can do that. As I mentioned before, if you want to have users select from multiple icon options for ONLY YOUR APP, that's pretty common and many apps now implement it. Try kernel adiutor (mind the spelling, it's correct). It's open sourced on github and allows users to choose between two icons if you want help or an example.
I'm not too sure about the coding part but I'm sure about a number of apps implementing this.
You may also see textra a messaging app on playstore that offers over 100 different icons for itself (yes truly that number) and many music players offer 4-5 different icons for the users to select according to their theme
It's unrealistic and from a clients point of view I'm absolutely fine with the impediment. Simply envision having very surprising application symbols each time you open your application drawer.
There was an approach to change easy route symbols by evacuating them and adding them back to the homescreen with another symbol however it was additionally exceptionally inconsistent.
It's an old question, but still active as there is no explicit Android feature. And the guys from facebook found a work around - somehow. Today, I found a way that works for me. Not perfect (see remarks at the end of this answer) but it works!
Main idea is, that I update the icon of my app's shortcut, created by the launcher on my home screen. When I want to change something on the shortcut-icon, I remove it first and recreate it with a new bitmap.
Here is the code. It has a button increment. When pressed, the shortcut is replaced with one that has a new counting number.
First you need these two permissions in your manifest:
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
damponting44 said:
It's an old question, but still active as there is no explicit Android feature. And the guys from facebook found a work around - somehow. Today, I found a way that works for me. Not perfect (see remarks at the end of this answer) but it works!
Main idea is, that I update the icon of my app's shortcut, created by the launcher on my home screen. When I want to change something on the shortcut-icon, I remove it first and recreate it with a new bitmap.
Here is the code. It has a button increment. When pressed, the shortcut is replaced with one that has a new counting number.
First you need these two permissions in your manifest:
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
Click to expand...
Click to collapse
May i ask how do you update the icon of the app's shortcut as well as recreating it?
: How to let users change App icon?
76
down vote
Try this, it works fine for me =)
1 . Modify your MainActivity section in AndroidManifest.xml, delete from it, line with MAIN category in intent-filter section
<activity android:name="ru.quickmessage.pa.MainActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait"
android:label="@string/app_name"
android:theme="@style/CustomTheme"
android:launchMode="singleTask">
<intent-filter>
==> <action android:name="android.intent.action.MAIN" /> <== Delete this line
<category android:name="android.intent.category.LAUNCHER" />//DELETE THIS LINE
</intent-filter>
</activity>
2 . Create <activity-alias>, for each of your icons. Like this
<activity-alias android:label="@string/app_name"
android:icon="@drawable/icon"
android:name=".MainActivity-Red"
android:enabled="false"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
3 . Set programmatically: set ENABLE attribute for the appropriate activity-alias
getPackageManager().setComponentEnabledSetting(
new ComponentName("ru.quickmessage.pa", "ru.quickmessage.pa.MainActivity-Red"),
PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);
: How to let users change App icon?
Alternatively, you can provide an iTunes redeem code to user, to let them download the "standard" version of your App in App Store. Still, the user has to remove the "lite" version himself. (this is not a user-friendly way, though)

Android Studio Doubt. Unable to get/bring the Edit Text widget

Hello friends,
Me and my friend actually doing a joint android application project in which we have facing a problem. But my friend is the one who got the problem. It is we are unable to bring/get the edit text widget, and how to change from one layout to another, switching from default layout?
Please note that I just started my learning in android studio.
kindly help me.
Android studio can be screwy at times. I suggest learning how to manually code your layout files to prevent this.
nickjpease said:
Android studio can be screwy at times. I suggest learning how to manually code your layout files to prevent this.
Click to expand...
Click to collapse
Hi.. Thanks. This link redirects me to play store and there are 4 apps in that link.
Huh, oh that was not part of the post... your xml file should resemble this
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Label1" />
</LinearLayout>
When I have trouble with graphical view I usually turn the SDK version down for what ever reason that works. I have never really had a problem with drag and dropping textviews except in placement in like a relative layout.
Viewing your layout as text removes the lagginess of the graphical view however you can't use the super easy drag and drop stuff.

Categories

Resources