Android :: Not Communicating With Computer
Jan 20, 2010
I plugged my Hero, via USB cable, into my computer. The charge light is on but my computer is not seeing the device. I have rebooted the phone and the computer and it still won't see the device.
View 1 Replies
Jan 13, 2010
I want to create an application in Android which communicates with a server application (written in C#, doesn't matter what version of .NET) on the PC via TCP/IP. I was thinking about some kind of RPC like SOAP or XML-RPC. But I want to keep the server application as light and simple as possible. And I think in C# you rely on a Webserver to set up an RPC server. Or maybe is it better to communicate directly via the TcpListener?
View 2 Replies
View Related
May 10, 2010
Whether its possible for an application and a widget to communicate data to each other directly? Basically I'd need the app to be able to check that the widget is running/visible, and would need the app to send information to the widget. I'm far from actually implementing anything yet, so I'm not really looking for any overly detailed explanations, just if whether or not what I'm looking to achieve is possible.
View 2 Replies
View Related
Apr 12, 2010
I'm fairly new to android programming and need some information for a 4th year forensics course project. Basically I am trying to create a suite of tools for live analysis of an android phone. I know how to get the information I need on the phone, but I was wondering if there was a way to communicate that information back to the PC? I want to be able to run a program from a PC, which, when the phone is docked, will allow the user to access information about the phone (ie currently running services/processes, bluetooth/wifi connections, etc). I have a bunch of methods that will run on the phone and get all the information, but I want to be able to call those methods from the PC, execute on the phone, then have the information sent back to the PC to display to the user instead of just displaying it on the phone. This is to leave as small a footprint on the phone as possible.
View 1 Replies
View Related
Oct 18, 2010
I come from a .Net background and recently x-training to java.
I wanted to develop an Android application that required simple functionality to communicate with a server. For example, functionality such as post a username/score to a website (or service), or request information such as top 10 scores.
What type of communications should I focus on? What is the common technology to use? Does Java have the equivalent of WCF? Or does it have some sort of simple web service? Can web services be secured with authentication?
Ive heard other references to xml-rpc. Should this be something I should look into?
View 3 Replies
View Related
Feb 9, 2009
I need a message queue in my background thread, so I created a looper thread.
CODE:...................
View 5 Replies
View Related
Nov 14, 2009
Here is my code:
CODE:......
The problem is as follows: progressBar is showing correctly. mHandler obtains the message but only once(for the first time). But I need to make it in loop(as Looper.loop should have worked in this case), so it calls mHandler handleMessage in every loop(but its not happening in this case). The outcome progressBar kept on rotating though the condition in the handleMessage (if(location!=null) )is getting satisfied in the mean time of the active progressbar. How can I make mHandle,sendEmptyMessage to call in each loop so I can check for this (if(location!=null)) condition.
View 3 Replies
View Related
Feb 26, 2009
Is it possible to update a currently running activity from a BroadcastReceiver? I want to update my activity from a BroadcastReceiver that runs alongside it. When I run my app (from Eclipse), my activity starts. When the BroadcastReceiver is triggered, it currently tries to start the activity (with extras in the bundle...this is the important part), but nothing happens, presumably because the activity is already running. So my question is, how do I get the new information to my Activity (or even just tell the activity that there's new information to get if I stick the information in a database)? This seems like it should be fairly straightforward, but I'm clearly missing something.
View 3 Replies
View Related
Jul 14, 2010
I am communicating with PHP web services in Android application. All the requests send from android are encoded with UTF-8 and the php scripts decodes it with utf-8.
But when any request is send with apostrophe ' the decode function of php doesn't seem to work the way it should.
For example, if I send the request as "Today's Horoscope" then its utf-8 encode will be "Today%27s+Horoscope". I tried to decode this with Android and it was successful. But in php it gives the same text after decoding.
The database is MySql. Is this a problem with database or php? I am not sure about it but is there any workaround to this problem?
View 3 Replies
View Related
Aug 29, 2010
I want to create an application to remote control my PC.
For example: Volume (get actual volume level, increase/decrease/mute volume), TVtime (start/quit tvtime, get actual channel, toggle fulscreen, channel up/down, toggle input source, toggle aspect ratio), Amarok (start/quit amarok, get current song, prev/next song, play/stop/ pause), etc.
The application for the PC is done (in python). The communication protocol used is very simple.
For example: "volume:get_level", "volume:up", "volume:mute", etc. Now I'm working on the android application.
What I have implemented till now is to create an activity, with: - an edittext to enter host:port - a button to connect/disconnect to/from server - the onCreate method creates a new thread for socket communication to send/receive messages to/from PC. - a textview to display information received from PC (eg. volume level) - a button to send command to PC I'm using handler to communicate between the tcpclient thread and the main activity.
It is working... But I want to use more than 1 activity. I want to use different activity for every program controlled. Searching for a solution to transfer the thread's handler to a new activity I have found that it is not possible, and I have to use a service.
So, my question is: how to send message from different activities to the same service, how to send message from service to the actual activity and how can I check in the service which is the actual activity? Because the service is running in the same thread as the activities I suppose that I still have to create a new thread for socket communication. How can I send the data received by the socket to the service?
View 5 Replies
View Related
Aug 14, 2010
Lets say I have 2 mobile phones which are 50 meters away from each other and I would like to send a very small packet of data from mobile-A to mobile-B, without using any communication to cellular tower. To make it simpler, I would like to build an app which implements a Peer to Peer connection for 2 mobiles in the same radius (in the same area). Is this feasible using the technology of smartphones these days?
View 2 Replies
View Related
Sep 27, 2010
I'm thinking about an Android app (with possibly an accompanying physical device), and i'm trying to figure out whether this is something that's feasible.
1) Let's say I plug my Android to my PC. Would it be possible for an app installed on the PC to communicate with an app running in the cell phone? I just need a very simplistic data exchange, it can even be one-way (just data pushed from the cell phone to the listening app on the PC, whenever the cell phone wants, I don't need any data sent from PC to phone).
When I plug it in, the phone gives me 4 options (charge, disk drive, HTC sync, tethering), which makes me think this is not doable, but still worth the shot.
2) Would it be possible for an app on the PC to talk to an app on the phone through any other way? (Wi-fi, bluetooth, etc). I'm guessing no on wi-fi since neither party has the other's IP (and I want this to kinda just work, not having to input IPs manually all the time).
3) If I make a device that's plugged to the little USB port at the bottom of the phone (and let's say this is a magical device that can do anything, I don't quite care about those details as long as it's doable). Can I have an Android app talk to that device?
4) Any other ideas to make the phone talk to a "device" that I make, or to an app in the PC are more than welcome. Going "through the web" could be an option (although there'd have to be a central server that I own as a middle man, I believe). But i'd prefer if the communication was direct between the two devices.
View 3 Replies
View Related
Mar 23, 2013
I have recently lost my voice, and wanted to know if there was a way or an app that I can use to type on my Samsung Mobile, messages or words and transmit them to show up on my tablet? via Wi-Fi, Bluetooth. It would make my life so much easier to communicate with people next to instead of passing the mobile around.
View 2 Replies
View Related
Sep 13, 2010
For the past few weeks ive been trying to do a software update on my phone. i know 2.2 isnt available yet, but i just wanted to give it a try for sh!ts n giggles. my old captivate that i returned was able to connect to the att server and gave me a message saying that there are no updates available. the new captivate i have wont even connect to the att server. it sucks that i have to wait 24hours until i can try again. everytime ive done it, it gives me that error message. anyone else having this issue? i thought being rooted and having the one click lag fix was the problem so i undid the lag fix and unrooted, but i still got the same error message. im worried that when 2.2 is available, i wont be able to get it since i cant even connect to the att server.
View 6 Replies
View Related
Jun 11, 2012
I know that the stuff regarding the secure element inside certain phones is kept on a strictly need-to-know basis and Google only lets certain people have access, but how about the apps that are running on the phone, such as Google Wallet?
What I mean is, is it possible to write an App that communicates with something like Google Wallet (not necessarily this app specifically) instead of an NFC device? At its simplest, when you pass your phone over a credit card terminal, it communicates via the NFC chip to the wallet application. What I'm looking to do is bypass that terminal and just communicate directly with the app via another app, sending the necessary commands directly. Is this possible? (If so, I'm not looking for a how-to, just if it's doable or not).
I know it might be complicated and there's a lot to learn, APDU commands and all that - that's fine.
View 2 Replies
View Related
Jul 14, 2010
I'm just getting into Android development, and I have a question about communicating between a receiver class and an activity class. I'm very new to JAVA and Android so I hope I don't sound too stupid. I'm developing an application where I intercept an SMS message and then based on various elements of that SMS I might delete it once it's been saved to the inbox. I have a receiver class that intercepts the txt message, and I am also able to delete messages from my inbox with code in the activity class using a button at the moment. The problem I have is communicating between the receiver class and the activity class where the code to delete a message resides. I tried putting that code directly into the receiver class but as I'm sure most of you already know the BroadcastReceiver class doesn't seem to support what I need to delete messages. I've been searching for an answer to this for a while, but haven't been able to find anything. Honestly I'm not sure I know enough about JAVA and Android to even recognize a solution if I saw it.
View 2 Replies
View Related
Jul 11, 2010
I am trying to connect my Evo to my Pc (like computer to computer) is this possible. I am a newbie so I apologize. I want to access my files from over wifi (not close enough for Bluetooth).
View 9 Replies
View Related
Aug 17, 2009
I have a softkeyboard code that I am trying to install on my device. I was able to debug and run on my device it using eclipse, it works well as long as the USB cable is connected (of course, once I disconnect it it stops working). I tried adb install as well, that works for a few sample applications I used but not for the softkeyboard (maybe because it is an input method service?). When I try to change the input method it shows me my application name in the list but does not render it on the screen.
View 3 Replies
View Related
Feb 16, 2010
Is there an app to turn a G1 into a computer diagnostic device or a way to do this from this phone at all? I work on computers as a side business and it would be great if I could use it as such.
View 1 Replies
View Related
Jul 19, 2010
Is there any app that can use my android as computer speaker? so it can be my wireless speaker!
View 1 Replies
View Related
Feb 9, 2010
We all know if we use emulator connect to our development computer, should use 10.0.2.2 as the computer i p address, but when I connect a dev phone with my computer, 10.0.2.2 does not work, I always get "time out" error, Dev phone can not use "10.0.2.2" to access my computer, so what's the i p address of computer when Dev phone try to connect it?
View 3 Replies
View Related
Jan 6, 2010
I'm trying to share my Internet from my laptop to my Milestone wireless. I've read in here that Android doesn't support ad-hoc, and I don't have a wireless router so that leaves me with blue tooth. So my big Q is: "Can you share your Internet from your computer to a Android-device via blue tooth?
View 2 Replies
View Related
Jul 2, 2010
are there any apps that allow music streaming from a computer to an android device via 3g network? i tried gmote 2.0, which seemed like a great app, although streaming music to the phone never worked, got an error message everytime and that was over wifi. anything that will stream music over 3g?
View 2 Replies
View Related
May 29, 2010
I've been messing around with controlling my computer with my Droid remotely, using Wake On Lan to turn it on over the internet and Torrent-Fu/AndroidVNC to interact with it. The only thing I can't seem to figure out, however, is remote shutdown. Can anyone recommend me an app that will do this? I thought AndroidVNC would have a menu option for it or something, but no such luck.
View 8 Replies
View Related
Oct 13, 2010
Is there any way possible to back up the apps on the Captivate to your computer so if something happened to the phone you could restore them..??
View 9 Replies
View Related
Nov 8, 2010
how do i download apps, can i download them from my computer through the usb or do i have to do it through my phone/ am on payg and it would cost me loads on the internet
View 2 Replies
View Related
Apr 24, 2010
I would like to download a file from Word on my computer to my Droid.
View 2 Replies
View Related
May 6, 2010
I'm stuck on number 4. How do I get the file from my computer to my phone? I'm not seeing anything that shows my phone is connected to my computer... I'm on a macbook and a moto droid.
View 25 Replies
View Related
Oct 1, 2010
Can i Hide Partition From Computer?
View 2 Replies
View Related
Oct 6, 2010
I keep having this minor problem when usin msn talk on my galaxy s, nothing really big but anyhow. When I log in with my phone it changes my display name to something that I can change on my phone, but because I can't get any really special characters to work (well actually just one, D with a stroke) I can't get the same name on my phone as my normal msn on computer has. Okay well I could live with that, but when I log off from my phone it doesn't revert the change but it changes the display name on my computer's msn too! It gets really annoying to change my display name every single time I log in with my computer. And it does the exact same thing with my personal message. So the question is, can this be prevented in any way? ps: does anyone know how I can get that stock sms app to mark every sms as "read" when I've responded?
View 1 Replies
View Related