Android :: How Does Emulator Simulate SMS?
Oct 27, 2010What is the mechanism used to simulate SMS messaging between emulator instances? Does it use sockets? Is there documentation of this available?
View 2 RepliesWhat is the mechanism used to simulate SMS messaging between emulator instances? Does it use sockets? Is there documentation of this available?
View 2 RepliesI 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 RelatedCan I simulate an sdcard presence in the android emulator?
View 3 Replies View RelatedHow 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 RelatedIs 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 RelatedI 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 RelatedIs there a way to simulate speed on Android emulator?
View 1 Replies View Relatedi 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 RelatedHow do I simulate a WiFi network using the Emulator?
View 2 Replies View RelatedCan 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 RelatedDoes someone know how to simulate service crash in emulator ?
View 2 Replies View RelatedI'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 View RelatedOur app seem to misbehave sometimes when user plug USB cable to the device. Is there any way to simulate this event using Android simulator? Since it does not matter what type of USB connection is set (SD card access or just charging) I may just need the OS to "think" the USB cable has been connected and do what it does on the device. Can I achieve this in any sane way?
View 12 Replies View RelatedI want to simulate an onClick event or some of the other keyboard events, etc. is there a general framework to do that?
View 11 Replies View RelatedI have a requirement to implement an Exit button in my Android application. I don't really care about killing the activity stack, I just want to have the same effect as pressing the Home button. So that application state is saved and can be returned to. But this doesn't accomplish anything, the PhoneWindowManager does not get the key press.I assume I need to launch an Intent with the right info, but I haven't been able to figure out how that would be done.
View 6 Replies View RelatedI'm trying automate UI Functional testing of my application.
1) First phase: Record the user actions and playing back the same.
2) Second Phase: Adding Validation Capability to Recorded scripts.
In First Phase: I'm able to automate the Text/Editbox control actions without any issues, because we need to Set the Text of the control to the recorded value, so, its simple. While coming to Button Control actions, we need to simulate user actons, like Clicking on button. Can anyone suggest me, Do we have any mechanism, which can simulate button click event in Android?
I am wanting to simulate the look of the "recent applications" display that you get when you long press the home key. At first I thought it was a custom dialog but apparently (according to what I see in the Hierarchy viewer) it is a PhoneWindow$DecorView. I presume the DecorView is the main layout for this. According to the docs there is no layout or window named this, so I can not extend from it.
View 4 Replies View RelatedI was wondering if it would be possible to make an shortcut app that runs in the background to simulate a home, or back button press... Maybe with a two finger swipe or something. I have the Droid X, and the only thing I don't like is the hard buttons.
View 1 Replies View RelatedI am trying to simulate a touch on the soft keyboard, how do i do that? I try injectPointerEvent but it fail.
View 2 Replies View Relatedhow to reject an incoming call. At first, i wanna find some method already exists that can directly reject a phone call, but unluckily i failed. now i come up with an idea ,to simulate a ENDCALL KeyEvent. here is one solution to achieve it
IWindowManager.injectKeyEvent(...);
It may work in earlier version sdk... I didn't find any method like that in latest version sdk~ is there any method exists to simulate a KeyEvent ? or how could i reject an incoming phone call?
I am planning an app with a "coin flipping simulation" function(Activity) in an Android phone. I am new to 3D (OpenGL) here , and I know there will be a lot of efforts to build from scratch. So , I am looking for an existing 3D engine , which is able to simulate :
Coin flip and drop , with G-Sensor , so that users can shake/wave his phone to see the coins flipping.
Able to get which coin is up or down after the coins drop.
Able to assign how many coins are in the 'hands(or virtual table)'
Able to render different textures to the coins
The simulation must be the more realistic the better. So there should be a built-in gravity algorithm.
OpenSource is welcome , and Commercial is acceptable too.
Can someone give me some suggestions , or existing libraries , or algorithms (gravity ...)
Android doc say:"When the system, rather than the user, shuts down an activity to conserve memory, ... "
But how to simulate this situation?I want to debug the onRestoreInstanceState method,but don't know how to.
I am working with an hardware that have just five buttons. But I have just one button available to the following functions: home, back, search, soft-back(menu). The hardware is for automotive use, so that is because he doesn't have the common buttons of a cell phone. So I am thinking about create a second virtual keyboard that is called by this available button, to show these buttons that are missing on hardware. I want to know if it is possible to do. If it is, what type of code should I follow to create this extra virtual keyboard? I think a good start is to look at the code of the current virtual keyboard.
View 3 Replies View RelatedAn 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 RelatedI'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?.
It is difficult to test a game with the mouse pointer on android buttons. I would like to control those buttons with the hardware keyboard. Actually I don't want to control the buttons itself but I want to control the behavior the buttons would also do. For example I have 4 buttons in the android application with "arrow up, down, left, right". I'd like to use the arrow buttons of my hardware keyboard to control the same. How can I do that? Actually the question is, where can I set the Listener? I tried something in my activity.
View 1 Replies View RelatedIs the an app to simulate a tap on the screen at set time intervals?
I have googled for ages now and the closest I have came it to use screencaster and a auto-clicker for windows but I couldn't get the keyboard and mouse inputs to work.
Also I'm running a rooted 4.1.2 ROM
My phones' display has been broken and I would like to know if there is a pc software that allows me to simulate touch events via adb bridge.
View 1 Replies View RelatedI own a GSM Galaxy Nexus and I picked up the official car dock yesterday, and I've noticed that it doesn't have an elegant method for pausing currently playing media when a disconnect is detected, like how when you unplug a headset and supported media apps will pause (e.g. Pandora or Google Music).
EDIT: Originally I was using Tasker's built-in media button functionality for pausing music, but that actually was triggering a global play/pause toggle which would toggle all apps at the same time, resulting in unwanted resumed playback from Pandora and Google Music. I managed to resolve the issue by using the Locale Headphone Button Plugin instead. With it I can issue a non-toggle pause event that only pauses tracks that are currently playing. There is absolutely no need to simulate a headset event.
I am trying to control android phone touch screen, It's not have keypad available.Is there any known tool that can send command to Android touch screen as if the user touch the screen ?
View 2 Replies View Related