Android :: Android Can't See Devices On Local Domain
Oct 16, 2010
I'm having an annoying issue with Android development. I have a webserver (Tomcat) running on my Macbook which is connected to the local network via wifi. I have my Sprint EVO connected to the same network using wifi. The only way I can connect to the Tomcat instance is by raw IP address. If I use the Macbook name with or without the ".local" domain suffix it does not recognize the host name. The emulator behaves the same way. My iPhone can resolve the host name as can the iPhone simulator. So, I'm thinking either this is a bug in the Android platform or I've missed/accidentally tweak some hidden config somewhere in both the emulator and the device?
View 1 Replies
Nov 11, 2010
I published an application that stores data in a local database.
Now I have to publish an update to this application to fix some little bugs, but I am afraid that downloading and installing the update will delate the local database associated with the previous version.
I would like to know how the update system works. Will installing an update completely delete all the apk, files, databases associeted with the previous version?
If so, how can I avoid this in my code?
View 2 Replies
View Related
Nov 26, 2009
I use webview to address the url link, but I want to know how to get the url's domain name? such as when I link to http://www.yahoo.com, then I can get the "yahoo" domain name, so how to do that?
View 3 Replies
View Related
Sep 27, 2010
I am working on a program that will connect to a time server (time- a.nist.gov), retrieve the timestamp, and place it in a text field.
However, when I create the socket, I get an UnknownHost Exception for time-a.nist.gov
1. put the <uses-permission android:name="android.permission.INTERNET" /> tag right before the </ manifest> tag. I did this, and the change is still there.
2. use the static InetAddress.getByName() function to convert to an IP address (this still throws the same exception)
When I pass the IP address (129.6.15.28) to the socket constructor, the program works fine. It only breaks when I use the actual domain name.
I have written this program in Java and it works perfectly fine.
View 2 Replies
View Related
Jan 11, 2010
I have written my application logic in domain objects (to enable multiple user interfaces and porting to other platforms), and am now lookng at implementing Activities for the user interface.
Considering that each activity needs to serialise its state, what is the best way to ensure my domain objects are only serialised once?
View 1 Replies
View Related
Nov 7, 2010
The behavior of XMLHttpRequests in Android is very odd when doing cross domain requests. The browser should either fail with an error and not perform the request, or it should follow CORS (http:// www.w3.org/TR/access-control/) and start with an OPTIONS request to the remote domain. The Android browser (2.1 and 2.2) instead performs the request, which is received by the remote server (and this is the dangerous part both for data leaking and remote attacks), but the response is not set in the javascript (status of 0 and responseText null)
View 4 Replies
View Related
Jul 9, 2010
I have Nexus One (Froyo). After a lot of struggle I set up the Email App for MS Exchange. It works fine until I am in Company WiFi zone (company domain). Once I switch to another WiFi zone (@ Home), it stops working and throws an error something like 'no server connection'. Can somebody please help me out resolving this problem?
View 1 Replies
View Related
May 14, 2010
I know about the existince of CookieManager, but how do I remove cookies of a domain only?
View 1 Replies
View Related
Sep 8, 2010
I find this code useful and want to copy-paste it into my application which is licensed as public domain.
It is the Android blog, they often show useful code snippets. There is no way to contact the author, and the only license info I can see is "©2008 Google Inc. All rights reserved."
Should I:
Stop worrying and just copy-paste?
Reimplement it myself without looking?
Copy-paste and then make it look different?
Any better solution? ...
Is there a rule like "if shorter than 50 lines then no copyright applies" or something?
View 3 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
Jul 29, 2010
I have a site which makes SOAP requests to a separate domain using YUI's cross-domain AJAX transport. This is working wonderfully on my site, but unfortunately since mobile browsers don't support flash, I can't get it to work.Does anyone know of a way to make cross-domain AJAX posts on mobile browsers?
View 2 Replies
View Related
Aug 27, 2010
When picking out contact details, is there a built in domain class they can be mapped to? Or, do you have to create your own?
View 1 Replies
View Related
Dec 20, 2010
I'm developing a mobile website and I want to see how it looks in Android Simulator.
I manage to edit my android's /etc/hosts file. Here's what I did:
1. Create an Android Virtual Device (AVD)
2. Open the AVD with this command
Code:
./emulator -avd android -partition-size 128
3. Execute the following commands
Code:
./adb remount
4. Get the android hosts file
Code:
./adb pull /etc/hosts
5. Add my mobile website into the android's hosts file. It looks like the following
Code:
127.0.0.1 localhost
172.19.14.46 m.myweb.localhost
6. Push the hosts file to the simulator
Code:
./adb push hosts /etc/hosts
7. Open the web mobile in the simulator and Host do not found. The web mobile should appear.
Btw I use Ubuntu 10.10 and android-sdk_r08-linux_86 API 7 (Android SDK 2.1)
View 3 Replies
View Related
Jan 26, 2012
Using Android 4 is there a native way to log onto a windows domain server. If not can it be done using the Android API?
I have a Transformer Prime running Andriod 4 (ICS). I also have the B4A basic android compiler if I need to write my own code. I really new to Android programming but have been writing Windows based software for many years.
View 2 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
Jul 9, 2010
I direct my Domain Messages to my hotmail?
View 13 Replies
View Related
Nov 2, 2009
I recently bought a HTC Magic. At work, we have a secured wireless network. When connecting to this network, we are asked a username/password for the domain. Now, my question is; With my HTC Magic, how can I connect to the domain network? On my previous HTC (S710 or 720, with WinMob) , it was possible.
View 1 Replies
View Related
Aug 21, 2009
The first is how (or with what application) can i see some informations about my calltimes. The whole outgoing calltime and incoming etc.The second q is the more important one. I use gmail, but i have a custom domain gmail acc, and i can't see any special settings to use that. Anybody can tell me, is this possible, to use with the gmail application, or i must set up an imap connection?
View 6 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
Sep 29, 2010
Folks, I am wondering if anyone here can recommend a way of listening to a couple of local/regional radio stations on my HTC Desire, running Froyo on o2 in the UK The stations are Northsound 1 in the Aberdeen area, and BBC Radio Scotland FM. I have tried A Online Radio and Myplayer, neither will recognise the stations even when entering the url I would use in the pc's browser to listen online at home. Only reason I want to stream these is the non-existent reception using the native FM radio app in the phone.
View 7 Replies
View Related
Jul 16, 2010
I don't see the point of using a local service in Android. If I want to do backgound stuff, I can create a thread and use Handlers.
Creating a local service is a big headache, you have to mess with Binders, worry about the start/stop/bind/unbind lifecycle, etc.
What does a local service get me that a thread doesn't ?
View 2 Replies
View Related
Oct 6, 2010
I have an application which requires networking service. I took on LWUIT4IO and adjusted it to my needs so now i have a network queue that can run one or more network threads.Now, my application is based on single root activity that spawns other child activities as needed (it's a reservation center for vacations, car rental etc.. each in it's own activity). The network is common to all and should be used by all activities. the network thread requires, basically, a callback to notify it's finished and return the result (input stream or byte array) .At first i thought that i should use a service instead of a singleton that will be started in the root activity(the service will also be started in the root activity), however working with a local service is problematic for me: 1. no callbacks which makes me use intents to encapsulate the request esponse in intents time consuming, also since there is not single point of listening (i have to use BroadcastReceivers)i have to add a calling class name or some other identifier so the sender of the request will know it's for him, i think this is also a waste of time and resources since i need only one listener.
i think i CAN use callbacks if i use Binder object to return local instance of my Service and then use the queuing method directly, this is problematic for me as acquiring Binder object is asynchronous and i need it 'on the spot' 3. I thought of using a static instance of the service and null it in onDestroy of the service, but if i use that way, i'm not so sure i need a service... 4. i saw a small answer in stackoverflow about inheriting application and putting whatever member you need there so when you use getApplication you get this instance and then you can retrieve whatever you want, is this even advisable ?
View 5 Replies
View Related
Aug 5, 2010
Can anybody tell how to run the local webapplication using android webview. I want to run my own webpages in android using web view.
View 2 Replies
View Related
Nov 16, 2010
I'm developping an android application. This application use a web service to get some informations. The web service is deployed on local in my computer. When i run my app with the android emulator, everything is ok.The emulator use the address 10.0.2.2 to use the local web service.Now i would like to know if it's possible to connect my mobile phone to my computer and to have access to my local web service.In others words, use my own mobile phone instead of the emulator.
View 4 Replies
View Related
Jun 19, 2010
I have some web pages that I want to bundle with my Android application and display as static pages. Where do I put them? How do I access them? I'm working in Eclipse, so I want a solution that automatically bundles them.I've tried putting my web pages in res/raw, and I can read them as an input stream from there, so I could push that into a WebView. But I'd really prefer if I could stick them somewhere and access them with a URL. I've tried file:///android_asset/about.html but that didn't work. Surely there's a way to form a URL to display bundled pages.
View 2 Replies
View Related
Dec 15, 2009
i am looking for a good live straming tv app. anyone know of one, pref with local channels (i am in NY)
View 2 Replies
View Related
Oct 5, 2009
I am very new beginner, and I am designing a small application as below.
- After a user starts the application, he/she can click the start button to start a background task. (e.g. retrieving the news headlines periodically, then do something...)
- Even after the user quits the application, the background task still running.
- To stop the background task, the user needs to run the application again, and clicks the stop button to stop the background task.
In the above scenario, what API should I use ? (Local Service Binding ? Remote Service Binding ? Handler ?)
View 2 Replies
View Related
Apr 17, 2009
I have ListView whose CursorAdapter is bound to my local database table. Is there a good way to make it so that when new entries / new data is inserted into my table, my ListView automatically refreshes?
This is easily done on ContentProviders via ContentObservers. How do I do the same when iterating over local databases?
View 2 Replies
View Related
Jun 11, 2010
I'm starting a service in my application using startService.
I do not want to use bindService as I want to handle the service life time myself.
How can I get an instance to the service started if I do not use bindService? I want to be able to get a handler I've created in the service class to post messages from the activity.
View 1 Replies
View Related
Apr 1, 2010
This thread is to discuss the pros and cons of each travel app and recommend your favorite one(s). Please mention ones that aren't listed above in the poll too!
I'm not sure if "local" is the correct term to use but I'm just talking about apps like, Yelp!, WHERE, Google Places Directory, etc. I've downloaded most of them but, as with most things, there's a few things I like about each and none of them are "perfect" in my view. So I was just curious what everyone's opinion was when it came to all these apps and which one they like the best and why.
View 8 Replies
View Related