Android :: Way To Open Sync Connection?
Oct 24, 2010
The console shows "[2010-10-24 16:37:10 - ChinaSubway] [2010-10-24 16:37:10 - ChinaSubway] Android Launch! [2010-10-24 16:37:10 - ChinaSubway] adb is running normally. [2010-10-24 16:37:11 - ChinaSubway] Performing com.com2us.Activity.SubwayMapActivity activity launch [2010-10-24 16:37:11 - ChinaSubway] Automatic Target Mode: using device '04037B8411001012' [2010-10-24 16:37:11 - ChinaSubway] Uploading ChinaSubway.apk onto device '04037B8411001012' [2010-10-24 16:37:11 - ChinaSubway] Failed to upload ChinaSubway.apk on device '04037B8411001012' [2010-10-24 16:37:11 - ChinaSubway] java.io.IOException: Unable to open sync connection! [2010-10-24 16:37:11 - ChinaSubway] Launch canceled!".
View 2 Replies
Nov 20, 2009
Running Eclipse on Ubuntu 9.10, connected real HTC Dream which works just fine on another (Windows) machine.
CODE:.....................
View 2 Replies
View Related
Oct 12, 2010
I can run and debug my Android app on my phone just fine, most of the time. Then, seemingly randomly, when I try to run or debug my app from Eclipse,Using Ubuntu 10.4, Eclipse Galileo 3.5.2, Android SDK 7, ADT plugin 0.9.6, Nexus One, Android 2.2.1.
View 1 Replies
View Related
Jun 21, 2010
I'm trying to open tcp connection between android (emulator) and PC. I'm trying to create a new socket and then it crash. the line where it crash: Socket s = new Socket("10.0.2.2", 27015);
View 2 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
Jul 23, 2010
so I've been using email for a while now, gmail account, today its telling me "unable to open connection to server" and I don't think I changed any settings, any idea what's going on?
View 9 Replies
View Related
Aug 9, 2010
I have exchange set up on my Droid through the email program that comes with the phone.. Its been working fine until this weekend, really. 3 separate times, it's failed to load my inbox or sync new messages, and it pops up with the unable to open connection to server message.Ive quadruple checked all of my settings, removed my account, re-added my account, refreshed it, and still, it wont sync my inbox and it still shows that message. I even tried installing touchdown, and touchdown wouldnt sync my email either? I didnt like how it kept my contacts all separate from my gmail contacts, so I went ahead and uninstalled it. I REALLY just want to use the regular exchange email program..But get this, I am able to sync my sent mail though, and Im able to SEND email messages, just not receive them.
We have our own exchange server for our company, and we have 4 other people in our office running exchange on their phones, (2 Motorola Droids, 1 Droid X, and an HTC 6800...) Nobody else is having issues with their phones syncing their email so I know this isnt an exchange issue, but a phone issue instead.Ive run an update (just the *228) on my phone, reset it like 3 times, killed all the apps, and it still wont sync my inbox (just my sent mail..) And again, it'll send email but wont receive it.I know calling or going into a verizon store will be a waste of time.
View 15 Replies
View Related
Aug 8, 2010
I recently downloaded K9, having read on here what a good email program it is. I can't get the thing to work with my Yahoo.co.uk account. It's Pop 3. The account works ok with the standard HTC email program, but when I try to set it up using K9, I get "Setup could not finish Cannot connect to server (Unable to open connection to POP server)." I've googled it, I tried setting it up without using wifi, and tried changing settings to IMAP and port numbers, but just can't get anywhere with it.
View 6 Replies
View Related
Jan 3, 2010
when i plug my phone to htc sync, is there any setting that grant me Internet connection as well? phone data is switch off, wanna make use of the pc to access Internet. just like window mobile active-sync which allow device to connect to Internet via the PC connected via.
View 2 Replies
View Related
Nov 14, 2009
"Unable to open connection to server." That's the message I'm getting from my Droid every time I try to set up a connection to my web hosts SMTP server using IMAP. The settings I put in the Droid work fine on my laptop and on my blackberry.
I've tries using ports 25, 1025, 465 and 587. I even tried 143 and 585. Anyone have any clue why this is happening? Anyone else having trouble with SMTP/IMAP connections to their email server? Right now I can't send emails from the Droid and that's a HUGE problem.
View 10 Replies
View Related
Jul 29, 2010
Can anyone help me out..ive been wanting to throw my phone like that. Other guy..lol..anyways...my phone and pdanet connect online and to my pc..but wen i open my browser it wont connect to my connection...it shows 2.4mbs etc..
View 14 Replies
View Related
Jan 6, 2012
I am looking for a way to automate my Android phone connecting to an SSH server when the phone connects to an unsecured wifi network. My understanding is that this is adequate to keep my traffic from being sniffed by DroidSheep (Android), FireSheep (Windows), or other packet sniffers.
I'm using this guide to connect my Android phone to the SSH server: link HERE
Is the Tasker app the best way to do this?
- if yes: how do I trigger the launch of the SSHTunnel when the trigger event (connection to unsecured wifi network) occurs?
- if no: what is a better way?
Note: I did a search for SSH (link HERE) and did not see anything covering this.
View 1 Replies
View Related
Apr 8, 2010
i recently brought the xperia x10 and i can not add my hotmail account it keeps coming up with unable to open connection to the server. i was able to add my gmail account though.
View 9 Replies
View Related
Nov 13, 2009
My company's exchange server is similar to mail.company.com/exchange, but when I put in that address, it removes the "/exchange" and it gives me an error saying "Unable to open connection to server". Is there a way around this, or am I stuck without the ability to sync my work email?
View 25 Replies
View Related
Nov 23, 2010
I am trying to link my 1and1 email account with my x10 on orange. Tried following all guides I can find but always says:
"Setup could not finish Unable to open connection to server."
View 12 Replies
View Related
Jul 7, 2010
When the sync process ends it takes my PC's internet connection with it. I end up having to reboot my computer every time I sync. The sync itself seems to work ok, it just kills my internet connection on my PC every time. This has never happened on the half-dozen or so smartphones I had before the Evo.
View 1 Replies
View Related
Jun 9, 2010
I have seen the below log message when navigating to the Account & sync settings screen but I am confused as to how to create an Intent to navigate there.I dont seem to have access to the ManageAccountsSettings for development.I just wanted to create an Intent such as below, but I cant call out ManageAccountsSettings.
View 1 Replies
View Related
May 12, 2010
I was wondering if Outlook can be sync up with the Incredible via bluetooth connection instead of USB? More important I would love to have a bluetooth connection with my home PC and able to transfer files to and from my Incredible.
View 1 Replies
View Related
Jul 19, 2010
I keep getting this notification saying "Connection detected: Select to open Media Share". What is this exactly? It doesn't appear to be the same thing as DLNA. I'm not sure if I should turn it off, or find out what it does so I can give it a try?
View 5 Replies
View Related
Mar 6, 2009
I have been looking at the ConnectivityManager class documented at http://developer.android.com/reference/android/net/ConnectivityManage... .
I would like to know if an Android application can open a network connection (socket) on a specified network interface [on a device supporting multiple network interface types WiFi, Cellular, WiMax etc] ? I am looking for the capability for an application to open a socket on a given type of network for example over WiFi network or over 3G Cellular Data network.
If this is possible in Android, how would I code this requirement within the API Framework ? The ConnectivityManager enables an application to learn about available network connections and currently categorises them as either TYPE_WIFI or TYPE_MOBILE.
There is a member function in the ConnectivityManager class called requestRouteToHost(int,int) [url] which "Ensure that a network route exists to deliver traffic to the specified host via the specified network interface. An attempt to add a route that already exists is ignored, but treated as successful." Sounds like this would install an IP routing table entry to reach a given host via a specified network interface type (WiFi or Mobile). After calling this would it be sufficient for an application to open a socket and connect to the desired destination address ?
Or perhaps the application needs to bind() a socket to a local address of a network interface of the desired type (WiFi or Mobile) Or by setting a socket-level socket option of SO_DONTROUTE ?
View 2 Replies
View Related
Jun 30, 2010
Is there a way to open and edit word file in android and if this application exist does it has an open API?
View 1 Replies
View Related
Jul 1, 2010
I have a ListActivity that uses a CursorAdapter to fill the rows in the view. I wrote a database helper class that gives me back results for common queries I make for my app, and it uses an SQLiteOpenHelper implementation I wrote to open the database. I use the open helper to open the database and get a cursor to pass to my CursorAdapter.
Here's a code snippet:
CODE:...................
The problem I'm having, that I didn't have before I implemented the open helper (before I just opened the database directly without a helper), is when I click on an item, which takes me to another activity, and then go back to this activity. When it initializes everything is fine, and my list is populated fine, but when I go back from the activity that follows, the list is empty and in the LogCat I see "Invalid statement in fillWindow()".
It appears from a few post I've seen that the reason is, when I requery the cursor, the database is closed. But I'm not closing it! I'm scratching my head on this one.
View 2 Replies
View Related
Oct 14, 2009
I'm using ThreadSafeClientConnManager to manage a pool of client connections, because my application has several threads, which are simultaneously connecting to a webserver.
Abstract sample code:
CODE:..............
Now lets say on of this threads is downloading a large file, but then the user of my application is switching to another activity/screen. Therefor the file is needless and I'd like to abort this download connection.
In ThreadSafeClientConnManager I found this method: public ClientConnectionRequest requestConnection (HttpRoute route, Object state) Returns a new ClientConnectionRequest, from which a ManagedClientConnection can be obtained or the request can be aborted.
So far I've been using:
CODE:.........
Now from what I understand, I've to use:
httpclient.getConnectionManager().requestConnection(HttpRoute route, Object state);
And that's the point where I'm stuck. I assume that for the route I can just use new HttpRoute(new HttpHost("10.0.0.1")) or whatever my server is, but what to put in for Object state?
And second, as soon as I've the ClientConnectionManager I can call getConnection(long timeout, TimeUnit tunit). But then from there, how I do I execute my HttpGet httpRequest = new HttpGet(URL_TO_FILE); as I did before with HttpResponse response = (HttpResponse) httpclient.execute(httpRequest);?
I've been gone through the documentation and tried out quite a few different things, but I wasn't able to obtain a working solution. Therefor any suggestions and/or code examples are more than welcome.
View 1 Replies
View Related
May 12, 2010
Whenever a application needs internet and connection fails, I get a message dialog
Connection failed
This application requires network access. Enable mobile network or Wi-Fi to download data.
and two buttons, Settings, Cancel.
How do I detect there is no internet connection?
How do I popup a same dialog in my application?
View 3 Replies
View Related
Oct 27, 2010
I'm coding a very basic FTP client on top of my application and I have 2 activities. The first one is the file explorer and the second one is the image viewer. Once I click on the image filename on the explorer, I want to pass the connection to the other activity to handle extra stuff. Basically, I want to keep the same org.apache.commons.net.ftp.FTPClient object (which handles the connection) alive in-between the 2 activities. I know I can't pass an object inside an intent so I don't know what my best bets are.
View 1 Replies
View Related
Jul 23, 2010
What's the technical term for being able to have voice connection and data connection simultaneously? Like AT&T was promoting heavily for a while.Apparently, the new T-Mobile Vibrant has this capability. A friend got one and was accessing the web while talking to me, double jealous now.I have benn lusting after the Verizon version, Fascinate, and wondering if there is any chance it will as well.
View 2 Replies
View Related
Sep 7, 2009
If my screen locks while I have a wifi connection, then the connection is lost when I unlock the phone.First, is this perhaps deliberate, to save power? Also, either way, when I unlock the screen and go into wifi settings, I see that the phone is trying to make a wifi connection, but it never succeeds, even though it's my home network and I'm in the same room as the router. It just states 'Obtaining address.
View 10 Replies
View Related
Sep 15, 2010
Long time reader, first time poster here. How does one know if the Epic is using the wifi connection as opposed to using the 3G connection? When wifi is connected both that and the 3G connection shows at the top. So which one is in control per se? And how can it be verified?
View 3 Replies
View Related
Jan 10, 2010
I open task manager i find no apps running i leave it for 1 min for example and i reopen it, i find some apps running without i run them such as MAIL, Touch input, com.htc why do they open
View 1 Replies
View Related
Oct 18, 2010
I'm implementing my own sync adapter and everything works great. A strange i'm having is that after the sync is over, the Android still shows the sync icon (the one with the rounded arrow) in the account activity, and that someone (i guess its the account manager) repeatedly calls the sync again and again, every 30 to 60 seconds. Now i tried all sort of things to test this issue and i have discovered something strange. In my code, i do resolver.applyBatch every 50 new rows. (each new contact i sync has about 5 rows). If i remove the applyBatch (which means i retrieve the data from the next, sort it and prepare it, but never "commit" it) - the problem goes away. The icon disappear and the account manager never calls it again on its own (I'm using Android 2.1). I must also state that no exception is being thrown in any of the cases and that all the methods finish gracefully.
View 2 Replies
View Related