So I've been looking thru all the forums trying to find a similar instance but I cannot. I want to edit the SGS2 Digital Clock widget to where if you touch click it, it will open up the TW Clock Package app. I'm not a programmer or developer, but I know this can be done because I've been using the Weather and Clock Widget from the market and it does exactly this. If I touch click the clock portion of the widget it will open up the clockpackage.apk. It can even be customized to open up a different apk. Now I've searched thru some of the xml files trying to find the lines of code that enable such a feature but with no luck. Anyone willing to help me on this or point me in the right direction, I would appreciate it.
radugb out
radugb said:
So I've been looking thru all the forums trying to find a similar instance but I cannot. I want to edit the SGS2 Digital Clock widget to where if you touch click it, it will open up the TW Clock Package app. I'm not a programmer or developer, but I know this can be done because I've been using the Weather and Clock Widget from the market and it does exactly this. If I touch click the clock portion of the widget it will open up the clockpackage.apk. It can even be customized to open up a different apk. Now I've searched thru some of the xml files trying to find the lines of code that enable such a feature but with no luck. Anyone willing to help me on this or point me in the right direction, I would appreciate it.
radugb out
Click to expand...
Click to collapse
That would require that apk's source code, reverse engineering, programming experience, and a recompile. You could try looking up on how you'd go about decompiling apks? I'm also betting that you'll need android sdk, or at the least, Eclipse equivalent programming software for programming.
Sent from my SPH-D700 using XDA App
Wow. Thats a lot more work than I thought it would be. Probably best to leave it to the professionals.
radugb said:
Wow. Thats a lot more work than I thought it would be. Probably best to leave it to the professionals.
Click to expand...
Click to collapse
Since its something as simple as making a widget 'clickable' for launching a different app, I'm sure there's pre-made program templates of some sort made by other devs who have such function, the issue at hand would still be the same though.
Sent from my SPH-D700 using XDA App
Yeah I figure since it was more a widget question than an app submission I'd better post it in the Q&A forum.
Related
Have gotten their hands on dxtop. What obstacles and new challenges might it posses?
this is very interesting, good find.
I never heard of this before. This will allow me to build a digital clock widget to give my fadetoblue theme more of a TouchFlo3d look. Thanks!
Thats sick works well but if you have a theme installed it wont read the launcher from the theme so the stuff in the Luncher.apk from the theme wont show up clock,google search bar and stuff like that. Great idea and if themes can be installed with this its going to be bad a$$.
just bought it
Lovin it!
One of the best apps so far!
if you download the apk couldnt you just replace and theme the elements in that and upload it? or is that not something that could be done? i understand that you couldnt redistibute it, but for your personal use no? i opened it up and it looks similar to the launcher...just a thought
doooshty said:
if you download the apk couldnt you just replace and theme the elements in that and upload it? or is that not something that could be done? i understand that you couldnt redistibute it, but for your personal use no? i opened it up and it looks similar to the launcher...just a thought
Click to expand...
Click to collapse
That was my understanding. In fact, didn't you do this to the demo version randumaccess?
Beast84 said:
That was my understanding. In fact, didn't you do this to the demo version randumaccess?
Click to expand...
Click to collapse
well it would be easier if the developer got together with Jesusfreke and make it into a big update and incorporated the app as the home screen for a small donation type thing? I would pay again for a update like that then the sky is the limit with themes for this.
yeah i updated the elements like in the normal launcher by the way and resigned the whole app. people would have to know how to put the elements in the app themselves after purchase... not for amateurs. would like to see someone pull off some way to do it easily though.
so randum, does that mean you already have a theme for it?
rickyteddyb said:
so randum, does that mean you already have a theme for it?
Click to expand...
Click to collapse
that means i can do it, and i am working on one as soon as we figure out how to do it without pirating the app, it will be released.
Randum, you the man. I don't think baron would mind. Just ask him.
RandumAccess said:
well it would be easier if the developer got together with Jesusfreke and make it into a big update and incorporated the app as the home screen for a small donation type thing? I would pay again for a update like that then the sky is the limit with themes for this.
yeah i updated the elements like in the normal launcher by the way and resigned the whole app. people would have to know how to put the elements in the app themselves after purchase... not for amateurs. would like to see someone pull off some way to do it easily though.
Click to expand...
Click to collapse
Thats a damn good idea about the update with him & JF. Have they met!? Someone needs to introduce them! Haha
RandumAccess said:
that means i can do it, and i am working on one as soon as we figure out how to do it without pirating the app, it will be released.
Click to expand...
Click to collapse
And as far as pirating the app, thats gonna be hard. Its not the actual update.zip your modding, its his apk which could prove to be troublesome. Maybe there's a way to get everyone together who has purchased it & they can share the themed versions??? Just an idea
How do you sign the .apk after you edit it doesn't work with the .apk resign tool.
manup456 said:
How do you sign the .apk after you edit it doesn't work with the .apk resign tool.
Click to expand...
Click to collapse
well i signed the demo with no problem, but i am having a problem with the paid version... cant seem to sign it correctly
there should be a meta.inf file in it that you need to remove to resign it so it takes the test keys. Why not just send baron a pm and talk to him? One idea would be to give him the themes to release through his website.
I asked him about whats been talked about here this is what he said.
Quote:
My first implementation of themes will be to look on the sdcard for the assets in the same directory structure and filename that they are found in the dxtop.apk.
Something like this: /sdcard/dxtop/theme/res/drawable/clock_dial.png
or
Something like this: /sdcard/dxtop/theme/res/drawable-land/tray_handle_normal.png
Then i asked him this,i hope it could be done.
Quote
O.k i got you so this would solve the problem i love this app bro very cutting edge,hey i have another Q: off topic if you can make your app look for those folders could a app to install themes be created using this format you have come up with or maybe even have it install a whole update.zip?.
If this can be done my whole world will change.
Original Thread: http://dxtop.wikidot.com/forum/t-135037/help-theme-creators
I would love it if we could change themes without having reflash everytime.
He said he going to try to make that happen but he needs to work on it more.
Well I have a couple apps that I am modding to my liking. I'm modding the actual apk file itself. Is it ok to post them when finished, or could that be an issue
If they are free I don't see why not.
Free does not always equal open source or give you the right to distribute.
You should email the developer to make sure.
I just figured it would get deleted by a Mod due to the fact it wasn't my work originally. I got a couple I know people will like.
Fancy Widget, working on a clear Pandora (couple versions actually), and Some more that I come across.
ViViDboarder said:
Free does not always equal open source or give you the right to distribute.
Click to expand...
Click to collapse
Right that what I was thinking.
ViViDboarder said:
Free does not always equal open source or give you the right to distribute.
You should email the developer to make sure.
Click to expand...
Click to collapse
I second this. An e-mail to the dev would be the best idea.
Wonder how Pandora would respond to a bad grammer, spelling, and sounding email? Hey look at this email this no body actually thinks we will give him permission to distribute our program, just changed to his liking. haha
enragedpaza said:
Wonder how Pandora would respond to a bad grammer, spelling, and sounding email? Hey look at this email this no body actually thinks we will give him permission to distribute our program, just changed to his liking. haha
Click to expand...
Click to collapse
Haha, post it here and I'm sure we can proof read it for you.
Pandora was only a small start-up not too long ago. Although I think your chances are VERY slim on getting them to give you permission to redistribute their APK. Think about it, what if you started putting in a virus and everyone blames it on Pandora?
If you have a clear theme you want people to use, you're probably better off packaging something yourself that requires users to download the official APK for Pandora and modify the contents themselves.
What I just described is pretty common practice as it puts the modification of the content in the end users hands which is (arguably) within their rights.
So posting a zip of some original images (not modified versions of theirs) and instructions on downloading their APK and making the modifications is the safest way to do it.
ViViDboarder said:
Haha, post it here and I'm sure we can proof read it for you.
Pandora was only a small start-up not too long ago. Although I think your chances are VERY slim on getting them to give you permission to redistribute their APK. Think about it, what if you started putting in a virus and everyone blames it on Pandora?
If you have a clear theme you want people to use, you're probably better off packaging something yourself that requires users to download the official APK for Pandora and modify the contents themselves.
What I just described is pretty common practice as it puts the modification of the content in the end users hands which is (arguably) within their rights.
So posting a zip of some original images (not modified versions of theirs) and instructions on downloading their APK and making the modifications is the safest way to do it.
Click to expand...
Click to collapse
Yeah I know they wouldn't give me permision haha. I don't know how to even create a virus. But your point is clear to me. So my easy install of clear Pandora will just sit in a folder for personal use.
enragedpaza said:
Yeah I know they wouldn't give me permision haha. I don't know how to even create a virus. But your point is clear to me. So my easy install of clear Pandora will just sit in a folder for personal use.
Click to expand...
Click to collapse
How about posting a not-do-easy install?
Sent from my EVO 4G using the XDA App.
I've never looked into the structure of apk files but I thought it was compiled code? How are you modifying it?
ViViDboarder said:
How about posting a not-do-easy install?
Sent from my EVO 4G using the XDA App.
Click to expand...
Click to collapse
Lol meaning? Or I could look into metamorph.
Sent from my PC36100 using XDA App
Minjin said:
I've never looked into the structure of apk files but I thought it was compiled code? How are you modifying it?
Click to expand...
Click to collapse
I'll let you know when I'm on my pc.
Sent from my PC36100 using XDA App
i've seen plenty of roms that have pandora (themed) included. would what you're wanting to do be any different?
i've even seen an "adless" version of pandora floating around somewhere before.
madsquabbles said:
i've seen plenty of roms that have pandora (themed) included. would what you're wanting to do be any different?
i've even seen an "adless" version of pandora floating around somewhere before.
Click to expand...
Click to collapse
All I wanted was a transparent Pandora. I made every widget 50% transparent. I know there is metamorph and there is a theme/skin floating around that will do it. But, I dont like having to go through the process of downloading Metamorph, download this, download that. Just wanted to have it as a apk. I haven't used Metamorph since nexus one sold it 2 months after buying it. Might have changed since then, but it used to fail on doing some skins.
you should just make the theme, and let people morph it themselves. a theme is not the same as distributing the application.
I'm goin to try to make a link to the original question
forum.xda-developers.com/showthread.php?t=757920
that's the link... I just couldnt add the http or WWW because I'm a new member
this is what's going on..... my buddy has a hd2 and I the Evo 4G.... we both have HTC sense on our phones, which the weather/time widget runs off of...... there is a skin for the sun I want on this site that he has, but it is in a cab file... I need it in a .apk file.... the developer doesn't know how to do it and I can't figure out how to get this Sun on my widget.....
My friend says the sun is technically a manila file within the cab... but I can't locate any manila files on my phone..... basically can someone help me figure out how to either make this cab file into a apk file or where the hell I need put the manila file from the original cab file onto my Evo
The original file I believe was called ★★★Jaguaralani PLANETS★★★ the sun I want is the one that is on fire
Your best bet would be either to find a weather widget from the market with the style you want or see if some of the talented modders would add it to their work.
Sent from my PC36100
rafroehlich2 said:
Your best bet would be either to find a weather widget from the market with the style you want or see if some of the talented modders would add it to their work.
Sent from my PC36100
Click to expand...
Click to collapse
i would but the ones in the marketplace chage the entire widget..... the way my friend has it on his hd2 only the sun is different, the widget is still the original widget so I know its possible.... honestly i only want that particular sun with the rest of my widget original
Don't want make people mad but *bump*
xxxjoekrxxx said:
Don't want make people mad but *bump*
Click to expand...
Click to collapse
It's not so much that it makes people mad, it's just irritating and de-motivational for some who might otherwise be in the mood to tackle something like this. It also keeps an unproductive thread on the first page, which does no one any good.
Instead of bumping your thread hoping someone will come along and knock this mod out for you why don't you start trying to learn how this mod can be done? Post with any progress, it's your thread, use it to learn how to do something that you want done. Also, a mod like this shouldn't be that hard, if you have rooted your phone and are comfortable moving files around and have some basic knowledge of ADB then this would be a decent place to start. Even if you just try to get ONE image ported it's just "rinse and repeat" from that point.
I really like those images, I think they're neat. I have zero experience with WinMo and .cab files but I'm gonna try to get them out of the cab. If I can get a hold of the images then it shouldn't be too terribly hard to pop them into Sense.
I don't know what a manila folder is in a cab but I am certain you cant just put a manila folder in an apk and expect anything good.
If I make any progress I will be sure to let you know
okay well here goes
my friend can break down the cab files 4 me to get the manila files which are icons that stored in the cab emailed it to me......
but i am having trouble finding the weather manila icons in the sense on the Evo4g....
can anyone tell me how to locate the icons 4 the weather widget.....
xxxjoekrxxx said:
okay well here goes
my friend can break down the cab files 4 me to get the manila files which are icons that stored in the cab emailed it to me......
but i am having trouble finding the weather manila icons in the sense on the Evo4g....
can anyone tell me how to locate the icons 4 the weather widget.....
Click to expand...
Click to collapse
there is nothing in android that relates to manila. These images (unless I'm mistaken) are in the com.htc.resources.apk
you'll need to get the images, then do whatever you need to do to make sure they are the same size and name as the ones in android then drop them into the correct apk using using an archive tool, I prefer 7zip
nebenezer said:
there is nothing in android that relates to manila. These images (unless I'm mistaken) are in the com.htc.resources.apk
you'll need to get the images, then do whatever you need to do to make sure they are the same size and name as the ones in android then drop them into the correct apk using using an archive tool, I prefer 7zip
Click to expand...
Click to collapse
I just found the icons and they are png files.....
I'm currently searching the net and contacting the developer.....
yeah, not in the .cab, I found them too
I'm guessing .cab's are some kind of controller.. like an update script or .xml? I dunno
nebenezer said:
yeah, not in the .cab, I found them too
I'm guessing .cab's are some kind of controller.. like an update script or .xml? I dunno
Click to expand...
Click to collapse
I assume it this way............
HD2 EVO4G
.cab = .apk
Manila = .png
I contacted the dev by the way...
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 when I tap on the widget I want it to open up 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 option built in. 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/3589741/how-to-open-a-application-from-widget-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
radugb said:
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 when I tap on the widget I want it to open up 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 option built in. 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/3589741/how-to-open-a-application-from-widget-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
Click to expand...
Click to collapse
Aren't you the same user who asked this in the apps section? I see you're still after it. Except this time with a much thorough study on what you want. I still say an xml edit won't suffice. I could be wrong though. I just thought most things that do with how an app runs require programming. Deccompiling, and recompiling.
Sent from my SPH-D700 using XDA App
Yup, that's me. I tend to be an absolute pest when I'm trying to figure these things out. In my research I found that this modification is possible if you edit the widget.xml file. Only thing is there are two of those in the res folder. Also, what program would I use to edit the xml file. I already have the Java Development Kit installed. To add to that, where in the xml file would I add the lines of code and where in that code where do I add the app name. The site I found doesn't give any of that info.
radugb said:
Yup, that's me. I tend to be an absolute pest when I'm trying to figure these things out. In my research I found that this modification is possible if you edit the widget.xml file. Only thing is there are two of those in the res folder. Also, what program would I use to edit the xml file. I already have the Java Development Kit installed. To add to that, where in the xml file would I add the lines of code and where in that code where do I add the app name. The site I found doesn't give any of that info.
Click to expand...
Click to collapse
I'm hoping someone can give you some kind of answer, as I'm looking to do some editing of an .Apk that doesn't release its source code.
Sent from my Samsung Legen-wait for it-dary! 4g
Depends on the modifications you want to make. The person who I emailed about this stated that because its a widget, and said widget has no click to open function already programmed into it, adding an onClickpendingIntent won't interfere with the functionality of the clock, and therefore doesn't require the source code. It might be different in your case depending on what you want to add/change.
Bumping my question. Maybe someone might know a different forum I can post in where I might get someone who can help?
radugb out
I was wondering if any of you were talented at creating an app, would mind assisting me in the creation of a app. I have the idea, and I know what I need and want it to do, I just have no idea how to create an app. The tool I use to use to create is down, untill sometime early 2012. So what I need is someone to.create it for me, you can take all credit for it, just a small thanks or a mention of my name in it is all I need. Pm me if anyone is interested.
XperianceIT
sent from my Xplay R800X, using XDA App!
Shameless bump.
Also did some checking around i found Eclipse and I have SDK, and JRE, but I have no flippin clue what the hell to do!
I know we have some app creators out there, little advice, something, anything.... thanks.
XperianceIT said:
Shameless bump.
Also did some checking around i found Eclipse and I have SDK, and JRE, but I have no flippin clue what the hell to do!
I know we have some app creators out there, little advice, something, anything.... thanks.
Click to expand...
Click to collapse
Tell us what it needs to do if you can give us an idea someone might feel more comfortable then
Sent from my R800x using XDA App
odst0016 said:
Tell us what it needs to do if you can give us an idea someone might feel more comfortable then
Sent from my R800x using XDA App
Click to expand...
Click to collapse
What i want it to do is to change the Carrier Name on the notification bar. I know how to do it all by hand, but i think it would be nice to turn it into a app. So the app would need to be able to access the eri.xml and be able to modify .xml, particularly the carrier name, then save it. So if the app had a screen where you could type in your carrier name, it can search the xml for a match, then it would have another box below that or something with what you want to change it to, then it replaces it and saves it. The app would also have to have some sort extraction, xml editor, and a repackage ability. There are a few apps i currently have that each individually can do 1 part of it, such as Ninjamorph for the extraction and reassembly, havent found a good xml editor yet, tried HEX Editor, it can modify but it does it in a way i currently dont understand.
So thats basically the jist of it, the other thing is it would only be able to work on CDMA devices, since i havent figured out how to change the carrier for GSM yet.