Android – AndroidManifest.xml Part 1

Android – AndroidManifest.xml Part 1

The purpose of AndroidManifest.xml file is to give certain information to Android so the app will be executed, to Android build tools and to Google Play. The information that this file can have is: Name of the Java package Which components are exported to other apps All the component names (activities, services, receivers and providers) Which process will host the components What intents are handled What permissions that app must have Minimum and Target API levels the app requires Elements: <manifest> – the root element <application> – contains the elements…

Android – AndroidManifest.xml Part 1 Read More

CSS – length units

CSS – length units

CSS has many different units and there are two types: absolute and relative length units. common relative units: em – relative to the font-size in the parent element. 2em; means 2 times bigger than the font in the parent element rem – the same as em but this is relative to the root element. Both are used for font-size . 2rem; % – relative to its parent element dimension vh & vw – viewport height & viewport width (viewport = browser window). It is like % but it is relative…

CSS – length units Read More

Android – Intents

Android – Intents

An intent is a message one component send to another component to interact with or request some functionality from. Intents have data fields and some can be passed from one component to another like passing arguments to a method. One of those fields is the name of the component that will handle the intent. If you specify the name then this intent is called explicit intent. If the name is omitted, then you need to specify other fields, action, data and/or category. This intent is called implicit intent and is…

Android – Intents Read More

Android Studio and git

Android Studio and git

You can clone a git repository to Android Studio. Click the third option Check out project from Version Control and then select Git Now specify the repository, choose the directory you want to clone repository and click Clone. You can click Test if you want to test the connection to the repository If it a private repository you need to specify the username and the password. Click Log In Enable Version Control click VCS > Enable Version Control Integration. Now Select Git and click OK If Version Control tab is…

Android Studio and git Read More

HTML – Images and hyperlinks

HTML – Images and hyperlinks

img This element represents an image common properties: src – Path to the image, it can be on your server or on the web alt – alternate text which is a short description for the image. It is recommended because it provides information to the search engines. title – It is a tooltip, it appear when you hover the image with the mouse width & height – horizontal and vertical dimension. You need to adjust one of the two properties because the web browsers maintain the aspect ratio for the…

HTML – Images and hyperlinks Read More