EMUI 9.1 - boot_received/wifi_state_changed never fired on app installed via USB - EMUI Bugs and Issues

Hi,
I'm developing an app which need to receive wifi and boot notification from OS using BOOT_RECEIVED/WIFI_STATE_CHANGED notification.
I note that the app work correctly in android 9 official emulator, on a device with Oxigen 9 and on a motorola one with a Google android 9.
But on my huawei P-smart with EMUI 9.1 the app receive only WIFI notification and only on foreground or in background. If I wipe it out
it receive no further notifications.
Also on device reboot no "BOOT_RECEIVED" notification is received (but is received on emulator/oxigen/motorola).
Is this behaviour imposed by the fact that I installed my app coping it on the smartphone via usb-cable and installing it from there?
Is there a way to workaround this limit?
TIA BR
Roberto C.

Related

[GUIDE] whatsapp on tablet s [easy step by step tutorial]

Anyone intertested in installing whatsapp on your tablet s?
- need root and rooted android phone
I know this method from my asus transformer but it works here also now we have root.
- root your phone
- install whatsapp on your phone
- install TB (titanium back up) on your phone
- with TB make a back up of whatsapp
- open file manager on your phone and look for TB folder
- take the 3 files with the whatsapp name in them and move these to your tablet s
- root your tablet
- install TB on your tablet
- open TB on your tablet
- in file manager go to TB folder
- move the 3 whatsapp files taken from the phone and place them in the TB folder
- open TB and "restore" your whatsapp
You now have whatsapp on your tablet s using the phone number of you mobile phone
Whatsapp wont like it when you have 2 sessions with the same phone number so it is a good idea to do this with another sim card in your phone, this than will be your tablet s phone number.
Just tested it and it works great, you CAN see the names of your contacts to if you enable it in menu :
in whatsapp :
- settings button
- settings
- more
- show all contacts
Easy as that
If there are problems just ask
Ive installed whatsapp on my cheap ass qware pro 3 running ics, This must work on other devices aswell i guess.
1) Go to your contact list on your mobile phone, From the menu "import/export" choosse "export to sd".
2)Copy the exported file to your tablets SD card.
3)Install whatsapp on your tablet from the market or the official wbsite.
4)In whatsapp you fill in an old number of a mobile that still works (whatsapp cant be on 1 phone number on 2 devices), Or like i did fill in your "house phone, land line" number.
5)Whatsapp now wants to verify your number. choosse to recieve the confirmation code by phone call.
6)Enter the code and voila a working whatsapp.
7)Import the contact list file you placed on the SD card and you now have your complete contact list in whatsapp.
Happy texting!
whatsapp wont install on honeycomb thats wy i posted this method
I tried this method on honeycomb and on ics nd still no joy .
I have a sony tablet s.
Sent from my Sony Tablet S using Tapatalk 2
hasjee said:
Ive installed whatsapp on my cheap ass qware pro 3 running ics, This must work on other devices aswell i guess.
1) Go to your contact list on your mobile phone, From the menu "import/export" choosse "export to sd".
2)Copy the exported file to your tablets SD card.
3)Install whatsapp on your tablet from the market or the official wbsite.
4)In whatsapp you fill in an old number of a mobile that still works (whatsapp cant be on 1 phone number on 2 devices), Or like i did fill in your "house phone, land line" number.
5)Whatsapp now wants to verify your number. choosse to recieve the confirmation code by phone call.
6)Enter the code and voila a working whatsapp.
7)Import the contact list file you placed on the SD card and you now have your complete contact list in whatsapp.
Happy texting!
Click to expand...
Click to collapse
Hi, I have tried this method on my HP TP with CyanogenMOD CM9 Alpha 2 , but when I open the program, and click the I agree button, a message pops up and says Whatsapp curerntly doesn't work on Tablets and didn't even gave me e a chance to enter anything. Anyway to get around that?
Everyone! I managed to make WHATSAPP work on my tablet using the following procedure:
1. Registered my no. with whatsapp on my phone.
2. Used titanium backup to backup the app.
3. Restored the app + data
4. When it starts, it may say that the tablet isn't compatible.
5. Kill the app and restore only the data.
6. Run the app and voila!
If you don't have a smart phone how can i install this app on my tablet.
is there a way like getting data out of a virtual android system on PC?
Im managed to run a virtual android system on PC with a working wathsapp and i can talk to my friends because virtual 3G but i want this on tablet to that use only wifi connection.
Root my tablet is atm not possible because kernel 10. (Sony Tablet S)
Well it doesnt matter, smartphone or virtual. If ur tab isnt rooted, you cant do a thing. Use condi's guide to root it. Either use pre-rooted ics or upgrade to 3.2.1r2 which might change the kernel. Then you can do whatsapp on ur tab.
Im not sure if that would be possible to pre root ect. Android 4.0.3 kernel 2.6.39.4 build 9#1 tab comes from USA.
noisekick22 said:
Im not sure if that would be possible to pre root ect. Android 4.0.3 kernel 2.6.39.4 build 9#1 tab comes from USA.
Click to expand...
Click to collapse
This is already on ICS - currently there is no root for ICS. Sorry.
OM
I gona check out for it.
Whatsapp from Wildfire S running CM7 to Galaxy Tab 2 7.0 (rooted)
What would be a strategy to get the Whatsapp app ported from the CM7-based device to an ICS based one? TB has the app disabled (name has a strike-through effect), and it doesn't install onto tablet.
Ideas?
Can I get the messages on both units (phone and tablet)?
xyancompgeek said:
Everyone! I managed to make WHATSAPP work on my tablet using the following procedure:
1. Registered my no. with whatsapp on my phone.
2. Used titanium backup to backup the app.
3. Restored the app + data
4. When it starts, it may say that the tablet isn't compatible.
5. Kill the app and restore only the data.
6. Run the app and voila!
Click to expand...
Click to collapse
Dude, you are awesome! Thanks!
Even that method wont work for me. Just makes the app crash.
Sent from my Sony Tablet S using Tapatalk 2
It works XD I have a motorola xoom and works great! I link the whatsapp of my table to my Google voice number xD
thx a loooott
well if it is newer thing with whatsapp or not i am not sure but i just used my unsmart phone to use whatsapp on my simlocked phone.
what i did.
i installed whatsapp using wi-fi entered my regular phone number, sms came to my phone. waited and then i just entered my 3 digits verification code by hand and now it works.
thanks OP for the titanium backup method! it works!
How to run Whatsapp on WiFi Android tablet - No root required
http://forum.xda-developers.com/showthread.php?t=2112011

[Q] Android accessory don't stop show notification about attached device

When I connect my usb host device to my tablet with android 4.0.4 then android is swiching to accessory mode and show me notification/event about:
1) if my compatible app is not installed then android ask me if I want to download app from website or not. I can apply that or cancel.
2) if my compatible app is installed then android ask me if I want to open that application.
And its not matter what I choice because when I click for example 'close' notification, then android show this notification/event again and again and again. How can I repair that?
On my Samsung Galaxy S3 it works perfect. When I choice 'close' then notification is closed and android don't show it again.
My another tablet with android 4.1 don't swich to accessory mode, its show only notification about mass storage, why?
Please help. Thanks!

[Q] Nexus 5, Android 4.4, GCM - SERVICE_NOT_AVAILABLE... Solved.

Problem description:
1. Standard GCM registration code.
2. Confirmed working on several Nexus 4 (Android 4.4) and some other Samsung devices (various Android versions).
3. On Nexus 5 (Android 4.4.2., 4.4.3. and 4.4.4.) constantly receiving SERVICE_NOT_AVAILABLE.
4. In logs visible same problem from other applications that are using GCM.
Checked solutions (without success):
1. google play services/google store update, reinstall, varioud data cleaning,
2. time synchronisation,
3. google accounts remove, change,
4. wifi/cell/flight mode off/on/re-on,
5. factory rest,
6. handling broadcast receiver action com.google.android.c2dm.intent.REGISTRATION,
7. restrict background data option,
8. maybe some others, hard to remember all.
Any help would be appreciated.
[EDIT] Solved by reinstalling system.

Huawei Mate 7 update Marshmallow

My Huawei Mate 7-L09 just updated to EMUI 4.0 / Android version 6.0 Marshmallow. After the official update the sim card isnt fully read. the sim is read for a second and then disappears (gives me the no sim card notification) and the it comes again adn so on. Also it read only nearly quarter of my contacts and everytime i open the call settings it closes off automatically.
is there is a solution or should i downgrade it to lollipop??
Thanks

How can I sign out from the Sony android concept?

it seems linked to my android account, and notifiy me to update rom.
I repaired my xperia x with the companion, that is to say rolled back from android 7.1.1.1 to 7.0 and since then I still get updates to roll to android 7.1.1.1 which is the concept version. Can anyone kindly assist me to stop getting updates notification from the concepts but the official updates please.
If you dont update within 2 weeks the notification will dissapear
Did you (accidentally) reinstall the concept installer after the roll-back? If so, you only need to uninstall it.
I tried unlink my concept account in google‘s website, and clear my phone's data. But the updata notification still comes.
update: after unlink sony account with google account, the notification was gone.

Categories

Resources