Does anyone have experience with checking system logs within Huawei P30 Pro mobile phone? What system logs does the phone keep? Are there logs to indicate when the phone switches between WiFi and GPRS Mobile Data, for example? If 'yes', could anyone provide an example how these logs look like?
Dial
##2846579##
and you will see a hidden menu. Go to the Project Menu > Background Setting > Log setting and define the log availability (log switch) and level (log level setting).
For details, you could check this questions.
Related
On my iPhone 7 OS 14.3 Google Assistant app shows no microphone or keyboard leaving me without the ability to do much. How can I activate the mic and/or keyboard? Microphone is enabled in Privacy and in Settings->Assistant.
First, make sure:
Your Google Nest or Home speaker or display is powered on and plugged into a wall outlet.
The microphone isn't muted.
For Google Home: On the back of the device, touch the microphone mute button. Your Assistant will say whether the microphone is muted.
For Google Nest Mini (2nd gen) and Google Home Mini (1st gen): On the side of the device, toggle the mic switch. Your Assistant will say whether the microphone is muted.
For Google Nest Audio: On the back of the device, next to the power cord, toggle the mic switch. Your Assistant will say whether the microphone is muted.
For Google Nest displays: On the back of your display, use the switch to turn on the microphone. Your Assistant will say whether the microphone is muted.
The LED dots on top of your speaker or display will spin or blink when you say “Ok Google” or "Hey Google."
If your Assistant answers other questions, try to ask the unanswered question in a different way.
General troubleshooting
If you've checked off all of the steps above and your Assistant still doesn't provide an answer, try one of the steps below and ask your question again. If you still don't get an answer, move to the next step.
Step 1. Reboot your speaker or display
Disconnect the power cable from your device.
Reconnect the power cable.
Step 2. Make sure your device recognizes the hotword
Say “Hey Google” to your speaker or display. Check if the LED dots on the top of your device spin or blink, indicating that it recognized the hotword.
Step 3. Make sure your device recognized the question correctly
Ask your Assistant the question again.
Say "Hey Google, repeat the question" to make sure your Assistant understood you correctly.
If it's still not recognizing the question, try to speak slower or try another question.
Step 4. Adjust the hotword sensitivity of your device
If your speaker or display often has trouble activating when you say “Hey Google” or "Ok Google,” you can adjust how sensitive Google Assistant is to “Hey Google.”
Advanced troubleshooting
If your Assistant still can't answer the question, submit a feedback report from the Google Home app.
OS 14.4 already exit. You can update! If dont help reset to factory! It may help you.
Apple's built-in applications show a pop-up message whenever the user doesn't have cellular or wifi connectivity. It looks something like:
"Cellular data is Turned Off
Turn on cellular data or use Wi-Fi to access data
[Settings] [OK]"
Clicking on the Settings button opens the settings panel.
Is this a system pop-up? How can I use it in my own application?
I'm already using UIRequiresPersistentWiFi but it uses a different type of message which appears when airplane mode is on.
Thanks!
You need to enable Application uses Wi-Fi in info.plist. Then this warning is displayed when cellular data is turned off and you're not connected to wi-fi.
Look at the Reachability example in Apple's Sample code. It will give you all the code you need to determine if you're connected or not to the internet.
I have researched this to death online and cannot find anything regarding auto launching an iphone app when an external accessory is either paired using BT or plugged into the dock connector.
We are an MFi developer with a BT accessory and application that we would like to launch when paired. We have the Info.plist containing our protocols and the device containing the correct protocol all working and communicating. The application works well with our BT device, however I would like to see the app launch when paired.
I have seen this before with accessories plugged into the connector and would live to know how that is accomplished.
http://www.metacafe.com/watch/5772611/ces_2011_withings/
Check at 3:15 in the video.
Does iPhone just have that ability for dock connected items to auto start?
I know that the External Accessory framework registers the protocol with the iPhone when the app is installed. This is how the iPhone/iPod knows to take you to the apple store when you connect a BT (or connector) device and you don't have an app for your connected devices protocol.
I don't understand why the app does not launch when paired, I would think this would be a no brainer. Can someone please shed some light on this topic. The best I found is from Apples docs:
Applications that are able to communicate with an external accessory should declare the ?protocols they support in their Info.plist file. Declaring support for specific protocols lets the system know that your application can be launched when that accessory is connected. If no application supports the connected accessory, the system may choose to launch the App Store and point out applications that do."
I cannot understand the meaning by "may choose to launch", does this mean is also chooses to launch? Please help.
The manufacturer of the device needs to include support for this feature at the firmware level. The details of this process are currently confidential by way of the MFi (Made For iPhone/iPod) non disclosure agreement, so unfortunately that is all the detail I can provide. Good luck!
I found some private (undocumented) APIs but Apple does not allow apps to use private frameworks. So does anyone know how to do this using Apple official packages?
like: when youtube app prompts you to the push notification: "Select a Wi-fi network"
Thanks in advance.
If you set the UIRequiresPersistentWiFi setting in your info.plist file, the iPhone OS will know that your app needs Wifi and pop up the message for you.
As far as I know, no app actually manually displays the wifi selection alert.
Thats wrong check this app out
http://itunes.apple.com/us/app/ihome-connect-setup-app-for/id450241802?mt=8
It shows available wifi networks
The best you can do in iOS, currently, is display the network the user is currently connected to. iOS doesn't allow you to access a wifi scan from within an app. I've been wrestling with this inability for some time now.
If designing an accessory that has WiFi, where you're trying to pass the user's WiFi network SSID and password, it will be up to the accessory to give the app that wifi scan list. The app can then display the list the accessory gave it to the user.
(I bet that's how the app #zaid pointed out in his answer, "iHome Connect", is doing it.)
Another approach is you could have a screen that prompts the user to enter the password to the wifi network they're connected to already, and then once the accessory is connected to the app, pass those details without the need for a wifi network list. I think that approach has a better user experience.
Plenty of stackoverflow questions that answer how to get the current wifi network, here's a couple:
Getting OSX Connected Wi-Fi Network Name
How do I get the current wifi network name after Yosemite in Swift?
Apple wants me to give the user a friendly apology if I can't find an internet connection. Using the Reachability Demo, this was easy enough. I want to take it a step further and monitor for a connection loss. The demo has this functionality, but I can't figure out how to shut my connection off to test if it works.
How would I go about simulating a loss of (or actually losing) a connection?
If you're developing in the iPhone Simulator, simply disconnect your computer from the internet. If your computer has no network access, neither does the iPhone Simulator.
To test on the device, you can do the following:
First, setup a WiFi router that you can use for testing.
You can turn on Airplane mode on the phone, then turn WiFi back on. This will prevent the 3G connection from providing data access.
Launch your application. Now you can simply disconnect your WiFi router to simulate a loss of connectivity.
You can use the SpeedLimit preference pane to simulate network latency under the simulator. And here's a command line version built on top of the ipfw command.
The advantage over just yanking the cord or killing WiFi is that you can specify the speed when hitting specific hosts so it can be used for testing without killing your regular network services.
You could install Apple's Network Link Conditioner
On Yosemite:
Network Link Conditioner can be found in the "Hardware IO Tools for Xcode" package. This can be downloaded from the Apple Developer Downloads page. Once the download has finished, open the DMG and double-click "Network Link Condition.prefPane" to install (source).
With this preferences panel you could create a profile with 0kbps speed.
On older versions of OSX:
Mountain Lion / Mavericks: Xcode > Open Developer Tool > More Developer Tools
Lion: /Developer/Applications/Utilities/Network Link Conditioner
For testing in the simulator I make great use of Little Snitch. It's a very useful application for writing rules as to what can communicate with the outside world and for how long.
It will also notify you if an application wishes to access the internet on the fly and you can temporarily restrict access for either that time, that session or forever.
As for testing on the device, I log into my wireless router and temporarily disable either the network or turn on restriction by MAC ID for the duration of the test.
Use Charles Web Proxy
You can inspect all HTTP/S requests your app sends and responses it receives, throttle connection to simulate any network speed. Create custom throttle profile called "Disconnected" with Bandwidth = 0, to simulate network disconnections.
Perhaps this preference pane is also useful for you: SpeedLimit.prefPane it can't loose the connection, but you can slow down it based on the host and port you're trying to reach.
Searching for similar need i.e. simulating a lossy wifi network connection on real device, I figured out how to do it :)
I connected my MacBook Pro on ethernet and shared my Wifi connection to the device.
Using Apple's Network Link Conditioner Prefpane then let me played with the connection quality.
Very useful to simulate 3G, Edge and other baudrate.
Next step : find and buy a usb wifi adapter working on MAC OS X to let all of us (developpers team) to test without wiring each computer to ethernet.
Hope this will help some of you.