yashsingh1/xdaforums huggingface dataset:
[GT540 Optimus General] andreas__:
not yet but will do it this weekend maybe ;)

edit: need to find such a small screwdriver
[GT540 Optimus General] liamwli:
Nice guide :)

But my buttons are fine ;)
[GT540 Optimus General] Hikari:
You should! Not because i want my tut to be applied, but because its a great thing to have your vol buttons soft... Lol :D
[GT540 Optimus General] -Grift-:
Can see now :D
[GT540 Optimus General] ham4ever:
thanks for tut, i hope i never get this problem :p
[GT540 Optimus General] TMinh:
I gonna buy a screwdriver and try... Tired of using virtual buttons for adjusting volume :(
[GT540 Optimus General] MrAndroid12:
Flashing .KDZ fixed dead sd read for me
[GT540 Optimus General] just curious™:
Thanks, This is really helpful. Its more easier to use the hard buttons now. Should use gloves to prevent hand moisture from destroying sensitive hardwares inside..
[GT540 Optimus General] Hikari:
Thanks for the tip! Gonna add that to open :)
[GT540 Optimus General] H3llT0uCh:
What about the 3 buttons under the screen? Is there any way?
[GT540 Optimus General] lewymaro:
Besides replacing whole digitizer, i believe there is no way :(
[GT540 Optimus General] H3llT0uCh:
I'm not talking about the Menu and back buttons on screen...

But the 3 phisical buttons bellow.. the Call + Home + End
[GT540 Optimus General] MauroG:
Was going to ask the same.. Any help? My *End* button works strange, sometimes while its pressed it acts as it were pressed 2 or 3 times, I have to do a tricky Press to make it work.. same as *home* button, any idea? Please! And thanks!
[GT540 Optimus General] andreas__:
same problem.

For now i use Button Remapper: http://xdaforums.com/showthread.php?t=850464

So i am able to press search button instead of power.

I also created a Widget on my homescreen: Lock Screen Widget

and a CM7 power widget to get it locked from statusbar :D

Button Savior can help too.
[GT540 Optimus General] Hikari:
when i opened my device up for fixing the vol buttons i opened it up completely. i unscrewed the 'module' which contained those 3 buttons. But as far as i remember the thing was sort of glued. (Not really sure) so i didnt play around with it so much... im gonna try again soon but it most probably isnt possible with a hardware trick.. andreas's

idea seems fine... :)

İm in the exact same situation with those buttons :(

Thanks for the useful info.. and using search as power is great idea as with the newer apps we mostly have the search button in the action bar..
[GT540 Optimus General] MauroG:
Not a bad idea, but guess im not that lucky... Search button works similar to the *end* buttom, but easier to press! :(
[GT540 Optimus General] pwned686:
Thanks

Tjanks it reallyy helped me
[GT540 Optimus General] yelliver:
great, I was messed up with volumn up & down button

someone said can use button remap but It's no use in recovery mode:)
[GT540 Optimus General] Ziore:
Somehow I broke my phone after doing this, I spent 25 min trying to get a f. screw who wouldn't come out, then I proceed to take the frame off - I think that here I broke something or moved something - after fixing the buttons and putting all back together, the phone boots and the screen works but nothing happens, YAY!!
[GT540 Optimus General] Hikari:
You mean there is no touch input? Then, as far as I remember there must be two cables below the battery plug. One of them is Digitizer. Check if its properly attached. But again I'm not sure where the cable is exactly located. Good luck!
[GT540 Optimus General] Ziore:
No, there's no display at all (screen is on but nothing is displaying)
[GT540 Optimus General] Hikari:
Hmm, then carefully try to find the cables connecting the display and see of everything is all right. I hope there is no damage to the cables..
[GT540 Optimus General] Ziore:
I found 1 extra screw after taking out the frame out, I think that that's the only screw holding the motherboard to the case, I will try later to take a look at that. Something is disconnected for sure.
[GT540 Optimus General] danlikesphones:
etarthc reports

Thank you for this, the labelled images were very helpful and clear to understand :)
[GT540 Optimus General] lozohcum:
Thanks for tutorial, I'm going to try it because my volume keys are almost not working. I will let know if it works
[GT540 Optimus General] CaioCaFe:
Thank you!

Thank you, I'll try it because my buttons are not working as expected
[GT540 Optimus General] H0w4rd:
The power button on my GT540 is almost dead, thank you for this. It is lucky that this phone turns on when I connect it to the charger, so I don't need this button for turning on ;)
[GT540 Optimus General] K3NNYH:
Screws

Hi guys,

I have tried a couple of times to unscrew it and the screws seem to not want to come out.

Do u guys have any recommendations?

Thanks in advance
[GT540 Optimus General] elotes:
Thanks for tutorial :D
[Android Q&A, Help & Troubleshooting] pfaction:
I thought I bricked my day-old EVO 4G LTE, so I went to the store to switch it out. To my dismay, they found out I was rooted, unlocked, and flagged my account. They told me I would not be able to return it, or swap it. They gave me a number for HTC, which I called in-store. A really nice guy walked me through some stuff and told me unfortunately unlocking voids HTC's warranty but I was free to try to send it in and they would fix it, at-cost.

I was under the impression rooting and unlocking were legal...no? :eek:
[Android Q&A, Help & Troubleshooting] mfungah:
The reason that rooting and unlocking voids warranty is because doing so gives you access to abilities that were not intended for the average user. You get access to pretty much everything, hardware and all. They place boundaries essentially to limit intentional or unintentional damage, to protect it and you.

There are also security problems that you risk doing so (coming from the book :P). If something were to go wrong while not rooted and not locked (all stock) they could easily differentiate from what is your fault and is a manufacturers fault. In all they say its to protect the average user. Always try to return to stock before returning it, as a rule of thumb.
[Android Q&A, Help & Troubleshooting] fredryk:
This. Do some reading, it's definitely very possible to return your phone to factory conditions so they never knew you unlocked the boot loader in the first place.
[Android Q&A, Help & Troubleshooting] madefree:
I agree with that..... I also bought a HTC Pico that was "UNLOCKED" from ... Best Buy and HTC said that they would honor the warranty fully.

So if a whole-seller unlocked the PDA / phone it seems to be alright with HTC, but if a developer does a root / unlock to IMPROVE a flawed or almost worthless app or Bloatware situation that that is a NO NO to the manufactures?

That seems to be just a way to VOID / not pay for or exchange a some what POJ they couldn't upgrade or design correctly themselves.:confused:

That voiding a warranty for fixing a problem is just an "Enron" around the real problem.
[Android Q&A, Help & Troubleshooting] korg91:
"legal" and "warranty" are different things...for example, iOS jailbreak is legal in USA (http://en.wikipedia.org/wiki/IOS_jailbreaking#Legal_status) but it voids warranty (http://www.cultofmac.com/52463/apples-official-response-to-dmca-jailbreak-exemption-it-voids-your-warranty/52463/)
[Barnes & Noble Nook Tablet] slgooding:
I happened to come across a very interesting article regarding speed improvements for ICS on devices with (TI Pandaboard) OMAP 4430 processors. I believe the NT falls into this category. Supposedly the improvements will practically double the performance of the current build of ICS (4.0.4). The difference is really quite significant. It looks like it is being added to CM9 so we should hopefully see it on the NT!

From what I can gather...

They use a newer compiler and a special toolset built in. The use the linaro android system that has all string operations replaced for a faster build. They changed the way that the build system works. It sounds like the optimization is CPU based, so it should work even if Ducati isn't working. There are a lot of other optimization included, but I didn't really understand what the guy is talking about. You can find a video in the link below.

http://www.androidpolice.com/2012/0...e-and-now-parts-of-it-are-being-added-to-cm9/

https://wiki.linaro.org/Platform/Android

I guess the question is what we need to do to be sure that this gets implemented?
[Barnes & Noble Nook Tablet] Keithn:
It sounds like some of it is being worked into the CM source. So I'd say we may see some after that unless some one feels like working it into a build themselves.
[Barnes & Noble Nook Tablet] fattire:
See the last few posts in this thread.
[XPERIA X8 Themes and Apps] wilbso:
Exelent guide buddy :D

Another score for successful guides :)

W!LßSO @ XDA
[XPERIA X8 Themes and Apps] - Swift -:
Thanks Chris.

Will come in handy.

-----------------

- Swift -, formerly known as IrishStuff09
[XPERIA X8 Themes and Apps] dimitrisioa:
Thank you Chris !
[XPERIA X8 Themes and Apps] Cancar96:
great tutorial buddy!

getting right to do the job!

:p
[XPERIA X8 Themes and Apps] Xmaster8:
I made one sometime ago but all ended when started to add settings :D

Anything didnt work anymore from then on :D
[XPERIA X8 Themes and Apps] AndroidExpert04:
Lol interesting, thanks.
[XPERIA X8 Themes and Apps] estherath:
Too fun ! Thank you dude ! :)
[XPERIA X8 Themes and Apps] west1988:
Great Job Chriss, nice and clear. However I still menaged to get stuck.

Where/what should I right click?

For now I created in in src folder in (default package), but I get 3 errors, so I assume I did it wrong.

Anyway tutorial looks great ;)
[XPERIA X8 Themes and Apps] samsoul16:
U awe from me a thanks and a beer.. N1 bro.. :D:p:);):beer:;):cool::thumbup:
[XPERIA X8 Themes and Apps] west1988:
Stupid me. It shouldn't be a default package, but a one with my unique name that I needed to create ;)

Great lesson and I have my very own clock now :)
[XPERIA X8 Themes and Apps] Chris95X8:
Will you post it? :D

Sent from my HTC One S
[XPERIA X8 Themes and Apps] west1988:
It is just a photo of my old friends and me as a dial of the clock, so nothing fancy ;)
[XPERIA X8 Themes and Apps] shadowthemes:
Hi,How to add second to it?
[XPERIA X8 Themes and Apps] teri-themes:
Hello.Thank you for this great tutorial.I'm beginner and i have problem with clock.When i use clock with some of launchers Go Launcher,Apex launcher.. when restert phone i get error-Problem loading widget.Pleace help me.Sorry for my English
[XPERIA X8 Themes and Apps] torpedo mohammadi:
so how to add date & weather to it ?
[XPERIA X8 Themes and Apps] D4RRYLJ4RVIS:
Cant find main xml

First off, wonderful tutorial! Thanks :good:

So, forgive my n00bness please. I've never fully taken on the world of designing apps or widgets so much of this is new to me. I set everything up according to directions but have gotten stuck looking for the main xml file. After an hour or so of looking, and looking... and looking, I CAN NOT for the life of me seem to locate it anywhere. I have downloaded the most recent ADT package ( build: v21.0.0-519525 ) and it's running Eclipse 3.8. I've included a screenshot. Not sure if I've done something wrong or what, but I'm guessing it's most likely in plain sight. I am just not sure where to begin to look! Any help would be awesome, I have a slew of custom new clocks I feel the Android community would love :fingers-crossed:

EDIT: I've gone through and manually added an Android XML Layout file to the layout folder with the name of main.xml. After doing this I've gone through and followed step by step everything to the T. Everything checks out in the end after exporting, and even installs correctly. However, it does not show up in my widgets list or App drawer, and when trying to launch it from a file manager it says it cannot be launched.

Help!
[XPERIA X8 Themes and Apps] D4RRYLJ4RVIS:
WORKING!

NEVERMIND! Ran into the same problem as West1988. Changed the package name to the unique name selected in the beginning of the project and, voila! LAZR CLOCK! :D I'll be posting this on the Play store soon for anyone to download. Thanks Chris!
[XPERIA X8 Themes and Apps] Chris95X8:
Oh, glad you sorted it out. And my God! Awesome clock man!!!
[XPERIA X8 Themes and Apps] stamatis:
Thanks for this tut Chris!

I made one but I was really bored to make good graphs...but it works!!!!:D

View attachment 1588626
[XPERIA X8 Themes and Apps] XNemia:
Hello mates and really thank you for this AWESOME tutorial, really fantastic ...

My question is how to add more than one color to the clock widget ?

I mean when the user try to pick a widget and chosen " my clock widget ", how he/she could chose a color from different colors ?

I know I must make them in the Photoshop, but how to add them to the source code ?

thank you in advance ...

XNemia
[XPERIA X8 Themes and Apps] sarkar1990:
[MENTION=5048563]EatHeat[/MENTION] how's your clock coming along?
[XPERIA X8 Themes and Apps] redtrk:
Thanks for the great tutorial.....I've been looking for something like this! :good:
[XPERIA X8 Themes and Apps] The Arbiter:
I've followed these instructions explicitly several times to no avail. I'm keeping my package names consistent throughout the entire thing which is what other users were having trouble with. The problem is probably that I have the latest version of the SKD/IDE/ADT/whatever. So some things in the tutorial are out of date. I'm trying my best to work around it but it has to be the problem.

For example, the tutorial will say to "delete TextView block" or something similar, and I go to delete that code and it doesn't exist there in the first place. Also it offers to make the icons for me, so I do that because there are more than just the 3 sizes listed in the tutorial. Also is asks for all three of Application Name, Project Name, and Package Name when creating the original application. It also makes me choose Minimum Required SDK, Target SDK, Compile With, and Theme, whereas only Target is mentioned in the tutorial. I chose 1.6 for Minimum and Target but I compiled with 4.2 and selected None for the theme.

Because there are so many variables that I'm dealing with in the IDE menus that don't exist in the IDE version from the tutorial, I could play around all day with them and still get nowhere. So can anybody help me address the issues I'm having?
[XPERIA X8 Themes and Apps] dedesuper:
Hi very nice tutorial

But i have some problems.

I have the new Sdk and some things in the tutorial i cant find in the new eclipse!!!!

Here is the errors that i get :

[2013-05-28 23:43:17 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\USER\Desktop\Google Devloper apps\New folder\Aiwatchnew\AndroidManifest.xml: The processing instruction target matching "[xX][mM][lL]" is not allowed.

[2013-05-28 23:43:17 - Aiwatchnew] Error in an XML file: aborting build.

[2013-05-28 23:43:51 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\USER\Desktop\Google Devloper apps\New folder\Aiwatchnew\AndroidManifest.xml: The markup in the document following the root element must be well-formed.

[2013-05-28 23:43:51 - Aiwatchnew] Error in an XML file: aborting build.

[2013-05-28 23:45:23 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\USER\Desktop\Google Devloper apps\New folder\Aiwatchnew\AndroidManifest.xml: The processing instruction target matching "[xX][mM][lL]" is not allowed.

[2013-05-28 23:45:23 - Aiwatchnew] Error in an XML file: aborting build.

[2013-05-28 23:46:30 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\USER\Desktop\Google Devloper apps\New folder\Aiwatchnew\AndroidManifest.xml: Element type "xml" must be followed by either attribute specifications, ">" or "/>".

[2013-05-28 23:46:30 - Aiwatchnew] Error in an XML file: aborting build.

[2013-05-28 23:46:51 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\USER\Desktop\Google Devloper apps\New folder\Aiwatchnew\AndroidManifest.xml: XML document structures must start and end within the same entity.

[2013-05-28 23:46:51 - Aiwatchnew] Error in an XML file: aborting build.

[2013-05-28 23:47:21 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\USER\Desktop\Google Devloper apps\New folder\Aiwatchnew\AndroidManifest.xml: Content is not allowed in trailing section.

[2013-05-28 23:47:21 - Aiwatchnew] Error in an XML file: aborting build.

[2013-05-28 23:47:34 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\USER\Desktop\Google Devloper apps\New folder\Aiwatchnew\AndroidManifest.xml: The markup in the document preceding the root element must be well-formed.

[2013-05-28 23:47:34 - Aiwatchnew] Error in an XML file: aborting build.

[2013-05-28 23:47:57 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\USER\Desktop\Google Devloper apps\New folder\Aiwatchnew\AndroidManifest.xml: The markup in the document preceding the root element must be well-formed.

What i do wrong ??!!?? i follow the tutorial and try 4 time but sames errors!!

Please help me this app are very important for me....
[XPERIA X8 Themes and Apps] Ringquelle:
This tutorial is really awesome, thanks a lot :)

I have been looking into adding a hand for the seconds. From what I've read, it would be unwise to have the widget update every second, because of battery drain/lag. However, I think I may have come up with an idea on how to add a hand for the secons, but I have no idea how to execute it.

My idea would be to have a hand for the seconds that is animated to make one full rotation in one minute. The rotation would start when the minutes value changes. So, for an example, when the time changes from 10:53 to 10:54, the hand for the seconds would start its animation. Because we know that there are 60 seconds in a minute, this way the hand for the seconds would show the correct ammount of seconds.

Hopefully that idea makes some sense. I am not sure how to execute the idea though. The main part I have a problem with, is how to detect that the value for the minutes has changed. Hopeully someone can give a few tips/hints on that.

Maybe this reply is a bit late, but maybe it will still help you or someone else. I had the same problem. In the end I used Android Application Project. For minimum SDK I chose the same one as the target SDK. That worked and the only thing I had to do was have Eclipse duplicate one of the packages, because otherwise it would give me an error about R.
[XPERIA X8 Themes and Apps] SolangeK:
Great tutorial

Really simple and well explained, thanks very much!
[XPERIA X8 Themes and Apps] teri-themes:
Hello again.I want to ask something.I want to make different size clock-2x2,4x4,4x3.How to do this?
[XPERIA X8 Themes and Apps] Abrar_x:
thanks giving..

thanks man... Started my first app development following your codes... really great explanation & instructions there... :D
[XPERIA X8 Themes and Apps] MileXperiaX8:
nice tut man ;)
[XPERIA X8 Themes and Apps] levykm:
You just need to add more <receiver> 's to your manifest, duplicate the files in the src and layout folder, and change the references in them to match the different image file names!
[XPERIA X8 Themes and Apps] jubin.mathai:
Help!

First of all Thanks for making this tutorial!!

I don't know if this thread is active or not. But i came across this thread while trying to make clock widget.

I followed all the steps and the only problem I face is with the clock hands, the hour and minute hands are not pointing at the correct time.

If i don't use these hands then the one provided by default point at the right time but these.Please let me know what did i miss!
[XPERIA X8 Themes and Apps] Chris95X8:
Pay attention to this step when drawing the hands.
[XPERIA X8 Themes and Apps] DuskXtremeX:
Please help

I followed exactly the same and I get these two errors as in the pics..

Check the pics for my problem/
[XPERIA X8 Themes and Apps] krovopijca:
Application is not installed - Error

Hello guys!

Everything worked fine with this awesome tutorial. I don't have any error and compilation work fine. Though I'm having problem with installing final application on my Samsung Galaxy S4 9500. The phone tells me that 'Application is not installed'. How could I fix that?
[XPERIA X8 Themes and Apps] jahirfiquitiva:
[MENTION=3836504]Chris95X8[/MENTION]

I'm trying to implement your code, but clicking isn't working and I'm getting this error.

Any help? Thanks in advance.

Process: jahirfiquitiva.project, PID: 32608
java.lang.RuntimeException: Unable to start receiver jahirfiquitiva.project.widgets.ClockWidget: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2647)
at android.app.ActivityThread.access$1800(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1398)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference
at android.app.PendingIntent.getActivity(PendingIntent.java:289)
at android.app.PendingIntent.getActivity(PendingIntent.java:252)
at jahirfiquitiva.project.widgets.ClockWidget.onReceive(ClockWidget.java:28)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2640)
at android.app.ActivityThread.access$1800(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1398)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
[Nexus S Q&A, Help & Troubleshooting] Aktifit:
Hey guys, I bought myself a Nexus S one month ago and I've flashed about 15 different ICS ROMs. Is it just me or are there almost no stable ICS ROMs? All of them had random reboot issues apart from AOKP and CM9. I had no reboots on AOKP but the clock got stuck every 2nd day, so my phone wouldn't wake me in the morning which is even worse. CM9 I liked a lot, but I couldn't phone in the hands free mode (don't know the propper name of it in english) because the mic wasn't loud enough. Currently I'm on ras cream sandwich and it reboots while i'm listening to music which is really frustrating. Oh and before i forget, I always flashed matr1x kernel and used smartass governor, no OC.

Is there any stable ICS ROM apart from CM9 and AOKP? Or can i fix the other bugs?

Thanks in advance!
[Nexus S Q&A, Help & Troubleshooting] irminsul:
Your problem is the kernel, not the rom. My phone also reboots while listening to music in the undervolted matrix kernel. Stay with rascream and flash the _thalamus kernel and see how stable it is. That kernel is really stockish and stable. If you don't want to flash you could try to raise your voltages to stock values in nstools. Some phones like undervolting, some not. ;-)

Verstuurd van mijn Nexus S met Tapatalk
[Nexus S Q&A, Help & Troubleshooting] Aktifit:
hm I didn't know matrix kernel was undervolted, I thought that's only the case with trinity TEUV kernel by default :p well I'll try another kernel for the time being and see how that goes.