I've developed a very big application for Blackberry Curve 8900. It contains so many Bitmaps and they are coming from URL through Parsing. I am using wifi connection. The app hangs many times. Even it fails to start.
Are you trying to download the images in the event thread (UI thread)? All lengthy ,network operations should be run in a separate thread.
Related
I have been trying to load the model over 200MB on the ios app, but the viewer crashes after loading a few seconds. In the web inspecter, it returns many 404 errors. This error only happens on the ios app and not happens on the android app.
In my mind, I think it is related to the memory limit. I check the document of viewer v7 Allocate Memory for Large Models and Update memory limit but with no fortunate. How could I load the large model on ios app with forge viewer?
Ok based on my colleague's experience, Ionic suffers from web performance problems on mobile, such as 'animation jank', Navigation bugs, keyboard popup bugs with Form input and memory bloat, which could be the main reason why the Viewer is running out of memory.
I will suggest maybe trying React Native. These apps are written in javascript, where the JSC/V8 engine creates & manipulates Native UI components for both iPhone and Android platforms. This gives your app speed and the buttery smooth animation, of a typical native app written in Xcode/Swift and Android Studio/Java. Hence, React Native app's don't suffer the problems that Cordova/Ionic do.
Here is a blog post to help you develop the app.
https://forge.autodesk.com/blog/forge-react-native-au-talk
How are long running background tasks handled in Android Things? Can developers rely on unbound Services being kept alive by the system?
Because you are the only application running in Android Things you will not be interrupted like usual on an Android mobile device. You can also just use Services like normal if that is what you desire.
Further you can create a background threaded task, this will not be killed or anything and can continue to run in the background for as long as your Activity is around (which with Android Things, will be the whole lifespan of the device being turned on).
Being relatively new to iOS App development, I wish to develop an app which runs like a service in background (comparable with android service). The goal of my app is to use the native voice recognition, also while the app is inactive. My question is, would it principally be possible to code an app to be able to run also in background? I've read in a few pretty old threads that iOS closes any app after three minutes. However, should it be possible, I would be thankful for any coding example.
I don't think so, because if the app is on background, the local audio recogisation is for Siri.
I'm developing an application only for company’s internal use.(iOS 5 and later)
The application does some tasks and then has a lot off calls to multiple web services.(Some information is read/write from core data).
The problem is that all calls together take longer than 10 min.
How can I keep a thread in background communication with web services forever? Can I create a new thread each 10 min?
Only certain types of apps can run in the background longer than 10 minutes.
In your case, you might want to look into "Background Fetch" mode, that is new to iOS 7.
See here:
iOS App Programming Guide
I've created a simple javascript for my iOS app that I'd like to run simultaneously on multiple iOSDevices connected via USB to one host Mac machine. Launching instruments connected to an iPhone from the command line works fine but if I attempt to launch a second instruments connected to an iPad, the first instruments session hangs.
Upon terminating the first instruments session, I get one of more of the following lines printed:
Stopped: Script stopped due to device being disconnected
After extensive research on the subject, with no results on the phrase, I've been trying to read into what is meant by Apple's Instruments Guide:
When you choose All Processes, Attach to Process, or Choose Target from the Target menu, Instruments sets the default target for all instruments to the program you choose. There are occasions, however, when you might want to set a different target for each instrument. You might want to sample two different programs at the same time, for example, using the Sampler instrument. If you have some instruments that are capable of tracing all processes, you might want them to do just that while single-process instruments sample just one process.
I'm wondering if the Automation.tracetemplate is a single-process only instrument and that if another process is started with the same Automation trace then the first is usurped.
Any advice would be grateful as this is a major block for running our time intensive automation tests over multiple iOSDevices.
Update 27 Mar 2012
The following is from an email received after submitting a bug to Apple on the matter (developer.apple.com/bugreporter):
I heard back from a UI Automation engineer. UI Automation is a single process Instrument. As such, you cannot use it simultaneously on multiple devices.
You could try installing OS X in a virtual machine, and having two instances of the virtual machine running simultaneously. I know that might not be what you are looking for, but it should work.
Try to connect all your devices to a Mac OS X server then try if that fails get the device to pass it to the other one and then pass to the mac
You cannot run UI Automation simultaneously on multiple devices. Interestingly, even Xcode 5 bots seem to have this same limitation. :-/