Android :: Basic Emma Code Coverage Tutorial Needed?
Feb 3, 2010
I am looking a way to use Emma on Android project. I have an application -project, and withing that, I have Junit test cases. Now How do I use Emma tool(command line) to get code coverage report on testcases?
I searched a lot but could not find a good/simple tutorial. I read somewhere that Android ant lib has a target "coverage" that does all thing, (running test cases, generating emma report). How do I use that?
View 2 Replies
Feb 3, 2010
We're using android for some software engineering courses at our university. The students should produce code coverage reports for their unit tests, so we looked at the android-2.0 SDK which says on the release page:
"Adds new Ant build system with support for Emma instrumentation projects (code coverage)."
However I'm unable to find any documentation or examples for this. Does someone have more information about it?
View 3 Replies
View Related
Apr 7, 2010
I would like to measure the code coverage for the UI application without using JUnit test cases. Is there any way that we can capture the report for the user key events on the application which is running on device.
View 3 Replies
View Related
Dec 28, 2009
I am looking for some sample code or tutorial that sets up the most basic opengl es application.
for example, just do glClear() in the renderloop.
i have already been searching the web but all i found was either out of date or too much and too complicated.
View 1 Replies
View Related
Aug 12, 2010
I am starting an app for android. I was wondering if anyone had any tutorials to get me going. something similar to an alarm that goes off on 2 different occasions on specific dates, these dates and times should be obtained from a csv file or something similar so that i can control when and at what time the alarm goes off.
View 1 Replies
View Related
Jul 19, 2010
Is there a way to run unit tests for Android from Eclipse in a way that will instrument the code and measure test code coverage?
I'm looking for a simple way to find out which parts of my application aren't tested yet, fix the test cases and see if that helped.
View 1 Replies
View Related
Jul 2, 2010
I have set below code before calling url for http basic authentication but it is not working. Code...
Can someone quote working code of http basic authentication?
View 2 Replies
View Related
Jun 27, 2010
I downloaded the Android SDK and the Eclipse Plugin and installed them. When I however use the "Open Declaration" in Eclipse on basic Android functions and classes such as setOnClickListener or ListActivity it gives me an "Source not found"-Error.
The total Android source code seems to be 2.1 GB. Where do I get the source code of those functions that I call with the API to integrate it into Eclipse?
View 2 Replies
View Related
Sep 29, 2010
We recently came to know that a lot of Mobile Carries in Asia/India have proxy enabled to get Internet access via mobile. It turns out our App does not work when the phone has internet via proxy setup (APN). Does the APP need to handle proxy individually?
View 4 Replies
View Related
Nov 18, 2009
I would like to convert an image to text. ie take a picture of a receipt. Could someone point me in the direction of a tutorial or sample code.
View 2 Replies
View Related
Aug 11, 2010
No matter where I go I have terrible 3G coverage. Either a weak signal or no coverage at all. I've had a blackberry before and always had great 3G coverage in these same areas. What could be the problem?
View 2 Replies
View Related
Jun 8, 2010
I've been following the Android OS and admiring it for some time lately,but I don't yet own a device.The one I have my eye on later this month is the Dell Streak.My question for you experts is this : Is it worth it to use an Android device without any 3g plan at all?
I basically don't care about facebook or twitter in the slightest.I would just like to use the device as a powerful iPod touch to play videos, music, games, emulators, navigate with one of the offline apps, update my calendars and lists and take pictures / videos on occasion.And when its time to finally crash at the hotel, then get on the wifi and check my email and do my browsing.So if I were to try and use it this way, would I be missing out on anything important?Do all the major apps require 3g coverage? Can the device even be used without a 3g plan if its sold straight off of dell's website?
View 3 Replies
View Related
Mar 19, 2010
If you want the OP updated then PM me, I can't check this thread everyday.I think we could use this thread to keep track of 4G coverage as Sprint and Clear roll it out as well as rumored 4G spots. Here's a map and list of cities so far Clear has covered.
View 49 Replies
View Related
Dec 12, 2009
We ran core tests by the command "/development/testrunner/runtest.py - v --coverage core" and got coverage report successfully. But the reports says all are 0%. We ran apidemos and got coverage report which looks good.
Below is the console output for core tests:
CODE:.............
So I wonder why core tests's coverage report says 0% and how can I make the report make sense.
View 2 Replies
View Related
Dec 22, 2009
Is there an App for the Eris (Droid 1.5) That will allow me to compose and que emails and/or text messages while not connected to the Verizon network? This is useful in NYC where there's little coverage in the subway, and also, I suppose, in a Plane.
View 2 Replies
View Related
Aug 14, 2010
I'm considering renting an apt where I do not have cell coverage.What I want to know is this: is there a way to receive and make calls by having my phone connected to my wifi?I have a Samsung Moment.
View 1 Replies
View Related
Nov 1, 2010
what is a kernel? I'm just lookin for a basic definition.
View 2 Replies
View Related
Jan 24, 2010
We already use Android API. But sometimes I want to know is it verified or not? by whom?(e.g. Android team in google) by which one? (e.g. Unit test or Basic Acceptance Test for API) Do android team have any test report? Because this is a platform for smartphone. For example, if there has any problem in Android API (e.g. Date and Time), it makes customer spend money and time more. But I can't find any report about verifying API test. If you have any information about it, please let me know :) Also if there has no information, how can I test some API to verify API.
View 4 Replies
View Related
Jun 29, 2010
I'm having great difficulty getting basic textures to work in an OpenGL ES app on my Droid (2.1-update1). I trying to render a simple textured quad - four vertices, two faces, with normals and texture coords. When rendered, the texture is garbled and full of static, similar to TV noise. The basic colors from the texture map are there, but obviously the texture isn't being read or applied correctly. My texture load sequence is simple : int[] textures = new int[1]; gl.glGenTextures(1, textures, 0); Bitmap bmp = BitmapFactory.decodeResource(cx.getResources(), R.drawable.img); gl.glBindTexture(GL10.GL_TEXTURE_2D, textures[0]); GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bmp, 0);...
View 2 Replies
View Related
Oct 3, 2011
I am a complete novice to the field of Android applications. I want to build a basic Android application of an "website alert and post service".
Eg: Lets take FACEBOOK or TWITTER as the website.The application which I design should intimate me about the new posts or tweets of my friends. At the same time I must be able to post or tweet just by opening a text box in the application and writing in it. As soon as I write, the message should get posted or tweeted on the website.
I am not sure about the complexity of the above application but I feel this would reduce the trouble of opening a browser, typing the website name and then logging in by putting the username and password.
View 2 Replies
View Related
Jan 15, 2010
I've encountered a problem, when I run coverage with ant in my test project from another directory the report disappears, e.g. "ant -f some/dir/tests/build.xml coverage". This seems to be the cause that I cannot get reports when building through hudson.
View 3 Replies
View Related
Apr 5, 2010
I have a Web View. I'd like to show some page from my server, but I require some basic authentication. Is there a way I can specify basic auth credentials when calling Web View.load Data() somehow? I can do this on i phone with the equivalent web view class, thinking maybe same is possible with android?
View 2 Replies
View Related
Aug 16, 2010
I have the following layout in XML (splashscreen.xml):
CODE:............
When I try to execute it in Android 1.5 (executes correctly in all other versions) I get these errors:
CODE:.............
Line 5 corresponds to ImageView line. Do you have any idea why my program executes in all Android versions except 1.5?
View 1 Replies
View Related
May 8, 2010
I am new to android and last year i bought two books of android 1.5. But at that time i was busy in my project so was not able to work on android. Now i want to start android again. Should i go for those books or should i buy new editions. Is there any major change regarding basic learning? My question is purely related to change in version.
View 1 Replies
View Related
Jun 5, 2009
I routinely use my g1's browser to connect to a website that is protected with basic authentication (so you get the popup for username and password). Ever since updating to cupcake, my phone seems incapable or unwilling to correctly use / remember my passwords. It's driving me crazy, and I'm ready to chuck the thing out the window, or at least revert to the previous version. Has anyone else experienced this problem?
View 2 Replies
View Related
Jul 6, 2010
I have been trying to code and run the hello world application but am not able to get the emulator to boot all the way. Plan b is vb.
View 3 Replies
View Related
Oct 13, 2009
I have a WebView in my layout which I want to display a web page in. However the webpage requires Basic Authentication.
If I try to access this web page in the normal android browser, I get prompted for a username and password which then gets remembered and works for the site in future.
I want to do the same thing in my application, but when I load the page into the webview it just comes straigt up with the Unauthorized message without prompting.
I guess the prompting for Authentication is written in code in the android browser. Does anyone know how to inject a username and password into the WebView?
I have done a search arond and found the setHttpAuthUsernamePassword (String host, String realm, String username, String password) Method, But can't seem to get it to work and I can't find anyone else who has either? Not sure if I am giving it the correct parameters as I'm a little confused by what is means as the Realm?
I assumed that if the site was myhost.dyndns.org then the hostname would be myhost and the realm would be dyndns.org? This didn't seem to work. I also tried connecting by IP Address but that makes the Realm setting even more confusing? Any ideas on how I can get this working?
View 4 Replies
View Related
Apr 28, 2009
I have created a web application in ruby on rails and I want to use it now in my android application. I use http basic authentication in my website but I don't get any success to authenticate me trough the android application..
I have protected resources and pages on the website that needs authentication to access it! How can I get this right in my application?
How can i do the authentication? i have tried with a arthroscope and BasicCredentialsProvider but i think i am not doing it good! Can someone help me!
View 7 Replies
View Related
May 28, 2010
I'm new to programming applications for the Android OS. As far as general architecture of the OS goes, I understand that processes are implemented as Linux processes and that each one is sandboxed.
However, I'm utterly confused on the IPCs and syscalls (if any) used. I know that the IBinder is a form of this; parcels are sent back and forth between processes and Bundles are array forms of parcels (?). But even that is still unfamiliar to me. Same with Intents. All in all, I don't understand what kinds of IPCs are implemented and how.
Could someone briefly explain to me the specific methods used by user level applications in Android OS to communicate with each other and the OS? I've done kernel programming and played with various IPCs in Linux (Ubuntu and Debian) so it would help immensely if this was all explained in relation to what I'm familiar with...
View 3 Replies
View Related
May 18, 2010
So I was looking at the Sprint 4G coverage map and they have pretty much all of my city blanketed as having 4G coverage but I wondered just how realistic that was so I went to the Clearwire website to look at their coverage map.CLEAR WiMAX 4G Coverage Area Map.I think this gives a much more "clear" view of just how your coverage will be. For intance, half of my block (luckily the half where my apartment resides) is listed as having Best Clear Coverage whereas the other half just has Clear Coverage.Just thought it would be useful for everyone to be able to have a better idea of your 4G coverage. Unless I'm wrong and Sprint and Clear's coverage are not necessarily the same thing.
View 30 Replies
View Related