osmandapp / osmand-api-demo

Example of usage OsmAnd API
89 stars 43 forks source link

How to open Osmand instead that it overlays the calling app #28

Open Jaykocha opened 4 years ago

Jaykocha commented 4 years ago

after 5-6 hours of trying and testing it seems that only the Intent part of the demo app is working. Any idea why AIDL part is not working?

Jaykocha commented 4 years ago

2020-08-31 21:12:03.762 2644-2900/? E/BufferQueueProducer: [net.osmand.osmandapidemo/main.java.net.osmand.osmandapidemo.MainActivity[13465]#1] disconnect: not connected (req=1) 2020-08-31 21:12:03.797 13465-13465/net.osmand.osmandapidemo E/ViewRootImpl: sendUserActionEvent() returned. 2020-08-31 21:12:03.931 3036-3129/? E/WindowManager: win=Window{2c8f47f u0 net.osmand.osmandapidemo/main.java.net.osmand.osmandapidemo.MainActivity EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.AppWindowToken.destroySurfaces:896 com.android.server.wm.AppWindowToken.destroySurfaces:877 com.android.server.wm.WindowState.onExitAnimationDone:5491 com.android.server.wm.WindowStateAnimator.onAnimationFinished:320 com.android.server.wm.WindowState.onAnimationFinished:5913 com.android.server.wm.-$$Lambda$yVRF8YoeNdTa8GR1wDStVsHu8xM.run:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:100 2020-08-31 21:12:11.839 3297-3730/? E/ImsAdaptorImpl: setSSACInfo : ImsAdaptorImpl. 2020-08-31 21:12:11.840 3577-3781/? E/EPDG -- SIM0 [RILRECEIVER]: Incorrect EpdgIilIpcMessage IPC Message -- not initialized 2020-08-31 21:12:11.847 3297-3730/? E/ImsAdaptorImpl: setSSACInfo : ImsAdaptorImpl. 2020-08-31 21:12:11.850 3577-3781/? E/EPDG -- SIM0 [RILRECEIVER]: Incorrect EpdgIilIpcMessage IPC Message -- not initialized 2020-08-31 21:12:11.854 3577-3781/? E/EPDG -- SIM0 [RILRECEIVER]: RX [NET_REGIST] -- RESPONSE -- not initialized 2020-08-31 21:12:11.951 12001-12001/? E/ORC/Log: cmc_activation 2020-08-31 21:12:11.952 12001-12001/? E/ORC/Log: cmc_watch_activation

vshcherb commented 4 years ago

Did you try example - https://github.com/osmandapp/osmand-api-demo/? Here AIDL is working fine and you can probably modify some parts