android-8.1-oreo

Opening android application has delay after clicking on OneSignal notification in android 8

こ雲淡風輕ζ 提交于 2021-02-07 14:22:41
问题 I've added oneSignal library to my android project. Everything goes right except when i click on the received notification from one signal server. it takes about one or two minute to open my android app on my device, but emulator works fine. My device is Galaxy s7 with android 8 and emulator uses android 5. I guess my android version is the issue. maybe new features on android 8 does not allow app to open immediately. Any idea? 回答1: Finally, after a lot of searching, I found the cause.

Opening android application has delay after clicking on OneSignal notification in android 8

本秂侑毒 提交于 2021-02-07 14:21:10
问题 I've added oneSignal library to my android project. Everything goes right except when i click on the received notification from one signal server. it takes about one or two minute to open my android app on my device, but emulator works fine. My device is Galaxy s7 with android 8 and emulator uses android 5. I guess my android version is the issue. maybe new features on android 8 does not allow app to open immediately. Any idea? 回答1: Finally, after a lot of searching, I found the cause.

No custom sound with Android Firebase Notification

寵の児 提交于 2020-01-24 02:25:12
问题 I am using Firebase push notifications in my Android App. I can send correctly notification with custom icon, but I have not managed to play my custom sound. I always get the default sound of my device. { "registration_ids": "myToken", "notification": { "body": "my body", "title": "my title", "icon": "ic_notification", "sound": "mysound.mp3" // I tried "mysound", "mysound.wav"... }, "priority": "high" } The custom sound is located in /res/raw I have been able to play my custom sound with

Activity rotating itself and back to normal in android 8.1

放肆的年华 提交于 2020-01-12 07:20:12
问题 My App is running fine for all the android version but I have noticed that in Android 8.1.0 (Oreo) when I go the screen from portrait activity to landscape activity and when I press back button it shows the abnormal behavior. Screen auto rotate from landscape and returns it to normal. It looks like Activity is restarting itself. Below are the activities which is define in the manifest file. <activity android:name=".Home.TrainingsActivity" android:configChanges="keyboardHidden|orientation

Can't find Android 8.0-8.1 (Oreo) API 26-27 ARM System Images

偶尔善良 提交于 2020-01-11 16:40:06
问题 Are there anywhere Android 8.0 (Oreo) API 26 and Android 8.1 (Oreo) API 27 ARM System images (ARM, not x86 Intel) for AVD Manager? Thanks. Unofficial? Beta? Alpha? Any? 回答1: The ARM images for API 26 and 27 are not available yet. ARM images available till API 25 only. Note: Google recommended an x86 system image on an x86 host for better emulation performance. 回答2: You should build Android sources for specific platform by yourself 回答3: Recent updates enabled computers with AMD processors to

Background service is not working in Oreo

孤街浪徒 提交于 2020-01-09 07:07:32
问题 I want to run my app in background if I kill the app instance also. But after I kill my app the service also stops working. Here is my code please any one help me to solve my issue. I followed this link for running in the background but it is not working if I remove the instance. Please can any one show me how to run a background service if the instance is removed also? This is my MainActivity @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Background service is not working in Oreo

心已入冬 提交于 2020-01-09 07:06:16
问题 I want to run my app in background if I kill the app instance also. But after I kill my app the service also stops working. Here is my code please any one help me to solve my issue. I followed this link for running in the background but it is not working if I remove the instance. Please can any one show me how to run a background service if the instance is removed also? This is my MainActivity @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);