3g

How does NAT in 3G works

柔情痞子 提交于 2019-12-11 08:03:38
问题 1) In a Android mobile, when I connect to 3G , I get a public address as 1.39.1.85 which I checked from google and the local ip for my Mobile is 10.145.15.50 which I got programatically. 2) How are these two addresses Assigned? by the BTS? NAT? 3) Is it possible for two mobile nodes can have same public IP address? 4) I know about NAT and Firewalls. I tried UDP hole punching: A) Using Mobile A, I sent a UDP packet to a UDP server java program which captures its public ip and port. b) Using

Calling Parse cloud functions very slow on iOS in mobile network

痴心易碎 提交于 2019-12-11 07:48:33
问题 We are experiencing an issue, that calling parse functions that return some data is very slow on iOS compared to Android. Especially with iOS 8 (8.0.2 and 8.1) and in 3G/LTE network. Sometimes it takes up to 10 seconds until the response is received, while on Android calling the same function always takes < 1 second. It seems that on some older iOS devices it's faster than on the new iPhone 6. We also tested side by side in the same WiFi network with an iPhone 6 and an iPod Touch, and on the

Ask user to start WiFi or 3G on launching an android app if not connected to Internet

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 02:19:29
问题 An android app that accesses some online pages using WebView is what I'm working with. I want to incorporate an option where, if the user is not connected to internet, the application will prompt to switch on WiFi or 3G. What's the best way to achieve this user convenience point of view? The code is given below: package com.url.appname; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view

Get IMEI code or/and Mac Address of a Device

半城伤御伤魂 提交于 2019-12-11 01:32:47
问题 I'm implementing an way to unique identify the device. The architect send me the following specs: devices with Wifi + 3G: IMEI Code devices Wifi only - MacAddress Both needs also the Manufacturer + Model for complete the id. My questions are: How do I get the IMEI from the device? How can I get the Manufacturer and Model from the device? (I see theres some constants on Build class for it, but don't know where to use them) Theres devices with 3G only? How can I know if the device is wifi only,

3g connection on android emulator

自古美人都是妖i 提交于 2019-12-10 22:15:06
问题 I am trying out this sample application in http://android-er.blogspot.com/2012/03/search-woeid-from-httpqueryyahooapiscom.html. Previously when I was trying out other sample app, I was able to access google map and internet. However, I am not sure what is causing my 3g connection in the android emulator to show an X now. In the emulator, I have also checked Settings-Mobile Networks-Data enabled-ticked. In the manifest file, I have put in this " " . I even reinstalled my Eclipese and Android

Google Map update with WiFi but not with 3G

牧云@^-^@ 提交于 2019-12-10 11:48:27
问题 I've made an app that determines the location (balloon) and shows it on Google Maps (with roads, city etc) so an active internet is needed. This works fine when I'm using WiFi but not on 3G. It determines the location and the location-output tot Google Maps is allright (including a balloon) but the Maps (with road, rivers, city etc) will not update. Hereby my manifest-settings: <uses-library android:name="com.google.android.maps" /> </application> <uses-permission android:name="android

Iphone 3g browser rendering problems. Wifi is fine

末鹿安然 提交于 2019-12-10 10:18:39
问题 I'm building a site which seems to work fine on all web browsers except the iPhone on a 3G network. For some reason it is not being displayed correctly as if the CSS is not being parsed. As part of my investigation, I've tried the same browser (iPhone Safari) in a wifi connection and the page renders fine. The page is written in classic ASP, what is interesting is that if I copy the rendered source from a PC browser and give it an extension of .htm, when you view this on the iPhone on 3G it

UDP port changes every time over 3G connection

老子叫甜甜 提交于 2019-12-10 10:16:59
问题 I am using java based UDP sockets to communicate with a 3G module; but the port (and sometimes the IP address) of the received packet changes every time, which is very surprising. This indicates that i can't assign a fixed IP/Port to the 3G module and communicate with it, but only rely on the incoming packets to get the destination information. Could anybody tell me why? What's the difference between TCP/UDP connection over 3G and the general Internet ?Thanks in advance! 回答1: Mobile carriers

recorder works on iPhone 3GS but not on iPhone 3G

瘦欲@ 提交于 2019-12-09 19:33:17
问题 I have a AVAudioRecorder, which gets initialized like: _recorder = [AVAudioRecorder alloc]; NSMutableDictionary *recordSettings = [[[NSMutableDictionary alloc] initWithCapacity:2] autorelease]; [recordSettings setObject:[NSNumber numberWithInt:kAudioFormatMPEG4AAC] forKey: AVFormatIDKey]; [recordSettings setObject:[NSNumber numberWithInt:AVAudioQualityLow] forKey: AVEncoderAudioQualityKey]; NSURL *url = [NSURL fileURLWithPath:[self getActualSoundPath]]; [_recorder initWithURL:url settings

Is peer-to-peer communication over 3G/4G possible for smart phones?

爷,独闯天下 提交于 2019-12-09 06:59:59
问题 I'm trying to write an app that transfers data from one android device to another - but the devices are most likely located in different parts of the city, state, or country. (The straight forward way would be to have a central server (or any type of server), but i'm trying to avoid using one). The data I'm trying to pass is text, pictures, or a combination of both. The solution I've found so far is to communicate with specially formatted text or picture messages; but that seems far from