Android :: Running Multiple Istrumentation Simultaneously
Jun 27, 2009
This is what I have,say:
CODE:..............
All of the above is in single APK.
Instrumentation Runer used is - android.test.InstrumenationTestRunner itself.
This is what I am trying:
- I launched Emulator having above apk
- I opened three terminals , two to run instrumentation and third one to log results i.e.
CODE:...........................
Terminal 2:
CODE:...............................
Terminal 3: This is what I saw in the middle of logcat dump:
CODE:..........
Queries: 1. Is not it possible to run instrumentation in above manner? 2. I tried another TestSuite2 in terminal 2 instead of TestSuite1 , this also gave same results.
My aim is to run 2 testsuites parallel, using same apk. Is it possible? Or I have to use two different apks?
View 3 Replies
Aug 30, 2010
I have buil a file explorer just like a mycomputer.it reads the whole storage and system for files and directories now.i am working with start menu.i have built it in an other activity i wan to make them active at the same time?
View 2 Replies
View Related
Sep 25, 2010
I'd like to have two GMail (Google Apps mail, if that makes a difference) accounts active at once, both getting new mail notifications, and having the ability to send and reply through both accounts. My current solution is to simply forward all of Account #2's mail to Account #1 -- but then I can't send. Am I missing an option here? Surely this must be possible on Google's OS.
View 3 Replies
View Related
Jul 16, 2010
i have a requirement where i need to run multiple applications simultaneously sharing the same screen space at one time. For Ex. one part of the screen might be displaying a youtube video, while to right of it, the user might be chatting with his friend, and below some application download progress...
In Short, different applications sharing same screen.I guess this has already been done as i when i google for droid tablets, i can see images that show multiple apps running simultaneously, displayed side-by-side to each other. how it can be done and if i can simulate it on ADT and AVD?
View 2 Replies
View Related
Jun 23, 2010
I have developed a simple android application, which when started opens a Timer. User is given two buttons, start/ pause. This is working fine.What i want to do is to add a way to support multiple timers when a user swipes his finger on the screen.When he swipes from left to right, a new timer should show up, but the previous timer should not stop. This is a way to add multiple timers.Also, when he swipes from right to left, i want a previous timer to show.This is what i have done so for. I have a timer activity. I have added a touch event on it. When, a person swipes his finger, i get the co-ordinates and decide whether its from left to right or right to left.This functionality is working fine, as i can see the appropriate log messages.The problem is when I'm trying to load Timer Activity.It just loads the previous Activity and doesn't really create a new one (I figured this from the timer).Is there any way to do it?
View 1 Replies
View Related
Mar 3, 2010
I facing problem with multiple process running for my application. Can any one help me to avoid creating multiple process or restricting process creation to one.
Some times I am seeing two process instances of my package in the process list. I want to avoid this.
View 2 Replies
View Related
Oct 1, 2010
I have multiple activities in my android app and one final activity "All" which should run all the activities of my app one after the other. When I kept all my activities in for loop and used startactivity(intent) for each activity in that for loop, at the end I could see not all my activities being ran although all activities are finished. Any clue how to implement this?
View 3 Replies
View Related
Nov 1, 2010
I'm trying to run two AsyncTasks at the same time. (Platform is Android 1.5, HTC Hero.) However, only the first gets executed.
Here's a simple snippet to describe my problem:
CODE:................
The output I expect is:
onCreate() is done.
bar bar bar
foo foo foo
bar bar bar
foo foo foo
And so on. However, what I get is:
onCreate() is done.
bar bar bar
bar bar bar
bar bar bar
The second AsyncTask never gets executed. If I change the order of the execute() statements, only the foo task will produce output.
Am I missing something obvious here and/or doing something stupid? Is it not possible to run two AsyncTasks at the same time?
I realized the phone in question runs Android 1.5, I updated the problem descr. accordingly. I don't have this problem with an HTC Hero running Android 2.1.
View 1 Replies
View Related
Sep 4, 2010
When testing my app on a device I go through several "installs", although it's really the Eclipse plugin doing this for me.After a while (not very long) the device starts complaining about insufficient storage.It seems that progressive "re-installs" eats away the phone storage even though the app being installed (presumably) is either removed by Eclipse first or at least overwritten.Interestingly if I use a task killer to kill everything on the phone (which I only use for dev purposes btw),the available storage indicator recovers and I can keep working.As I said, it's more annoying than anything as the workaround.well works, but I'm wondering if there is some sort of cache chewing up storage?More importantly, I'm a little concerned that the same may happen with updates from the Market?That is, the update effectively replacing the current version of the app but leaving an allocation of storage behind in its wake.
View 5 Replies
View Related
Oct 15, 2010
I am developing an android app w/ Eclipse.Whenever I run the app on my phone or the emulator, four application icons are installed on the device.I am guessing it is related to my manifest file which has three activities (3 are for tabs).When I uninstall the app, all of the icons are removed from the phone.Upon a reinstall, all four show back up.
View 2 Replies
View Related
Jun 4, 2010
It seems I have multiple programs that will start on their own and run in the background. The main ones are mp3 store, voicemail, sprint nav, sprint tv and qik. I haven't even ran those programs yet, but they're still starting up.
I went so far as to download ATK and kill them...only to see them running again 5 minutes later. I tried to put all the settings the same as what I had on my hero, but these running in the background are driving me nuts for some reason.
View 9 Replies
View Related
Aug 2, 2012
What I would like to do is to run 2 instances of an application or more. The issue is that I am using an RDP program that allows me to attach to a single connection, the kick is that I need the ability to toggle between those machines and the app does not do that natively. I can also see it being useful for a situation when you need to toggle between two documents that are both open with the same application.
I know that it is really not made to do this natively but if there is are ROMs that include that functionality or a way to alter android to do this. In addition, it would be great to be able to tell the system which applications can and can't function that way.
I currently have a nexus 7, transformer prime and transformer infinity to test this with.
View 3 Replies
View Related
May 10, 2010
I don't use task killers or any nonsense like that, but I keep OS Monitor running so I can see if my CPU is running when it shouldn't be. While opening OS monitor and looking at my processes I noticed last night that there were like 6 flicker processes. They weren't currently using any cpu or anything, but why are there 6? And now today I noticed there are 2 running. (after re-start / battery charge)
View 3 Replies
View Related
Jun 24, 2010
Scenario: I turn my phone on and multiple applications are running in the background. I run Advanced Task Killer and close all applications in the background. I respond to a text message and all of a sudden FRING and QIK are running again? Why? Can settings be adjusted manually or do I need to Force Stop in Settings - Applications every time I turn on the phone?
View 1 Replies
View Related
Jun 12, 2014
I have the galaxy S5 running 4.2.2
I hate having the phone wake up in my pocket after unlocking with either fingerprint or pin.
The phone is set to lock after 5 minutes of inactivity - but if bumped in the pocket, the phone wakes up without the swipe lock screen.
Is it possible to use a combination of two lock screen types?
View 3 Replies
View Related
Mar 3, 2010
I've created multiple sub calendars within my standard gmail calendar account to managed my kids calendars. Doesn't look as though these calendars will come over to my Eris running 1.6. Is that correct? Any work around or am I missing something?
In the calendar option on the phone I see:
My calendar
My work gmail calendar
Outlook
View 9 Replies
View Related
Nov 18, 2009
I cannot run android junit tests for classes sitting in main android project that implement interfaces that reside in other included projects. Depending on SDK version I get different errors: from "Test run failed:" on 1.5 and 1.6 and spurious process death to a more polite "NoClassDefFoundError" on SDK 2.0. This happens only on instantiation of classes that reside in the Android project and implement interfaces residing outside that android project. There is no problem instantiating classes that do not fall into this category (i.e. android only or library only classes).
Android project by itself works fine with these classes - it is just the test set-up doesn't and project inclusion/classpath seems to be ok. Test project includes all projects that main project includes. NoClassDefFoundError makes little sense here given that the classloader can see and instantiate classes sitting right next to the ones that do not work. Did anyone else run into this or found a way to set-up android based tests in a multi-project set-up? Below is more detailed set-up and test explanation: 1) Library project: FooLib public interface IFoo { ... }
View 4 Replies
View Related
Jul 12, 2010
Is it possible to run multiple apps at the same time on Android? I have an app that has two separate layers and which they are normally launched separately. They open sockets and talk to each other via those sockets. I am not sure if this would be possible under Android - may be generate two separate projects and their corresponding UIs and then launch them at the same time. If that is not possible I am assuming I will need to launch them from the same UI - their interprocess sockets should be able to connect to each other. Is this something that is worth pursuing?
View 3 Replies
View Related
Aug 31, 2010
I had been using IMEasy for its multiple-account capability, I found my phone running warm when multiple accounts were connected though, and the battery drained fast; down to 70% in 3 hours in a poor signal area. I thought it was the poor signal. Installed Trillian yesterday, it's connected to 3 IM accounts and after 5 hours I'm only down to 90%, in the same area. I've been a happy Trillian user on the PC, I already had an Astra account from that so setup was SIMPLE. I HIGHLY suggest this app, though it's still in Beta and it IS missing a couple options I would like they're not critical issues to me, and I'm sure they'll fix them.
Beta is available from their site, Trillian - IM, Astra, Windows Live, Facebook, Twitter, Yahoo, MySpace, AIM, Email, and more!
I know this sounds like an ad but I'm just a happy customer.
The 2 missing items (maybe one really) are the ability to set the notification tone in the app and the ability to change the notification LED color in the app.
View 4 Replies
View Related
Nov 5, 2009
I start a long-running SQL SELECT query and, before it finishes, wish to make a short-running SQL SELECT query. Both queries are on the same tables. The whole database can be considered read-only. My initial tests show that the short-running query only actually starts when the long-running query has finished.
View 2 Replies
View Related
Feb 22, 2010
Mi problem is that I need to implement Contact List in my application for both android 1.5, 1.6 and 2.x.I did it using the old Contacts API, not ContactsContract because of backwards compatibility with 1.x series. But when displaying my app on 2.x the contact list is not complete. In some devices it's shown as empty, and in some devices it only displays some of the contacts in the device.I know that using Contacts API on 2.x series it will show only main account contacts, but this is not the case. It looks like only recently updated contacts are shown but that's not the case either.So the question is: How to correctly implement contact list for both 2.x and 1.x android version?
View 1 Replies
View Related
Nov 3, 2010
I have some questions about android development. I have googled around, but cannot seem to find any answers to my questions.
- Is it possible to display google maps in a widget?
- Is it possible to run (and view) two apps simultaneously?
- Is it possible to run an App within an App?
View 1 Replies
View Related
Nov 11, 2009
Objective: The ability to have multiple (two) Google talk accounts run simultaneously. Currently I've set up my phone with my Gmail (@gmail.com) account. The Gtalk application has been configured with this account by default (I think) which is great. However I would like to be able to be signed into my work chat as well, which is a Google apps premier account. I have not found a way to accomplish this without having to download another app. The apps that I've tried so far are: Ebuddy and Meebo. Ebuddy works awesome with my Google Apps account except for the fact that it sends messages after I chat indicating that I am using Ebuddy. The spam message includes a link to a webpage. I can't figure out how to turn this off, so I've stopped using it. I'm willing to pay for a version that doesn't do this, but I don't think there is a pay for version of Ebuddy for Android. And Meebo doesn't work with my Google Apps account. Can anyone point me in right direction? Maybe a recommendation?
View 3 Replies
View Related
Apr 25, 2010
I am working on an app that uses the rating bar (stars) to allow the user to grade information. The SDK version is 3 (OS 1.5 - <uses-sdk android:minSdkVersion="3">, but the rating stars are shown incorrectly for devices with OS 2.1. I read some posts in the forum that suggest to upgrade the SDK version to 4 (OS 1.6 and higher), however this will excluse 1.5 users to download my application, and I do not want this to happen, because there are still a lot of 1.5 devices.
This makes me wonder: Is it possible to publish two versions for the same app simultaneously? For instance, publishing one APK for version 1.6 or higher version and another APK for 1.5 version simulataneously in the Market, both intended for the same application.
Is there a workaround for these kind of situations?
View 3 Replies
View Related
Mar 17, 2010
In my application you can navigate through several Activities until the Activity stack is quite deep.
We'd like a button on every Activity that will take you straight back to the main menu - i.e. pop all Activities from the stack except the first one.
I've put the button in a View that I can easily put on every Activity in the application, but I can't figure out how to close several Activities in one fell swoop.
(If possible, it would be good if the View could work out how many Activities to close by itself - i.e. detect how deep on the stack its own Activity is.)
View 2 Replies
View Related
Nov 22, 2010
Is there any way of running 2 (or potentially more) applications on the emulator at the same time?
I have an application that obtains its data from another application, therefore I want to modify data in application A and then see how application B handles it.
I'm intending to have some kind of "slider" on application A, therefore I need them both to be running at the same time to see the "slider" on application B update.
View 2 Replies
View Related
Jul 13, 2010
We have an application where we'd like to use the WiFi connection on a local network (intranet) with no Internet connectivity, and use the 3G connection simultaneously as the data connection to the internet. To summarize:
We need to connect to two distinct networks at the same time - We need data traffic to be properly routed to the appropriate network based on its IP address - We need both radios (WiFi and 3G) on and active. This can easily be done on the iPhone, but not sure if it can be done on the Android.
View 21 Replies
View Related
Sep 7, 2009
Hi all, I am trying to implement Picture in Picture. I used a Frame layout for two Video View and tried playing the video files. But it doesn't work. Does anyone have an idea of this PiP (Picture in Picture) concept?
View 2 Replies
View Related
Mar 8, 2010
Is it only possible for one object to access the microphone at a time? That is, could I simultaneously use an AudioRecord to do some audio processing and use a MediaRecorder to record the incoming audio?
View 2 Replies
View Related
Apr 17, 2012
After putting a lot of thought into how to best backup my photos and videos while on the move, I decided that a tablet would be the best solution.
Now, I will shoot quite a lot of HD video in the near future, which means that even a 64GB tablet won't be large enough. Solution: Backup on a second SD-Card!
So right now I am waiting for the Acer A510 (with support for USB-OTG).
Can a Dual-SD-Reader like the one linked below will be working on Android, so both SD cards can be mounted at the same time?
[URL] .....
I know that I could also go SD->Tablet->Backup SD, but direct copy would make life much easier.
View 2 Replies
View Related