yashsingh1/xdaforums huggingface dataset:
[Android Software Development] bobhoil:
Okay so after working hard I finally have scrolling somewhat working using the information from the accelerometer. I am using scrollBy() to make it move. But it scrolls I guess what you could say "in spot". It disappears when it goes outside its bounds. Here is my code:

package com.bobhoil.tdodger;

import android.app.Activity;
import android.os.Bundle;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.widget.ImageView;
import android.widget.TextView;

public class TestActivity extends Activity implements SensorEventListener {

private int accelXValue;
private int accelYValue;
private TextView accelZValue;
private ImageView mobil1;

private SensorManager sensorManager = null;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
sensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
setContentView(R.layout.test);

accelZValue = (TextView) findViewById(R.id.accel_z_value);
mobil1 = (ImageView) findViewById(R.id.mobil);

accelZValue.setText("0.00");
}

public void onSensorChanged(SensorEvent sensorEvent) {
synchronized (this) {
if (sensorEvent.sensor.getType() == Sensor.TYPE_ACCELEROMETER) {
accelXValue = (int) sensorEvent.values[0];
accelYValue = (int) sensorEvent.values[1];
accelZValue.setText(Float.toString(sensorEvent.values[2]));
}
mobil1.scrollBy(accelXValue,accelYValue);
}
}

public void onAccuracyChanged(Sensor arg0, int arg1) {

}

@Override
protected void onResume() {
super.onResume();
sensorManager.registerListener(this, sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), SensorManager.SENSOR_DELAY_GAME);
}

@Override
protected void onStop() {
sensorManager.unregisterListener(this);
super.onStop();
}

}
[Android Software Development] bobhoil:
Can I get some assistance please?
[Android Software Development] bobhoil:
Okay so I tried using a few other ways of moving the imageview but it is still doing the same thing. Is it that I am using a absolute view??
[Android Software Development] IanGClifton:
I'd definitely recommend against using an AbsoluteLayout, but I'm guessing that you intend for the ImageView to move within another layout and instead you're telling the ImageView to move within itself. Basically, the scroll methods scroll the content of a view, so you would want to scroll a parent view if you're intending to move the ImageView.
[Android Software Development] bobhoil:
So right now it isn't scrolling the ImageView? It is scrolling within the ImageView?

So now I need to figure out how to move a view in a view?

Just making sure I understood this.
[Android Software Development] bobhoil:
Can I get some more help? I really need this for my game..
[EVO 4G Q&A, Help & Troubleshooting] nickhowell25:
Is there anyone here that is familiar with the website appbucket.net? From my understanding its like a membership you pay one time then you can get unlimited amounts of free and paid apps that are on the android marketplace. My only question was has anyone here used it and if so is it really worth it ?
[EVO 4G Q&A, Help & Troubleshooting] datajosh:
It's an illegal site trying to profit off of pirating apps
[EVO 4G Q&A, Help & Troubleshooting] fachadick:
^^^this.

Inb4threadlock

Sent from my blah blah blah blah
[EVO 4G Q&A, Help & Troubleshooting] Harfainx:
Any of those "Pay X amount for a year membership for unlimited apps" is a site dedicated to stealing apps from the market and re-selling them to make money, while taking it away from the devs.

:mad:
[EVO 4G Q&A, Help & Troubleshooting] speedracerbubba:
Used to be android playground. They got in trouble and moved servers and isp.

I signed up for their mailing list a while ago to see if they would actually get taken down but they find ways around it. If an app is good I will support the dev and buy it as should anyone else.
[EVO 4G Q&A, Help & Troubleshooting] VI's got an EVO:
doesn't sound legit to me. What it does sound like is a method for scammers to rob devs of their royalties. And/or a way to get you to download apps that have been tampered with (i.e. infected/trojaned).
[Desire HD Q&A, Help & Troubleshooting] Alkali:
I have never gone android and from the specs it is going to be a great phone. Dear members will I be disappointed if I get rid of my leo and go for it? What is the main differences between windows pc and android ? Or would you rather I wait for windows 7 I am used to. But I am greatly interested!
[Desire HD Q&A, Help & Troubleshooting] EvanCottle1:
Not much of an answer, but I'm definitely looking at replacing my HD2/Leo with a Desire HD. It really is the phone I've been waiting for HTC to come out with.
[Desire HD Q&A, Help & Troubleshooting] PremiumReview:
For me its Android over anything,

The main difference is that android if very customizable and all open source, you wont be disappointed if you ditch your Leo for this phone, specs wise its amazing and now that is running new HTC sence UI. I think that you will be very happy with Android.

Any other question, feel free to PM me or anything.
[Desire HD Q&A, Help & Troubleshooting] madindehead:
I think I will be replacing my HD2 with this. Been running Android on my HD2 for a few days, and I love it. Given that the Desire HD is the same size, and better hardware than the HD2, I think it's a winner!
[Desire HD Q&A, Help & Troubleshooting] Julio C:
I as well have The HD2 with the android running and also helped 2 other peple get their HD2's setup with android. I love it over windows. The windows pretty customizable to a certain point and I do like it too but like is not the word for the android stuff. I had the G1 and it took a cyanogen beating and kept on ticking. And then I went to the HD2 and as soon as I saw roms for it Ii went to town on it but I slammed on the brakes with the froyo rom from Darkstone and Its whats running right now. So to say Im looking forward to this Desire Phone is an understatement. Im real excited WOO!
[Desire HD Q&A, Help & Troubleshooting] slackersink:
Load up Android on your HD2 and take it for a test drive. They have a bunch of choices in the HD2 forum so you can get a feel for it to see if you like it.
[Desire HD Q&A, Help & Troubleshooting] malex1:
If wealthy, buy Desire HD.

If not so well off, try Android on HD2, if it you like it and want to pay for extra hardware on Desire HD you can wait until no longer brand new tech, and price drops a little.

If not cash rich, wait for Desire HD rom to be ported onto HD2 to replace WinMo.

All you lose is extra 3 megs on camera (not a big deal)

Extra internal memory (can do without)

Slightly faster cpu.

Movie playback quality?
[Desire HD Q&A, Help & Troubleshooting] Geno-X:
The Desire HD is great but nothing special above the HD2..I mean sure it's primary Os is Android but that's all you get. The Hd2 runs Android,Wm and Ubuntu,if that's not cool enough then i dnt knw wat is. IMO the HD2 will most likely become the phone of legends, something that fathers tell their kids about wen their not busy admiring its sheer brilliance,the one that broke all the rules :cool: *And yes i'm aware of the D'HD specs,which r tempting but not worth sacrificing the Hd2*
[Desire HD Q&A, Help & Troubleshooting] HTCinToronto:
This is just the beginning teaser for Android superphone HTC & GSM. I see the HD2, EVO & D'HD pretty much being the same phone, different shell and different OS. In that light the format is a year old.

To quote them, HTC was/is brilliantly and quietly deliberate in having the Android-GSM masses salivate from across fences they could not or would not cross. It's almost classic Apple (and believe me, I hate both Apple and admitting it).

When the HD2 released, and lets be honest, gimped with WinMo, there was a secret vault deep in the bowels of HTC with a killer phone that could pretty much end the consumer refresh cycle for 3+yrs.

Just look at the G1. One of the secret beauties of Android is that in the right circumstances, you can stretch a platform way beyond it's intended life. An Android HD2/GSM EVO would have been such a beast.

They didn't release it because it was technically not viable, lol. No. Because doing so would have been an early check mate.

Yes the competition would either have been scorched in such a scenario or, heaven forbid, cornered into a cold war where they might actually have delivered real value versus their stock and trade hype.

At the same time though, HTC would have cannibalized their entire line-up/sales inbetween. Plus there was the issue of giving an allowance for symbiosis between the hardware, the market and the Android platform to come to fruition.

Now we have the D'HD, why? Because the other OEM's, Gingerbread, dual cores and GPU's are on the horizon.

The next 3-9 months will be beautiful.
[Desire HD Q&A, Help & Troubleshooting] dazultra2000:
I like the optimism and brand patriotism in that post. But unfortunately due to the amount of sheep who see the iPhone as the be-all and end-all of mobile technology, the platform if used to it's full potential still wouldn't have been able to take away a decent enough chunk of the iPhone sales.

The main reason is marketing. Apple have an army of marketing geniuses, with a bank balance to replace the ocean with. Coupled with the "elitist" angle that apple have, people have, do, and will continue to buy them because they don't know any better. If anyone saw the HTC Evo vs iPhone 4 video, you'll know what I mean - because it's the unfortunate truth.

When the HD2 came out, HTC were still relatively unheard of in the grand scheme of things. The Desire is what bought them into the open (at least in the UK anyway, despite a good marketing effort with the Hero).

The sad reality of it all, is that HTC could cram a 2GHz dual-core CPU, 3D screen, 2GB RAM, 64GB high-speed flash and a 720p display, all running on Honeycomb into a phone the size of an HD Mini, and people would still go for the Apple phone because it's Apple.

If the original iPhone was released today - I still reckon it would outsell most other smartphones in the public sector.

I still chuckle to myself when the iPhone came out without MMS, and then Apple did something revolutionary and put MMS into a software update, and the world was alight with joy and praise!

Yet I'd had MMS on my SonyEricsson T68i a clear 6 years prior!
[Desire HD Q&A, Help & Troubleshooting] Smartmob:
I had HD2...i sold it 2 month ago waiting for something like Desire HD...Now I'm waiting with my dummy in a pocket :D

Numbers are numbers. DHD is better in CPU,GPU,ROM,RAM,Camera,Video. OS is relative...depends who likes what. I prefer Android against WM 6.5... But, i would be almost perfect if they put SLCD and Aderno 220 in him...then there would be nothing better...but word "better" is relative...
[Desire HD Q&A, Help & Troubleshooting] Beards:
I still have my HD2 (and HD) and considered porting it to Android but in the end I opted to keep it running WM and popped for the Galaxy S.

The Galaxy S is a great phone with some beautiful features but I do miss my HTC branded phone.

At the time I considered the Desire but needed something slightly bigger and with more features and seeing as the Evo didn't come to the UK, as said instead I chose the Samsung.

Now the Desire HD is coming I've been looking close as to what it may give me over the Galaxy S.

Apart from it's slightly larger screen I can't find anything that will draw me away and that worries me.

As said, I miss HTC Hardware and Sense. The new line of Sense looks better but is it enough.........
[Desire HD Q&A, Help & Troubleshooting] LittleMerc:
I am currently using a HD2, and well, after 10 months of usage, WM6.5 is practically crap: Many essential softwares which are needed were not preinstalled; even messaging application was crap... Internet browser was as slow, most importantly no flash... Then here comes the Android running on SD card... But still sucks big time, although the developers really put a lot of effort in it, but the lag, freezes, and incomplete applications are all making me feel more and more disappointed... Until the 15th of September 2010, when HTC revealed both DHD and Desire Z, my hope was relighted... A proper Android OS on a 4.3" screen... This is what I needed for long... The first thing I did was to preorder it immediately without even hesitating... From here I believe many can see how much hope i gave up on HD2... The disappointment was utter... Well, now I am just counting down everyday to my DHD reaching me... 20 more days to go~
[Desire HD Q&A, Help & Troubleshooting] hoss_n2:
i think the devices with dualcore that will be releasing in the next few monthes make me keep my hd2 for now , desire hd is not a big improvement to upgrade to it
[Desire HD Q&A, Help & Troubleshooting] xspyda:
Having neither the HD2 or the Desire HD and wanting a slice of the Android pie having whet my appetite with a Desire, what would you suggest?

I can get an HD2 for around £220 - £250 from eBay and run with Android courtesy of the devs, or I can fork out £470 on a native Android handset that does not seem to offer a great deal (for my use at least) over the HD2.

decisions, decisions ...
[Desire HD Q&A, Help & Troubleshooting] Beards:
That's a toughy which only you can answer.....

Depends on how much you value some of the added benefits you can get with the dedicated Android.

I love my photography and although I have several cameras I still like to get the best out of whatever hardware is available.... That's one of the reasons I went for the Galaxy S over the Desire and now with the HD coming out.... well I'm still drawn to the Galaxy S.
[Desire HD Q&A, Help & Troubleshooting] xspyda:
Frankly I'm not sure what I would lose by going the HD2 route?

Likewise but having been spoiled by Nokia I have reached the conclusion that anyone who is serious about using their phone for halfway decent shots when on the go should steer well clear of HTC!

Trouble is, the competition might have the hardware but the operating system is very dated. I want the bells and whistles Android has to offer but the hardware is lacking on this platform.
[Desire HD Q&A, Help & Troubleshooting] Smartmob:
Android ported to HD2 will never be so smooth and good as Andoid on his original device. There will always be some little bugs and lags...and you'll never experience a true Android experiance... Better choose regular Desire than HD2 with Android... HD2 is made for WM
[Desire HD Q&A, Help & Troubleshooting] Beards:
Agreed... That was one of the main reasons why I went for the Galaxy S over the Desire. The GS takes and shoots simply outstanding shots & video.
[Desire HD Q&A, Help & Troubleshooting] squalllion1uk:
Maybe its just me but if you really want good pictures.....invest in a camera: s

The camera isn't fantastic but its decent and that's good enough the other features make up for it imo.
[Desire HD Q&A, Help & Troubleshooting] Beards:
I have plenty of good cameras but why carry them around with you all the time for daily casual shots when a good phone camera can achieve results which are very satisfactory.

I probably shoot using my cameras at the weekend or when away on holiday.... however, with the phone the camera gets used daily.

I have more shots of my granddaughter taken with the phone camera than I do with all of my dedicated cameras put together.

Technology on phone cameras has moved rapidly this past few years... why should we be limited and stay under the stigma of a phone camera can't take a decent shot.
[Desire HD Q&A, Help & Troubleshooting] Garrylufc:
Been running Desire Hd on my hd2 for a few days. No screen freezes nobugs couple of things don't work but hey, its a first attempt. Looks lovely, but will never give up on the greatest phone to grace my hand. Hd2 forever. :)
[Desire HD Q&A, Help & Troubleshooting] aenedor:
I have been running Desire HD on my HD2 this last few days thanks to the XDA Devs and it is very good.

Given this, I will not shell out the cash for the upgraded hardware of the Desire HD.

I will wait for the Desire HD2 (or whatever HTC choose to call it) :)
[Desire HD Q&A, Help & Troubleshooting] stickydonkey:
HD2 FTW

I love my HD2. Its very versatile. WinMo 6.5. Android 2.x. Ubuntu. Soon Meego. Probably Windows phone 7. All out of XDA of course. The fantastic devs here at XDA and others have made this phone the stuff of legends. I'm running the Desire HD ROM. When i get bored of it, i reboot and play with WinMo 6.5 ENERGIZED with the Energy roms from NRG, another LEGEND of note! When i get bored of that, i might like to play with Ubuntu and Meego when thats ported.... so many options, the adventure never ends...

Get yourself the Desire HD... and thats all you'll have... get the HD2 and enjoy the ride... :D
[Desire HD Q&A, Help & Troubleshooting] Kuimera:
I never seen so many layers of programing in a OS like WM 6.5, it's crazy...

The thing that I enjoy in Android is that when using it and it's Apps, it feels like its just one software, feels like apps really are integrated in the core...

It's hard to explain, but the people who are now using android port on their HD2 knows what I'm talking about...

regarding your question, I think you should wait a little longer m8, meanwhile use the android on your HD2 and test it out, you going to enjoy it.
[Desire HD Q&A, Help & Troubleshooting] paultje_007:
I still have my HD2 and if I had the money would like to have a DHD also.

If I had to give the HD2 up, to have only one phone. I'd give the DHD a chance.

Considering specs, the DHD is still better than the HD2.

- Camera - better

- Touch (feel of all aluminum) - better

- Storage - better

- OS - better? (Some prefer WinMo, I haven't played with android much so can't give a good review. I am very interested in Android though, Froyo seems one of the best Smartphone OS's with so many possibilities. And together with HTCSense.com the ability to erase your phone when it's stolen or lost, which happend to me twice!, is I think really great!)

- Connectivity - better (DHD also has DLNA, HD2 has no output besides simple BT, 3.5" and USB)

- Web - better (Eventhough this is software related, android has full flash webbrowsing)

So overall I think DHD is better than the HD2.

Still I am going to wait to purchase a new phone and replace my HD2.

Why?

Several reasons:

Windows Phone 7 OS and the new HD7 could bring new developments ánd because I think soon we will see real major hardware updates:

- Processors will be 1,5 to 2Ghz instead of 1.

- Videoquality will be better. We need better mobile videochips for better gaming experience!

- Screens will be better. Leaks suggest 3D screens, Amoled already excists, Stronger/Unbreakable glass (forgot the name, but it's definately a must since all the "my phone dropped out of my hands on the floor and shattered my glass, repair will be many dollars" stories I've seen and experienced myself on my HD2)

- Memory will be better. Specially RAM/ROM/Internal Storage will be more and more.

- Interaction will be better. Hopefully interaction with other device like TV's with DLNA like DHD has already and interaction with other mobiles, even with other OS's will become possible.

- Battery(life) will be better. Hopefully better batteries and energy saving software will come, together with technology like phone charging wireless via airwaves.

- Gadgets will be better. Like TV watching on the phone (DVB-T ?) and micro-beamers like Microvisions PicoP.

How long it will take for these smartphone upgrades will be just a matter of time.

But for now, my HD2 (with Artemis ROM, stock ROM sucks!!!!) performs pretty well for what I do with it:

Fine camera.

Showing of WinMo games to my Iphone (Bwhooo!) friends.

Playing Music.

Use it as a Navigator with TT7.

Watch movies on the go in XviD format using TCPMP.

Some webbrowsing and social networking with like Facebook and Twitter.

Its my agenda, notepad, clock and alarm!

And of course what it's meant to do: calling and texting.

So, 1 to 2 years later,,,better job,,,more money,,,better phones, and I will (sadly) renew my HD2 with a new one. And as an HTC fan, it will probably be another HTC!

Thanks for reading.

A dutch Vodafone HTC HD2 Artemis ROM fan!
[Desire HD Q&A, Help & Troubleshooting] noobdeagle:
this annoys me immensely and they are doing it again with that facetime BS, if i recall i could make a video call on my old SE w910i. and video calling was available back in 2003 across mobile networks! now apple come along with video calling only over wifi and its revolutionary WTF? apple is a fashion item now more than anything.

any way as for the HD2 id hold onto it if i still had mine now that its running android and more than likely a windows phone 7 build is on the way for it it seems to be the best handset, with free choice to os oh and there is a meego port comming to ! , if i can grab one cheap of ebay to go alongside my Desire HD i would.
[Desire HD Q&A, Help & Troubleshooting] Wuxz:
Im buying a Brand new phone.

Still undecided, HD2 or Desire HD?
[Desire HD Q&A, Help & Troubleshooting] wakers:
I had a HD2 and loved it but the desire HD after using it for 3-4 weeks imo is much better I ran android on my HD2 and while it is good its not as good as the DHD the desire is just smoother and not 1 issue or reset with the DHD no lag been really impressed :-)
[Desire HD Q&A, Help & Troubleshooting] nice33:
hi help me plz

hi all

I'm about to buy new smartphon & i'm confused with which OS will help me more coz i'm a doctor & i want the phon for the app medical book so is the android OS have these app free on line or not
[Desire HD Q&A, Help & Troubleshooting] jkolner:
I have both HD2 and a DHD - and regarding hardware i prefer the DHD.

But i still prefer the HD2 over all because of WinMo contra Android.

some one said in a previous that Andoride is more customize zable - i don't agree.

You can customize Winmo down to the smalleste detail.

Winmo 6.5.x is crap out of the box, but when you have customixed it to your likeing its just great.

But the greatest different is that all the great apps/widgets for Android costs money. You have to spend a considerable amount of monye on apps/widgets befor Android is the way i want it.

Co0kies HomeTab for WinMo is free, but apps like that costs money on Android.
[Desire HD Q&A, Help & Troubleshooting] Mafioso:
Excellent Post. Windows 6.5.x is quite a good operating system, not out of box though..you have to install custom ROMs and sense mods to fully exploit its potential and not to mention excellent battery in WinMo, I've heard all android big screen android phones like DHD or EVO, etc just suck when it comes to battery life...you can barely stretch a day with moderate usage..

The main problem however is no new development happening in WinMo 6.5...all the applications are moving to Android and WM 6.5 is going to die its slow death :( . If not for applications, i'd still prefer running WM 6.5 in HD2