HTC EVO 4G : Add A Line And Then Terminating It?
May 15, 2010
So i preordered the phone at BB and since i do not have an upgrade due to buying a hero in december i think what i am going to do is open a second line on june 4th to get the phone for 199.99 and then close it and pay the 200 ETF. i wouldnt have to pay any deposit to get a new line. i already talked to sprint they said i could do this even though they dont recommend it. total it will cost me 400 bucks, cheaper than the full price and i get a phone june 4th which is all that matters to me after researching this phone for months.
i know its a crazy idea but it works for me. anybody else adding a line just to get the EVO?
View 19 Replies
Jun 30, 2010
I need to cancel a repeating alarm when my app terminates. The problem is I have several activities and since they can be killed at any time, how can I determine when the last activity is being shutdown so I can call my alarm canceling method?
View 1 Replies
View Related
Jan 25, 2010
When I navigate away from my application - I don't have an activities open - and my background service has been shut down (validated that service's onDestroy method was called). However my process seems to hand around and the system never seems to get around to killing my process.
Is there any way I can debug why the system is not killing my process.
View 6 Replies
View Related
Oct 24, 2009
When on a call, the screen blanks after a while but when I push the Back button to turn it on, the call is terminated. How can I turn the screen back on without terminating the call?
View 7 Replies
View Related
Sep 10, 2010
Recently I have been having issues with viewing my email messages in the Yahoo Mail App. When I open some messages all is see is line after line of code instead of the message text. It doesn't seem to matter what the source email is (gmail, hotmail, etc). Some emails are ok some are not. Anyone else have this problem? Any fixes?
View 1 Replies
View Related
Jul 10, 2010
I have a text file in my res/raw directory. I want to read the file line by line, but FileReader and BufferedReader fail, because of Android's security restriction. How else can I do it?
View 1 Replies
View Related
Aug 31, 2010
Can we align our text line by line(I mean whatever the text we have selected that should be aligned instead of the whole text) in android text-view dynamically!
View 1 Replies
View Related
Jun 1, 2010
I'm going to be giving my dad my old phone and using his upgrade. However, he is going to be out of town all next week. The way I understand it is that if I preorder the Evo, I have to pick it up within a certain amount of time... so I can't just wait until he gets back to go pick it up and activate it. If I activate it on his line, deactivate it, activate it on MY line, REactivate his old cell phone on HIS line, and then finally activate my old (current) cell phone on his line when he gets home... am I going to have to pay a billion activation fees? Or am I just going to have to not preorder, wait to buy my Evo until he gets back... and risk tons of backorders?
View 18 Replies
View Related
Aug 6, 2009
Anyone now how can i put a GPS software in my htc magic?
View 4 Replies
View Related
Nov 3, 2010
Ive had the evo for about a week, and the operating system seemed to be acting a bit buggy but i put a fix on that real quick. now a persisting issue i have is that there is a line going down the middle of my screen on every page no matter where i go. i didnt have it for about a day or so and it seems to be some kind of seperation or something.
View 7 Replies
View Related
Aug 22, 2010
I'm having some trouble and can't seem to find the answer to this! When I have 2 people on the line I can only seem to hang up on both.
View 1 Replies
View Related
Sep 1, 2010
how to draw a line in android give example
View 1 Replies
View Related
Jul 10, 2010
looking for something pretty specific, I've found the Motorola T505 to be a great bluetooth transmitter, but I'm looking for a line in as well. Googled around and couldn't find anything.. wondering if anyone has seen something like this.Need Bluetooth AND a 3.5mm in jack (for non bluetooth connections)any recommendations?
View 1 Replies
View Related
Nov 15, 2010
I'm trying to send 2 line of sms with this code String messageToSent = "Some lineAnother line"; but the the new line is not exist.. could anyone please tell me how to insert new line (carriage return) in sms ? Code...
View 2 Replies
View Related
Mar 2, 2013
I'm developing an application for print with finger.
But I want to fade away after1 second the previous line.
How can do this?
I need a thread for clear the canvas?
View 1 Replies
View Related
Nov 4, 2010
I'm working on a game which will use projectiles. So I've made a Projectile class and a new instance is created when the user touches the screen:
@Override
public boolean onTouch(View v, MotionEvent e){
float touch_x = e.getX();
float touch_y = e.getY();
new Projectile(touch_x, touch_y);
And the Projectile class:
public class Projectile{
float target_x;
float target_y;
Path line;
public Projectile(float x, float y)
target_x = x;
target_y = y;
line = new Path();
line.moveTo(MyGame.mPlayerXPos, MyGame.mPlayerYPos);
line.lineTo(target_x, target_y);
So this makes a Path with 2 points, the player's position and and touch coords. My question is - How can you access points on this line? For example, if I wanted to get the x,y coords of the Projectile at the half point of the line, or the point the Projectile would be at after 100 ticks (moving at a speed of X pixels/tick)? I also need the Projectile to continue moving after it reaches the final point. Do I need to use line.addPath(line) to keep extending the Path?
I managed to get the Projectiles moving in a straight line, but they're going in strange directions. I had to fudge some code up:
private void moveProjectiles(){
ListIterator<Projectile> it = Registry.proj.listIterator();
while ( it.hasNext() ){
Projectile p = it.next();
p.TimeAlive++;
double dist = p.TimeAlive * p.Speed;
float dx = (float) (Math.cos(p.Angle) * dist);
float dy = (float) (Math.sin(p.Angle) * dist);
p.xPos += dx;
p.yPos += -dy;
The Angle must be the problem. I'm using this method, which works perfectly:
private double getDegreesFromTouchEvent(float x, float y){
double delta_x = x - mCanvasWidth/2;
double delta_y = mCanvasHeight/2 - y;
double radians = Math.atan2(delta_y, delta_x);
return Math.toDegrees(radians);
However, it returns 0-180 for touches above the center of the screen, and 0 to -180 for touches below.
View 3 Replies
View Related
Jun 4, 2010
just picked up my EVO earlier this morning. Let it charge for a while before turning it on. I have a very thin rainbow colored line running vertically down the screen. Has anyone else had this problem? I had best buy install the invisible shield when I picked up the phone, so I wanted to wait a little while before taking the phone back. I'm hoping this works itself out, but I am thinking that this is going to be a display issue and I am going to need a new unit.
View 4 Replies
View Related
Jun 2, 2010
Ive only had my desire a couple of days and for some reason a white line has appeared across the screen, wondering if its been damaged. It hasnt been dropped or abused in anyway so quite confused. Tried a hard reset but to no avail? Pic attached if anyone can figure out otherwise back to the shop it goes!
View 9 Replies
View Related
Jun 16, 2010
I got my incredible yesterday, it's all going well, except that I noticed this line of pixels, not really any color in particular, but when you move the phone and look closely, they are very slightly distorted, and it makes them stick out slightly. I've noticed this problem on TVs before but I never understood it. I'm thinking it may be the invisible shield I had the person at the store install for me? I'm hoping it's not the screen...but here's a picture. I understand it may be hard to see, but if you move away from the picture you can sort of see what I'm talking about.
View 1 Replies
View Related
Jun 10, 2010
I recently noticed that on my EVO screen, there is a very small blue vertical line running from the top to the bottom of the screen. Its noticeable sometimes when im searching the web or with dark backgrounds.
Do you think I should return it? Or is there a program that can fix stuck pixels...
View 7 Replies
View Related
Jul 15, 2010
I know I can set android:singleLine="false" to set text to multi-line in a button. but can I set where to break into a new line instead of Android do it? I tried "ab" but doesn't work.
View 2 Replies
View Related
Dec 7, 2009
How can i specify command-line parameter when I launch an android application? 1- With Eclipse 2- Directly from the phone
View 2 Replies
View Related
Apr 14, 2009
So i am wanting to fiddle around with the new sdk but I never learned how to use command line in any IDE. Anyways I need to create an AVD with the command line can someone please tell me the steps or tell me somewhere I can read up on this. I have tried google searching command line eclipse, but the only results I get are nifty commands I can use once I actually find out how to get a command line. I am using windows.
View 5 Replies
View Related
Jul 26, 2010
Trying to revert my Dinc to before the ota update. I'm trying to get the code entered in the command window before running the PB31IMG.zip file and have run into a snag that, being, I don't know much about the using command window. (adb push flash_image /data)(adb push mtd0.img /dat. Both go through fine, but when I type: (adb shell) and press enter my next line of code starts w/ :(~#) upon my typing (chmod 777 /data/flash_image) I get: (~#) again. Quick question: 1. Is the (~# ) correct and if not how do I get past it to enter the remaining code? 2. Do I just continue to type the remaining code after the (~#)? 3. After rebooting, what volume do I type the (fastboot devices after? C: or C:sdkools? I obviously don't know much, if anything, about using the command window.
View 3 Replies
View Related
Jun 7, 2010
I'm still pretty new to Android and programming in general, and I can't seem to get the command line tools packaged with the Android SDK to work. I'm running Mac OSX and each time I try to run layoutopt, for example, the terminal returns, *-bash: cmd: command not found. Also, is it okay to have my SDK located in the Developer directory and my android project in some unrelated directory when using these tools?
View 3 Replies
View Related
Jul 14, 2010
Im tryin to block the OTA updates on my EVO and i have the command line to do so but i cant for the life of me found out how to apply the command line to my phone. The phone is Rooted....
View 12 Replies
View Related
Apr 21, 2010
So I was looking at the Incredible simulator on VZW and noticed that emails composed aon it have the signature line "Sent from my Verizon Wireless Phone." Anyone with an early model or anyone in the know able to say whether or not this can be erased/disabled/changed? I'd prefer people not knowing where my emails are coming from.
View 3 Replies
View Related
Aug 26, 2010
I am 99% there. I need to have a Edittext beside a Search button. The EditText should fill as much of the width as possible, the button should be to the right and be just big enough to have it's text
It looks like this now:.................
View 4 Replies
View Related
Sep 23, 2010
I have a LinearLayout with a ScrollView inside of it and inside of the ScrollView I have another LinearLayout. Inside the ScrollView/ LinearLayout I will have a list of CheckBoxes (with text after the CheckBox) that get added to the LinearLayout inside of the ScrollView. I also want to display an animated image next the text of the CheckBox.
View 11 Replies
View Related
Nov 19, 2010
I want to have the second line (and third, fourth, etc.) of my TextView indented, is that possible? I don't know the exact TextView's text in advance. The text will be without newline characters - it will be wrapped to lines automatically by the TextView.
View 2 Replies
View Related