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?

Android :: Connectivity on Android / No Access Points for 3G or GPRS


Android :: How To Get Connectivity On Gprs / Edge?

Jun 29, 2010

I am currently in China and therefor run a VPN on my PC to connect to the outside world, I would also like to run the same VPN (PPTP) on my android. I can connect via VPN if I am using WiFi but when I try to connect over GPRS/Edge I can't get any connectivity. All web pages load with the standard "web page not available" and apps, eg. the market place, won't connect either. I would have thought that if it was a carrier issue (CMCC) I wouldn't be able to connect to the VPN in the first place. So is this a Android issue, a setup issue or a carrier issue? And can you actuality run a VPN over GPRS om Android?

View 1 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 : Auto 3G - Gprs - Access

Apr 30, 2010

I just got an x10(android 1.6) , it seems like d phone can automatically access network/gprs whenever it feels like, this may cause a huge bill on me n also drain all battery power within d day, unlike older phone(not that old), gprs will be in use when needed n shutdown when not needed.

The only way to stop all this auto 3G downloading/uploading is to manually disable all the mms feature in the mobile networks or kill all task(kill task appilcation). And if i wanted to use those gprs, again i have to manually turn on all these setting, whereby traditional handphone need not do all these , which i find it more convinient unless subscriber has all the free DATA given.

Hopefully the os/software can be upgraded better to understand a user needs whenever needed and not automatically downloaded data as if noone bizness.

View 2 Replies View Related

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?

View 7 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

Android :: Way To Control Access To Both Wifi / 3G GPRS?

Mar 5, 2010

I was wondering does anyone know if its possible to open a wifi and a 3g connection at the same time on Android? Is there any way to control access to both Wifi and 3g/GPRS data connections and use them at the same time?

View 2 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 Desire : Can Turn Off GPRS Access

Jul 24, 2010

I'm getting the desire on pay as you go and while I will use GPRS for apps when out and for browsing, I'd rather not have it on 24/7 draining my wallet. Can the GPRS access be turned on and off when you want it, or is it always on?

View 2 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

Samsung Galaxy S :: Understanding GPRS Settings (New Access Point)

Oct 5, 2010

I recently got a new SIM card (same provider, Telkomsel, but for a different area code in Indonesia). The settings are supposed to be automatic, and I do indeed have a "Telkomsel GPRS" under "Mobile networks" > "Access Point Names". The 3G on the old SIM worked pretty well, without having to do anything, but this one gets only rare and short-lived connections to the net. I've rung up Telkomsel a few times now, and they're supposed to be fixing it soon, but it's a few days and I'm getting impatient. One of the help line people suggested manually entering a new access point, but the info he gave me was a bit confusing.

View 1 Replies View Related

Samsung Galaxy S :: Re-enabling GPRS - Can't Switch 3G Access Back On

Oct 24, 2010

When I first bought my Samsung Galaxy S, I shut down everything 3G related as my internet bundle didn't kick in until this week. Now I can't seem to switch 3G access back on. I've downloaded APNdroid, but I've clearly left something crucial switched off as 3G still not working. The instruction manual isn't very useful.

View 3 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

Samsung Moment :: Connectivity Lost / How To Regain Web Access?

May 19, 2010

On my bus commute to work, using my 2.1 Samsung Moment, I pass through some areas with less than ideal connectivity. Sometimes when I'm accessing a news app, an exclamation point appears and I lose all connectivity. I usually have to restart the phone to regain connectivity. Is there any other way to regain web access other than restarting the phone?

View 5 Replies View Related

Sprint HTC Hero :: Connectivity / No Application Access And Cannot Check Email

Jun 24, 2010

After rooting my Hero the night it came out, I noticed that I'm having connectivity issues. Weather won't update, can't check email, can't access facebook, etc. How to put my phone back to normal?

View 3 Replies View Related

Samsung Captivate : Filesystem Access Options / Phone Connectivity

Aug 4, 2010

I'm a big fan of just having direct access to my devices (i.e., no sync, no "management" front end). So this isn't about local access from the device (using MyFiles or Astro), but from a PC in the same location (so not like 3G remote). So far I've explored these options: USB Connect phone, mount from notification menu, and there you go. Bluetooth Pair phone, use "send file" from PC BT app (running in system tray).

Files drop into a 'bluetooth' directory, ready to move/use. Android Web OS Very beta-esque right now, but runs as a service on the phone, then you can access the filesystem (and SMS, eventually other functions). You can copy up to the phone or download (basically via a simple web mechanism). Use across Another service on the phone, a basic FTP server accessible across WiFi.

Works pretty good so far, I created a 'network location' in Windows, then a shortcut on my desktop into my MP3 directory on /sd. So I just open that folder, copy over MP3s. Doesn't matter where the phone is currently sitting or connected. For the services type options, I'm going to check out something like Locale or Tasker, when I can trigger the service to fire up based on a rule (a specific WiFi network trigger would be outstanding).

View 1 Replies View Related

Android :: How Do You Display Many Points On Map?

Jun 29, 2009

I understand the notion of overlays and all, but what if I want to display thousands of points on a map?The map becomes unresponsive after a few hundred OverlayItems are added.What's the best approach for doing this?

View 4 Replies View Related

Android :: Catching Points With GPS - Geo Fix

May 5, 2009

I am trying to write a code about catch lat. and long. points with the GPS, actually I am using the shell with the commands "geo fix" because the DDMS doesn't work in linux apparently, I am using this scripts:

getBestProvider(criteria, true); getLastKnownLocation(provider); requestLocationUpdates(provider, 2000, 10, locationListener);

The questions is: the program is working right now in the emulator, but what about if I move the program to the real cellphone? Is the same? I need think in something else?

View 2 Replies View Related

Android :: Get Distance Between Two Geo Points

Apr 29, 2010

I want to make a apps that check what's the nearest place from where the user is. I can easily get the location of the user and I have a list of places with latitude and longitude. What would be the best way to know the nearest place of the list against the current position. I could not find anything in the google APIs. I am worried I need to resort to my calculate and have to do math to calculate it.

View 2 Replies View Related

Android :: G1 Constantly Using 3G Or GPRS

Oct 19, 2009

Recently my g1 has started using 3G or GPRS almost constantly, like its auto checking e-mails or somthing.If i disable the 3G option it uses GPRS insted.I have reset the g1 to factory defauts, only APNdroid and ToggleWIFI installed, but it still keeps doing it.(APNdroid was installed so i could turn off ALL 3G/EDGE/GPRS connections)This is slowing down my connection when i do use GPRS/3G/EDGE.Why is this happening ??? and how can i stop it, without using APNdroid?This is a T-Mobile G1, using firmware version 1.5, build number CRC37

View 4 Replies View Related

Android : O2 GPRS - EDGE - G3 And H

Jun 14, 2010

I have recently upgraded to the HTC DESIRE on o2, So far all I have seen is the "G" = GPRS, so far I have not seen 3G, E, or the HDPSA or what ever it is :-). Does o2 support anything else but "G" on this handset etc etc, or is my phone faulty ? I live in the UK and so far today I cant even use my internet - O2 have said there are having issues with 3G but didnt say where in the UK or maybe this is Nation Wide ?

View 4 Replies View Related

Android : Get The Location Value From GPS And GPRS

Nov 14, 2010

I'm a android application developer novice.

I'm try to get latitude and longitude value via android.Location class, but sometime my system can't to get The correct value is lat: 0.00 and lng: 0.00, Perhaps It's return incorrect value because Android detect by GPS only.

Now, I know that location value can detect by GPRS/WIFI, and how do I get It ?

View 1 Replies View Related

Android :: Adding Labels To Points On Map?

Jan 6, 2010

I'm trying to add a label to each of the points on a map that I've created. Setting the "title" and "snippet" values of the OverlayItem don't seem to automatically cause these labels to appear however. I would've thought this would be a pretty simple and common requirement. Am I missing something? Can someone tell me if there's a function that does this?

View 3 Replies View Related

Android :: Displaying Route Between Two Points On Map

Dec 6, 2009

I'm trying to develop an application which display the locations of contacts on a map (a Msn-like but for geo-localisation). I search to display a route between my own location and a contact location I want to join but I find yet no solution to do this. In the Android API and Maps add-on API I just find classes to display and listen Location, Distance, GeoPoint, etc., but no possibility to display a route between two points. Is it possible or not provided by the API?

View 7 Replies View Related

Android :: Support For More Touch Points?

May 23, 2010

Has anyone checked to see if 3 or more points will show up on an Incredible? I'm trying to see if there's hardware/driver/android support for more touch points. Why more touch points? I dunno. It could be cool for something. I read that the physical screen supports 10 but my first tests printing MotionEvent.getPointerCount() only give me 2.

View 2 Replies View Related







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