Android :: Network Connections / Access Points

Jul 16, 2010

I have some code that uses a network connection. I create a connection by calling openConnection() on a URL object. Is there any documentation that explains how this process works? Which access point is being used? When that access point becomes invalid, will it automatically switch to another accespoint? etc. I would like to use only WiFi access points and otherwise fail even tho 3G or GPRS could be available, is that possible?

Android :: Network Connections / Access Points


Android :: Should Use Services For Network Connections?

Jun 1, 2010

should we use android services for network connection? if yes please provide me a sample.

View 2 Replies View Related

Android :: Parallel WiFi / Mobile Network Connections

Sep 27, 2010

Are we able to establish both WiFi and 3G connections at the same time on Android 2.1? We are implementing a "make-before-break", so that WiFi can be switched to 3G before tearing the WiFi connection down. Please guide if you have come across this.

View 2 Replies View Related

Android :: Setting For Poxy Based Network Connections

Jul 16, 2009

Can anybody give me the Exact methodology for Connecting through Android Browsers and also Exact way for making the Map application work in my "Proxy Networked Machine"

None of the methodology in the below are working for me....

1. placing the http_proxy in settings.db 2. -http-proxy in console

View 2 Replies View Related

Android :: No Phone Signal In Emulator 2.1 - Disable Network Connections

Apr 30, 2010

I only get a phone signal about a third of the times i start the emulator. I've read on these groups that you have to have an internet connection before starting the emulator. Since i'm connected to the internet 24/7 :) this is not the problem I've also read somewhere that you should try do disable all other network connections (which i've done) and the problem persists. I'm using Windows 7 and Android 2.1 + API's emulator. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

View 2 Replies View Related

Android :: HTTP / Access Points

Aug 1, 2009

I am just a beginner in the Android and was experimenting with HTTP.I have published the result of my experimentation through the following link http://kausikdas.webs.com/apps/blog/show/1489440-http-in-android. I am yet to get a device but working with the Simulator.I need feedbacks on the possible network problems I should handle. e.g.: 1. Do I need to discover the access points and dial one before connecting? 2. How can I know which services (Data/Data & Voice/Voice/No/Emergency etc.) current network is supporting? 3. Anything more to take care of?

View 3 Replies View Related

Android :: Detecting Ad Hoc WiFi Access Points

Feb 9, 2009

I am developing an application on the android platform. The app performs continues WiFi scan and sends information about the list of visible access points to server. However, I need to remove all the Ad Hoc points. The android.net.wifi.ScanResult api does not seem to have any information on "mode" of the network. Is there anyway I can distinguish a given point is Ad Hoc or Master?

View 3 Replies View Related

Samsung Behold 2 :: Accessing Ad-hoc Network Connections

May 5, 2010

Has anyone taken a stab at accessing ad hoc connections with the BH2? I tried following this tutorial meant for the G1, but I couldn't install busybox, nor could I find the tiwlan.ini file.
Connect G1 to Ad-hoc network SOLVED - Android and G1 Forums, Mods, Hacks, News, Downloads, Skins, Themes, and more! | ModMyGphone

View 5 Replies View Related

Android :: Signal Strength Of Each WiFi Access Points?

Aug 9, 2010

I am building an application reading the signal strength of each available WiFi access point. I've written code like:

wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
// Get WiFi status
WifiInfo info = wifi.getConnectionInfo();
textStatus.append(" WiFi Status: " + info.toString());
// List available networks
List<WifiConfiguration> configs = wifi.getConfiguredNetworks();

However, I have two problems:
In debugging, configs only contains one connection. However, I can see that there are several APs available in the system's wifi setting. i.e. configs is an incomplete list. I don't know how to get the signal strength in Wifi Configuration. I am using HTC Hero and Android 1.5.

View 2 Replies View Related

Android :: No Automatic WiFi Handover Between Access Points

Nov 16, 2010

I have a Samsung Galaxy S, running Froyo. I have an issue with WiFi handover, so I am posting here (in addition to the SGS section) in case this is an Android issue rather than an SGS-specific issue. I have two WiFi Access Points (APs) at home, both using the same SSID, but on different channels.

I expected the SGS to automatically move (handover) from one AP to another based on signal strengths that vary depending on where I am. However, this does not happen. It stays on the AP that it is connected to, even when moving to very poor signal levels. I need to manually trigger this (e.g by disconnecting from the AP). Any configuration or Android app. By the way, I also tried configuring the APs with different SSIDs, but this didn't work either.

View 1 Replies View Related

Android :: Info About Different Networks - Access Points Under SSID

Sep 17, 2010

If I use getScanResult() I will be able to get the information about different networks but for example if I am in a school where all access points are under network (SSID) "The school". Will getScanResult() filter out other access points than the one it's closest to and only return 1 BSSID for that network?

View 2 Replies View Related

Android :: How To Scan Access Points And Select Strongest Signal?

May 13, 2010

I am currently trying to write a class in Android that will Scan for access points, calculate which access point has the best signal and then connect to that access point. So the application will be able to scan on the move and attach to new access points on the go. I have the scanning and calculation of the best signal working. But when it comes to attaching to the best access point I am having trouble. It appears that enableNetwork(netid, othersTrueFalse) is the only method for attaching to an Access point but this causes problems as from my Scan Results I am not able to get the id of the access point with the strongest signal.

This is my code:
---
public void doWifiScan(){ scanTask = new TimerTask() { public void run() { handler.post(new Runnable() { public void run() { sResults = wifiManager.scan(getBaseContext());
if(sResults!=null) Log.d("TIMER", "sResults count" + sResults.size());
ScanResult scan = wifiManager.calculateBestAP(sResults);
wifiManager.addNewAccessPoint(scan); } }); }};
t.schedule(scanTask, 3000, 30000); }
---

public ScanResult calculateBestAP(List<ScanResult> sResults){ ScanResult bestSignal = null;
for (ScanResult result : sResults) { if (bestSignal == null || WifiManager.compareSignalLevel(bestSignal.level, result.level) < 0) bestSignal = result;
} String message = String.format("%s networks found. %s is the strongest. %s is the bsid", sResults.size(), bestSignal.SSID, bestSignal.BSSID);
Log.d("sResult", message); return bestSignal; }
---
public void addNewAccessPoint(ScanResult scanResult){ WifiConfiguration wc = new WifiConfiguration();
wc.SSID = '"' + scanResult.SSID + '"';
//wc.preSharedKey = ""password""; wc.hiddenSSID = true;
wc.status = WifiConfiguration.Status.ENABLED;
wc.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP);
wc.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP);
wc.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
wc.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP);
wc.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);
wc.allowedProtocols.set(WifiConfiguration.Protocol.RSN);
int res = mainWifi.addNetwork(wc);
Log.d("WifiPreference", "add Network returned " + res );
boolean b = mainWifi.enableNetwork(res, false);
Log.d("WifiPreference", "enableNetwork returned " + b );
}
---

When I try to use addNewAccessPoint(ScanResult scanResult) it just adds another AP to the list in the settings application with the same name as the one with the best signal, so I end up with loads of duplicates and not actually attaching to them. Can anyone point me in the direction of a better solution?

View 12 Replies View Related

HTC EVO 4G :: WiFi Access Points With Manual Connect Only Option?

Oct 27, 2010

I think this should be simple enough but I haven't found a solution. I would like to leave my WiFi radio on. This way, the phone will automatically connect to certain access points (that I have previously connected to). However, there are certain access points that I would only like the phone to connect to if I elect to manually connect to them. I can't seem to find this setting anywhere. The only two options I have on access points once connected is to Forget network and Change password. I want it to remember those but only connect when I manually tell it to.

View 6 Replies View Related

General :: WiFi Access Points Enable Sync

Aug 21, 2013

I moved from Galaxy S4 to Galaxy Note 2.

Everytime I take a new phone, during initial setup it gives me to restore my settings from Google which when I enable I get all my saved wifi-access points.

This time however by mistake I didn't allow Google to restore that data in my Note 2 so now I haven't got any saved WiFi passwords.

I had backup of all user and system data from S4 via titanium backup and I tried to restore WiFi access points in Note2 which wont work (maybe compatibility or something, I don't know)

how can i re-enable or force a re-sync that Google to restore my WiFi access points to my mobile or what can i do to get all my saved WiFi profiles back.

View 5 Replies View Related

General :: Block Settings - But Allow Adding Access Points?

Nov 13, 2013

I use an AppLocker on my daughter's phone. It works great, but there is one problem it causes.I need to keep her and others out of the settings so it's blocked. But I need to be able to allow her to add access points so she's not eating away our data plan.

Is there an App Locker that will allow this? Or is there an alternative Wifi manager that I could install and allow that would work even when settings is blocked?

View 1 Replies View Related

Motorola Droid :: Roaming Between Multiple WiFi Access Points With Same SSID?

Nov 7, 2009

Just got my hands on a Droid and now I'm working out some kinks. My iPhone and laptop have no problem roaming aggressively between multiple access points we have at work that share the same SSID. I can't seem to get the Droid to do the same thing. I've tried downloading some wifi scanners, but they don't quite cut it. Is there a setting I'm missing? The expected behavior would be for the Droid to happily associate with any AP that shares a "remembered" SSID. Right now, it requires manually going into settings and associating with each and every AP in order for it to hop automatically as I move around the building.

View 4 Replies View Related

Android :: Connectivity On Android / No Access Points For 3G Or GPRS

May 5, 2010

I have a couple of questions about connectivity on Android, if anyone has any insight it would be great. What is the default when an application wants to wirelessly connect? Is it WLan? And if WLan is switched off or there is no access points around is it 3G or GPRS? Is a device always ip connected? Or when its disabled from WLan or 3G does it's lose its IP address?

Is an application, for example the browser only ever connected to one IP address? Or can it be connected to multiple addresses for each radio such as GPRS or WiFi (WLan)? Can an application decide which connection to open a socket to? For example can I create an application and decide whether to connect the socket to the WLan or GPRS? Or does the OS decide? Finally how do native applications handle connectivity? In the same manner?

View 3 Replies View Related

Android :: Network Access With HttpClient Using AsyncTask

Mar 16, 2010

I am trying to use a certain wrapper of HttpClient, called HTTPRequestHelper with an associated responseHandler as the basic class for my wrapper to a web service which is implemented as a singleton.

HTTPRequestHelper and samples of usage are described in chapter 6 of "Unlocking Android" published by Manning.

My problem is that invoking both the helper and the handler from a thread started on the main UI thread (either from an AsyncTask or directly) works only sporadically.

Here is the basic setup.

public class APIService { private ArrayList<Something> myThing;

CODE:.................

View 2 Replies View Related

Android :: Network Access Is Slow In Emulator

Aug 5, 2010

I've noticed very poor performance in the emulator (1.6 and 2.1) when trying to complete the forth statement below. It will take 5+ minutes running in the emulator. Interestingly, when I debug on my phone it's not nearly as bad at maybe a minute or so, but still not great. Running the app on my phone without debugging yields great performance (seconds). URL url = new URL(CommonProperties.BASE_SERVICE_URL + "param=1"); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document dom = builder.parse(url.openConnection(). getInputStream()); is there something I can do to speed up network access while using the emulator? Has anyone noticed anything similar?

View 2 Replies View Related

Android :: Market - Network - Error When Trying To Access

Oct 30, 2008

Any of you receive the following error when trying to access the Market?

=========================================
Attention
-------------------
A server error has occurred.
Retry, or cancel and return to
the previous screen.
[Retry] [Cancel]

=========================================

View 5 Replies View Related

Android :: Emulator Can't Access Host Os's Network

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

Android :: Network Access When Phone Sleep

Mar 21, 2010

I'm using a combination of alarm (set with AlarmManager) and background service to periodically synchronize data in my application. The only problem I have is that when sleep policy terminates Wi-Fi connection the synchronization no longer works. Is there a way to "wake up" the Wi-Fi connection that has been put to sleep? GMail somehow manages to do that because it notifies me about new e-mail even if the phone entered sleep mode.

View 2 Replies View Related

Android :: How To Make Applications To Use Only Network Access Point?

Feb 3, 2010

Is there a way to force all my requests to be made through my APN and not through wifi, without having to disable WiFi? I want to know if it is possible for my application to use exclusively the network access point. I'm already able to set the default network APN and to use it but for this I have to disable the Wifi first.

View 1 Replies View Related

Android :: How To Enable / Disable Access Point Network (APN)?

Jun 22, 2009

How to enable/disable Access Point Network (APN)?

View 2 Replies View Related

Android :: Emulator Access Server In Local Network

Aug 26, 2010

i am having difficulties to have my android app running in the emulator to connect to servers in my local network.i am getting a java.net.UnknownHostException but the servers are resolvable fine from the machine where the emulator is run.

View 2 Replies View Related

Android :: ADSL Connection To Access Internet - Network - Through Emulator

Sep 30, 2009

What are the settings required to access network for those who dont have ADSL connection?

View 1 Replies View Related

Android :: Application License - User Require Network Access

Nov 24, 2010

We are going to make the app available for .99 on the market, but is licensing it a must? We are worried about the license query bugging the user/always requiring network access. Should we definitely license regardless of our worries?

View 1 Replies View Related

Android :: How To Config Computer / Phone Network To Access Local Web Server Via USB?

Aug 20, 2010

Current configuration Use Android emulator and GAE tools (to access local GAE service I set uri http://10.0.2.2:8888/XXX and it works.I would like to use Android device(phone) via USB to call web service running on connected "local" computer.What is best configuration practice ((I don't have static IP) I am using mac and linux)?

View 1 Replies View Related

HTC Incredible : Access DInc Through Network Rather Than PC?

Apr 29, 2010

As the title eludes to.. I was wondering if I can access my DInk through my wireless home network rather than hooking it up to the computer? Sorry if this was posted earlier, I did a couple searches and couldn't find anything.

View 5 Replies View Related

HTC Desire :: Need Network Access For Froyo Update?

Aug 23, 2010

I don't have a SIM inserted. I have firmware "2.1-update1". If I connect to WiFi and go to system software updates it says "there are no updates available for your phone". Do I actually need to be connected to a network to update to froyo? I'm in Australia.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved