3g

Removing 3G from supported devices

我只是一个虾纸丫 提交于 2019-12-01 08:16:05
问题 I'm trying to figure out how to remove the iPhone 3G as a supported device for my application in the AppStore. I emailed Apple support asking for them to update it in the reqs section and they responded saying I need to update my UIRequiredDeviceCapabilities keys. Well, it was submitted with : <key>UIBackgroundModes</key> <array> <string>location</string> </array> and <key>UIRequiredDeviceCapabilities</key> <array> <string>telephony</string> <string>location-services</string> <string>gps<

Error on checking balance via USSD

*爱你&永不变心* 提交于 2019-12-01 07:28:59
问题 I've been trying to check my balance from by 3g modem via AT commands and seem to be stuck. The device infomation is as follows: Manufacturer: QUALCOMM INCORPORATED Model: M6281 Revision: SSD_M6281A-0.0.1 1 [Oct 02 2008 07:00:00] The modem has USSD capability (advertised and also present in the factory installed dashboard). I am connecting via putty to COM4 serial port which is my modems application port. All AT commands are working fine but I am getting an error on issuing the following via

Can you explain the Functionality of requestRouteToHost() in android?

人盡茶涼 提交于 2019-12-01 00:08:37
In my code I am using requestRouteToHost() method: Does this routing means changing the WIFI to 3G or vice versa?? My code is not working... public static boolean isHostAvailable(Context context, String urlString) throws UnknownHostException, MalformedURLException { boolean ret = false; int networkType = ConnectivityManager.TYPE_WIFI; ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); if(cm != null){ NetworkInfo nf = cm.getActiveNetworkInfo(); if(nf != null){ networkType = nf.getType(); } URL url = new URL(urlString); InetAddress iAddress =

Can you explain the Functionality of requestRouteToHost() in android?

∥☆過路亽.° 提交于 2019-11-30 18:49:43
问题 In my code I am using requestRouteToHost() method: Does this routing means changing the WIFI to 3G or vice versa?? My code is not working... public static boolean isHostAvailable(Context context, String urlString) throws UnknownHostException, MalformedURLException { boolean ret = false; int networkType = ConnectivityManager.TYPE_WIFI; ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); if(cm != null){ NetworkInfo nf = cm.getActiveNetworkInfo(

How do I force an iOS app to use 3G instead of WiFi?

爱⌒轻易说出口 提交于 2019-11-30 10:06:33
I want to use a messaging protocol that works fine over 3G, but not over some corporate firewalls. How can my app force the use of the cellular network when it fails to connect over WiFi even in the case that the WiFi network is reachable? EDIT: After reading through the implementation of the Reachability class I remain unsure whether the two are indeed mutually exclusive. It could well be possible to discover both interfaces via gethostbyname() , which I might try just to see what comes out. Use getifaddrs to enumerate the network interfaces. Look for ifa_name that starts with "pdp." This

iPhone app crashes only in Release mode on 3G

懵懂的女人 提交于 2019-11-30 08:37:23
问题 I have an app I'm writing that crashes when I call addSubview on a UIScrollView with "EXC_BAD_ACCESS". It only does this on iPhone 3G in release mode and only on the device. I works fine in all these other configurations: iPhone 3G - Debug mode iPhone 3GS - Debug AND Release Mode iPhone 4 - Debug AND Release Mode Simulator - all. Furthermore, there is no rational reason why this should be happening. My object is not released by any of my code. 回答1: I had the exact same problem recently,

How make use of the Voice API to make calls using Huawei 3g Modems?

限于喜欢 提交于 2019-11-30 06:54:23
问题 Some Huawei 3g modems like mine (E1752) has ability to make and receive calls. I believe onboard there is PCM channel that can be used while making or receiving the calls but I do not have any more information on that. I am using their app called the Mobile Partner which is a fairly complete app which supports making and receiving calls. But I want to build my own app which will run on Mac OS X. But I am not able to locate any documents detailing the Voice API and the onboard PCM channel. If

Reducing the battery impact of apps that downloads content over a smartphone radio

心已入冬 提交于 2019-11-29 18:46:38
If I'm building a smartphone app that regularly downloads data from a server, and also intermittently uploads data (analytics, ads, etc.) what can I do to minimize the battery life impact of those transfers? The battery impact of transfers using the wireless radio (2G, 3G, LTE, etc.) is particularly significant. Is there anything about the power-use profile of the wireless radio that should affect my choices of when, what, and how to transfer data in order to minimize its impact on battery life? This answer is summarized from The Android Training class, Transferring Data Without Draining the

How to programmatically start 3g connection on iphone?

落爺英雄遲暮 提交于 2019-11-29 18:05:41
how to programmatically start 3g connection on iphone? do I need to use socket api? You don't need to. You just access whatever resource you need from the Internet, and the phone will handle connecting in a suitable manner. If you want to know whether there is a connection at all, and if so what kind is being used, there is an API and a sample from Apple . Also see Apples iPhone Network Access: Best Practices . The iPhone SDK abstracts out (in most cases) your connection type. You cannot choose to use wifi vs 3G vs EDGE vs Bluetooth. It might be possible if the device is jailbroken, but it's

How do I force an iOS app to use 3G instead of WiFi?

蹲街弑〆低调 提交于 2019-11-29 15:56:28
问题 I want to use a messaging protocol that works fine over 3G, but not over some corporate firewalls. How can my app force the use of the cellular network when it fails to connect over WiFi even in the case that the WiFi network is reachable? EDIT: After reading through the implementation of the Reachability class I remain unsure whether the two are indeed mutually exclusive. It could well be possible to discover both interfaces via gethostbyname() , which I might try just to see what comes out.