Android : How To Decide Which Package Suitable For Testing App?
Jan 12, 2010I need to know how to decide which package is best suitable for testing my app. Some info is provided in this link..
View 3 RepliesI need to know how to decide which package is best suitable for testing my app. Some info is provided in this link..
View 3 RepliesI'm developing an Android application.I have a package to access SQLite3. It isn't a ContentProvider. How can I test the package's classes using JUnit?
View 1 Replies View RelatedI wrote a simplest test based on android.test.ActivityInstrumentationTestCase2.
CODE:..............
I am planning to buy a High End phone. Though my Basic requirement is mostly Emailing, IM and Web Browsing. My prime concern is whenever I visit a website the viewing has to be clear and comfortably big. So I am looking out for a phone with a decent screen. Now I have shortlisted two phones the Nokia N900 and the Samsung Galaxy S-i9000. I know that the SGS comes with an Amoled Screen, which supports 16 Million colors but frankly speaking a lot of people have been saying this to me besides the big, vibrant screen the SGS offers there is nothing special about it. Still running Android 2.1. Ok Offers Multi-touch screen, Pinch to Zoom ease and all. But frankly it cannot be the only deciding factor atleast not for me. Android Apps have reached to a staggering number but while everyone is happy about the numbers a lot remains to be desired on how much of those Apps are really useful. Though Multi-Tasking is also there on the SGS, the quality and the experience is Horrible is what I have heard from initial feedback, it keeps killing most of the apps in the background when you run a website on it.
View 33 Replies View RelatedWe are designing an internal system that will have a .NET PC base station and many Android mobiles, communicating over WiFi. Can't decide between SOAP or XML-RPC protocol. Primary concerns are maturity, compatibility, and the minimizing of coding/integration, in that order. Which is best?
View 1 Replies View Relatedin HTC Sense, we can choose widgets of different size after tapping a single entry in the widget list. Is this also possible in pure Android Framework? I have tried to modify the widget's size in the configure Activity, but failed.
View 2 Replies View RelatedI have a standard HTC Eris travel AC charge that I bought. Worked awesome. Charged Phone nice and fast. When I would plug it in. The battery widget would show a little plug.
Now when I attempt to plug the phone in. It thinks its charging by usb. Taking the phone off charge and replugging it in. It tells me its now charging by ac. If i touch the phone a tiny bit it will stop charging. Touch the wire and it begins to charge again. Only as usb. When its clearly plugged into the ac charger.
If i plug the phone into my car charger it say ac. I just dont get it.
Now when i left work. I attempted to tether the phone via pdanet. Now the phone wolnt go into usb debugging. Phone charges but computer wolnt recognize it.
Ive tried the usual. Power cycling both computer and phone. Tried restarting both computer and phone. As well as changed cords and chargers. All do the same thing. I fear maybe some of the contacts are bad on the phone.
I've been exploring the Android test package and I'm very confused on how to implement functional testing for endpoint-to-endpoint.
Consider the example below, I have 4 activities: 1. A Contact List Activity 2. A View Contact Activity 3. An Add/Edit Contact Activity 4. A Sync Contact List activity
I want to automate a few tests that will go through multiple test cases simulating a user experience: From launching the application, to selecting 'Add contact;' opening the add contact activity, entering data, saving it, going back to the list activity, and verifying the new contact was saved properly.
As I understand it, ActivityInstrumentationTestCase<T extends Activity> and ActivityUnitTestCase<T extends Activity>, are only useful for testing single activity functionality.
But what if I need to switch between 2 or more activities inside a single functional test case?
i work on custom Application Manager and try to get the disk usage of installed package. So PackageManager.getpackageSizeInfo was removed from SDK on 0.9->1.0 update android.content.pm. PackageStats(String pkgName)(cacheSize, codeSize, dataSize) returns always "0" Size of phys. file (java.io.File) in "/data/app" seems wrong/not completely. Has anybody any solution to get the total disc space used by an installed package?
View 4 Replies View RelatedWhat's a suitable html parser for Android?
View 2 Replies View RelatedWe're seeking advice for our application in the Android Market, in relation to nominating a suitable minimum SDK version for the APK files published through the market. We understand that at this juncture there's no facility to provide associate multiple APK files (supporting different minimum SDK versions) within a single listing in the Market.
We have updated our existing application with new Android 1.6 API features and are keen to release it to the Market. However we're concerned about the general availability (and uptake) of version 1.6 firmware and seeking to ensure that we don't inadvertently release an updated APK should there be limited release of this firmware.
Can anyone provide an indication as to how widely the 1.6 firmware has been released? To that end, what are generally acceptable practices for supporting multiple SDK versions from within the market?
I have a page on which i am displaying image from gallery then i have next page button to move to next activity on that button i am using clearBitmap(); to free memory used by it.
CODE:.............
which gives me error logcat
CODE:.....................
What I need is to perform some network operations in background inside a service. I want them to run in a service because, as pointed out in the "developing rest client application" talk from google io, I don't want to loose the result if the activity is brought in background. What sounds quite obvious is to use an Intent Service, and get the result as a broadcast. In this way I am sure the service will die and no consume any other resources when its done, but I need to convert the actions I want to perform to intents and back. Well, I was now wondering if it makes sense to bind to the service instead, at least for getting the result. And a more general question: is the bind mechanism suitable for one shot services, or it just make sense for persistent services? What happens if I call the startService method but the service is already active? Will it start another service, or will it call the onStartCommand of the same service? I am asking this because if I use "regular" non sticky service, it could happen that I need it to perform some action and I don't know if it is already active (and I don't want to have a queue of action waiting for onServiceConnected to be called.
View 7 Replies View RelatedI can see that I'm going to have to get an actual phone sooner than later, and for various reasons I'll need to get an "unlocked" version. As long as I'm laying out that many $$$, I might as well get one that I can use personally and shop some apps, etc.So would the Samsung Galaxy S be suitable for development work? I assume that a general unlocked version would have all the expected Android built-in apps and would not have restrictions on what apps can be installed and from what sources. Any comments on this device?(This also assumes that I can actually get one. The effects of that chip shortage that they've been talking about seems to be hitting the supply lines already.)
View 2 Replies View RelatedI'm attempting to override an Android View class to tweak the functionality just slightly. But I need to modify a field that does not have a setter method. I've placed the subclass in a package called android.widget. Why can't I access any of the package-private member fields? I notice that the compiler says they "cannot be resolved," rather than not being accessible. Does this have something to do with how Android.jar is built?
View 2 Replies View RelatedI'm making an android client for a web site. my app have to go through the website, parse HTML, post some forms, send HTTP requests etc. What library covering all this stuff you recommend me to use ?
View 2 Replies View RelatedCan I use DrawBitmap with display independent pixels on android?
If not, is there a suitable alternative?
I'm looking to buy a slightly bigger card for my hero, especially since apps2sd has stolen some of the space on my card now. This is the card I was thinking of going with, Play.com (UK) - Mobile - Free Delivery But since I've never purchased anything like this before, just wanted to check this is the right thing. It's listed as 'Micro SDHC Plus', but I take it that's just marketing spiel for plain old Micro SD rather than a different type of card?
View 19 Replies View RelatedI currently have an official orange HTC Hero running on official 2.1. No problems, I actually like it a lot but browsing this sections of the forums, I've seen that people have taken advantage of rooting so. Are there any ROMs that you would pick over the official 2.1 that don't:
Eat battery life
Cause glitches(that are very noticeable)
And can:
be updated to directly from official 2.1
If you have any guides or info or links that are in English, I'd appreciate it if you could show them to me. But the most important thing is whether it's worth it.
I'm not real savvy about the power situation for the Sprint Hero that I just bought. The OEM power source says that the input is standard 100-240V. The OEM output shows as 5V=1A. Now, I have other USB chargers (e.g., for my iPod). The input is the same (100-240V), but the output is:
Output: 5.0V=400mA. Can anyone tell me (a) whether this will HARM my Hero, and (b) whether this will effectively CHARGE my Hero? Also Connecting to my computer via the USB cable: does the charge take longer than if connected directly to a wall charger?
i have a Samsung galaxy s3 clone . it was bought from shop in china . dont know who actually made it .
i made its backup with mtkdroid root tools 2.3 but its corrupted.
i tried few roms and flashed it with wrong preloader and dsp_bl .. which gave me total brick .. no charging . no display. no detection by pc. after a lot of hit and trial i somehow unbricked it . now it has android 4.0.4 . but it has few problems.
1: Cameras are not working
2: Sim management is greyed out /disabled .. and no imei ..
3: No baseband ..
now since my own created backup is corrupt and this set is not branded so no real way of identifying it how can i find its factory rom ? from which information I can decide whether a ROM is compatible with my device?
all the details along with pics of my set are here ..
These were taken with stock ROM ..
Should I go with the 200MB DataPro or 2GB DataPlus plan? I want to get the 200mb plan but fear going over the limit. I will only browse a few site like sportscenter. Wont be updating status' cause I don't have a facebook. Was wondering if I just do everything that consumes major data at home, which has WiFi I should be good right? On a second note how much data does using GPS every once in awhile?
View 27 Replies View RelatedI have recently bought this Smartphone, and I am planning to change the original 8GB micro SD card with a 16GB micro SD. But what class of memory which suitable for my Xperia Neo.
Should I buy class 2, 4, 6 or 10 ? Cos I don't want it effects on the phone's performance, if I choose the wrong class memory.
Whilst trying to update through the Android AVD Manager, I receive the message:
"No suitable XML Schema Validator could be found in your Java environment"
It therefore can't parse the repository.xml and I can't download any updates.
How can I get rid of this error? I am guessing it might be caused by GIJ being the default Java implementation on my platform (Debian), however I have also installed the Sun JRE/JDK now.
I am creating an Android app that includes a third party jar. That third party jar utilizes internal logging that is failing to initialize when I run the app, with this error: "org.apache.commons.logging.LogConfigurationException: No suitable Log implementation".
The 3rd party jar appears to be using org.apache.commons.logging and to depend on log4j, specifically log4j-1.2.14.jar. I have packaged the log4j jar into the Android app. The third party jar was packaged with a log4j.xml configuration file, which I have tried packaging into the app as an XML resource (and also as a raw resource).
The "No suitable Log implementation" error message is not very descriptive, and I have no immediate familiarity with Java logging. So I am looking for likely causes of the problem (what class or configuration resources might I be missing?) or for some debugging technique that will result in a different error message that is more explicit about the problem. I do not have access to source code for the 3rd party jar.
Here is the exception stack trace. When I run the app, I get the following exception as soon as one of the third party jar classes attempts to initialize its internal logging. code...
I don't know if this is kosher, but I wanted to see if anyone would want to test an app I built. I don't want to release an app to the market without getting out all the bugs I can, but I'm a lone developer trying to build apps on the side in my free time. I don't know many people with Droids, so I'm trying to reach out to the community. I built an app I call "Next Track on Shake". Not a good name, (and I'm up for suggestions for a better name) but I can't think of anything else to explain its function. I listen to alot of music, usually on shuffle, and I hate having to wake the phone up, unlock the screen, open the music player, and change the track. The new versions of Android require PIN or Password when you use a corporate account, and that adds another step in changing tracks. I built an app that allows you to shake the phone, whether awake or not, and it will move to the next track for you. I also added the ability to customize the shake; you can set how hard or how fast you need to shake the phone to change the track. The default shake is a good setting for most people, but alot of people jog with the phone on their arm or hip and would need to adjust the strength of the shake so as to not accidentally change tracks. I've also added the ability to stop/start the service when needed, and I display an ongoing notification when the service is running. When the phone is rebooted, the app checks the preferences, and only starts the app if you had the service running before reboot.
View 3 Replies View RelatedI have created an app which needs some testing done. I have tested it on the HTC Hero (UK version) and the HTC Tattoo. Worked well on both the devices. I wanted to test it on the newer android phones like the Droid or the Nexus One. If anyone could help me out with the testing, there is a link to the .apk file below. This app does functions like silencing the ringtone when the phone is flipped, switching on the speakerphone when in call etc.
http://dl.dropbox.com/u/556550/FlipShake.apk.
I'm prepping my first app for publishing and am a bit confused about how to properly test my <uses-permission> tags.. if i don't specify any permissions my app runs with no complaints on my G1. I tried installing it via "adb install" as well as with the eoeAppInstaller (as somebody had recommended). Also, the app is signed with my own certificate (not the debug cert). given that it works fine with no permissions (btw, it accesses camera and sd card), how will I know if I've set all of the proper <uses- permission> tags?
View 5 Replies View RelatedIs there anything to test the UI of an Android app like Jemmy for Swing?
View 3 Replies View RelatedCan someone with a Nexus One download AppFriend from android market (qr code -http://www.zappmarket.com/catalog/27) and give me a stack trace of the error message? I've got reports coming in that it crashes on startup (and the nice 1 star reviews that follow). The code that it is breaking on is really simple, so I'm not sure what the incompatibility could be, as it works on G1 and Magic.
View 4 Replies View Related