I am developing a chat app using XMPP and asmack library. The issue I am facing is while typing in a chat message, the keyboard some times freezes and then the typed in letters. This is not happening all the time and is happening only twice in ten times...But Still I believe this will be annoying to the users. Any idea how to avoid this or what might cause this issue so that I can concentrate on that particular area in Android....
Any help would be great. Thanks
Related
I am an android developer and i created an android app which has a background service running.
I have basically created an app which shows chat heads whenever a notification arrives. user can tap on that chat head and reply to that message without opening native messaging app. (Just Like Facebook Messenger with chat heads).
My app runs very smooth in some devices like Vivo, Oppo. But it lags very much in some devices like Samsung and MI. I don't know what is going on here. My app has clean code and never crashes, it just lags and make the phone slower. on the other hand it runs very smooth in some deices.
I tried google but did not find any useful tips. I just want to know that if there is any way to detect the main cause of this lagging issue in some devices. App never crashes, never got any exceptions, don't have any error in code, but still it makes some deice slower and lags.
If anyone can help me finding the main cause of this lagging issue, then it would be a great help.
Thank you in advance.
you can use android studio profiler option to check whats causing lag in your app:
https://developer.android.com/studio/profile/android-profiler
ref tutorials:
https://heartbeat.fritz.ai/profiling-your-app-with-android-studio-7accc268cb98
we're developing an cordova android app with angularJS/Ionic. We installed our app on several devices and everything worked fine for a week or two. But since a few days the app randomly becomes black while in use. You can "resurrect" the app when you click the hardware back-button. It seems like the whole GUI is black but all services are still running.
The next problem is, that we have no access to the devices and our own devices don't show this behaviour.
Maybe anyone here has experienced something similar and can help me work it out or can provide us a few good ideas for logging this kind of errors on android?
I just learned Android from scratch and built an app with simple process using Android Studio.
The app has one process with repeating Alarm manager which will toast a message after 10 mins. That's it.
However, once I install it on a real device, after an hour or so, the device will ask to Share Bug Report. When I do share it,(via e-mail to my self), it is just a blank black screen..!
This happens with any device. I tried it on 3 devices so far. It is like:
Device before my app: Normal functioning.
Device after installing my app (after an hour or 2): A pop up comes
up with 'Share bug report'.
PS: I have not written any code to call or share bug report or any popup.
Has anyone come across this strange behavior?? Any idea on what is happening here??
EDIT 1: It is not just a blank screen but there is a word doc with lengthy set of code. It basically contains the entire lump of data of entire system. Not just my app..!
Probably your app is freezing or stops responding.
Analyze your app logs, you will find the cause.
Did you read these threads ?
What does it mean with bug report captured in android tablet?
http://android-developers.blogspot.com/2010/05/google-feedback-for-android.html
This is my first question on this forum.
I have a weird problem on Android platform. Currently our app is in closed beta and I have received few error reports of disappearing texts.
In practice, all the texts disappear in my app. In every Fragment, in every Activity. Also from Action Bar. Based on the reports, it seems that this occurs after using WebView, but I can not be sure if usage of the WebView has something to do with this issue.
I'm targeting the app >= 4.2 Android and received error reports from 4.2 to 4.4. Unfortunately I haven't been able to reproduce the problem.
This image shows you the problem. In the image should have texts in Action Bar (App name, Tab texts and also lot of texts in the view:Screenshot of the problem
Have you ever encountered this kind of problem and do you have any idea what might be the problem.
Thanks, Veikko
I've been working on my application, in android, for quite some time now when suddenly my layout started messing up with me. I"ve a client server based game which was working pretty fine until i dont know what happened that the xml disappears on the emulator and even when testing on the phone. However, it reappears after a number of tries but takes couple of days at times. Also, note that the functionality of the screen with missing buttons still works but that area of the layout remains invisible. The game fetches data from the server which is currently hosted on my PC from where i'm testing it.
Please help to understand what could be the reason. I'm clueless...
This type of behavior can be happened if the application is not properly Build. Try Clean + Build your application every time you want to test it.