Android : Send Message From One Application To Another On Another Device - Remote - Communication
Nov 8, 2010
I want to create an application that can be interactive with another Android device that could be across the room or across the country. For example, imagine playing Tic-Tac-Toe; but I'm the X's on my phone and the O's are my brother on his Android phone. I think it can be done via application specific messaging. Looking to see if it is possible, and, if so, how to send a message from one application to another on another device.
View 5 Replies
Apr 2, 2009
I want to send a message to only specific application in other device but i dont want SMS client to pick that. How is it possible?
View 2 Replies
View Related
Apr 15, 2009
I am trying to create a tcp connection between the android emulator and remote PC. when i use the local host i can able to connect but remote host i could not able to connect. firewall disabled
for remote host i used the stcppipe for forwarding
Enter the Android tools path and run: adb forward tcp:40 tcp:40
stcppipe.exe -b 192.168.0.85 127.0.0.1 40 40
but my emulator application could not able to connect. what could be the reason.
View 2 Replies
View Related
May 28, 2010
Can someone explain a couple of very simple concepts to me - I'm interested in mobile devices running android and how they are identified over networks. Some scenarios: Device is connected over WiFi - presumably the device has a standard IP address as with any host and can communicate with any other android host over TCP/IP (assuming it knows the participating device's IP? device is connected over bluetooth - how are devices identified in this case? device is connected over mobile operator's network - this is the one I'm interested in and confused by - is there anyway for two or more devices to discover each other and communicate via the mobile operator's network? How does a device communicate with a backend server in this scenario? In other words, how do apps and devices communicate when not connected to a WiFi network?
View 2 Replies
View Related
Sep 1, 2010
I have made app which allows me to send message to multiple user from my device. Now i want to send message to the person which are stored in My Contact list. So i want to retrieve phone number from my contact list and then i should be able to send message to that particular number Any hints how can i go further.
View 1 Replies
View Related
Feb 16, 2010
I have connected my Android application to a Windows desktop machine via Bluetooth. The application interacts with the machine. At the end of the interaction the application on the desktop closes the socket that was opened between the Android and the desktop application. Right when socket.close() is called on the Windows machine my Android app pops open a dialog saying that the application has stopped unexpectedly and then it quits. I have a breakpoint on the line in the ConnectedThread (like in the BluetoothChat sample) where I read the InputStream on the Android and that is not hit. I also have a breakpoint in the catch statement for the try surrounding the place where I read the InputStream. That one also does not get hit. So I have no idea how I can catch this error. Is this a bug?
View 2 Replies
View Related
Mar 29, 2010
I know we can communicate between 2 instances of Emulator. But Is it possible to communicate between the a read Device and Emulator?
View 6 Replies
View Related
Jan 4, 2014
How can I send and receive data via USB ports?
View 1 Replies
View Related
Jul 22, 2009
Here's the deal: I have an Android application that needs to call a web service every X seconds (currently 60 seconds). This application has multiple tabs and these tabs all need to interact with the data themselves. One is a MapView, one is a ListView and then the third is irrelevant but will need to also get some global data eventually. The issue is that I want my main activity to have a thread that runs in the background, gets the results and then instructs both child activities in the TabHost to update themselves with the latest data. Also, when the user clicks on the tabs and the onCreate/onResume activities fire, I would also like to force a redraw by getting the latest data from the main activity. I'm really at a loss here. I've tried this with a service and some ghetto static methods to pass an instance of the Activities to the Service to call specific functions to update their views whenever the timer fired, but the slowdowns were pretty bad and the code was just ugly ugly ugly.
So I implemented it as a timer-driven thread in the tabhost activity and then I have timer-driven threads in each child activity that then grab the data (in a synchronized fashion) and update their map/list. It's much faster but still feels slightly hack-ish, especially the part where I'm calling a custom function in the parent activity like so:
((MainActivity)getParent()).getNearbyMatches();
This adds an element of strong coupling that I'm not entirely thrilled with, but from a performance standpoint it's much better than it was. I appreciate the answers that have already been given and will do a bit of research on the content provider front but I'm not sure I want to go back to the service model.
View 3 Replies
View Related
Aug 26, 2009
I'm creating a map application on Android in which users share info. among them. I've., one user's marking on the map should be available to other users. What might be the best design for such type of communication?(like where can i host my database, file exchange format etc)
View 2 Replies
View Related
Sep 1, 2010
How do you send a text message using the keyboard instead of tapping send on-screen?
View 2 Replies
View Related
Oct 12, 2010
When i try and send a text message it says can not send, i have done an update too my phone.
View 7 Replies
View Related
May 19, 2010
My problem is this, I downloaded Handcent and really like it, however, I can't send messages from home. I have marginal service here (around -98 avg.) but I do get 3G. Whenever I send a message it says Message Failed - Retry, Cancel? I've even had this problem in places with great coverage for both 3G and cell service. The stock messaging app works just fine. So what I've been doing is receiving messages with Handcent and then sending them using the stock app.
So, does anyone have any ideas of what I can do? Are there any settings that can be changed? Does handcent use 3G to send messages?
I'm now trying Chomp to see if that's any better. And, just an FYI, I'm having trouble with text messages, not MMS. I haven't tried sending any pics or videos yet, I've just been sending SMS.
View 2 Replies
View Related
Mar 23, 2011
I am looking for a way to remote control my android device (Motorola Xoom & Motorola Droid). I assume this will have to occur via Bluetooth but I am open to any option (wifi?)I'd like the following functionality in the remote:
- Launch Music Player
- Launch Maps / Navigation
- Play / Pause / Next Track / Previous track
- Launch Voice Search
- Launch text search
The official motorola Xoom Bluetooth keyboard has physical buttons for many of these operations (maybe not navigation or voice search) but this device is far too large to use as a 'remote'
My ideal situation would be to find a small Bluetooth remote designed for something like this. I've been looking at getting a Wiimote and the app that allows you to map its keys to keystrokes. Are there keyboard shortcuts for these operations?
I also noticed many of the keyboard shortcuts require the 'Search' key (i.e. Search+'b' launches the browser). What if I got a generic bluetooth keyboard without a 'Search' key - what is the alternative keypress?
View 5 Replies
View Related
Aug 10, 2011
I am looking for a way to remote desktop my android phone (atrix) from my honeycomb tablet. Preferably over LAN, as I only really do it at home but not really close enough for bluetooth, however with bluetooth I could make do. Something like what the atrix can do with the dock.
View 3 Replies
View Related
Sep 5, 2010
I have coded this service, that computes stuff and i want other applications to be able to bind this service, i.e. i want to enable other programmers to communicate with this service. problem is, this has to work without these other programmers to get access to the source code. just the (installed) apk with the remote service is given (and of course a detailed description of the service' interface)...problem is, eclipse keeps braggin' about that the packages of the service are not available in source code...
View 1 Replies
View Related
Aug 25, 2010
I managed to configure iJetty on the emulator and I am setting up both a REST-based and SOAP-based services on it.
Regarding sqlite3. I am able to run and control it remotely using the shell. is there a way to generate databases on the device using the remote tool? I didn't find any evidence that that is possible and I think the only way may be through the API. I just wanted to double check in case I missed this.
View 3 Replies
View Related
Nov 11, 2012
how to setup a infrared remote control to use with android instead of keyboard or mouse.I thought in lirc but the several ports that I found for android are working to send infrared signals, not to receive them.I was wondering if there is some project or program to allow infrared remote controller manage the android device.
View 1 Replies
View Related
Oct 1, 2013
Any tip on a Ir remote app that can send signals at a specific time or by timer?
I can controll my light with infrared and it would be awesome to automatically turn the lights on at a slow pace in the morning!
My phone is a LG G2
View 1 Replies
View Related
Jan 3, 2010
When I first ran across PhoneGap, I was excited because I envisioned simply dropping in the URL of a mobile site and simply updating the mobile site to use the devices capabilities when available.
Alas, it seems it is not that easy.
From what I understand (and I could be incorrect), any HTML/JS access to the device's hardware is limited to local 'pages'. So essentially create a HTML/JS local 'web' app to access the 'real' mobile web app by AJAX like calls. It seems a little redundant (at least to me) when the point is to simply extend the interface an existing mobile site.
Not trying to knock PhoneGap here, just wondering if there's a similar framework that allows a remote site to access the phone's hardware directly. Or if I've missed how that can be done with PhoneGap.
(Sure, I know "allows a remote site to access the phone's hardware directly" sounds scary - but the URL is hard-coded in the app, and HTTPS could provide authenticity. Of course, security is probably why this isn't supported by PhoneGap.)
View 2 Replies
View Related
May 30, 2014
Does enabling a lock screen password do ANYTHING to protect the device from threats? Other than someone with physical access, obviously. Would it make installing malware or exploiting a security flaw any more difficult? Assume the device in question is not rooted, if that makes any difference.
View 2 Replies
View Related
Jul 7, 2010
I was thinking of getting one and trying it out, but I don't know how often I would use it. What do you use it for? Can you watch Hulu on your home PC on your phone? Is it more of a work-related thing? Is it just for forgotten files?Just wondering how useful an application like this is to the normal day-to-day user.
View 5 Replies
View Related
Jul 2, 2010
Yesterday, I found a cool little device that doesn't require you to have an iPhone to be able to send infrared commands to pretty much anything. It connects to your home network either via wifi or ethernet and can control 3 IR emitters or 3 IR blasters or any combination of 3 of those. If I write an app for this thing, would anybody actually be interested?
View 7 Replies
View Related
Sep 21, 2010
My pictures and documents on my SD card are far more important than any text message or calendar entries I have on my phone. Just wondering if there's anyway to remotely wipe the SD card as well.
View 4 Replies
View Related
Mar 23, 2010
Looking for a remote wipe/lock phone app, I see there doesn't seem to be too much out there. What are you guys using?
View 17 Replies
View Related
Jun 8, 2010
talk about limited information! I'm trying to get my Android application to connect to an online database to access information. There's quite a bit of info including geotags and these are going to be mapped on my app. The developer site has the very informative piece of information:You can use the network (when it's available) to store and retrieve data on your own web-based services.
View 2 Replies
View Related
Apr 30, 2010
I defined a remote service over a AIDL file. Now i want to access this service in a different application. But how can I do that? The AIDL file is not accessible in my second application, and if i just copy the AIDL file, then the service can't be found.
View 1 Replies
View Related
May 5, 2010
I am writing a android application where I want to register my application to remoter server when application is first launched on installation. Application will register to remoter server itself without taking any user input. How Can I track whether this is a first application launch after installation?
View 1 Replies
View Related
Oct 26, 2010
I want to do an android application that can store files from phone to a website. can u please tell me which all softwares i would need.
View 2 Replies
View Related
Oct 16, 2009
I am trying to send an MMS message like this --
Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra("sms_body", "hello world"); sendIntent.setType("vnd.android-dir/mms-sms"); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File (url))); // I have tried Uri.parse(url) here sendIntent.setType("image/*"); // I have tried "image/jpg" and "impage/jpeg" here... startActivity(sendIntent);
The file that I'm trying to send is in my application sandbox.
/data/data/com.myapp.test/files/myco/cache/1234.jpg
However, every time I send the message, I get --
10-16 01:46:51.371: ERROR/MediaModel(3298): IOException caught while opening or reading stream 10-16 01:46:51.371: ERROR/MediaModel(3298): java.io.FileNotFoundException: /data/data/com.myapp.test/files/myco/ cache/1234.jpg 10-16 01:46:51.371: ERROR/MediaModel(3298): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java: 231) 10-16 01:46:51.371: ERROR/MediaModel(3298): at java.io.FileInputStream.<init>(FileInputStream.java:80)
Is this because the file I'm pointing at is in my local sandbox? And if it is, how do I expose it to the MMS app. I have thought about copying it to the SD card first, but that seems like a really bad solution... Can I have the intent run as thought the person who received it is me? (I thought I remembered reading that somewhere...)
View 2 Replies
View Related