[Q] widget editing - Android Q&A, Help & Troubleshooting

Not sure if this belongs here or in the Android Development Forum. I want to modify the SGS2 Digital Clock widget by adding an "onClickpendingIntent"?? (I think that's what its called). Basically , I want to add a function to the widget where if I tap on the widget it opens up to a specific app (clockpackage.apk) so that I can access my alarms easily. Currently I am using Weather and Toggle Widget and it has this with the option to choose which program to launch when you click on the widget. I don't need the option to open up different apk's when I click the widget, I just want it to open up the clockpackage.apk. I have googled the subject and found a page on how to do it, but I am not a programmer nor a developer so this is way over my head. I know how to open an apk to modify the hdpi images it contains but that's about it. Here is the site that explain(somewhat) how to do it. http://stackoverflow.com/questions/3...get-in-android
If someone could give me more info on what xml file I need to create or modify within the apk (and how to create or modify it). I imagine I might only need to insert the specific code into one of the xml files and then insert clock package.apk into the code somewhere and resign the apk, but I want to be sure. Any advice would be appreciated.
radugb out

Related

Create or change icons on PPC 2003?

Is there any way to change an icon in PPC2003 mobile?
Specifically, I use the program Battery Pack 2004 (v5.3) which comes with the Today screen plugin "Program Bar". This lets you setup shortcuts and place them on an MS Office like bar on the today screen. but many of the icons are generic and confusing and I'd like to change them. For example, if I add a link/shortcut to a folder called "Utilities", the link/shortcut shows up as a folder icon. If I place several different similar links next to each other, they all look the same. I'd like to change the icon to something meaningfulld, like a folder with a bit U on it ....
Any ideas?
create or copy any desired icon file into this folder and name it "icon.lnk"
Biso007 said:
create or copy any desired icon file into this folder and name it "icon.lnk"
Click to expand...
Click to collapse
Thanks, I'll give that a wirl....
Created an Icon, copied it to the Windows\Startmenu\Util directory and renamed it icon.lnk.
Notta. ??
There are icon creation programs out there as I remember trialing one for a while. Wasn't freeware and din't end up buying it. Don't remember the name but I downloaded from handango.
If you wanted to change the icon I presume you would also need to creat a shortcut link the exe file you want to execute?
Ed
edcap,
I have an Icon creator, editor. In fact, I have the icon I want to use. But the question I have is how do I get it to show up on PPC2003? Specifically, how do I make it be the icon for a folder I have created?
Thanks in advance...
Help??? :?:
Ive been searching for it, but never found how to change the icons nor manual or with any program. I don´t think it´s possible to change the icons on WM2003.
Thanks, but it HAS to be possible. :wink:
We have 2 remote control rovers driving around on Mars right now taking pictures, drilling into rocks and digging holes in the red sand. We MUST be able to change an icon in my PDA?? :shock:
ccarrara said:
Thanks, but it HAS to be possible.
Click to expand...
Click to collapse
Yes, it is. But it's not really simple, and I don't know the whole story, so this is more of a hint to get you started, not a complete solution.
Look at the "Games" folder in your start menu for an example. It has a different icon. So, if you look into the actual Games folder, there is a file called icon.lnk. This is NOT the actual icon, but a link (sic!) that points to an icon resource inside the ceshell.dll.
I did not try, but it may suffice to have that link point to an icon file (whatever that format is). Also, make sure you get the number in front of the # sign in the icon.lnk file right.
If all else fails, create a DLL that contains your icons as resources (you'll need a resource editor for that - Visual Studio has one, for example, but there are others), and have the icon.lnk point to an icon resource inside that DLL, similar to how the Games folder icon works.
Cheers
Daniel
Search the net for this sollusion, described by tadzio above. I know there even is programs for changing foldericons. Altough, there is no program for changing program icons yet..
And ive found no sollusion to this, anywhere...
Happy hunting, if you find anything. Please let us know!

[Q] Icon set creator / replacer / packager out there?

Hello everyone,
I can see many custom icon sets out here, but after some downloads, I realised I would like to create my own icon set, to satisfy my creative needs
The question is: Is there somewhere any kind of application (on PC or PPC) that enables you to replace stock icons on their respected locatons
I'll make myself more clear... Let's say I would like to change my Start menu icons (folders, apps,...) I do know that you can do this with some apps already available on the WM 6.5 platform, but only individually. What I'm searching for, is an app that manages to replace the icons with my own, importing (replacing) them on their locations (for example it will find the icon "Comm Manager" under Start Menu>Settings>Connections>Comm Manager.lnk) In this approach you could make one personalized icon set and use it repeatedly even after a new ROM arrives all in one sweep.
I understand that all aplications are packed in .cab files. So perhaps there is one desktop app, that manages to link my .png/.ico files to the appropriate files, converts that to a .cab and after copying to the storage, that cab after execution would replace/overwrite all the icons.
Hope it's understandable. Sorry, english is not my native language.
If this was asked/commented before, I apologise for bringing that up again...
See you all
there is nothing to do exactly what you want.
however, if you use jwmd and change them 1 by 1, you can save as a "theme" and then import it after you flash a new rom and get the same icons back.
jsmccabe78 said:
there is nothing to do exactly what you want.
however, if you use jwmd and change them 1 by 1, you can save as a "theme" and then import it after you flash a new rom and get the same icons back.
Click to expand...
Click to collapse
Great app, this will do, thanks! Downloading now, will try it out

[APP] Searching name/icon changer

I hope is a right place to add this question...
Im searching for app thats allow to change the icon and app name in main menu and home screen. free od paid version - doesnt matter
I know that are launchers like: adw, launcher pro and nova but they only hide the app !
of coure there are few apps in market like: app namer editor, app renamer but they only create the shortcut on main screen.
I can edit *apk files oraz files in data folder but all this possibilites are useless and hard to done by someone with no skill and needed to be done every time when ROM reinstall
Im searching something nice and easy to use: Choose app --> edit name and change the icon, save and quit.

Phone APK? And S-Finder

What is the filename and path for the S5 phone apk? I want to theme my friends phone apk for him.
Also, how are you guys getting rid of S=Finder from the pulldown?
i think all the apk files should list under system/app folder and to get rid of S-Finder from pulldown, just install Xposed G-Touchwiz.
You didn't give us enough information to really know what you want.
There are several phone packages e.g. the dialer and the in call screen
/system/priv-app/SecTeleService.apk
/system/priv-app/InCallUI.apk
For S-Finder, you didn't tell us if you meant removing it from the user defined set of Quick Notification toggles.. or permanently remove it. Or if you meant the quick search window. Lots of threads on all of those, so a forum search is always the best place to go first.
http://forum.xda-developers.com/galaxy-s5/help/removing-sfinder-quick-connect-t2827271
http://forum.xda-developers.com/showthread.php?t=2714586
http://forum.xda-developers.com/showthread.php?t=2778145
.

[Q]How to identify drawable name/id on running app?

Hi! I'm new into creating themes, and I'm looking for a tool that could make it easier. I know how to extract .apk, how to replace images, modify .xmls, but often I don't know what an image is for. Let's say im modding SystemUI and I want to change background of my notification bar. The only thing I know is that inside drawables folder I have to look for something named notification_bar.png, something like that. I was looking for an app that could tell me how an image inside an app is called in code ( example: I'm inside calculator app, I press on background and the app says that file is called background.png and is inside drawables-xxhdpi). I tried Android Studio --> Layout Inspector, but it didn't help me at all because, well, I just don't understand it.
Of course, while modifying SystemUI I can look for explaination of certain pngs on the internet, but
-not every SystemUI is the same
- if I want to change drawables of an app that doesn't have specific explaination I have to know how to identify drawables.
It must be possible somehow, because I've run into some themes that modify external apps (like WhatsApp, SuperSU etc.)
Those ppl had to know what certain .png is for, the question is: How?
I don't believe they just had to sit there and try every possible combination.
Also, inside SystemUI there's A LOT of files that are never used, and their names can be misleading.
Is there any way to identify drawable inside running app easily? Without digging in code and guessing?
Thanks in advance for any answer
I tried to analyze Mms.apk (it's system app). I was looking for a drawable representing default contact icon, here called ic_contact_picture.png .
I actually managed to find a proper layer in Layout Inspector(ConversationListItem.xml), analyzed it and found a code referring to table "id" in resources.arsc . The object the id referred to was called "avatar". And that's it. I couldn't find id(I got it from resources.arsc/drawables) of ic_contact_picture.png anywhere in that layout. There was only id referring to "id/avatar". It doesn't make any sense.
How do I find drawables using Layout Inspector or any other tool?
It was easier when it came to text. I also found an id referring to resources.arsc/id, but that id was included in the layer I was looking at (ConversationListItem.xml).
But I still wasn't able to perform any action on that text, because there wasn't any setting like text color or anything, there was just a line android:textAppearance="@attr/0x1010041"
It is an attrib from framework-res.apk, but when I opened framework-res.apk and found that attrib there was no reference to anything like color, font, so there was nothing I could really do.
Can someone help me with those 2 problems?

Categories

Resources