Android :: How To Simulate Total Network Loss In Emulator?
Nov 11, 2010
I'm trying to write an application that needs to know when there is no IP network connection available. I am using the android.net.conn.CONNECTIVITY_CHANGE broadcast event along with ConnectivityManager to react to the changes in state to achieve this, but I'm having problems testing my set up in the emulator.I have tried both flight mode and pressing F8 to disable the "Cellular Network" but even with both of these engaged the application still "sees" the underlying network.Has anybody managed to find a way to simulate a total lack of network access?
View 3 Replies
Aug 3, 2010
How do I simulate a WiFi network using the Emulator?
View 2 Replies
View Related
Oct 16, 2009
Got phone 90 days ago. Everything wonderful. 5 days ago, total loss of WiFi functionality. Turning WiFi "off" and "on" does nothing. No WiFi "icon" appears. No WiFi networks (even ones I've used successfully before) can be "seen".
View 6 Replies
View Related
Feb 27, 2009
I run the emulator from the sdk version 1.1_r1 and when I try to make an outgoing data connection during a incoming call the data connection will not be esablished BUT it works fine if I disconnect the call. I have seen the same behaviour on other phones that run GSM instead of 3G. Are the emulator simulating GSM? If so can I switch to 3G or is there any other way that I can have a outgoing data connection during an incoming call?I have tried the "emulator.exe -netspeed" option but if I understand it correctly it only set the speed of the connection and not the connection mode.
View 3 Replies
View Related
Oct 27, 2010
What is the mechanism used to simulate SMS messaging between emulator instances? Does it use sockets? Is there documentation of this available?
View 2 Replies
View Related
Dec 23, 2009
Can I simulate an sdcard presence in the android emulator?
View 3 Replies
View Related
Aug 12, 2009
How to simulate a MMS message on emulator? From the eclipse android plugins, I can only see 'SMS' option. I don't see any MMS message.
View 4 Replies
View Related
Sep 27, 2009
Is there an easy way to simulate low memory inside the emulator?I'm interested to perform resource cleanups similar to this post
View 2 Replies
View Related
Oct 13, 2009
I would like to check from my app whether the device has WiFi connectivity, but in order to do that, I must first find a way to get "WiFi" in the emulator. Just going to Settings -> Wireless controls -> Wifi says Unable to start Wi-Fi, while logcat says:How can I simulate WiFi connectivity in the emulator?
View 1 Replies
View Related
May 23, 2010
Is there a way to simulate speed on Android emulator?
View 1 Replies
View Related
Oct 13, 2010
i dont have an android phone write now.But in my application i need to use accelerometer values..so i need an a simulator capable of it.
View 2 Replies
View Related
Oct 20, 2009
An app I'm developing opens a TCP socket connection to a server. That works great, no problems. What I want to do is simulate network delay and slow speeds, but the changes don't do anything. I telnet in to the emulator console just fine and can set the delay and speed changes, but they don't affect my app in any way. Even disabling data entirely (gsm data off) doesn't do anything. However, all of the settings affect the browser, just not my app. I'm just using a regular Java socket (java.net.Socket). What am I missing?
View 8 Replies
View Related
Jul 24, 2009
Can you please tell me how can I simulate a TrackBall Event in emulator? I just the left/right black button in the middle of the emulator, but i set break point in dispatchKeyEvent() and dispatchTrackBallEvent() of the View.java. But only dispatchKeyEvent() breakpoint get activated. I want to see 'dispatchTrackBallEvent' get breaks. Can you please tell me how to simulate a TrackBall Event?
View 6 Replies
View Related
Dec 31, 2009
Does someone know how to simulate service crash in emulator ?
View 2 Replies
View Related
Sep 6, 2010
My phone has been working fine since June. Saturday morning I had no bars and the 3G icon was missing. I could not make a call nor access data. I re-started the phone and was able to make one call but then no bars. If I drive 1/2 north of my house everything is fine. Same with south. If I leave a two square mile radius from my house phone works just like it did before. I called Sprint to see if there was a problem with a tower or their network. Support only instructed me to do a factory reset. If that doesn't work I could take the phone to a service center. I drove to the local Sprint store - the phone worked fine. I am only having this problem - now -only at home. Issues with data at home is one thing but not being able to get voice calls is another. Will a factory reset work? Could something be blocking the signal? Other than getting a new phone how can I get Sprint to understand this problem?
View 5 Replies
View Related
Nov 4, 2012
Last night my phone decided it wanted to be annoying and started turning itself on and off on its own. This has caused me to lose my network signal.
So far, I have turned the phone off (had it powered down all night while I slept).
Removed the sim card.
Used the recovery options to clear the cache.
Simulated a battery pull.
Thus far, nothing has worked.
View 2 Replies
View Related
Aug 19, 2010
Ever since the 2.1 OTA update that I received back in July, my phone has been burning through the battery quickly and places that I usually get a 3G signal I now get no signal and the big X in the signal bar.
View 9 Replies
View Related
Jan 24, 2010
I've read many postings about problems getting the Android emulator DNS to work properly in certain situations. I have a simple app that makes an HTTP connection to a server on the Internet. If I use an IP address using the latest version of the emulator it works fine. If I use the domain name it throws a java.net.UnknownHostException: Host is unresolved: exception. The identical code works fine on any actual device. Has anyone figured out how to fix this situation? I've spent days trying everything, from using proxy servers to setting up and running a DNS server on my development machine. This situation/experience is a shame, because the emulator seems like such an impressive and well thought out collection of tools for developing and testing apps. However, it is currently useless to me. Is there anyone who can help? A prior thread on the same issue-appears to be the same situation: http://groups.google.com/group/android-developers/browse_thread/threa...
View 3 Replies
View Related
Apr 7, 2010
I'm doing a distributed system using Android for my research project.In order to test it, I have connected two emulator instances in the same host machine. However, I need to put these two instances in separate host machines and make them connect through the local network (Wi-fi).I have seen that the emulator runs behind a virtual router, so it seems that I would have to somehow configure such virtual router, in order to forward my requests.
View 2 Replies
View Related
Aug 5, 2010
I've noticed very poor performance in the emulator (1.6 and 2.1) when trying to complete the forth statement below. It will take 5+ minutes running in the emulator. Interestingly, when I debug on my phone it's not nearly as bad at maybe a minute or so, but still not great. Running the app on my phone without debugging yields great performance (seconds). URL url = new URL(CommonProperties.BASE_SERVICE_URL + "param=1"); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document dom = builder.parse(url.openConnection(). getInputStream()); is there something I can do to speed up network access while using the emulator? Has anyone noticed anything similar?
View 2 Replies
View Related
Mar 10, 2009
I install sdk on centos.At first it works well. But I encounter a strange issue:One day my emulator can not access it's host os's network any more.
View 2 Replies
View Related
Mar 16, 2010
How do I monitor network traffic sent and received from my android emulator?
View 3 Replies
View Related
Sep 23, 2010
I am developing an application for android based cell phone from emulator. The application i am developing requires ad hoc network. I do not own the phone or can't get it from anywhere else. So I want to create and establish ad hoc network in that emulator only. I am using standard ADK 2.2. I read somewhere that the information and settings of networks are read through a file called tiwlan.ini. Is this file available even for emulator? If it is, where is it located inside it? If its not, can i copy the file available on Internet and put it somewhere inside my emulator and change system path to read network information to that file's path? If even that is not possible, is there any solution available by which I can establish ad hoc network on emulator?
View 1 Replies
View Related
Oct 22, 2010
I am trying to test some udp networking between emulator and host and I have a problem with setup. I assigned address 10.0.2.14 to the host interface with 10.0.2.1 as gateway.. Can't ping 10.0.2.15 from my host, neither can i ping 10.0.2.14 from emulator. Ping from emulator to 10.0.2.2 works fine - I can capture that ICMP traffic on the loop back interface of my host, so ICMP works, but how can i create traffic from the host to emulator? Can someone point me how to make it work? Note: firewall on my host is disabled.
View 3 Replies
View Related
Jul 16, 2010
I wonder if anybody has ran into the issue where a running emulator would lose network connection all at a sudden for no obvious reason. And I am sure the computer running the JVM is still online.Restarting the emulator seems to fix the issue but it's been a major PITA for me as it interrupts the work flow.I am using 2.1 SDK 7.
View 5 Replies
View Related
Aug 20, 2009
I'm running some service on my android emulator. On android I bound it to 127.0.0.1:6100.
How can I access the service from my development machine? Do I have to redirect?
View 8 Replies
View Related
Aug 26, 2010
i am having difficulties to have my android app running in the emulator to connect to servers in my local network.i am getting a java.net.UnknownHostException but the servers are resolvable fine from the machine where the emulator is run.
View 2 Replies
View Related
Mar 11, 2010
Is it possible to activate the network location provider on the android emulator? Maybe with a fake cell id?
View 1 Replies
View Related
Apr 30, 2010
I only get a phone signal about a third of the times i start the emulator. I've read on these groups that you have to have an internet connection before starting the emulator. Since i'm connected to the internet 24/7 :) this is not the problem I've also read somewhere that you should try do disable all other network connections (which i've done) and the problem persists. I'm using Windows 7 and Android 2.1 + API's emulator. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android
View 2 Replies
View Related
Sep 30, 2009
What are the settings required to access network for those who dont have ADSL connection?
View 1 Replies
View Related