Value In Brief
All You Need To Know Explained In Brief

Java for Android – Documentation and Code Snippets

All you need to create Android app in Java. Java Syntax Primitive Data Types byte short int long float double char boolean Java Operators: Arithmetic: + , – , * , ? , % Assignment: = , -= , += , *= , /= , %= , &= , ^= , |= , «= , »= , »>= Bitwise: ^ , & , | Logical: && , || Relational: < , > , <= , >= , == , !

Javascript Cheatsheet – Documentation and Code Snippets

Javascript is a scripting language, created to run in the Internet browser but later used in all places!. Javascript is always shortened as js or JS. Javascript Syntax: Variables // declare a variable var ourName; // store values myNumber = 5; myString = "myVar"; // declare variables with the assignment operator var myNum = 0; // add, subtract, multiply and divide numbers myVar = 5 + 10; // 15 myVar = 12 - 6; // 6 myVar = 13 * 13; // 169 myVar = 16 / 2; // 8 // increment and decrement numbers i++; // the equivalent of i = i + 1 i--; // the equivalent of i = i - 1; // decimals var ourDecimal = 5.

Why Go is better than Rust ?

First, it’s very important to say that both Go and Rust are absolutely excellent programming languages. My goal here is not to criticize any language. In this article, I’ll try to give a brief overview of where I think Rust is the ideal choice, and where I think Go is a better alternative. If you had to sit down and think of the programming languages which were best aligned with the motive to develop secure, microservice favoring frameworks and apps, you would again find yourself staring at the two languages.

How to Convert Arabic Numbers to Hindi Excel

if you want to convert numeric numbers (1234567890) to Arabic numbers (Hindi)(١٢٣٤٥٦٧٨٩٠) select the area of cells that you want to change press ctrl + 1 for format cell go to custom and type this code: [$-2060000]0 Note: Hindi numbers are ١٢٣٤٥٦٧٨٩٠ but we generally call them Arabic numbers which is not correct.

Show Hidden Files in Mac Finder

In Finder, you can click your computer’s hard drive under Locations, then open your Macintosh HD folder. Press Command + Shift + . (period) to make the hidden files appear. You can also do the same from inside the Documents, Applications, and Desktop folders. If you want to hide the files again, press Command + Shift + . (period) again. The post is finished because we are giving VALUE IN BRIEF.

Sliding Notifications

how to add a slidey notification into your Android project in Drawable: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <solid android:color="#C999" /> <corners android:topLeftRadius="10sp" android:topRightRadius="10sp"/> <stroke android:color="#000000" android:width="1sp"/> </shape> in your layout XML <TextView android:id="@+id/Message" android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center" android:layout_gravity="bottom" android:textSize="10pt" android:padding="10dp" android:textColor="@android:color/black" android:background="@drawable/popup_background" android:text="POPUP MESSAGE" /> in Java : AnimationSet slide = new AnimationSet(true); Animation animation = new TranslateAnimation( Animation.RELATIVE_TO_SELF, 0.0f, Animation.RELATIVE_TO_SELF, 0.0f, Animation.RELATIVE_TO_SELF, 1.5f, Animation.RELATIVE_TO_SELF, 0f); animation.setDuration(1000); animation.setFillAfter(true); slide.addAnimation(animation); animation = new TranslateAnimation( Animation.

How to put a Button at the bottom of the screen - Android Development

the whole gravity / layout_gravity is a bit confusing, so here is a snippet: <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal" android:gravity="center_horizontal|bottom"> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text=" Back " android:id="@+id/btn_back"/> </LinearLayout> The line of code that makes the button at the bottom is android:gravity="center_horizontal|bottom".

Running Multi Module Builds Command Line

to get current project using mymodule in the ant build process. Add this line to default.properties in your Android project. android.library.reference.1=../mymodule reference

Android Emulator Avd Notes

to create a test project : android update test-project -m ./path/main_project/ -p ./path/test_project/ to launch emulator :emulator -avd ADB server & list attached devices: adb devices adb start-server

Intelligent Failure

Intelligent failure is when you learn from your failures. So you do not fail again in the same trap. make sure to analyse the system and detect the failure cause, modify the system so the failure does not occur again. This appraoch is perfect for all system that need to be versatile in the future. This appraoch is used in technology-development and self-improvement.