yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Rokkk:
This is the content. 5 squares and some lines drawed so it would be easyer to see where they are suppose to go.

@Override
protected void onDraw(Canvas canvas) {

Paint paint = new Paint();

paint.setColor(android.graphics.Color.RED);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square1.x, square1.y, square1.x + 20, square1.y + 20,
paint);
paint.setColor(android.graphics.Color.BLUE);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square2.x, square2.y, square2.x + 20, square2.y + 20, paint);
paint.setColor(android.graphics.Color.GREEN);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square3.x, square3.y, square3.x + 20, square3.y + 20,
paint);
paint.setColor(android.graphics.Color.BLACK);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square4.x, square4.y, square4.x + 20, square4.y + 20,
paint);
paint.setColor(android.graphics.Color.YELLOW);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square5.x, square5.y, square5.x + 20, square5.y + 20,
paint);

paint.setStrokeWidth(3);
paint.setColor(android.graphics.Color.BLACK);
paint.setStyle(Paint.Style.FILL);
canvas.drawLine(95, 200, 650, 200, paint);
// 6 Vågrät
paint.setStrokeWidth(3);
paint.setColor(android.graphics.Color.BLACK);
paint.setStyle(Paint.Style.FILL);
canvas.drawLine(100, 200, 100, 480, paint);
// 5 lodrät
paint.setStrokeWidth(3);
paint.setColor(android.graphics.Color.BLACK);
paint.setStyle(Paint.Style.FILL);
canvas.drawLine(650, 200, 650, 480, paint);
// 4 lodrät
paint.setStrokeWidth(3);
paint.setColor(android.graphics.Color.BLACK);
paint.setStyle(Paint.Style.FILL);
canvas.drawLine(600, 0, 600, 200, paint);
// 3 lodrät
paint.setStrokeWidth(3);
paint.setColor(android.graphics.Color.BLACK);
paint.setStyle(Paint.Style.FILL);
canvas.drawLine(340, 200, 340, 480, paint);
// 2 lodrät
paint.setStrokeWidth(3);
paint.setColor(android.graphics.Color.BLACK);
paint.setStyle(Paint.Style.FILL);
canvas.drawLine(180, 0, 180, 200, paint);
// 1 lodrät

}
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
That's in MyTimedView... but where are you saying that you want to use MyTimedView? Where do you create an instance of that class?
[Android Q&A, Help & Troubleshooting] Rokkk:
Hmm, I suppose I never do. It was there from the beginning but I probably messed it up when I tryed to copy everything into there. How do I "call" it?
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Like I said, I'm not really comfortable with the way Android usually does layout.

Procedurally, you can just create a new instance (MyTimedView insertNameHere=new MyTimedView(...);) and pass it to setContentView() instead of R.layout.main
[Android Q&A, Help & Troubleshooting] Rokkk:
import android.app.Activity;

import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import se.systemite.kurs.stepbystep.*;
public class StepByStepActivity extends Activity {
BasicTimedView mBasicTimedView=new BasicTimedView(null);
public StepByStepActivity() {

// TODO Auto-generated constructor stub
}

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.requestWindowFeature(Window.FEATURE_NO_TITLE);

//Remove notification bar
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);

setContentView(mBasicTimedView);

//Remove title bar

}
}

This leads to a crash. Why?
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Probably null pointer exception... this thing expects a valid context not null (which is formally valid, but it just doesn't work).

Now may be a good time to remind you of the tools at your disposal, specifically:

DDMS (shows stack on crash and a whole lot more)

the Debugger (allows you to halt execution and inspect the variables at the time).

For DDMS you have to do nothing but start the program (it's in the tools directory of your android sdk) and select your device... you'll immediately see the messages coming in at the bottom.

For the Debugger you need breakpoints, where the execution will halt until you tell it to continue. You set them in eclipse by double-clicking on the left-most area next to a line of code. A dot will appear marking the breakpoint. To run your app with the debugger on, click on the cute little bug.
[Android Q&A, Help & Troubleshooting] Rokkk:
Ok I almost got that to work. But now when I try to use my own animation with 5 images it just looks like a slot machine. Not 1 animation but a very bad timed one.

I have changed the number of frames to 5. But the height and width doesn't seen to matter how they are.
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
It's probably the image... upload it somewhere and I'll take a look. The width and height are determined from the file, they're not for you to set.

see:

//Since the images are stacked ontop of each other, each frame is widthOfBitmap * (heightOfBitmap / numberOfFrames )

frameWidth=bmp.getWidth();

frameHeight=bmp.getHeight()/frames;
[Android Q&A, Help & Troubleshooting] Rokkk:
Okay here they are. Both in bmp and png. I would prefer to use png because then the opacy will remain.
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Hmm... not the problem I expected: I assumed it was not divisible by the number of frames.

Maybe you're still using the code I posted at first? There was a bug in there that I forgot to mention and just quietly fixed: You can't just leave the canvas passed alone and expect it to retain your image, so my if(currentFrame!=lastFrame) check was beyond useless... maybe that code is still in there. I removed it from the project I uploaded but obviously it may still be part of your code.
[Android Q&A, Help & Troubleshooting] Rokkk:
No I am currently just testing diffrent images and using your premade one. The one without (!currentframe etc.)
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Works perfectly over here... are you sure you changed the number of frames?

//Arguments: Activity/Context , Bitmap, Frame Count

AnimView v=new AnimView(this,animBmp,5);
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Fifth line from the bottom. You have to learn to navigate your code :)
[Android Q&A, Help & Troubleshooting] Rokkk:
Oh damn I must be blind!

If I would like to call this everytime I make a new person. Do I construct it like:

public Walking person1;

public Walking person2;

public Walking person3;

public Walking person4;

public Walking person5;

person1 = new Walking();

person2 = new Walking();

person3 = new Walking();

person4 = new Walking();

person5 = new Walking();

Like I did on the squares? I will fix the view thing soon. But I'll figure that one out myself. :)
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
If only I knew what a Walking is in your code... is that the view you use?

In any case foo1, foo2, foo3 and so on usually means that you should learn about Arrays :)
[Android Q&A, Help & Troubleshooting] Rokkk:
Yea I haven't reached that chapter in my book yet :o

Walking is the animation class you so kindly made for me. ;)

The X and Y values will be set by another factor already made.
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
To be honest, that book seems a little messed up.... you're still missing basic concepts and you're already meddling with the UI system. I would suggest that you first take a look at a few Java tutorials that show you how programming in general works (usually using only the commandline), before returning to your book..
[Android Q&A, Help & Troubleshooting] Rokkk:
Yea, I'll do that.
[Android Q&A, Help & Troubleshooting] Borg3D5:
Hi there :)

I'm searching, on the android market, for a application that can check my gms phone line status and, if i loose the gsm signal, it can advise me trought a sound allarm.

Do you know the name of an application with this kind of features?

Thank you.
[Android Q&A, Help & Troubleshooting] martinr63:
No Signal (h**ps://market.android.com/details?id=com.smartandroidapps.missedcall)

or

Signal Reset (h**ps://market.android.com/details?id=com.homer.signalreset&feature=also_installed)
[Epic 4G Q&A, Help & Troubleshooting] SF Steven:
OK, I'm dying to update from EG22 to EH06 but I'm a new to the Epic (previously had a Moment, then a Transform) and I'm not sure I fully understand the process.

If I'm on SCrAMbLED EGgs already, can I simply flash MADDOGGIN's MODS followed by the [Hack] [EH06] [DEODEX]AIO MOD to update to EH06?

Or do I have to use ODIN to update to EH06 and then flash MADDOGGIN's and the AIO MOD from there?

Apologies if these are boneheaded questions, but I'm currently away from my PC and using my MacBook - if the update can't be done simply by flashing files off my SD card, then I have to wait until Monday when I get back home to access ODIN again.

:)

Thanks in advance!
[Epic 4G Q&A, Help & Troubleshooting] mjben:
I would start by flashing the cwm update to EH06, then proceed from there. Also, I recommend adding the EG22 plus kernel. Maddogins, and aio.

Sent from a secret underground bunker
[Epic 4G Q&A, Help & Troubleshooting] SF Steven:
YAY, thanks for the info - assuming all goes well, I'll be rocking a new modem soon.
[Epic 4G Q&A, Help & Troubleshooting] mjben:
Did you find the cwm flashable EH06? If so, then you should be able to go ahead without a PC.

Sent from a secret underground bunker
[Epic 4G Q&A, Help & Troubleshooting] SF Steven:
Yup, found the CWM flashable version and will be updating shortly.
[HTC Inspire 4G] bradmanuwf:
I've recently rooted and installed Revolution HD, also tried RumRunner 3.0 to see if the problem went away, but after I open up maps and turn on GPS the icon comes up and flashes. After I close the app and turn off GPS in settings, it stays there and continues to flash. Only way to get rid of it is to reboot the phone. Anybody run into this before?

Inspire 4G

Droid ver: 2.3.3

Baseband ver: 12.39a.60.19P_26.06.06.30_M

Kernel: 2.635.13-RCMIX-ARHD-ED-1.5-NCR--g9fcaec2-dirty

Build: 2.50.405.2 CL87995 release-keys

Software: Android Revolution HD 5.2.4
[HTC Inspire 4G] Agoattamer:
How do you close maps? Do not close maps by hitting the Home button. That doesn't close maps. You need to back out using the Back button. Then it won't stay flashing.
[HTC Inspire 4G] bradmanuwf:
Nope, still does it...
[HTC Inspire 4G] Pirateghost:
works fine here.

you sure you dont have an app running in the background? are you signed into latitude?

why do you only turn on GPS when you open up maps?
[HTC Inspire 4G] bradmanuwf:
I normally don't, I'd leave it on but before I rooted, the GPS icon would go away after I closed maps or other GPS using program so I tried turning it off to see if it would go away. After I back out of Maps, the Maps process continues to run "NetworkLocationServices" and pushing Stop doesn't do anything, it just comes back. Since it's the network location service, I didn't think it was using the GPS. I'm not signed into Latitude, I opened and signed out just to make sure. I also double checked to make sure "Phone Finder" was turned off too.

PirateGhost, good stuff on RumRunner. I like it. I'm going to run Revolution for a week and swap over to RumRunner for a week and see which I like better. This flashing GPS icon is more of just an irritation than a problem.

Edit: I'm starting to wonder if the GPS is working at all. I installed the GPS Test app and it doesn't see anything (Yes, I was standing outside). Going to flash the Radio and RIL to make sure...PirateGhost, what Radio are you running?

Edit2: Problem resolved. After flashing the Radio and RIL for Revolution HD, it's working fine :)
[HD2 Windows Phone 7 Themes and Apps] nichitandrei:
I have made some wallpapers for lockscreen with transparency and I'd like to share them with you guys:)

Preview

​

Install Guide

Download the pack

Unzip it

Email yourself

Go to the phone and sync the email

Tap to the wallpaper you want and after it opens tap "use as wallpaper" (don't save it to the phone because it loses the transparency)

Feel free to hit Thanks button or leave a Feedback​
[HD2 Windows Phone 7 Themes and Apps] bleui:
Thanks for these, and I think you should also post it on the Windows Phone 7 Apps and Games for others to see
[HD2 Windows Phone 7 Themes and Apps] nichitandrei:
I'm glad you like them :D

Just to know I took your advice and I posted it to "Windows Phone 7 Apps and Games":cool:​
[HD2 Windows Phone 7 Themes and Apps] vipgemini:
Can do it in Mango ?
[Verizon Droid Charge] mrmidnight:
Well, last night I had an uhoh, dropped my phone on gravel and near the search button cracked and made a nice crack on my screen. I am not eligible for insurance until october and was wondering if someone could help me find those parts or a reputible repair service. Nothing is wrong with the digitizer but it is one assembly. Thanks
[Verizon Droid Charge] caifan:
Have same issue. I looked online and found this site to have the lowest price and will order from them today: www.wholesalegadgetparts.com/home.php?cat=939. The glass (the one the finger touches) and the lcd/digitizer, according to them, is all one unit.

EDIT: Anyone know of a good disassembly guide for the Charge?
[Verizon Droid Charge] rami98:
I dont know about dissassembly instructions but the glass and samoled display are together because i helps make it stronger, thinner and it improves picture, improves outdoor readability and no dust can get under the screen
[Verizon Droid Charge] caifan:
As a follow up...I installed and rocking the beautiful display on my Charge again!
[Verizon Droid Charge] letsgophillyingeneral:
Where did you get the display?! My Charge's digitizer somehow cracked (the exterior of the phone is perfect) and Verizon wouldn't do anything about it.

Ended up paying full price for a new Charge :mad:
[Verizon Droid Charge] caifan:
See the previous posts above for the link.
[Verizon Droid Charge] letsgophillyingeneral:
Sorry man, I didn't even notice. Were you provided installation instructions?
[Verizon Droid Charge] douglasmcusmc:
Youtube has a great dis. For droid charge.. I uave used it and it is pretty good
[Verizon Droid Charge] skydeaner:
It is pretty self explanatory anyways. 135 is outrageous though. Hopefully they will come down soon. I will say when I am looking at red text on a black background it almost seems to lift out of the display, like when looking at red system apps in TB. Especially while outside with brightness all the way up. The display is amazing, but still, should be cheaper at this point, especially at this resolution.
[Nook Color Q&A, Help & Troubleshooting] bigfoot17:
Wifi connection lost while trying to update. NC was booting just to "android" and hanging. I read thecubed post with MonsterRootpack and clockwork options. I have been installing and reinstalling but when I reboot I always come into the ClockworkMod Recovery v3.0.0.5 screen. Any sugeestions of where I can go from here?
[Epic 4G Q&A, Help & Troubleshooting] infamousteeboy:
So I'm checking my girls phone and his thing has no connection what so ever and it keeps saying sign in failed...

Any clue what it could be?

Spectacles, Testicles, Wallet & Watch, evO²·³·³
[Epic 4G Q&A, Help & Troubleshooting] JohnCorleone:
Is her phone completely stock? Is it rooted? If you provide more details we may be able to help. On a side note, is anyone having problems with Tapatalk? I can use XDA Premium with no problem but Tapatalk is trippin now...anyone else?
[Epic 4G Q&A, Help & Troubleshooting] glenner444:
I'm having the same issue just now. Error 128 sign in failed. Still connects to 4g and wifi though. I'm in Portland, OR. Where are you?
[Epic 4G Q&A, Help & Troubleshooting] JohnCorleone:
Wow, I just had the same Error 128 in SoCal. Everything connects as well but its annoying
[Epic 4G Q&A, Help & Troubleshooting] krazyflipj:
I'm having the same issue. Running leaked EH06 rom. I'm in Bay Area. Might be a sprint issue as my Evo's data isn't working as well.
[Epic 4G Q&A, Help & Troubleshooting] JohnCorleone:
The error code on Sprintusers.com is as vague as the message we got. There is no explanation whatsoever. Here you go...http://www.sprintusers.com/forum/showthread.php?t=38328
[Epic 4G Q&A, Help & Troubleshooting] JohnCorleone:
Damn it... http://www.sprintusers.com/forum/showthread.php?t=38328. Reason unspecified
[Epic 4G Q&A, Help & Troubleshooting] glenner444:
Mine's back to normal. Not sure what it was, but assuming it was on Sprint's end.
[Epic 4G Q&A, Help & Troubleshooting] infamousteeboy:
Back to normal ladies and gentz and I was getting 128 error

Spectacles, Testicles, Wallet & Watch, evO²·³·³
[Epic 4G Q&A, Help & Troubleshooting] infamousteeboy:
Once again The Godfather of xda

Sorry I wasnt as thorough but she's not rooted yet lol but I was getting the error 128

Spectacles, Testicles, Wallet & Watch, evO²·³·³
[HTC EVO 3D] lidfgab:
EVO 3D GSM version,

Hboot 1.49.0007

I have SHIP S-OFF the phone using Revolutionary tools, but is any way to ENG S-OFF the hboot? without ENG S-OFF, I can flash different offical rom to the phone, many thanks:)
[HTC EVO 3D] lidfgab:
success tested with superCID, then we can flash different RUU

but still want ENG S-OFF...
[HTC EVO 3D] Flashmaniac:
www.revolutionary.io
[HTC EVO 3D] lidfgab:
This is SHIP S-OFF, not ENG S-OFF
[General Topics] vetvito:
Thoughts. WebOS in the mobile world atleast is dead. Should Samsung or HTC purchase WebOS? Its a awesome OS, the devices just sucked.

What are you guys thoughts?
[General Topics] 70challenger:
Let it die, the problem is app support, who is going to support a os that has no more devices being built?
[General Topics] ubigdumy:
So is it even worth buying HP tablet
[General Topics] MartyLK:
I hope HTC does pick it up. I think it's one of the best OSes ever created. Too bad the hardware side of the equation was off kilter.
[General Topics] dreadlord369:
You guys have to realize webOS is NOT dead, the devices HP and Palm created are the things that are being dropped. They said they Are 100% continuing development on webOS and are just looking for companies that want to run webOS on their devices like HTC or Samsung.
[General Topics] Magic Oreo:
+1 hp just said they are dropping the production of devices and are sticking to the developement.
[General Topics] Dramaticus:
Going to continue to develop an OS that nothing is being produced for. Right.
[General Topics] Magic Oreo:
true it would be a dead end, but there trying to find a company like htc or samsung to put it on, i guess if no one wants it on there phones then yes.
[General Topics] vetvito:
No, they said the mobile OS is dead. WebOS will continue in vehicles, printers and other appliances.

If I were HP I would've licensed it out a long time ago. WebOS can be some real competition to IOS and Android. Right now nothing is coming close to the two top dogs.

Imagine WebOS on a GSII.
[General Topics] grlddawkin:
htc,samsung, and sony could do as they do with android and windows. It makes sense to at least put some out there. I wouldn't purchase webos for exclusive rights, but expecially sony who could use a shot in the arm.
[General Topics] 70challenger:
They also produced a tablet pc that had the quickest death in consumer history! We'll see what happens...I did buy one and can't wait to try it out and I am hoping we get an Android port. :cool:
[General Topics] bwstonemd84:
There is something fishy with this. Selling them at 99 bucks now you have millions of devices sold that otherwise would not have sold at the regular price. Now you have 50 times more HP touchpad users then 2 days ago. Yes HP is losing money now, but will it pay off in the long run with all the new users and future development or with a sell or is this a set up for something new for HP? A company does not just clears its inventory out for any old reason HP has something up their sleeve.
[General Topics] vetvito:
No, its over with. Its not millions either. Less than 1 million units.

HP took a huge hit on exchange market as well.
[General Topics] code-monkey:
Despite the fact that WebOS was a decent OS.. Apple and Google have just pulled all attention to them. Even from an objective point of view I hardly think anyone can get in between. (Windows Mobile, Bada, etc.)
[General Topics] xaccers:
Is that actually likely/possible?

Would be worth snapping one up if it were.
[General Topics] xaccers:
Looking into it further it's at least a £89 Kindle reader that can do much more while the cheapest kindle is £111
[HTC EVO 3D] easygoing20016:
I went to use the camera for the first time after updating with new rooted ver. 2.3.4 and does not work. Mirror and Camcorder also does not work. I figured they all tied together anyway.

Anyone else having this problem.

I am about to do a cache clear and flash rom again. I will report shortly, if this fixed it.

Update: I cleared cache via recovery and flashed Rom again and it solved the problem. Man I had few issues with 2.3.4. Nothing really major that was not a quick fix. I hope they send out another update. Hahahaha...
[Epic 4G General] Whosdaman:
Here is the official document outlining their methods and procedures for handling devices with suspicion of root.
[Epic 4G General] iSaint:
oo reary ??
[Epic 4G General] Wizard Knight:
so basically it's a "please don't root, but if you do...umm...well please don't"?
[Epic 4G General] DroidApprentice:
Seems pretty inoffensive to me. But the stuff about "schoolmarming" a rooter is ridiculous. I'd like to believe that anyone smart enough to find out about and root doesn't need a talking-to. I also doubt that rooted customers take up much of a support center's time overall. Of course, Sprint employees including Korey AKA WDM may say something else about that.
[Epic 4G General] Wizard Knight:
well, they don't want you to root for obvious reasons... tethering probably being the biggest one. Plus having to replaced bricked phones would be another. I can see their perspective... and instantly disregard it :)
[Epic 4G General] gtuansdiamm:
This is funny
[Epic 4G General] CrippleB:
Appreciate the info but this does not seem to cover what it means if they open a ticket and note that the device is suspected of root. Now with this suspect of root does this then give them an out on replacing or repairing?

Again this is all coming from my experience of my local and only place to get service, threatening to blacklist my phone if he "suspected" root.

Here is the Emeryville, CA store number (510) 596-0930 Give them a call and ask if you can bring in your phone for repair if you have root. I bet you will get a "no"
[Epic 4G General] Whosdaman:
Print this pdf out and show it to them. Tell them it came from ISC in the "Service and Repair" section. If they ask how you got it, tell them it doesn't matter and that it is your job to know these things.

Yes it is noted that your phone is rooted, but like it says if there is an issue with a phone that cannot be fixed that will Advance Exchange it. No matter what. Trust me. If you have a problem just PM me and then I'll call.
[Epic 4G General] tenaciousj:
Thanks for the info. The local reseller he wouldn't touch mine when she saw it was rooted. Mind you I took it in for the slider being loose and first thing she did was scroll through my apps and look for super user, then promptly showed me the door.

Sent from my Samsung Epic 4G.
[Epic 4G General] nikon120:
I wouldn't even walk into a Sprint store without having first used ODIN to get back to 100% stock. I don't want to give any Sprint tech/rep an excuse to play the blame game with my device/account.
[Epic 4G General] stilesja:
For sure. My display went out and managed to Odin blind through download mode before going in for service.
[Epic 4G General] ghostrid3r:
Who in their right mind would bring back a rooted phone expecting it to be covered/serviced. One with a working display for that matter. :rolleyes: