cellular-network

Send and receive SMSs to a PHP script?

点点圈 提交于 2019-12-03 07:30:38
问题 Can a PHP script (which can be working with a MySQL DB) send and/or receive SMSs using some sort of server-side solution? Any special server-side application , or special hardware required? And compatibility? Windows, Linux? 回答1: There are plenty of companies like Esendex that offer APIs for sending/receiving SMS messages. I'm not sure if you're looking to send them directly from your hardware though? 回答2: You can get usb to gsm modems and send messages from php or any other language or you

Programmatically Controlling an iOS data connection [closed]

做~自己de王妃 提交于 2019-12-02 23:31:29
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . I was recently asked to create an iOS app for a client which controls all other installed apps' access to cellular data. For instance, the user would be able to turn off cellular data access to all apps but Safari. I assumed that this wouldn't be possible because of sand-boxing but couldn't find

Programmatically Controlling an iOS data connection [closed]

寵の児 提交于 2019-12-02 14:33:34
I was recently asked to create an iOS app for a client which controls all other installed apps' access to cellular data. For instance, the user would be able to turn off cellular data access to all apps but Safari. I assumed that this wouldn't be possible because of sand-boxing but couldn't find any relevant info via Google or the developer's docs, so thought I'd ask the question here - is there a specific class or framework I should investigate? No you can't , Apple does not allow such approaches . So there is no helping class or framework at all. 来源: https://stackoverflow.com/questions

iOS check if cellular technology available even if the device is on WiFi

女生的网名这么多〃 提交于 2019-12-01 22:15:50
问题 Need some help here. I need to detect if an iOS device have (on a certain moment) cellular capabilities (No matter which one). I tried to use reachability class, but the problem start when the user is connected to WiFi, because if so - reachability can't detect cellular I also tried to use this code: CTTelephonyNetworkInfo *telephonyInfo = [CTTelephonyNetworkInfo new]; NSLog(@"Current Radio Access Technology: %@", telephonyInfo.currentRadioAccessTechnology); [NSNotificationCenter

Is there a way to determine the actual time and date in iOS (not the time of the device)

假装没事ソ 提交于 2019-12-01 15:13:59
In iOS, I need to know the actual time (UTC), not the time of the device. In other words, it should not be possible for the user to tamper with the time or date. Anything that requires a network connection is not good (so accessing a time server is not an option). AFAIK, there are 2 theoretical ways of achieving this: Use the timestamp from the GPS satellite signal Get the current time from the carrier Problem is that this information is not exposed by any API in iOS. Is there another way? Most solutions you could possibly find (including getting GPS data from CoreLocation to access the time

Is there a way to determine the actual time and date in iOS (not the time of the device)

自古美人都是妖i 提交于 2019-12-01 14:07:05
问题 In iOS, I need to know the actual time (UTC), not the time of the device. In other words, it should not be possible for the user to tamper with the time or date. Anything that requires a network connection is not good (so accessing a time server is not an option). AFAIK, there are 2 theoretical ways of achieving this: Use the timestamp from the GPS satellite signal Get the current time from the carrier Problem is that this information is not exposed by any API in iOS. Is there another way?

Does IOS support simultaneous wifi and 3g/4g connections?

旧时模样 提交于 2019-12-01 06:14:06
I have a customer who has a device that has its own builtin wifi hot spot and he would like to connect it to an iPad 4G vie wifi and forward data at the same time through the cellular connection. Is this supported in IOS and if so can you point me to the appropriate documentation. Any suggestions are appreciated. Jim Comparing to Android, iOS supports simultaneous work of multiple network adapters. It's necessary to write C code working with BSD sockets, doing enum, bind, and handling network interface changes. By the way, it's ideologically very important to continue using that native BSD

How to detect tower changes in Android?

元气小坏坏 提交于 2019-11-30 08:37:46
问题 Just wanted to know whether it's possible to get cell tower changes in Android? I have seen an event called onCellLocationChanged in PhoneStateListener . Can I use this to detect cell tower changes ? 回答1: This is the correct method. It is always called if you are in a new cell. See the documentation here: http://developer.android.com/reference/android/telephony/PhoneStateListener.html#onCellLocationChanged(android.telephony.CellLocation) 回答2: This is not true. onCellLocationChanges from

Getting Tower GSM location lat lng

a 夏天 提交于 2019-11-29 23:26:37
问题 I would like to know a method or a way to find the location of the cell the mobile is connected to (GSM one) This is my class: package com.example.signal; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.sql.Date; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.LinkedList; import java.util.List; import android.location.Location; import android.location.LocationListener; import

Objective-C determine data network type of the iOS device

不问归期 提交于 2019-11-29 20:38:51
Im on an application that receive data from server, the problem is when user connect to cellular data (Not 3G or WIFI ), it take ages to receive data. i had implemented this code from this Answer but im not sure if it is effective or not, sometimes it's giving me an accurate type, and sometimes it don't. here is my code: - (void)newtworkType { NSArray *subviews = [[[[UIApplication sharedApplication] valueForKey:@"statusBar"] valueForKey:@"foregroundView"]subviews]; NSNumber *dataNetworkItemView = nil; for (id subview in subviews) { if([subview isKindOfClass:[NSClassFromString(@