Android :: Screen Looks Great On Test AVD But Small On Phone
May 17, 2010I am new to android development. Why is it that the screen looks great on a test avd but when I deploy the app to my Droid everything is off and really small?
View 3 RepliesI am new to android development. Why is it that the screen looks great on a test avd but when I deploy the app to my Droid everything is off and really small?
View 3 RepliesFirst off, sorry if this is too subjective, I just didnt know how else/where to ask.Anyway, in the light of all my recent questions, I'm getting ready to release an Android app soon, and most of the testing has been done on my phone, the Droid. I really dont have the money to test on "multiple" devices, nor do I know anyone with an older phone that I could ask for help that would possibly get any kind of bug. Not to mention, when I do get a bug report, how would I go about fixing it for that particular phone without having to buy it to make sure it actually gets fixed, or that the person didnt just came across a one-time freakish accident of a glitch?
View 4 Replies View RelatedAnyone know the codes for the screen,vibration ect ect test for the SGS, I remember seeing it was posted somewhere.. A single service code that provides these tests.
View 3 Replies View RelatedI'm building a game with graphic assets in hdpi resolutions (hence I put the files in drawable-hdpi directory). I don't want to have a corresponding mdpi resolution of the images, and I will code everything in 240-dpi based pixel coordinates.
Is it possible to still allow mdpi and ldpi devices to run the application, by automatically scaling the graphics from the hdpi version? Optimize for high-dpi devices only but still support (small- and) medium-dpi screens.
I am trying to detect if the screen size is normal, large or small. I am using
Configuration conf =view.getResources().getConfiguration();
(conf.screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK) == Configuration.SCREENLAYOUT_SIZE_NORMAL
When testing with the emulator this works for screen sizes normal and small, but large (480x800 & 480x854) returns that it is normal...
I have found very little information on using the configuration to detect the group, has anyone got any experience with this?
I just received my new Zopo ZP300+ Android phone with Android 4.0. When I downloaded a flip clock app from the Apps Store at Google Play it arrived on my screen so small I can hardly see it. This did not happen on my previous Androind phone by LG. How do I get the clock to show at the correct size?
View 2 Replies View RelatedA small triangle appeared today above the signal strength bars.
View 10 Replies View RelatedStarted lastnight and AT&T doesn't seem to know what's up. I was fooling around with the AT&T Nav and the Google Nav when it happned. Not that I haven't mess with them before but I found it strange. Also got a small screen that popped up once when I went into applications saying Sim on/off with the choices to click ok or cancel. I'm baffled. Any help would be appreciated. Might just walk into AT&T for a replacement...
View 1 Replies View RelatedI upgraded (through tmobile) from a G1 (which I had since launch date, and loved until it just became too slow and all support ended) three weeks ago. I went to the tmobile store, and checked out the options. I LOVED the Vibrant, but I had some concerns over it's apparent "flimsieness"... the sales rep assured me that it only felt breakable, and that the Gorilla Glass screen and other features of the construction made it just as durable as all other phones. So, I got it.
I love it, still.
Thing is, last night, I picked it up off my desk, and it would not unlock. When I looked closer, I could see a small crack running under the screen. The phone has never been dropped, never been hit with any impact... nothing. It has never been out of my possession, never been water damaged... nothing. But, now, it has this cracked screen and won't unlock, won't do anything. Plus, now this morning it is showing a completely pink screen.
Of course, I know these (and all tiny little smartphones) are fragile. I have insurance for that very reason. If I break my phone, I am more than willing to pay the $130 through insurance to replace it. But, I do not feel like I (or anyone else, for that matter) broke this thing. The most impact it has had on the screen is button use on the touchscreen. If this thing is going to do this as a result of normal (actually, probably lighter-than-normal) use, I feel like it is insane for tmobile to expect me to pay for the claim. I do not think it is reasonable to ask a customer to pay $130 for a new phone 3 weeks into owning it, when it has not been damaged due to any human error or damage.
I had a Ghost Armor protector on it, and it was in a plastic protective shell, and it shows NO signs of damage beyond the messed up screen. I feel like that, coupled with the GPS thing (the awesome GPS was the second main selling point the sales rep spouted, after the Gorilla Glass screen!) and the fact that tmobile inexplicably removed my unlimited text option ("accidentally" according to them), should mean something to someone.
So, any ideas for options here? Is there ANY chance that I can tmobile's warranty people to regard this as a warranty issue and not an insurance issue? I do not want to be $400 into a new phone after just 3 weeks, especially with no solid GPS, no Froyo, and the other issues. I have been with tmobile for 5 years, and always justified it by their good customer service; so how can i get that customer care to work for ME now?
I just noticed this chip/scratch on my screen. It wasn't there yesterday. And nothing happened to my phone, so it's puzzling as to where it came from.
Especially since nothing "happened", I thought the screen was nearly impossible to scratch? Or in this case it's a bit chipped, so that may be the answer. Anyways, here's the picture.
http://img831.imageshack.us/img831/4163/sdc13572.jpg
does anyone notice that there small dots on the front of the screen when you hold in the sunlight and looks like a matte pattern it covers the whole screen. U can only see it when u tilt it up towards the light... anyone else seeing this? It may just be the oled screen not sure tho
View 11 Replies View RelatedWhy any video (MP4) that i transfer from my pc to my Sony Ericsson xperia x10 only plays back in a very small screen, do i have to convert them first for them to play fullscreen ?
View 5 Replies View RelatedMy new X10 has got lots of small scratches on it, its my own fault! have dropped it once and not got a case for it yet, is there any way of buffing the scratches out? I can get a new screen (about 50 off ebay) but dont really want to spend money on a new screen if i can help it.
View 1 Replies View RelatedI'm writing an Android JUnit test and want to copy/reset a test fixture file (it's an SQLite database file.) If I were within the main application, I know I could just place the file in the assets directory and use getResources().getAssets().open(sourceFile).However, this API appears to be unavailable from the ActivityInstrumentationTestCase2 class.Is there an easy way to copy a file over from the testing PC, or should I just keep a fresh copy of a test fixture on the device and copy it over a temporary file?
View 2 Replies View RelatedThis was asked in the Droid forum, but I suppose people without physical kb don't go there so I might ask this here as well.. Does anyone know an app which lets you test your typing speed with the on screen keyboard?
View 1 Replies View RelatedI am using ActivityInstrumentationTestCase2 to do some test for an activity. I get a button in the setUp() method like this: protected void setUp() throws Exception {super.setUp(); act = getActivity(); btn = Button)act.find ViewById ( R.id.bike_button ); // this button has been defined in layout} Then I use this button to perform a click in a test method like this: public void testBikeButton(){ //click the bike button btn.performClick();}
View 7 Replies View RelatedIs it just me or does the call screen (what displays when there is an incoming/active/ended call) look like crap? Ugly colors, minimal layout, contact picture too small, etc... So many other features on the phone are so polished, it just seems odd that the call screen would look so unfinished - it's almost looks like a development placeholder that they never got around to updating.
View 2 Replies View RelatedI need to store data to use in my android program. Here are the details about the data: There will be one table. Each "row" of data will have a unique INT identifier. Other then that field, there will be four other INT fields and a text field. The string field will probably be a 2 or 3 sentences long. Each of the 4 INT fields will correspond to the ID of other rows.
View 2 Replies View RelatedI have never used JUnit before, and now I'm trying to set it up on an Android project.My project under test is fairly complex, including some JNI, but my test project, at the moment, is completely trivial. I have found many examples (that look totally different) online of how to make a test project, but it seems that no matter which one I follow, I get the same results.Here's my JUnit project code:package com.mycompany.myproject.test;
import android.test.AndroidTestCase;public class SimpleTestCaseExample extends Android TestCase {public void test_testOne() {fail("Just Always Fail");When I run, I see the following in Logcat:
stdout INSTRUMENTATION_STATUS: numtests=2
stdout INSTRUMENTATION_STATUS: test=test_testOne
stdout INSTRUMENTATION_STATUS_CODE: 0
stdout INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
stdout INSTRUMENTATION_STATUS: current=2
stdout INSTRUMENTATION_STATUS: class=com.mycompany.myproject.test.SimpleTestCaseExample
stdout INSTRUMENTATION_STATUS: stream=
stdout INSTRUMENTATION_STATUS: numtests=2
stdout INSTRUMENTATION_STATUS: test=testAndroidTestCaseSetupProperly
stdout INSTRUMENTATION_STATUS_CODE: 1
stdout INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
stdout INSTRUMENTATION_STATUS: current=2
stdout INSTRUMENTATION_STATUS: class=com.mycompany.myproject.test.SimpleTestCaseExample
stdout INSTRUMENTATION_STATUS: stream=.
stdout INSTRUMENTATION_STATUS: numtests=2
stdout INSTRUMENTATION_STATUS: test=testAndroidTestCaseSetupProperly
stdout INSTRUMENTATION_STATUS_CODE: 0
stdout INSTRUMENTATION_RESULT: stream=
stdout Test results for InstrumentationTestRunner=..
stdout Time: 0.07
stdout OK (2 tests)
stdout INSTRUMENTATION_CODE: -1
But, I get the following in the Console:Launching instrumentation android.test. Instrumentation TestRunner on device emulator-5554 Collecting test information Test run failed: No test results I have tried a variety of different things, messing with the basic TestCase class, or the TestSuite class, or a variety of other options. I tried to just go for the most trivial example because I'm really still trying to learn how this works.Whatever I try, I see this error.
I'm working on a school project and I'm researching testing possibilities for Android applications. On this page: http: // developer . android . com/ resources / tutorials /testing /hello android. Google writes about a unit test. Is this really a unit test? A Unit test will not integrate all classes and will not test in his context. So my opinion is it is not a Unit Test but an Integration Test.
View 7 Replies View RelatedHas anyone performed one of these ala the nexus one and droid?
I want to know if its necessary to buy a screen protector for the long run Right now the screen is void of scratches and I've been sliding it in and out of my pocket for 4 days now and smudges come off very easily.
So anyone perform a test or have any scratching issues?
I'm struggling with contacts in the phonebook modified by code, I noticed the lack of the small icon that identifies the type of account (e.g. google), despite the contact is perfectly synchronized with google (ACCOUNT_NAME and ACCOUNT_TYPE are populated of course)
In attach an example of this icon taken from contacts synchronized with google icon present (not modified via code). Which property controls his icon ?
How can i write small information while i'm talking to someone on the phone?
View 3 Replies View RelatedOne more video about the fancy touchscreen of the Droid X. This one has happier results! Check it out at the link below.Droid X Touchscreen Test See you later. you'll know why this post is short when you read the blog. running downstairs!
View 5 Replies View RelatedIs there a way to bring a test screen up to see the db's on signal.
View 3 Replies View RelatedI have a project (that compiles and runs in the emulator.) I have a test project that tests part of this project. This test project also compiles with no problems, but when I try to run (test) it in the emulator, I get a NoClassDefFoundError exception on one of the classes my test class tests (I hope that made sense!) when it starts to run in the emulator. This is coming out of the adb log. I looked in the bin directory (of the test project) for the missing class, but could not find it... Should it be there? I found no reference (apk, etc) of the project I am trying to test either in the test projects bin directory. How does the test project get the classes it needs to test against (in the classpath, I assume.) How do the tested classes get moved to the emulator? I did try running the app before testing, so I know it is installed and runs correctly. BTW, I am using netbeans with the nbandroid plugin.
View 1 Replies View RelatedI plan to submit an app for the ADC II. I wanted to know if it is required that I test my app on the Andoird Dev Phone? If it runs on the emulator is it safe to assume that it runs on an actual phone? The phone is pretty costly and will be useless for me after the contest. Is there a place I can rent the Dev phone?
View 7 Replies View RelatedWhere do I copy the apk file on the Motorola Droid? Which directory? Are there any possible issues I need to be careful of, it's also my personal phone.
View 3 Replies View RelatedSo I did a water test on my Moto G the other day because it's supposed to be "water resistant." It survived the first day of the water test, but the next day, the touch screen isn't working.
View 5 Replies View RelatedI am unable to integrate Junit with Android. I am using Junit 3, I have also tried Junit4.
package* com.android.test;
import* com.android.MyActivity;
import* android.app.Activity; *
import* android.test.ActivityInstrumentationTestCase2;
public* *class* TestMyView *extends *
ActivityInstrumentationTestCase2<MyActivity> {
Activity myActivity ;
*public* TestMyView(String pkg, Class<MyActivity> activityClass) {
*super*(pkg, activityClass);
myActivity = getActivity() ;