Android :: How To Find IP Address On CDMA Network?
Aug 16, 2010
How can I find the IP address of the an HTC incredible connected to Verizon's network? My other question - do I have to make any changes to my App to run it on a cellular network? Till now the App was running on a Nexus One connected to a local Wi-Fi network.
do you know how to get the Home country code, current country code, the Mobile directory number on a cdma network. I see TelephonyManager.getNetworkCountryIso() can get the current country code, but it is not reliable on cdma network.
My question is, as you can see the title, can i use 3g network even though wi-fi is available? i heard wi-fi priority is higher than 3g or cdma. can i change that priority in specific application? this is one of requirement of the project. if anybody has an answer,
A friend of mine is a member of the EVO Facebook group and sent me to a link which reads as follows: "For those of you having battery issues I found a way to Dramatically improve the battery life. First things first, go into Settings> About Phone> Battery> Battery Use> Cell Standby. Assuming your phone has been on, or off the charger for ~10 minutes, it should show Time Without Signal at around 50%. Next thing, press Home and bring up the dialer. Dial *#*#4636#*#* (Do not press "Call"). After a second, it should bring up the "Testing" menu.
Go into Phone Information, press MENU, and tap "select radio band." You should experience a Force Close, don't panic, this was supposed to happen. Scrolling down shows that the preferred network type is GSM auto (prl). What this means is that even though you are connected to a CDMA network, your phone is trying to find a GSM network, preventing the radio from sleeping, and causing excessive battery drain. Remedy this by tapping GSM auto (prl) and changing it to CDMA auto (prl).
Now your done, your TWS should drop dramatically, and you should experience much better battery life! Note: You need to do this every time you reboot." I've changed it on my phone just now and the service still works as normal. I guess we'll see if the battery life increases. If this works and with overclock widget I should be getting some crazy battery life now!
I have a CDMA Android phone, the Droid Incredible on Verizon. I have a pretty good background with electronics, hardware and software. Can anyone please tell me why all the apps in the app market state they are unable to toggle network connectivity off and on on a CDMA device? My device runs HTC SenseUI. There is a toggle widget that allows the mobile network to be turned on and off. There is a settings section that allows it to be done. Why don't applications have access to this functionality?Someone PLEASE be technical and detailed. This is a frustrating limitation that I just don't understand.
I'm not familiar at all with the differences in the networks in terms of CDMA, GSM, etc. I just read a news brief about the DROID possibly going to ATT at some point and the person writing it said something to the effect of "for those not wanting to be tied to the verizon's CDMA network." I thought verizon had the best network. I realize that in the past Verizon has crippled phones, but not sure if that has anything to do with what he was referring to, doesn't sound like he was talking about that.
A long long time ago, like 2.5 yrs ago when I was using a Treo, there was a great app called Directory Assistant (DA for those ex treo users).
It was a dedicated white pages, and very fast.
What everybody has been telling me on my droid is just to type the name into the search bar up top. That then brings up a browser with google's results. So when I went to look for 'joe blow' 'anycity' yesterday it brought up a link for his facebook, linkedin, research paper he wrote, etc.., everything but his phone number.
What is the best way to find someones phone number or address if you know their name and state with Android on the droid?
It seems the java.net.NetworkInterface implementation of android does not have a byte getHardwareAddress() method http://developer.android.com/reference/java/net/NetworkInterface.html
I've found several forums of people trying to do this with no definitive answer, I need to get a somewhat cross-device UUID, so I can't rely on phone numbers or in ANDROID_ID (which can be overwritten and which I think depends on the user having a google account http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID
In linux you can use ifconfig or read from /proc/net/arp and you can easily get the Hardware address.
Is there a file in android that I can read?
There has to be a way to get this address since it's shown in the "Settings > About Phone > Status" of the phone.
Is there a way to find the IP address of the desktop machine connected the android phone after USB tethering is turned on? Does android assign a fixed IP address to the desktop? Or does it assign a dynamic address (dhcp)? Is there a PPP connection created between the phone and machine?
My Incredible is still on the charger and will be for a few hours. Since I can't poke around in the settings yet, is there a way to find your MAC address? My WAP is setup with MAC filtering, so I will need to know it for wi-fi to work properly.
I searched through another thread and it wasn't specified, but I have the Droid2 and want to connect to the home wifi router, but don't know my phone's MAC address as this is the setting of the router to make it more efficient for gaming.
I have already gone to the settings page under wifi and 'advanced' but it has a MAC ADDRESS listing, but won't let me select it saying it is unavailable.
1. How can I enable and find out my MAC Address 2. While I'm at it although I have not been on the forums in a few weeks and admit this is a lazy ploy at help, has a one click or 'user-friendly' root come for Droid2 that doesn't require me to read pages of a thread and go through 100 steps!?
1. When I turn on my phone, the boot up with the Droid mascot and the HTC logo is extremely loud. Is there any way I can lower the volume on this? Does the Media volume control this?
2. Is there any way I can find out the ip address my phone is using when it is connected via wi-fi? I know you can set-up a static IP, but I'm just trying to see what my ip address is without using a static one.
I am using Huawei Ascend P6 android 4.2.2..i want to select only 3G/WCDMA. I can't find network mode in mobile network setting. I searched for solution but only i got iz the code *#4636#*#* but even it didn't work as i enter the last* it goes back to dialer.
I bought my Xperia x10 mini yesterday, and one of the first things I did was to set it up for WiFi in my house (which I already have 2 laptops and a stationary PC connected to). Setting it up was easy and quick, but my phone doesn't find the network, not even if I am standing right beside the router. I have tried to restart the WiFi connection, restart my phone, delete and re-add the home connection, but the phone still doesn't connect to the network.
The network's SSID isn't broadcasted for security reasons, could this be the problem? When I search for networks, it doesn't find any 'unnamed' networks like the windows pcs do. (which is normally the one I need to connect to.) Is there something wrong with my hardware? Or my software (my phone is completely up-to-date)? (Except broadcast the SSID, which is not an option..)
Ever since I've had my HTC Hero, the internet connection has been really flaky. That is, about half the time it works ok, but with a slow start, and the other half it doesn't work at all, and comes up with either a "cannot find page" in the browser, or "a network error has occurred" in Market or other apps.
I bought into the Hero thing because I wanted a mobile internet device and my iPhone wasn't cutting it with the lack of Flash. But at least my iPhone always worked!
The problem I'm having is this:
No matter whether I'm on wifi or not, browsing for a webpage in any of the available browsers (standard, steel, dolphin), has a delay of about 5 seconds, and then either starts loading the page, or comes up with some kind of "page not found" error. This happens with all websites, including the home page of google, which isn't exactly big or unreliable, except on my Hero.
Also, any app that uses an internet connection, such as Market, more often than not comes up with "a network error has occurred". Clicking "retry" rarely works.
Now if it was just through wifi, I would think it might be the setup of the routers that I've tried it on, allthough I've tried it on 3 completely different types of router, all with same symptoms.
I've also done much testing with wifi switched off, and still the same issues.
I could understand it if it just didn't work ever under either wifi or other, but sometimes it works, and sometimes it doesn't.
I have done my wifi tests while sitting right next to the routers, with maximum signal reception being indicated.
Ok, so it tells me that "a network error has occurred". Is there some way of finding out exactly what the error was? Was it a timeout, or a DNS error, or what?
I like to add addresses to my phone book in Android. As a lot of my contacts live in buildings i also like to add the floor and apartment number to the address: Looking like that:
Street and Number, Floor and Department number Town, zip code State Country
Av. Whatever 12345, Floor 5-A Buenos Aires 1007 Argentina
When clicking on the address the GPS of my wish opens , finds the country, city but not the street because of the additional Floor and department information. Without this additional information everything well with Google Maps or Sygic.
So, how should i add this additional Floor and department information to my address without the GPS has problems to find the main location.Also from ICS on there is only one filed to add the whole address not as with Gingerbread where you had a field for street, city, etc.
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 ?
Just getting used to my HTC Desire, after reading your forum I was comforted regarding battery life and it seems much better now than the first few days. I see another post on this but no answer, the address book only gives one line of the address is then any way round this? Even my first pda a Psion 3 had the option of which fields to display etc. there seems very little option to format what is seen, not that I am unhappy about the rest but to have to edit to see all the address is barmy. Another thing way back then that still is not found is search all fields of the contacts, i.e. to find a number of someone that rang on another phone.
The Gmail address book on the Web contains a field for birthdays, so why not the Android address book? While I'm sure the app could undergo a lot of changes (and everyone would have different ideas) something as basic as a birthday seems obvious.
Although the title has iPhone 4G and EVO 4G, it's more about the different networks and how they are approaching giving more bandwidth to their users. Writer indicates that CDMA has maxed out it's data speeds, hence the need for 4G, but that GSM has not. Anyway, interesting take on 4G. 4G Apple iPhone, Sprint EVO: Worth The Hype?
I'm wondering if, with the G1, it's possible to force the network traffic to pass through the Wifi or through the Cell GSM network. I need to force an application to connect through the tower network to get some login information. Is this possible? Anyone have any ideas as to how this would be possible? I'm trying to accomplish this inside an app with the Android SDK (Sorry I wasn't more clear about that originally)