Android :: Android - How Linux Interacts With Host Devices
Jun 28, 2010
How the Linux drivers interact with the host devices through the Android Emulator? I mean for instance how a virtual sound device driver, compiled for ARM and running inside of the Emulator communicates with the actual speaker on the computer. I heard that you need to use a special kernel image when running on top of the Emulator, so I imagine that the drivers do some magic but I couldn't find any information on the web nor locate the drivers on the git repositories.
View 1 Replies
Oct 9, 2012
What is the best way to transfer data between one device as host and many devices as clients .I want to transfer data(Values like string) from many devices to one in the same time .
View 1 Replies
View Related
Nov 19, 2009
I had no luck with connecting to my Galaxy using adb under Linux. Has anyone manage to do that? There is an unresolved issue (issue 4635) on code.google.com, which states that adb won't connect to non-HTC devices under Linux (?). From my experience, that is certainly true for Galaxy. Please tell me that I'm wrong. Debugging is on, and lsusb outputs.
View 8 Replies
View Related
Jun 27, 2010
I have a MapActivity. If it's set to an appropriate location and zoom level to see traffic none is shown after it's first created until you interact with the map (click on it, drag, etc) at which point traffic shows up. Naturally I want traffic to show up without any user interaction after it loads but I've been unable to figure out how to trigger it. Any ideas?
View 3 Replies
View Related
Jan 16, 2010
I have android-sdk-Linux_86 and can run the emulator. I also have the udev rule for the Behold 2 as well as the debug etc settings on the phone, but I can't get it to come up when I run "adb devices" Can anyone help me out?
View 5 Replies
View Related
Jun 19, 2010
i successfully got into adb in recovery mode fairly easily on my ubuntu 10.4 laptop using the following method- this should also work for a linux live boot from a usb flash drive
in one terminal tail and follow log messages
~$ tail -f /var/log/messages
In another terminal run the loop
Then
1. plugin usb and keep it plugged in
2. remove battery, eject sd card.
3. put battery in
4. press vol- and power
5. after around 6 seconds, your terminal with the log will show something like "new high speed USB..."
6. press vol- to select recovery
7. press the power button
8. IMPORTANT- as soon as you see a new log entry (something like "USB disconnect"), pop in the sd card
check your loop terminal for adb. if it doesn't work, repeat at step 2
View 2 Replies
View Related
May 14, 2014
How To Transfer TEXT MESSAGES from WP8.1 devices to Android Devices ??And also the contacts!!
View 2 Replies
View Related
Apr 11, 2012
I'm developing a chat application that interacts with a chat server on a pc. I've created a login page that has a predefined username as password within it, however i wish to implement a system that checks the login name and password to a database. The coding for the login page is:
Quote:
package com.svennevik.andriod;
import android.app.Activity;
import android.app.AlertDialog;[code].....
View 5 Replies
View Related
Apr 16, 2009
I know android is based on linux, does this mean it can run any and all linux applications? If so has anyone tried to run anything like wine? I also noticed that by default you cant run apps directly from sd card, but i saw a modification on a site that lets you change it so you can, so technically speaking is there any limit on the size of sd the G1 can handle?
View 1 Replies
View Related
Nov 1, 2009
I am developing my am on mac (10.5.8), on eclipse and SDK 1.6 and a Vodafone HTC Magic Everything was working ok up to a few days ago. I can not see my device on adb devices. I also got a Sony Xperia and I can not see it on the list either. I upgraded the phone software (the HTC) to 1.6 a few days ago. Maybe that is what caused the change, but I could not be sure.
View 2 Replies
View Related
Oct 2, 2013
Can I have two separate google play accounts for two different devices & keep one gmail account for both devices?
View 6 Replies
View Related
Aug 10, 2010
I am developing an Android application consisting of 4 tabs. On the first tab I have a button, which again calls an Activity called ActivityA.When my ActiviyA is started, the tab control is not shown anymore.
View 1 Replies
View Related
Jul 6, 2010
Im getting a IOExeption 'Host is unresolved' on HttpPost. The Endpoint in this case a a computer on my LAN with a webservice. Im using WIFI to my LAN. Does Android know to to resolved computernames?
View 1 Replies
View Related
Jul 2, 2010
I want to create tabs without extending TabActivity. (The reason is that TabActivity cannot handle a custom titlebar as it seems). I have public class startTab extends Activity I read somewhere that I have to use a LocalActivityManager, I assume that I am missing something there. Anyone an idea?
View 2 Replies
View Related
Sep 22, 2010
Since the market is not open to India for paid apps - What will be a good server/store to host paid apps that target indian audiences?
View 2 Replies
View Related
Aug 12, 2010
I am running the CTS on the Arm based phone. When I tried to run the Network related test cases.I am getting the above error in the "android.core.tests.luni.net" test package and due to this error around 179 test cases are getting failed.Please help me out.Is there any environment setting issue in the setting up the target.I have connected the target with the USB to my Fedora system. additionally target have the 3G Sim connected with It.
View 2 Replies
View Related
Mar 20, 2010
i have set up virtual host in apache and and added relevent information in windows host file. it works fine for desktop browsers but i am not able to access this from android simulator's browser. as a example a i created a virtual host "testweb" i added this information in widows hosts file also so in desktop browser it works fine with the url http://testweb/ but in android simulator browser it displays error tht page has been moved. so plz give me solution what i shud do to work it and where i am getting wrong..
View 2 Replies
View Related
Jan 27, 2010
Where is the best place to host an Open Source project for an Android app? I am thinking about setting my app eTools free into an open source license. I want to know the best place to host that project. I will probably go with code.google.com but wanted to hear what others have done.
View 2 Replies
View Related
Apr 16, 2009
I am getting UnknownHostException - host is unresolved in my app when trying to connect the emulator to server on my laptop(running on localhost).I have android.permission.INTERNET permission set in my AndroidMenifest.xml. Moreover, with this URL, I am able to connect to my machine's server when I use the browser on the emulator.Has anyone faced and solved such problem. If yes, I would really like to know the solution.
View 4 Replies
View Related
Oct 19, 2010
Can someone tell me the procedure to host an app in Android Market? I know that there is no review process. But is there any other steps I need to follow to publish my App?
View 2 Replies
View Related
Aug 23, 2010
I am trying to post from android to GAE, I am getting unknown host exception.
Here is my code:
CODE:.......
When I am trying to connect to localhost:8888 am getting connection refused. I donno how to go pass thru this.
View 3 Replies
View Related
Mar 11, 2010
I'm writing an app that will host widgets. The app has custom view (which probably is the source of issue).mView.addWidget() basically just remembers this AppWidgetHostView instance and then mView draws it directly onto canvas. Visually everything is fine.I can see the actual widget. But the issue is with reacting on UI events. Please advise what needs to be done in the parent view in order to correctly trigger handlers in the widgets like onClick().I used standard widgets which normally react on click events. None worked.I also created my own test widget with listener and onClick()is successfully triggered if the widget is added on Homescreen, but doesn't work in my app.mView correctly detects click event and I tried to call widget.perform Click there, which returns false meaning onClickListener is not registered in the widget. But according to source .would call updateAppWidget which would register its onClick listener.
View 1 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
Jun 12, 2009
I send files to FTP server in my application. Internet permission is set :
<uses-permission android:name="android.permission.INTERNET"/>
It works quite fine when connected with 3G/3G+. Sometimes, not very often, I get a "SocketException no route to host" or "unknown host" exception when trying to connect. When I'm connected with WIFI, it works sometimes and it's very fast, but the same error occurs very often, and when it has occurred I must restart my WiFi to be able to connect again, even with webbrowser. I use apache commons FTPClient this way:
ftpClient.connect(server, 21); ftpClient.login(user, password);
ftpClient.changeWorkingDirectory(directory); ftpClient.setFileType(FTP.BINARY_FILE_TYPE);
BufferedInputStream buffIn = new BufferedInputStream(new FileInputStream(file));
ftpClient.enterLocalPassiveMode(); ftpClient.storeFile(file.getName(), buffIn); buffIn.close();
ftpClient.logout(); ftpClient.disconnect();
Errors look like this:
06-12 11:17:32.887: ERROR/DictoSyl(3146): No route to host 06-12 11:17:32.887:
ERROR/DictoSyl(3146): java.net.SocketException: No route to host 06-12 11:17:32.887:
ERROR/DictoSyl(3146): at org.apache.harmony.luni.platform.OSNetworkSystem.connectSocketImpl
(Native Method) 06-12 11:17:32.887: ERROR/DictoSyl(3146): at org.apache.harmony.luni.platform.OSNetworkSystem.connect (OSNetworkSystem.java:125) 06-12 11:17:32.887: ERROR/DictoSyl(3146): at org.apache.harmony.luni.net.PlainSocketImpl.connect (PlainSocketImpl.java:227) 06-12
11:17:32.887: ERROR/DictoSyl(3146): at org.apache.harmony.luni.net.PlainSocketImpl.connect (PlainSocketImpl.java:199) 06-12
11:17:32.887: ERROR/DictoSyl(3146): at java.net.Socket.startupSocket(Socket.java:734) 06-12 11:17:32.887: ERROR/DictoSyl(3146): at java.net.Socket.<init> (Socket.java:157) 06-12 11:17:32.887: ERROR/DictoSyl(3146): at org.apache.commons.net.DefaultSocketFactory.createSocket (DefaultSocketFactory.java:53) 06-12
11:17:32.887: ERROR/DictoSyl(3146): at org.apache.commons.net.SocketClient.connect(SocketClient.java:162) 06-12
11:17:32.887: ERROR/DictoSyl(3146): at com.sylpheo.core.android.ftp.FtpManager.start(FtpManager.java:43)
or:
ERROR:
java.net.UnknownHostException: ftpsylpheo.sylpheo.com - ftpsylpheo.sylpheo.com at java.net.InetAddress.lookupHostByName(InetAddress.java:522) at java.net.InetAddress.getByName(InetAddress.java:336) at
java.net.Socket.<init>(Socket.java:155) at org.apache.commons.net.DefaultSocketFactory.createSocket (DefaultSocketFactory.java:53) at org.apache.commons.net.SocketClient.connect(SocketClient.java:162) at com.sylpheo.core.android.ftp.FtpManager.start(FtpManager.java:43)
It looks like having forgot something that makes connection down after several uses of my ftp program, but what? And why does this work quite well (but not always) with 3G/EDGE connection?
View 2 Replies
View Related
Oct 7, 2010
I am trying to setup a simple client/server connection, the server is running on a remote host (Normal Java) and the client is running on my computer on the emulator, it works fine when I try to connect from my machine, but I can't connect over a normal wi-fi internet connection to the remote host, what could be the problem?
View 2 Replies
View Related
Mar 10, 2009
I install sdk on centos.At first it works well. But I encounter a strange issue:One day my emulator can not access it's host os's network any more.
View 2 Replies
View Related
Jul 16, 2009
i am working on a client server program in android. i have a Main java class running on my pc as a server socket listening to the port 8626 and i am trying to connect android client (on real device ) to that server. i tried my local ip and it gives me no route to host exception please suggset which ip i need. if i use ip 10.0.2.2 and run on emulator it succeeds but not on real device. client and server both are on same pc, and android device is attached to my pc as well.
View 2 Replies
View Related
Aug 15, 2010
I am trying to make an Accordian control where each section would have its own view accompanied with its own activity. With the TabHost I can add tabs based on Intents and it is this behavior I am trying to understand how to use. So given an intent or an activity how can i get the view?
View 1 Replies
View Related
Nov 19, 2010
I'm developing client/server software for Android.
While connected to the phone via USB debugging, I'd like to access the webserver I'm running on my developement PC - using the USB connection.
Is that possible and if so, how ?
View 3 Replies
View Related
Oct 15, 2010
I am passing parameter to new activity using tab host in android but it showing illegal exception code...
can anybody tell how to pass parameter using intent with tabhost in android
View 1 Replies
View Related