How to go about modifying a widget app ?

techspark

Member
Dec 20, 2010
15
2
0
Visit site
Ok..i m aware that there are many threads and numerous posts explaining stuff like making your own app, editing an apk and so on but i hv this one app from market which shows information from a website. Its like how you have a quote for a day..its the same thing.
So this is app is a widget and it retreives the quote of the day from some website but the prob with this it it doesnt update the quote on itself..everytime i have to manually remove the widget and add it again for it to refresh the quote. there is a service which is running by the widget but it doesnt help at all...unless you don remove the widget and add it again to the homescreen it wont update...i have contacted the developer but he isnt responding..so i thaught about doing it myself.
basically i want to add a 'refresh' button onto the widget which will try sending the request to server and update the quote for the day.
I don want you guys to give me d coding or algorithm...i just want to know how do i go about accessing the code...i hv done programming in java but m new to android.
So firstly what should i do...rip the apk off so that i see all the files ? next what?
any specific file that i should be modifying...or some tinkering with the service file ?
i m a comp noob...so i just need steps on how to go abt modifying the apk..rest all the codes and methods to do it i will manage on myself..so i just need to know how to tear the apk and get to the main coding part...

all replies will be whole heartedly appreciated.

FYI : i m on android 2.2 usin it on htc evo but for now i will only be doing the testing of the app on an emulator..and i have access to only .apk file of that appliaction...nothing else.

Thanks ! Cheers !
 

dLo GSR

Well-known member
Feb 1, 2011
95
14
0
Visit site
if you know java, or any other programming language, you'd know what once any kind of programming code is compiled into any type of executable form, you can't just go in and modify it. you can't edit the source code of the actual widget. otherwise everyone would be copying everyone else's codes for programs and widgets. the only thing in widgets you can change through .apk files are things likes images and icons, which are just images zipped into the file that the program calls upon.
 

Latest posts

Members online

Trending Posts

Forum statistics

Threads
942,406
Messages
6,913,939
Members
3,158,399
Latest member
pauloxcavalcante