huawei

AT+CUSD Not Working on modem Huawei e3131a

删除回忆录丶 提交于 2019-12-12 21:39:39
问题 I am trying to send at commands to get balance on huawei e3131a modem but i always receive "Ok" as answer no matter the configuration i use (GSM, IRA, UCS2). I also tried to change the operator code ( #123# ) to many formats like Hex PDU Simple String but no way to get the balance. Here is the command i sent : AT+CUSD=1,"#123#",15 . Thanks in advance for the help. NB: I am using Putty to send commands. 回答1: I finally found the method to send USSD At commands. Some 3G Modem doesn't support

RunTime Localization (Multi-language) not working on some devices ex. Oppo f9 and Huawei y9

夙愿已清 提交于 2019-12-11 08:49:04
问题 I implemented the following Localization logic in order to be able to change the language of my app dynamically from English to Arabic and vice-versa. It is working on all emulator versions from 5.1 up till 9.0, and on all of my 7 physical devices. The problem is that i get complains from users specifically using devices like Oppo f9 and Huawei y9 (2019) that when attempting to change the language, the layout direction changes, however the app doesn't use the other string resources. It is

Foreground Service killed on Huawei (GRA-UL00) - Protected Apps Enabled

亡梦爱人 提交于 2019-12-09 09:38:58
问题 My foreground sticky service is killed after a few hours without being restarted. I know this has been asked a couple of times, and I have read and verified all the checks on my device. Its important to note that this seems to occur only on Huawei devices. So allow me to provide the following details. Periodic Service public class PeriodicService extends Service { @Override public void onCreate() { super.onCreate(); acquireWakeLock(); foregroundify(); } private void foregroundify() { //

HUAWEI kill a background app when the phone is locked

独自空忆成欢 提交于 2019-12-08 03:31:00
问题 this is the first time I ask a question on this forum: p I made an android application that must work in the background ie when the phone is on standby to be able to recover the location of the user. I use a service and wakelock. The application works on SAMSUNG but I noticed that HUAWEI kills the application if it is not in the list of protected applications. So I create a dialog box to tell the user to activate the application in the list of protected applications as shown here: Keeping a

BroadcastReceiver works for a while, then stops

∥☆過路亽.° 提交于 2019-12-07 07:51:15
问题 I'm developing an android app that responds to incoming calls. I've set up a broadcast receiver, set the permission and intent filter in the manifest file, and a lot of the time, it works. I can kill all apps, reboot the phone and it still works.. However, sometimes it doesn't react, and after this happens once, it doesn't respond after a reboot either. I've been struggling with this for about a month and it's driving me bananas. I really need my app to respond every time an incoming call is

Not working - Debug Mode native code (c/c++) on Android studio with tablet HUAWEI MediaPad M5

旧时模样 提交于 2019-12-06 15:35:27
I have a problem when i put breakpoints on my native code (c/c++) with this tablet (HUAWEI MediaPad M5, android 8.0.0, processor Hisilicon Kirin 960s). Indeed, in debug mode, i can't use the breakpoint on native code. So i can't debug native code. It's working with all the others devices (smartphone : samsung, sony). The setup configuration on android studio is ok. Can you help me please ? Do you have any solution please? Thanks you, Best regards Well, We contact HUAWEI's tech support and they told us that this is intended, probably on security purpose. Good news is that they can flash the ROM

Can't enable DEBUG & VERBOSE for Huawei Android Logcat

烂漫一生 提交于 2019-12-06 13:21:05
I'm having Huawei Nova Plus I just found that Huawei only displays in its Android log starting log level INFO . Of course I need DEBUG & VERBOSE in my development. I came across this link which is exactly same screens appear to me and I mark the 3 check at the end for " AP Log ", " Charge Log ", & " Sleep Log " when I reboot my mobile, it still behaves the same and only logging is for INFO. I check the project menu again, and I found all log level not checked after reboot. Appreciate help as really affecting my development. Followed the setup link. Don't reboot your phone, you will have the

Select dropdown Ionic don't show text

ε祈祈猫儿з 提交于 2019-12-06 06:24:50
问题 I am developing an application in Ionic 1.7. I have a select menu and I am facing a problem with it. For simplification, my code is like the documentation <label class="item item-input item-select"> <div class="input-label"> Lightsaber </div> <select> <option>Blue</option> <option selected>Green</option> <option>Red</option> </select> </label> http://ionicframework.com/docs/components/#select It works well with most devices, in iOS and Android. It shows the native select menu, and everything

Sending SMS messages via bash script using a Huawei E8372 hilink

大城市里の小女人 提交于 2019-12-06 05:02:05
I am attempting to send an SMS message from a Huawei E8372, which unlike older versions of this product now requires a login (username/password) before it will allow API calls to be made. From https://github.com/arska/e3372/issues/1 I have been able to update the code written by arasaahov as below which gets me past the login step (I can get a SESSION_ID cookie and token) #!/bin/sh # Script updated from example here: https://github.com/arska/e3372/issues/1 MODEM_IP="192.168.8.1" message="Hello world" phone="PHONE NUMBER HERE" echo "Get the Session token information from http://$MODEM_IP/api

Huawei device killing my foreground service, even with dontkillmyapp.com's solution

邮差的信 提交于 2019-12-06 02:57:56
问题 I'm developing an app which is basically a location tracking software . When you start it, it saves locations and sending them to a server. The code is working for like 5 years now without any modification, without any errors. It is implemented with a simple foreground service. In the recent months I was getting user reported errors about the service stops randomly on Huawei devices. First I thought it is some kind of rare/new crash on newer androids but there was no error logs at all in