Android :: How To Establish A Serial Communication?
Oct 18, 2010
I am a beginner in Android and i want to establish a serial port communication(UART RS232) library in Android Framework Layer. My applications want to use that libary to send messages to some serial port devices. here we wan to use android as a embedded device and not a mobile device. can you suggest me how to establish a seria communication and to add that library on android framework layer.
View 3 Replies
Mar 19, 2010
I'm working on establishing a two-way communication between an Activity and a Service which runs in a different process.
Querying the process from the Activity is no big deal. But I want the process to notify the Activity on events. The idea behind it is this: the service runs independently from the actual app. It queries a webserver periodically. If a new task is found on the webserver the process should notify the activity.
I found this thread over at AndDev.org but it doesn't seem to work for me. I've been messing around with BroadcastReceiver. I've implemented an interface which should notify the Activity but the problem is that the listener is always null since the Broadcast from the process is done via Intent, hence the class that extends BroadcastReceiver will be newly instantiated.
How can I establish a 2-way communication? This has to be possible.
View 3 Replies
View Related
May 26, 2009
I have just started to develop android application. My question is: Can I communacate with serial port by using android application? If yes, how can I start,need help.
View 3 Replies
View Related
Jun 14, 2012
I have an Ainol Novo 7 Paladin tablet running android ICS 4.0.3 (rooted) that I want to use in one of my projects. And I need it to communicate with an arduino - one with FTDI or prolific PL2303 serial interface. Now I know that the Paladin should work as an USB host but I need something more. I need an high level Java library that can use this serial interface. I've worked with rxtx on a desktop machine before and that is the most complicated that I would like to get. The main reason is that I simply don't have enough knowledge to write myself an serial driver. I just need a simple character based two way communication.
[URL]
View 1 Replies
View Related
Oct 14, 2010
I am able to connect 2 phones through Bluetooth. But is it possible to connect through the wireless network?
View 1 Replies
View Related
Mar 18, 2009
At the moment i have the following problem. I try to establish a connect to a SOAP-service. Therefore i need basicauth via http. I use ksoap2 and HttpTransportBasicAuth. The problem is, I do not know how i can start a call when i use HttpTransportBasicAuth because the function "call" is not available.
View 2 Replies
View Related
Mar 10, 2010
I am working on a Http Connections.
I have a login form. When the enter a username and password. That values will be processed with the server and the user should be logged in.
Then it shows an users home page in a webview. How to do it?
View 1 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
Jun 21, 2010
Is there a way to establish a listener on the process of scrolling in a ScrollView or a HorizontalScrollView?
View 1 Replies
View Related
Aug 15, 2010
note: there are two versions of VLC Remote, I'm talking about this one: http://www.appbrain.com/app/com.hobbyistsoftware.android.vlcremote_us
Is VLC Setup Helper supposed to be open on the computer to establish a connection with my phone? When I'm playing a file in VLC, and open up the phone's app, it won't connect until I open up "VLC Setup Helper". It just seems a hassle to always remember to open up VLC Setup Helper all the time.
View 6 Replies
View Related
Oct 8, 2010
I have a question regarding my new HTC Hero. I bought an unlocked one and are currently using it with Tmobile. My internet works but I am unable to go to the market to get applications. Does anyone know what to do? I already called and spoke to TMobile but they were unable to help me. The message I get is: Can't establish reliable data connection to server.
View 3 Replies
View Related
Dec 5, 2013
I am on the Nexus 5.I have already looked up about this problem online, but the fixes for this seems to be either a hard reset, a factory reset, or the YouTube trick, where one signs into their gmail through YouTube and fixes this issue.
I have attempted all three of these things, but I still can't add my gmail account. The "Can't connect to server" message still pops, even when trying to sign in through the YouTube app.
View 6 Replies
View Related
Jun 12, 2014
I use an LG Optimus L4 II (e445). I rooted it but then decided I had too much on it and decided to restore to factory settings. It all worked fine. However, when I got to the Google Account sign in page, it gave me the "couldn't establish a reliable connection to the server" error message. I followed every single tutorial I could find online as to how to solve this. None of them worked. Eventually, I re-rooted it (using VRoot) and managed to download an apk of ES file explorer and locate the hosts file. This had one line that shouldn't have been there:
[URL]
From what I can make out, this is the address of google's sign in servers. So somehow (I suspect malware/dodgy rooting program?) my hosts file has been edited to stop me logging into google. Restoring the device does nothing, neither does unrooting/rerooting. When I open up the file in ES (when rooted) and edit out the bad lines, I can't save for some reason- I think the /system folder is write protected.
So I tried to make the /system folder writeable. I used the android sdk to do this (mount -o command) but this did not do anything. I downloaded the mount /system apk and installed that, it did not work either. I tried /pull and /push on the hosts file to edit it and send it back using the apk. I could successfully pull and edit it, but it would not let me push it back. I can effectively not use my phone- I can't use most apps and can't download any.
View 6 Replies
View Related
Jul 1, 2009
I want to interface my serial device on TMobile G1 Phone I want to know if there is a possibility to use a usb to serial converter or Blue tooth as a comm port to interface to my serial device.
View 2 Replies
View Related
Dec 25, 2009
I get this message every time i try to creat a gmail accout or try to creat one on my phone.I can use the data on my phone to browse theweb so i know the data works. i tried connecting to a wif then trying but that didnt work either.
View 6 Replies
View Related
Jun 23, 2009
Is there any way to get some type of serial number or unique string, that no other android device should have? It can't be relative to the sim card, I'm looking for some type of hardware identification number...
View 2 Replies
View Related
Apr 21, 2009
I realize that the Blue tooth API is subject to change over time and that the only available profiles are A2DP and AVCRP, but I am really interested about the options I have to develop an application using the Serial Port Profile. I don't really care if the API will later change, this application is meant to be used only by me (I am trying to communicate to a mirocontroller using Blue tooth and the only supported profiles are SPP and GAP). I am going through the /core/java/android/blue tooth/ classes at the moment but I don't see anything that refers to the SPP or otherwise. I am willing to invest time to learn and write a SPP implementation, provided I have someone to guide me. This is valuable to me because I am doing this project as a final year project so I'm not exactly waiting for someone else to do my work. In conclusion, does anyone have any suggestions on where I could start looking and studying to be able to use the SPP in an application?
View 19 Replies
View Related
Mar 8, 2010
I'm working on an undergraduate level senior design project with the HTC Sprint Hero. We want to connect a device that constantly sends a serial string of data. Does anyone have any hints, tricks, or shortcuts to be able to read a serial string from the USB port and save it on the phone? I know there is not a really simple way but I'm no where near an expert in programming and wanted to see if anyone has come across anything that might help.
View 2 Replies
View Related
Aug 16, 2010
I've had an inquiry about whether my Android app can interface with a serial device via USB cable. Before I invest too much time in this path, I'd like to know: Is this even possible? Some previous threads indicate Android won't do host USB. Would it require root access and/or the NDK? Would it be better to advise the potential client to look for a serial blue tooth adapter? I can see that there is a Blue tooth Sock class which may do the job.
View 4 Replies
View Related
Mar 10, 2010
I've got a fairly unique situation: I'm a teacher with a magnet school that focuses on rocketry and technology. I've got a rocket payload that has a video overlay board which does the following: Code...
View 3 Replies
View Related
Sep 24, 2010
I may be doing some Blue tooth Serial Port programming work for a client and I'm just looking for some tips in determining complexity/ workload. The work is similar to reading from a blue tooth GPS (not making the phone a blue tooth GPS), but it is some custom hardware, so not exact. Here's what (I think) I know so far: I will need to pair devices with a Serial Port Profile. I need to connect using a Bloodsucker which works on Android 2x -I don't know yet if the Android I will be a server or a client in this scenario. I will open an InputStream (no output stream needed) and have a thread continually blocking for input I believe "BluetoothChat" is the best example to start with. What I would want to know. - Are there devices/manufacturers who block the blue tooth serial port, trying to block tethering or something like that? (-I've seen posts here that imply that, but I don't see a bunch of comments like "Doesn't work on my @#$$" in Blue tooth GPS Providers in the market). -Are there going to be hardware specific oddities, or can I develop with my Nexus One and just hope it works on everything else? -Is pairing something that will require a lot of education for the users, and would a good app try to initiate this inside their app, or just assume it is already done. -Is Blue tooth programming going to be my worst nightmare, like it sometimes was on Windows Mobile, or smoother than I could ever hope?
View 6 Replies
View Related
Sep 2, 2009
I am trying to figure out if there is any way by which I can access any USB device which is connected to my Android phone's USB port and read data off it? For ex. Can I connect a camera to my phone and pull pictures out of it? I know that we need a HOST-DEVICE configuration to be able to do that... have tried doing this on other devices before picking up my android phone.. thought there would be an easier way to get this done. now, when I connect my phone to a digital picture frame, I can see on the phone that it identifies the USB device it is connected to and goes into a USB mass storage mode. What I want to know is if after this, I can read data from the frame or send data to it. I want to write an app that pulls data over USB and stores it into the phone memory.
View 3 Replies
View Related
Jul 1, 2010
I thought it would be quite easy to develop a bluetooth application on Android, but it looks like the support is very bad. While pairing works, my Nexus One with Android 2.1 can't connect to the PC. It's the same in Windows and Ubuntu. I used on my Desktop computer, in Windows, Hyperterminal and waited on an incoming bluetooth com-port. I searched already a bit, Maybe this:
http://code.google.com/p/backport-android-bluetooth/
or this library:
http://code.google.com/p/bluecove/
View 2 Replies
View Related
Jul 27, 2010
How can I programatically read the SD Card's CID register, which contains a Serial Number and other information? Can I do it through Android Java, or Native code?
View 4 Replies
View Related
Oct 26, 2010
Signal lost - "No Service" message received on phone - does the phone automatically re-establish connection automatically or must i power off the phone each time?
View 3 Replies
View Related
Sep 9, 2010
I have a Samsung i7500 (Galaxy).Originally, it had Android 1.5 installed, but I could not enter the Google Market with my google account and got this message: "Can't establish a reliable data connection to the server".I read here and across the web I should Factory-reset my phone, but it did not work.So I upgraded the firmware to Android 2.1 using this guide: How to Mustymod It worked, and now the phone had Android 2.1 installed, but I still cannot access the Google Market with my Google account. This time I did a factory-reset (Settings -> Privacy -> Factory reset) and also followed this guide to delete the provider-settings (eventually I removed the whole /data/data/com.android.providers.settings/ directory and not only that file.
View 5 Replies
View Related
Nov 23, 2010
I can't link my google account to my phone (Experia x8)..It saysCAN'T ESTABLISH A RELIABLE DATA CONNECTION TO THE SERVER
View 2 Replies
View Related
Jun 21, 2010
Iam using a command: adb devices
and get this:
C:>adb devices
List of devices attached
HT9CTP820385 device
My question is: where this serial number comes from? Does it burned on flash of device one time during a manufectoring or adb drivers assignees it dynamically or it comes with release that is burned on device?
View 2 Replies
View Related
Aug 12, 2010
I would like to be able to generate unique serial numbers for each Android device for use in unlocking an application. How could I do this? EDIT: The reason is I want to revamp a paid application and provide users who have paid for the old version, which will have a different package name, a way to obtain the full version by downloading an unlikable free version of the application. I would push an update to the old version that would generate and display the code that they could enter to turn the Free version into a fully functional version.
View 3 Replies
View Related
Sep 17, 2010
How to read the device serial number (not IMEI) of a Samsung Android phone (same value that you get when you call 'adb devices') but from within an app or from the device; not using PC/USB/adb.I found a solution for HTC and other devices, which is - to call. Code...
View 1 Replies
View Related