marcick Well-Known Member Licensed User Longtime User Dec 21, 2015 #1 Is there any way to remote connect to a device with TeamViewer and see the generated logs, as if the device is locally connected to the IDE ?
Is there any way to remote connect to a device with TeamViewer and see the generated logs, as if the device is locally connected to the IDE ?
DonManfred Expert Licensed User Longtime User Dec 21, 2015 #2 If you have an Premium Teamvieweraccount with mobile addon then you´ll be able to connect to the device with teamviewer. BUT "seeing the devices screen" does not enable you to get any LOG-Output So; the answer is NO Upvote 0
If you have an Premium Teamvieweraccount with mobile addon then you´ll be able to connect to the device with teamviewer. BUT "seeing the devices screen" does not enable you to get any LOG-Output So; the answer is NO
marcick Well-Known Member Licensed User Longtime User Dec 21, 2015 #3 Isn't it possible to write an app that when started record in a file all the log output of the device ? Actually I have a problem with my app on a customer device. I see with TeamViewer that it crashes as it is started but without any message. Almost impossible to discover why without the log... Upvote 0
Isn't it possible to write an app that when started record in a file all the log output of the device ? Actually I have a problem with my app on a customer device. I see with TeamViewer that it crashes as it is started but without any message. Almost impossible to discover why without the log...
DonManfred Expert Licensed User Longtime User Dec 21, 2015 #4 marcick said: Isn't it possible to write an app that when started record in a file all the log output of the device ? Click to expand... Maybe it is possible on older devices. Or rooted ones. But i think on newer devices a app dont have access to the systems catlog (starting android 4.1+? 4.4+?) Upvote 0
marcick said: Isn't it possible to write an app that when started record in a file all the log output of the device ? Click to expand... Maybe it is possible on older devices. Or rooted ones. But i think on newer devices a app dont have access to the systems catlog (starting android 4.1+? 4.4+?)
Erel B4X founder Staff member Licensed User Longtime User Dec 21, 2015 #6 You can write such an app. Each process can read its own logs. Prior to v4.1 it was possible to read the logs of all apps. Check LogCat from the Phone library. Upvote 0
You can write such an app. Each process can read its own logs. Prior to v4.1 it was possible to read the logs of all apps. Check LogCat from the Phone library.
marcick Well-Known Member Licensed User Longtime User Dec 22, 2015 #7 Thanks Erel. Which is the best place to put the code so that it catches everything ? (I have services called without an activity running (sms capture), starter service, code module ...) Upvote 0
Thanks Erel. Which is the best place to put the code so that it catches everything ? (I have services called without an activity running (sms capture), starter service, code module ...)
Erel B4X founder Staff member Licensed User Longtime User Dec 22, 2015 #8 The starter service is the best place for it. Note that the LogCat event is a special event and it runs in a different thread. Upvote 0
The starter service is the best place for it. Note that the LogCat event is a special event and it runs in a different thread.