Android Studio is too slow – Make it fast
1) Help->Edit Custom VM options in Android Studio
-Xms256m
Comments following:
##-Xmx1280m
##-XX:MaxPermSize=350m
Add following:
-Xmx2048m
-XX:MaxPermSize=1024m
Restart the android studio. That’s It.
Android Studio is too slow – Make it fast
1) Help->Edit Custom VM options in Android Studio
-Xms256m
Comments following:
##-Xmx1280m
##-XX:MaxPermSize=350m
Add following:
-Xmx2048m
-XX:MaxPermSize=1024m
Restart the android studio. That’s It.
Components | Description |
---|---|
Activities | An Activity is an application that provides a screen with which users can interact in order to do something. |
Services | Services handle background processing tide up with an Activity Or application |
Broadcast Receivers | Broadcast Receivers use to take care of communication between Android OS and applications. |
Content Providers | Content Providers used to interact with data, Provides data to applications, via a content provider your application can share data with other applications. Android contains a SQLite DB which can serve as data provider |
Fragments | Represents a behavior or a portion of user interface in an Activity. |
Views | Views Represent UI elements that shown on the screen including images buttons, menu, lists forms etc. |
Layouts | Represent the look and feel of an android page |
Intents | Intent is used to invoke Activity or component. Intents allow the application to request functionality from other services or activities |
Resources | External elements, such as strings, constants and drawable pictures. |
Manifest | Configuration file for the application. |
Android Version | Code name | Android API Level |
1.5 | Cupcake | 3 |
1.6 | Donut | 4 |
2.1 | Eclair | 7 |
2.2 | Froyo | 8 |
2.3 | Gingerbread | 9 and 10 |
3.1 and 3.3 | Honeycomb | 12 and 13 |
4.0 | Ice Cream Sandwitch | 15 |
4.1, 4.2 and 4.3 | Jelly Bean | 16, 17 and 18 |
4.4 | KitKat | 19 |
5.0 | Lollipop | 21 |
How to Check Android or IOS devices and play the appropriate stream in JW player:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#Code Example var ua = navigator.userAgent.toLowerCase(); var isAndroid = ua.indexOf("android") > -1; jwplayer("myplayer").setup({ playlist: [{ sources: [ (isAndroid)?{file:'rtsp://localhost:1935/vod/myvideo.mp4'}:{file:'rtmp://localhost:1935/vod/mp4:myvideo/myvideo.mp4'}, {file:'http://localhost:1935/vod/mp4:myvideo.mp4/playlist.m3u8'} ], title: 'myvideo', width: 854, height: 480, }); |