Android :: How To Test App Shown On Market For All Screensizes?

Nov 12, 2009

We have uploaded a new version of our app where we added the following to the manifest: <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true" /> However, we are receiving complaints that users cannot find the app on the market using their HTC Tattoo and HTC Dragon phones. Any ideas what we are doing wrong, and is there a way for the developers to test if the app is visible on the market?

Android :: How to test app shown on Market for all screensizes?


Android :: Apps Not Shown In 2.1 Market?

Mar 21, 2010

I published several free and paid app in the Market. I recently get several complains from customers about not finding my app in the 2.1 Market. Even if they have bought them before, they can't find it in the market or their download list after updating to 2.1.

View 3 Replies View Related

Android : Deal With Multiple Screensizes + Dynamic Controls In Droid?

Apr 23, 2010

I am learning how to program on Android phone. However I am unsure how to make my application work for the different screen sizes and resolutions.

I read the tutorial on the android site and still unsure how to do it.

First I know there are different files so could make a layout for each of the sizes but my problem is most of the screen needs to be dynamically created so there would not be much to put in these files.

So I am not sure how to android to re size dynamic controls based on the screen size.

I have also read it is bad practice to make controls in anything but the xml file as it separates view logic and programming logic. However they never talk about if you need to make these controls dynamically what you should do.

So is there some other way to do it that is considered good practice?

Edit

I get this error when I try to run the switcher application.

[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: Error type 2
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: Error: Unable to connect to activity manager; is the system running?
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: usage: am [start|broadcast|instrument|profile]
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: am start [-D] INTENT
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: am broadcast INTENT
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: am instrument [-r] [-e <ARG_NAME> <ARG_VALUE>] [-p <PROF_FILE>]
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: [-w] <COMPONENT>
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: am profile <PROCESS> [start <PROF_FILE>|stop]
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: INTENT is described with:
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: [-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: [-c <CATEGORY> [-c <CATEGORY>] ...]
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: [-e|--es <EXTRA_KEY> <EXTRA_STRING_VALUE> ...]
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: [--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...]
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: [-e|--ei <EXTRA_KEY> <EXTRA_INT_VALUE> ...]
[2010-04-27 12:06:41 - ViewSwitcherTest] ActivityManager: [-n <COMPONENT>] [-f <FLAGS>] [<URI>]

To your question: It's dynamic because
the buttons in my example grow and
shrink depending on one of the 3
possibles sizes, because they use
scaled pixel (You probably know that
you don't have to deal with screen
sizes itself). So a scaled pixel
compared to a real a pixel has a size
of 0.75px, 1.0px or 1.5px. Android
automatically and dynamically adjusts
it to the actual size. So you don't
have to care about this in your code.

So if I use scaled pixels then I don't have to worry about different screen sizes?

At the moment I don't know an example
except in games where you have to deal
with "real" pixel. But if you want use
it, multiply it with the value of the
current density. This is your "ratio".
I don't have the example with the ball
anymore but I have another which uses
the same technics. You can run it on
different screen sizes and you will
see that the buttons will always fit
into the layout. You could use the
same technics for your intents. In
this example you can scroll with the
"Scrn" buttons from one view to
another of 4 views. (At the moment
they all have a black background so
you don't see that they are different
views). The "Enter" button exits the
test. It's an Eclipse project. You can
download

So if I want to deal with ratio then I use real pixels and not scaled pixels? What advantage does this give me?

will scaled pixels work with changing from portrait to landscape( ie will it fill up the new found space)?

Finally should I make the controls now through code or is there another way? As I said I am getting data from a webservice that must look like this

checkbox label label

It can be one record or 10,000 records I don't know so these have to be appended to something that is like a window panel( the controls in there get a scroll bar).

View 3 Replies View Related

Android :: How To Transfer Test Fixture File To Device From Unit Test Application?

Sep 24, 2010

I'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 Related

Android :: Error When Unit Test With Activity Instrumentation Test Cas­e 2?

Aug 23, 2009

I 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 Related

Android :: Getting Test Run Failed No Test Results?

Aug 11, 2010

I 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.

View 1 Replies View Related

Android :: Is It Unit Test Or An Integration Test?

Nov 9, 2010

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 Related

Motorola Droid X :: Touchscreen Test - Drawing Lines Test

Jul 15, 2010

One 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 Related

Missing Target Class To Test In Test Application?

Nov 10, 2011

I 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 Related

Android :: Android And Junit Reports Test Run Failed - No Test Results

Jul 16, 2010

I 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() ;

View 3 Replies View Related

Android :: CheckBox Test - (CheckBox) FindViewById (R.id.test) - Returns Null

Mar 17, 2009

why CheckBox is always null.

<CheckBox id="@+id/checkbox" android:layout_width="wrap_content" android:layout_height="wrap_content" />
code file-
package com.reblogr.reblogrclient;
public class Test extends Activity { /** Called when the activity is first created. */
public CheckBox checkbox;
@Override public void onCreate(Bundle savedInstanceState) { ....................

View 5 Replies View Related

Android :: XML Layout Not Shown / Way To Fix?

Apr 29, 2010

For any Android project that I create using Eclipse, I cannot see the preview of the XML layout that I define. It gives a message saying "Eclipse is loading framework information and Layout library from the SDK folder. XXX.xml will refresh automatically once the process is finished."

View 2 Replies View Related

Android :: Overlays On A Mapview Not Shown

Mar 1, 2010

I followed the instructions from the google hellomapview tutorial. I get a working mapview etc. But the two items that are added to the map are not shown. It seems they are there somewhere because tapping at the specified location shows the message that was added to the items.

Here is my source code. It should be very close to the google tutorial source code.

CODE:.............

View 2 Replies View Related

Android :: Don't Show Notification When App Shown

Aug 5, 2010

1/I don't want to notify user if this one is already running my app in foreground,is it possible before create nofification to check if my app is not in front? 2/if app is in background, is it possible to bring last state in front? I know that Os can destroy some Activity, but is it possible to restore last state, don't start a new Intent? because if i start a new Intent and i push back, old Intent appear it's not very beautiful to have 2 identical intent launch...............

View 2 Replies View Related

Android :: How To Get All System Notifications That Shown Now?

Sep 24, 2010

How can i get all the system notifications that are shown now?i want to write a program that can intercept the notifications that other apps notified.

View 2 Replies View Related

Android :: Software Keyboard Shown?

Jan 27, 2010

I need to do a very simple thing - find out if the software keyboard is shown. Is this possible in Android?

View 2 Replies View Related

Android :: How To Check Vertical Scroll Bar Is Shown?

Aug 20, 2010

I want to check if the vertical scrollbar is shown or not. I read the document and could not figure it out.

View 2 Replies View Related

Android :: Need Widget To Hide / Shown Own Number

Jun 13, 2010

Is there any widget to quickly toggle on/off sending the own number when calling somebody?

View 6 Replies View Related

General :: Safari On Android 4 Shown As Device On FB?

Mar 4, 2013

When i go to my security on Facebook and check the current sessions, sometimes it shows a device called safari on Android 4. Could this possibly be my nexus 7 tablet? But that usually is called Android for Android 4 as the device. Is there an impostor?

View 2 Replies View Related

Android :: No Back Keycode Event Generated While IME Shown?

Feb 8, 2010

If the BACK button is pressed when the soft keyboard is being displayed, no Back keycode event is generated (when it's not shown, and Back is pressed, then my View's onKeyDown()/onKeyUp() methods get called back).

Is this expected behaviour? I'm trying to catch when the IME is hidden upon BACK being pressed. I'm currently working around this in the endBatchEdit() method (I'm implementing BaseInputConnection).

View 9 Replies View Related

Android :: Uploaded Application Shown Without Inserted Picture

Jun 27, 2010

The application I have uploaded into my cellular device is shown without the pictures I have insert to it. While the APK runs without problems on emulator when installed on Motorola milestone picture and icon doesn't shown as they were on emulator.

Steps I have done in order to install:
- I have inserted the xxx.apk file into the device via usb
- I downloaded an apps installer via the Market
- I opened the app using the installer and instead of picture an white background appeared
when I opened the xxx.apk file using file system I found the pictures.

Note: even an application icon weren't appearing. Apparently the res library having problem to be bined to application.
- I might need to add something to my appliction manifest?
- I might need to change something on my device ? (I already made a change and enabled user's not Market application).

I also tried an example as shown in hello android book the same example worked perfectly on the emulator where on my android device (Motorola milestone) the picture and icon weren't shown. Please tell me what I might be doing wrong guys I need to apply my project back at uni (I was the only one in uni who did it on android and in my country most of pep don't even know what android is so getting help outside of forum's like this is not an option).

View 3 Replies View Related

Android :: Status Bar Customizations - Certain Icons No Longer Shown

Apr 1, 2010

I've seen this posted before however I'd really like to revisit it. In dealing with a small res device I would like to hide the status bar, my current solution has been to make it transparent and 'make a mess' of the framework and xml so that certain icons are no longer shown, for example the battery icon only shows a png when it's low, the ticker font is transparent etc. I'd much rather do this the proper way, via the source in android 2.1 So who has ideas for; Making the status bar hide when the launcher is open? not having the notification ticker at all? Disabling the status bar completely?

View 2 Replies View Related

Android :: Space In URL - Not Shown As Clickable Link In Email

Mar 29, 2010

It is perfectly legal for a URL to contain an embedded space in certain situations, such as in this example:
http://maps.google.com/maps?q=37.265632,+-122.2468(10:33 PM)&iwloc=A&hl=en.
But when this URL is pasted into the body of an email from Android code, it breaks at the space, rendering it useless as a clickable link. Is this a bug or a feature?

View 5 Replies View Related

Android :: Certain Labeled Items Not Shown In Gmail Inbox?

Apr 4, 2010

I feel silly asking this but can't figure it out. I use my gmail account specifically to get messages from a google groups boating forum. I have a work account w outlook and I use k-9 on my phone for that. I know that google doesn't have folders, but labels. I created a label 'xyz' for all email coming from that google group. My question is, how do I not have all these items show in my inbox?

In outlook, I can set up a rule that all email coming from abc@xyz.com goes into the xyz folder, and doesn't clutter my inbox. How do I do this in gmail. I have all my email messages showing that they belong to xyz label, so my rule is working, but I want them not showing in my inbox.

View 4 Replies View Related

Android :: Playing Multiple Sounds - Error Shown On Log

May 19, 2010

I'm playing some MediaPlayer instances at the same time (4 or 5) but sometimes when I try to start a new media player it doesn't work and an error is shown on the log:

E/AudioFlinger( 1073): no more track names availlable E/AudioTrack( 1073): AudioFlinger could not create track, status: -12 E/AudioSink( 1073): Unable to create audio track E/VorbisPlayer( 1073): mAudioSink open failed

It also happens when there're only 3 or 2 MediaPlayer playing at the same time. What does it mean this error? How can I workaround with it? Actually checking the isPlaying() after the start() call does not seem very helpful as every call returns true. I've to say that every MediaPlayer is created once via MediaPlayer.create.

View 5 Replies View Related

Android :: Spinner Shown On Screen By Pressing A Button / How To Fix?

Oct 18, 2010

Has anyone seen a a onItemSelected not being called when using a spinner inside a listviewActivity. I have the code below Inside a listViewActivity. The spinner is shown on screen by pressing a button (not the spinner) which in turn calls performClick() on the spinner. When I select an item from the spinner the onItemSelected function is not called. Does anyone know why this might be? Code...

View 5 Replies View Related

Android :: Move Layouts Up When Soft Keyboard Shown?

Dec 27, 2009

I have a few elements in a RelativeView with the align bottom attribute set, when the soft keyboard comes up the elements are hidden by the soft keyboard. I would like them to move up so that if there is enough screen space they are shown above the keyboard, or to make the section above the keyboard scrollable so the user can still see the elements.

View 1 Replies View Related

Android :: How I Can Align - Edit Text / Hint Is Not Shown

Nov 10, 2010

In my app i am using edit text. i am specifying hint as well as aligning the text of the edit text using the gravity tag. if i align the text then hint is not shown but if i remove the gravity tag for aligning text then it shows.

please help as to how i can align text as well as show hint..

View 6 Replies View Related

Android :: How To Build Errors Like That Shown In Androffice Screenshots

Jul 26, 2010

Anyone knows how to build errors like that shown in Androffice screenshots on AppBrain (http://www.appbrain.com/app/android.androffice)?

I think that I saw errors like that before. Is that built in Android SDK?

View 2 Replies View Related

Android :: Development On Ubuntu - Device Is Shown As Offline

May 9, 2009

I have a problem when trying to see use the Android for development on Ubuntu. The device is shown as offline. Although it detects the device.

when I type % adb devices List of devices attached HT845GZ50600 offline

I am using: Ubuntu 9.04 (Jaunty)

Few things I tried:

1. I have changed the 50-android.rules file and reloaded the udev. [ as suggested by docs] 2. 51-android.rules ( if there was another 50 then this would have worked) and it worked for some users [ diff thread in the forum] .

2. I also killed adb server and restarted it.

3. It works on Windows, but I want to develop on Ubuntu ( and curious why it doesnt work).

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved