Android :: Getting Differences Between WVGA800 And WVGA854 In Android Emulator
Apr 15, 2010
I just have one XML layout file, and one drawable directory, drawable-hdpi. I first want to target the high density screens. I added a bunch of imagebuttons to a relativelayout and everything looks perfect in the WVGA800 emulator. The problem arises when I view it in the WVGA854 emulator. Not only do the imagebuttons not position the same, but the images are blurry. I used dip for the layout margins on the imagebuttons even though it shouldn't matter in this case because WVGA800 and 854 are both high density. What is the problem? Why would it look totally different on emulators that have the same density and almost have the same exact screen dimensions?
View 1 Replies
Oct 9, 2009
How do I run the emulator with WVGA854 skin so I get a 1-1 mapping of device to screen pixels? The WVGA854/layout file has "width 480 height 854" but when I run the emulator, I get these values for DeviceMetrics: density = 1.5 densityDpi = 240 scaledDensity = 1.5 heightPixels = 569 widthPixels = 320 xdpi = 240.0 ydpi = 240.0 I'd like to run the emulator so that I see heightPixels/widthPixels values of 854/480 in the code. I tried playing with the -dpi-device option but doesn't seem to help.
View 3 Replies
View Related
Dec 28, 2009
I've written a simple widget application based on the wikitionary code. When run on an wvga854 emulator, the widget view does *not* update after a call to...
View 6 Replies
View Related
Feb 15, 2010
I have created the launcher icon(48x48 px) for 320x480 screen resolution and it's working fine. but while using same icon in WVGA854(480x854 px) it's displaying small compare to other default launcher icon. i want to know, what is the size of High Density WVGA854 launcher icon?
View 1 Replies
View Related
Apr 7, 2010
Basically, I am looking at two phones right now. The Nexus One and the HTC Incredible and I like both, the question I have is that is there a difference in the ability to root/rom these phones? I saw a few posts of people saying the Incredible would have a locked /system folder that would not allow the sort of modding freedom the Nexus One would provide. Is this true or would the phones be equally moddable (so I could remove Sense UI and play around with Cyanogen and other goodies)?
View 6 Replies
View Related
Jun 8, 2009
I find that the UI "Enable GPS satellites" is used to enable receiving GPS data, but not to start GPS. Which UI is used to start GPS? I am not clearly understand why android to designed GPS so. If GPS is not started, then you can't use "Enable GPS satellites" to receive any data and it is useless. I think that if the UI "Enable GPS satellites" is used to start GPS and also run the GPS thread is better? What is the trigger to start GPS?
View 3 Replies
View Related
Dec 7, 2009
Is there a basic guide to the main differences between versions of the Android OS?I am using a 1.6 Magic, am buying a 1.5 T-Mobile Pulse for my son and looking at a 1.6 Hero for myself early next year. I wanted to see what the differences were between 1.5 -> 1.6 -> 2.0.I assume that I have to wait for network operators to provide updated operating systems? Can the Pulse be upgraded at all? Is the Hero getting/got version 2.0?
View 2 Replies
View Related
Mar 16, 2010
The Eclipse build for my 1.6 application project is succeeding and the Ant build is failing. I'm looking for help on why they aren't behaving the same way.
We are developing on Mac OSX 10.5.8 with Eclipse 3.5 against SDK 1.6 + Google APIs. There are no setting changes in Eclipse, either at workspace or project level. Similarly, our ant is also a vanilla-flavored unmodified installation of 1.7.1. JDK is 1.5.0_22. The CLASSPATH environment variable is not set. JAVA_HOME is /Library/Java/Home
The application was initially created by a team member using the Eclipse plugins. The application references two jar files, one of which has a dependency on javax.xml.bind.annotation.XmlSeeAlso, which is not defined anywhere in our code or in android.jar. The other jar file has an explicit dependency on android.jar. I generated the Ant build file using android update.
The Eclipse project builds an apk and runs the application in the emulator. I think this is incorrect behavior.
The Android ant project fails to build. I think this is correct behavior. MyClass.java:98: cannot access javax.xml.bind.annotation.XmlSeeAlso [javac] file javax/xml/bind/annotation/XmlSeeAlso.class not found
Why the two build methods are behaving differently? I would expect them both to fail.
View 2 Replies
View Related
May 23, 2009
I was searching the internet but could not find a site comparing the two. I'm interested in developing for the android platform. G1 seems to be just the same as ADP1, but is there any small changes that will be noticeable in development?How about 3rd party software? What T-Mobile software exists in G1 which is not part of the ADP1 bundle and vice versa?Can I swap the original ADP1 firmware with T-Mobile branded one? As I understand people can already hack the G1 to run ADP1's non-branded firmware.
View 4 Replies
View Related
Nov 10, 2010
Wondering what the differences between REST and JSON APIs are, how you interface with them, and how to go about parsing the results. My goal is to build a small application for my android phone to tell me when the next train will get to the subway station by my house, using the developer API provided by the transit agency.
I'm learning C++ in university, but hope to go about this in Java. I'm sorry if this is more of a discussion question rather than a black and white answer question, but I can't find any information elsewhere.
View 2 Replies
View Related
Mar 9, 2010
Does anyone know if the Nexus One that Google is sending developers as part of the Device Seeding Program is different from the ones people get when they order them from Google's website?
Different packaging? Different firmware? Different pattern on the case?
View 10 Replies
View Related
Feb 4, 2010
I have a Nokia E71 (Symbian S60 v3) and am considering moving to either a Nokia N97 mini (Symbian S60 v5) or to Android, probably a Motorola Milestone/Droid.
What are the main differences between the two systems?
My priorities are a good battery life, a good push email system via imap idle, good PIM and sync to google calendar and maybe RememberTheMilk for tasks. I don't care about facebook, myspace, etc
I also like to organize my contacts into groups and I understand Android is better for this.
I know these discussions can degenerate into flames or some sort of "religion wars" (e.g. Windows vs Linux) but I'm only really interested in an honest comparison between the two systems. Much to my surprise, I could find very little on the web.
View 18 Replies
View Related
Oct 11, 2010
I'm working on my own Hexagonal button which works in JAVA.
I was studying Android Button.java:
CODE:.........................
View 11 Replies
View Related
Jul 24, 2010
I meant objective-c, not c#. Some reason I got it into my head it was c# the iphone used. So the answers for c# were great, thanks, but theyre a bit irrelevant, sorry about that.
I've had a look but can't find anything that answers this, though a few have shortened the question by answering parts of it. Between a small group, we were planning on doing some work on iPhone and Android, the 2 seperate for the most part but helping each other out, and with some guys doing graphics work split between them.
But we were thinking about the possibilities of moving things between the two, not necessarily apps, maybe just useful classes or something. Looking at objective-c and Java, they seem to have about the same features that the biggest obstacle would be system interface stuff, so we were wondering whether, if we created an abstraction over these on each system so they could be given the same input (which unless I'm wrong wouldn't put too much strain on the system?), would there be any problems in writing something to convert between objective-c and Java, worse than the locations of methods in the sdks? Or are there key features or something in one language that the other doesn't have which we've missed that would mean the only way to do it would be rewriting from scratch.
View 8 Replies
View Related
Aug 2, 2010
I'm currently playing around with 2D graphics in android and have been using a plain old SurfaceView to draw Drawables and Bitmaps to the screen. This has been working alright, but there's a little stutter in the sprite movement, and I'm wondering the feasibility to do a real time (but not terrible fast) game with this.
I know GLSurfaceView exists which uses OpenGL, but I'm curious as to the extent to which this makes a difference. Is a plain SurfaceView hardware accelerated, or do I need to use OpenGL? What type of speed difference could I expect from switching to OpenGL, and how much altering of code would it require to switch (the game logic is all in a separate object that provides an ordered array of drawables to the SurfaceView)?
View 1 Replies
View Related
Sep 13, 2010
I thought this was a pretty funny comic showing the differences between android and iphone...Enjoy1
http://www.icantdrawfeet.com/2010/08/02/android-vs-iphone/
View 3 Replies
View Related
Sep 9, 2010
I noticed that the keypress handling ('onKeyUp' etc) in the SDK LunarLander example is in the View class, whereas in the JetBoy example it is in the Activity class. Are there any advantages/disadvantages to either solution? My own thoughts would be that it would be nicer to put all input handling (Key, Click & Touch) into the Activity, as that doesn't do much.
View 1 Replies
View Related
Aug 6, 2010
I created a sqlite database to store playlists for a media player I am developing because of extended feature (rather than using the Content Provider). It works perfectly on the 1.6 emulator but FCs on anything higher than 2.0... what has changed that I need to know about as far as opening databases in SDK 2.0+? Here is the logcat.
CODE:.............
Here is the dbhelper class
CODE:................
why can't stackoverflow just use tags like a normal syntax highlighter.
View 2 Replies
View Related
May 19, 2009
Unable to play youtube videos on SDK 1.5 emulator - but playing well on SDK 1.0 emulator. Can you update the source....
View 7 Replies
View Related
Apr 13, 2010
Finally strace gave me this:
CODE:................
And several other attempts to call "link" that also fail (sshfs does not support hard links).
Is it possible to change the emulator's behavior to create lock files somewhere in /tmp (using some hash of image path as lock file name)? I am OK to try this myself: which repositories from https://android.git.kernel.org/ are necessary to rebuild the emulator alone, and where in the sources is the code responsible for image locks?
View 4 Replies
View Related
Apr 20, 2009
I need to run several emulator instances to test my application. When i try to run instances using emulator -data <path> option, the emulator crashes.
I got a MS Visual Studio window informing that emulator throws a "unhandled win32 exception".
The exception message in the debugger (MS Visual Studio 2008) is: "Unhandled exception at 0x77c4706c in emulator.exe: 0xC0000005: Access violation reading location 0x03216848"
The emulator runs normally without "-data" option.
View 2 Replies
View Related
Nov 1, 2010
I am getting the following error when I try running my program in the emulator:
emulator: ERROR: the user data image is used by another emulator. aborting`
View 1 Replies
View Related
Apr 8, 2009
Is there a way to reload an Android application in the emulator without closing the emulator, saving any code changes, and running the emulator again? If I make even a simple change to the layout, it takes about 30 seconds by time I run it in Eclipse and Android "boots", and I can unlock the emulator to run the application. Is there any way to shorten this time when making changes, or is it something I just have to deal with?
View 3 Replies
View Related
Mar 16, 2010
I downloaded the most recent version of Android for linux (android-sdk_r05-linux_86.tgz). I was trying to use the the Android Ant task(s) for packaging, building, and deploying my code. I should mention that I'm running AMD64, but have the 32-bit libraries installed. The Android Ant tasks are all broken.
First, the start-emulator task never gets the emulator running. It does get past starting adb, but then just sits there.
Second, the SDK is missing the aapt binary in the tools directory. So, the example notepad sample application will not even package correctly.
I have all the dependencies configured for Android. I can run it from the command line just fine.I assume the Ant code is out of sync with the recent SDK updates. Can anyone shed some light on this problem? At this point, I'm considering writing my own Python scripts to interact with the Android SDK. Ugh.
View 1 Replies
View Related
Jun 10, 2010
I literally just got hold of my Desire - and i wouldn't mind rooting it, i have all the kit to do so.
My build version is 1.1561.10.10 CL1551070 - so my question here is where can I find the latest Generic HTC ROM to root my Desire to?
I'm currently on the Orange UK branded, though i'm aware there's no backup ROM for orange as of yet i still want to go through with the generic root. I got the guide and what not.
Just need the latest Generic ROM!
View 1 Replies
View Related
May 21, 2010
I was lucky enough to find an evo from the google i/o convention for 450 plus 20 bucks for overnight shipping on ebay. I had to pay full price any ways at BB or RS due to getting palm pre in december (I cant wait to destory this horrible hardware) so it will be cheaper than the 450 plus tax i would have paid on june 4th. however will there be any differences between this version and the ones that go on sale June 4th?
View 9 Replies
View Related
Oct 27, 2010
Just picked my wife up a new Ally yesterday,and it came with software version VS740ZV8. Mine recieved the OTA update a few weeks back to the VS740ZVB version. I noticed that her phone does NOT have the City ID and other Verizon bloatware that mine did after the ZVB update. Is this a version that was right before the OTA update? I did notice that is has MUCH more memory free, and seems to be really responsive compared to the way mine was when I first got it. I'm gonna give it a week or two before I root it and flash the new JIT kernel on it incase there are any problems, but wonder if I should allow an OTA update before then and remove the offensive software if this is indeed the version that was before the ZVB update.
View 6 Replies
View Related
May 7, 2010
If I use my HTC Desire for Google Navigation in the car, with the phone plugged into a USB power adaptor for the cigarette lighter socket with the cable that was supplied with the phone, the battery still runs down.A dialogue pops up when the battery is getting low saying words to the effect that the phone is using more power than is coming in via the charging cable.I notice that the phone distinguishes between being charged on AC and being charged by USB. In Settings->About Phone->Battery it says, "Charging (USB)" or "Charging (AC)". I believe that charging from a PC USB socket is limited to <500ma by the USB spec. I guess the phone knows that it can draw more current when connected to the AC charger.The supplied AC charger must have some way to tell the phone that it is connected. Perhaps it communicates with the phone via the USB data lines, or something simpler like the data lines being shorted together?The USB power adaptor I have in my car can source 1A. If I can work out how to convince the phone to switch to "Charging (AC)" mode then perhaps it can do Google Navigation and charge the battery at the same time?
View 49 Replies
View Related
May 30, 2010
Besides the speed of the processor, what are the big differences in the Incredible and the Eris?
View 9 Replies
View Related
Aug 6, 2010
My wife and I recently purchased 2 Droid X's. My phone has no 3G reception in our house while my wife's has full 3G bars at our house. Speed Test shows a 10:1 difference.When going to a different location such as at a certain restaurant, I have full 3G reception on my phone but my wife's phone only has 2 bars for 3G.What would be the technical explanation for this phenomenon?
View 5 Replies
View Related