Android :: Synchronization In Robotium - Setting Timeout Manually
Jun 16, 2010How long does robotium wait for a new activity to show up? Is it possible to set the timeout manually for the Solo instance?

How long does robotium wait for a new activity to show up? Is it possible to set the timeout manually for the Solo instance?
My auto timeout is set to 15 seconds yet the past day it just stays on until I manually turn it off....anyone had this problem?
I have tried switching the auto timeout amount multiple times...still just sits here until I manually turn it off.
On the iPhone and Blackberry you can set a time out so it does not prompt you to enter the pw evertime you turn the screen on. Is this possible on Android?
View 5 Replies View RelatedMy Hero's screen won't time out anymore. It worked fine until today. I have the screen timeout setting set to 30 seconds and it just dims and stays dimmed without actually locking it completely. What other setting do I need to adjust?
View 2 Replies View RelatedMy Droid keeps losing the setting for screen timeout. It resets to no option being selected, which means about a 5 second timeout. I have to reselect 30 seconds, etc. I can't seem to find a pattern of situation leading up to it. Started on 2.01 and continued after 2.1 upgrade. Never rooted.
View 3 Replies View RelatedThis just started happening lately. Every time I set my screen timeout to anything other than the default 30 seconds, it will just change itself back in a couple of minutes. I can't think of any apps I've installed recently that could possibly be causing this. Any ideas on how to fix this?
View 2 Replies View RelatedI have my Screen Timeout setting set to 2 mins. Menu>Settings>Sound&Display>Screen Timeout. but it keeps reverting back to the default 30 secs. Any ideas on how to keep it set at 2 mins?
View 6 Replies View RelatedI have problem setting brightness manually. When i set brightness level at minimum, the screen goes completely black. Hard reset and change ROM don't fix the problem. The phone is a nexus 4 . looking at youtube i discovered this video.URL....
View 1 Replies View RelatedI found a tool for Instrumentation Testing called Robotium.It is easy and simple for black box testing of android applications.
We can use it as follows:
CODE:........
How can we use it for webviews and listviews etc.
I'm trying to test a date picker scenario on android. I have the date picker which comes up when I click a text view(with id say v) which has a label on it along with a hint "Enter Date".
The problem is that I'm trying to simulate this clicking of the text view and then selecting of the date from the date picker dialog. I cannot find an method call/option in Solo to get hold of the text view (ex:with id say x).
I've been trying to figure it out for the past three days.
Can anyone suggest me a way to go about it?.
I would like to know is there any way to access to Android menu with help of Robotium framework ? (http://code.google.com/p/robotium/) This used in Android test applications. This is very powerful framework! You just include it in your test application source code. I can't found any way to access to Android device menu .. I want to programmatically select GPS activation line from menu ... Is it possible with Robotium ?
View 2 Replies View RelatedFrom my activity I do startActivityForResult(MediaStore.ACTION_IMAGE_CAPTURE),and then I land in the builtin camera activity (in this case in the emulator).in my testcase, it does not find ANY button (null is found for index=0).How do I write a Solo/Robotium testcase that uses the builtin camera to take a picture ?
View 1 Replies View Relatedis there a way to set screen timeouts to specific apps? For instance, when running navigation, can the screen time out be set to never timeout just for that app? I only want the screen to stay lite for certain apps.
View 10 Replies View RelatedHave been following Android news for some time and finally I decide that this platform is the on to love.Now the hardest part is deciding. Right now I am torn between HTC Legend, the upcoming Galaxy S, or Xperia X10.What I need:
1. A device that can have synchronization with a PC and/or internet storage to store contacts
2. Multimedia player. Preferrable able to play MP4, MKV, or AVI files (with Divx and Xvic odecs). Can be native software or third parties.
3. 3.5mm audio out jacks
4. Shipped with handsfree accesories.
5. Can play good games.
6. Can read and edit office documents
7. Agenda software with alerts and such.
8. Loud speaker.
9. Camera must be there. I don't care how crappy, it's just need to be there.
10. Flash that can be used as torchlight. Not a must, but it's not to have (my Siemens S75 has one, and have been very very usable and durable!)
At work, I have direct access to the Exchange server which I can synchronize with my HTC Android 2.1 without problems. At home I only have access to the Outlook Web Access webmail (which I can't access at work). Can I disable Exchange synchronization when I'm not connected to a certain WLAN? Also, as a bonus, would it be able for the Android to synchronize with the Outlook Web Access (like Evolution does in Ubuntu)?
View 1 Replies View RelatedOn my new Incredible, I will use files that I will need on both my phone and desktop PC. Some are Docs to Go files and one is a Keypass/KeypassDroid file. Is there a good reasonably simple app/software that will synchronize files so that the newer one is always on both phone and PC. Otherwise when I plug my Incredible to my PC I'll have to look and figure out if I last updated a file on my phone or PC and then copy it from one device to the other accordingly.
View 2 Replies View RelatedI still cannot believe there is no way to keep your bookmarks synchronized with your computer's chrome's ones. Is there any way to keep my dolphin HD bookmarks synchronized with the bookmarks I use in chrome? I always found it very helpful, since I use chrome (and chromium) in at least three different computers and I never have to worry about my bookmarks because when I change them in one of the browser's instance, the other ones just change, having all the same ones. How to do the same on an android system?
View 1 Replies View RelatedHow to force data synchronization (calendar, contacts) from own program? The internet connectivity is not stable, so when a WiFi connection occurs, I want to force the sync. I've googled sth about synchronization manager, but there is not much info how to use it.
View 2 Replies View RelatedWhile I understand it is convenient to be able to sync data with Internet servers for access from anywhere, there are people who don't really need or do not want to share their data (contacts, calendar, settings, etc). Is there a way to disable or remove the option, but allow applications to work. i.e.
- Vonage mobile app will not work without a Google account
- the default calendar does not work without a Google account.
In summary. Most applications won't work without a Google account.
The revolving icon is stopping and simply don't complete the sync. Is it becasue the 1500 contacts I have?
View 3 Replies View RelatedI'm developing an android application.I want to sync the sqllite db to mySQL or SQLServer in android emulator i don't have any idea. Please provide some details and samples about synchronization in android application.
View 1 Replies View RelatedI find the "data synchronization" option is missing from the Settings on the last version android source code. Is this issue a bug? How to add the "data synchronization " option to Settings.
View 2 Replies View RelatedWhat is the method to define a sync period for some account? ContentResolver allows to set automatic sync flag only. But what is period? Have I missed something? Or have I to schedule sync requests myself using the AlarmManager?
View 5 Replies View RelatedWhat is the point of the synchronization here? Why not just use: mConnectedThread.write(out); ?
The code snippet is from the BluetoothChat sample for Android (found here)
http://developer.android.com/resources/samples/BluetoothChat/index.html
/**
* Write to the ConnectedThread in an unsynchronized manner
* @param out The bytes to write
* @see ConnectedThread#write(byte[])
*/ public void write(byte[] out) {
// Create temporary object ConnectedThread r;
// Synchronize a copy of the ConnectedThread synchronized (this) {
if (mState != STATE_CONNECTED) return; r = mConnectedThread;
} // Perform the write unsynchronized r.write(out);
}
I am working on developing an application which requires high precision time synchronization between handsets. I'm looking for under 100 microseconds of skew between phones. I wondered if anyone had tried this before. In theory the GPS receivers could be used to pretty accurately synchronize timing, but I'm not sure if Android is setup to use them that way. My first cut plan is to port a PTP (precision time protocol aka IEEE-1588) client to Android.
View 3 Replies View RelatedI am new here and I came from Symbian and Linux, for all the phones I've used there are at least one application for screen capture and one for time clock synchronization, both are very useful and basic task we will do with a smartphone, but on the Android I found none that can work without a 'rooted' phone. I don't know how other phones do it, but I know the reason for a 'rooted' phone is to be able to access the framebuffer for screen capture for example and this may be risky, I suppose it is simply a sub-routine call to the BIOS will do without the need for a complete 'open access' system. I know there is a way to capture the screen without a rooted phone, but the phone must be connected to a PC and I feel this is dumb and inconvenient, I may be completely wrong about Android, please fill me in.
View 5 Replies View RelatedI'd like to start an activity with some initial data (passed through Extras) that sets up a display page, while I simultaneously make a network call to get the rest of the data. I thought I'd pass this new data to the activity as a message to the activity's handler. Now, my question is: how can I make sure that the activity has finished drawing the page and is ready to show the message data? The data might come from the cache, so I'm worried the message may land in the handler before the page is ready to display it. Is there a way to synchronize the page draw and the message handling? E.g., is it possible to suspend the looper till the page is ready? What's the preferred way of doing what I'm trying to do?
View 3 Replies View RelatedIf i create a new contact and then I synchronize my contact with my Gmail account (which actually doesn't contains any contact) I supposed to have the new contact also on my Gmail account, but that's not the case. The synchronization DELETES my contact on the phone. What's the problem? Am I doing something wrong?
I have 3 accounts in my HTC Desire. Gmail (or should I call this Google?) - the automatically saved emails that GMAIL keeps when you write to a person.
Phone - which are the phone numbers saved in my phone and
Facebook - So when I go to people, I see that there's like 4 categories when I press MENU and VIEW: SIM(0) ; Google(296); Phone(731) and Facebook (460)
Ok, first weird thing is that even if I choose to View only my Phone contacts, on searches and when I write an SMS, the suggestions include their Gmail and Facebook entries too- which is quite confusing because the reason I hid them is I only want to send an SMS (yeah I know theres an option "Only contacts with phone number"). Is this really the case? Next weird thing is that: Since some of my Phone contacts are actually my Gmail and FB contacts as well, I linked them from the phone app (I clicked Link in the Menu and chose their respective contacts). Okay, so in the list, I see the name of my Phone contact and at the same time if I click on their names I see email and FB info as well (the FB profile pic shows! neat!).
However, I found out that when I try to click on Edit it still let me choose which contact I will edit, in this case: Google or Phone - I thought I linked you 2 already, so it follows that if I add an info, like, another number then it (the Phone app) should assign it to the name as a whole, right? Apparently, the Link command in Phone app only makes you "see" one name in the list- but in other processes still treats your contacts separately. Okay good- at least I know now. But When I try to Delete the contact in Phone it also deletes the Google contact but Facebook contact remains. Does it really treat them separately or as one- basically the problem is that users need to know how the Phone app actually does it's process of syncing. Or at least wouldn't it make sense, for the system to ASK you which account you would want to delete the same way it asked which one you wanted to edit (as my experience did above)? Something like "Do you wanna delete: Google, Phone or ALL?" (I know Facebook is a bit complicated so it's ok if Facebook contact editing and deletion is not totally synced for now).
Where can I delete a synchronization service Picasa ?
View 4 Replies View Related