1. Fix your contexts: Try using the appropriate context: For example since a Toast can be seen in many activities instead of in just one, use getApplicationContext() for toasts, and since services can keep running even though an activity has ended start a service with: …
Uncategorized
Get orientation from video or thumb obtained with AVAssetImageGenerator
Solution: Need to add following line under above method generator.appliesPreferredTrackTransform=true
Avocode can make developer work easy
How can Avocode help Developer? You can open and inspect Photoshop/Sketch designs without Photoshop or Sketch at all. Or you can export image assets, copy text and CSS, grab colors, gradients and fonts information, measure distances between elements, and save optimized image assets for production. …