I have created an iPhone app which works perfectly smooth on my simulator. Now I try to deploy it on an android device (i've tried it on the simulator and also on an android device) and my app runs very slow. It laggs like hell when you even just scroll down, and it takes like 5 seconds to load a page.
Is there anything that could cause this slow behavior?
I'm using Titanium SDK 1.6.2, and when running on the emulator I'm using Android 2.3. - API level 10.
Thanks!
The Titanium Mobile SDk v1.8 from the continuous build seems to speed up the the tableviews.
You can download it from http://builds.appcelerator.com.s3.amazonaws.com/index.html .
Also, I hooked-up my Android device to my Mac and have Titanium Studio install my app there. Much faster than doing so to the Android emulator.
Moreover, some features like playing movies from remote sources don't work on the emulator, but work on the Android device.
The Titanium Appcelerator TableViews are just dead slow on android. Go look through their Q&A section and you'll find ou're not the only one having this issue. Your best bet is to remove as much complexity as you can or possibly pre-render every row as an image and put it in a scroll view.
Related
I am working on a Unity project, and I want to export it on Android, and WebGL. For stability purposes I have to use the profiler provided by Unity, and I managed to make it work with an APK version of my project, running on an Android device. But when I want to export my app on WebGL, it freezes on the first frame, and then stops my web browser.
I checked the checkbox for the profiler to be connected to launch, but nothing seems to be happening on it, and I think it's not working at all...
Have you ever experienced this kind of problem? And how did you manage to solve it?
I have already tried to use the Firefox profiler, but it doesn't work like I was expecting (the Unity profiler is more useful regarding the different processes like GPU CPU Audio etc...)
The version of Unity I am currently using is "Unity_2020.2.4f1"
Can you try running your WebGL version on google chrome?
if you run this app on chrome, you can check the issue on the chrome console.
I currently just created an Ionic 4 application and when i test on my android 5.1 device nothing shows, i go to google to find out what the issue could be and it turns out ionic 4 has a problem working on android 5.1 and lower devices. Is there anyway to get it to run on at least android 5.1 ?
It appears that Ionic has a closed issue on Github for this that states that Android 5 is not entirely supported:
https://github.com/ionic-team/ionic/issues/15438
One of the Ionic team members states:
"We are aware of this issue and have been working to fix it for some time. The main issue here is that there seems to be a constant stream of things that need to either be polyfill or reworked in order to support older Android. And to add to this, the android emulator is not always the best test ground
As the older android emulators are not connected to google play, they do not receive updates to the browser, meaning that though a real android 5 device might have chrome 70, the emulator is stuck on chrome 37 (~1% of the global market), which is a drastically different environment.
While we are making fixes internally in both stencil and ionic/(core,angular), devs can enable Angular Polyfills to fix some older features.
For most cases though, people will not be seeing "older" webviews that devs are getting in the Android emulator. They will be getting new chrome (70+) and all the latest web features.
We will we continuing to address this issue and make sure things work as expected."
The iOS simulator is great for testing websites locally on various Apple devices. Is there an Android equivalent?
I've tried Android studio, but I seem to have to build a device every time (unless I'm doing it wrong). I'm mainly concerned in seeing the sites in the default Chrome browser (Version 53, 59 etc).
What are you trying to test? An app or a website? If you have to "build a device" every time, you are doing it wrong.
The device emulator that you are using in android studio is the intended way to run android without a physical device. Ensure you have properly installed haxm if you are finding the emulator unbearably slow. It may help.
If you really want to try something else, you could try using the genymotion emulator. It is quite comparable to the official one though.
I've decided to take a closer look at Phonegap, which means currently I'm not developing anything, but trying different things, e.g. the camera. Apparently this can't be tested with Ripple for Chrome - as far as I know it needs to be tested either in the emulator or on the device itself. My computer isn't slow, but building an app and installing it either on the emulator or the device still takes "a lot" of time (if you're just playing around).
So my question now: Is there any way of speeding up the process of testing applications e.g. in the computer's browser even if you are using things like camera?
Here are the things I've tried so far:
Using my Sony Xperia Mini Pro
Using Intel-Android-Image
Booting emulator from snapshot
Ripple (which can emulate a lot, but not the camera)
Thanks :)
I ended up building the app each time, it's kind of fast if you use build scripts.
But you can also try cordova browser https://play.google.com/store/apps/details?id=com.eas.cordova.browser
or Cordova Fast https://play.google.com/store/apps/details?id=org.Bellinux.CordovaFast
I haven't tried the latter myself though.
cheers
I've already installed every requirements for android development.
Question:
Is there an emulator that best works for animation and dynamic data?
I know the emulator of the sdk package still works for this but too slow for animations..
I've searched around but still talking about just the same emulator.