ad728

Monday, April 10, 2017

AIDE Tutorial - 32 Video View

AIDE Tutorial - 32 Video View






Main xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center">
    <VideoView
        android:id="@+id/video"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

</LinearLayout>
Java


package com.kc.videoview;
import android.app.*;
import android.os.*;
import android.widget.*;
import android.net.*;
public class MainActivity extends Activity
{
    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);




VideoView video=(VideoView)findViewById(R.id.video);
video.setVideoURI(Uri.parse("android.resource://"
+getPackageName() + "/" +R.raw.video));

video.setMediaController(new MediaController(this));
video.requestFocus();
    }
}


Share:

AIDE Tutorial -27 Splash Screen

AIDE Tutorial -27 Splash Screen





Add new xml:Splash.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
android:gravity="center">
   
<TextView
        android:text="Welcome to my app"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
</LinearLayout>


Add new java: Splash.java
package com.kc.splashscreen;
import android.app.*;
import android.os.*;
import java.util.*;
import android.content.*;
public class splash extends Activity
{
    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.splash);
  
Timer time=new Timer();
time.schedule(new TimerTask(){
@Override
public void run()
{
// TODO: Implement this method
Intent in=new Intent(splash.this,MainActivity.class);
startActivity(in);
finish();
}},3000);}}



Android Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.kc.splashscreen" >
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".splash"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
<activity
            android:name=".MainActivity"/>
    </application>
</manifest>
Share:

Tuesday, April 4, 2017

Formula of Mathematics

Some important formula of Mathematics
  • (α+в+c)²= α²+в²+c²+2(αв+вc+cα)
  • (α+в)²= α²+2αв+в²
  • (α+в)²= (α-в)²+4αв
  • (α-в)²= α²-2αв+в²
  • (α-в)²= (α+в)²-4αв
  • α² + в²= (α+в)² - 2αв
  • α² + в²= (α-в)² + 2αв
  • α²-в² =(α + в)(α - в)
  • 2(α²+в²) = (α+в)² + (α-в)²
  • (α+в)² - (α-в)² = 4αв
  • αв ={(α+в)/2}²-{(α-в)/2}²
  • (α+в+c)²= α²+в²+c²+ 2(αв +вc+cα)
  • (α + в)³ = α³+3α²в+3αв²+в³
  • (α + в)³ = α³ + в³ + 3αв(α + в)
  • (α-в)³= α³ - 3α²в + 3αв² - в³
  • α³ + в³ = (α + в) (α² -αв + в²)
  • α³ + в³ = (α+ в)³ -3αв(α+ в)
  • α³ - в³ = (α -в) (α² + αв + в²)
  • α³ - в³ = (α-в)³ + 3αв(α-в)

  • ѕιη0° =0
  • ѕιη30° = 1/2
  • ѕιη45° = 1/√2
  • ѕιη60° = √3/2
  • ѕιη90° = 1
cos is opposite of sin
  • тαη0° = 0
  • тαη30° = 1/√3
  • тαη45° = 1
  • тαη60° = √3
  • тαη90° = ∞
¢σт ιѕ σρρσѕιтє σƒ тαn
  • ѕє¢0° = 1
  • ѕє¢30° = 2/√3
  • ѕє¢45° = √2
  • ѕє¢60° = 2
  • ѕє¢90° = ∞
¢σѕє¢ ιѕ σρρσѕιтє σƒ ѕє¢
  • 2ѕιηα ¢σѕв=ѕιη(α+в)+ѕιη(α-в)
  • 2¢σѕα ѕιηв=ѕιη(α+в)-ѕιη(α-в)
  • 2¢σѕα ¢σѕв=¢σѕ(α+в)+¢σѕ(α-в)
  • 2ѕιηα ѕιηв=¢σѕ(α-в)-¢σѕ(α+в)
  • ѕιη(α+в)=ѕιηα ¢σѕв+ ¢σѕα ѕιηв
  • ¢σѕ(α+в)=¢σѕα ¢σѕв - ѕιηα ѕιηв
  • ѕιη(α-в)=ѕιηα ¢σѕв-¢σѕα ѕιηв
  • ¢σѕ(α-в)=¢σѕα ¢σѕв+ѕιηα ѕιηв
  • тαη(α+в)= (тαηα + тαηв)/ (1−тαηαтαηв)
  • тαη(α−в)= (тαηα − тαηв) / (1+ тαηα тαηв)
  • ¢σт(α+в)= (¢σтα¢σтв −1) / (¢σтα + ¢σтв)
  • ¢σт(α−в)= (¢σтα¢σтв + 1) / (¢σтв– ¢σтα)
  • ѕιη(α+в)=ѕιηα ¢σѕв+ ¢σѕα ѕιηв
  • ¢σѕ(α+в)=¢σѕα ¢σѕв +ѕιηα ѕιηв
  • ѕιη(α-в)=ѕιηα ¢σѕв - ¢σѕα ѕιηв
  • ¢σѕ(α-в)=¢σѕα ¢σѕв + ѕιηα ѕιηв
  • тαη(α+в)= (тαηα + тαηв)/ (1−тαηαтαηв)
  • тαη(α−в)= (тαηα − тαηв) / (1+ тαηα тαηв)
  • ¢σт(α+в)= (¢σтα ¢σтв −1) / (¢σтα + ¢σтв)
  • ¢σт(α−в)= (¢σтα¢σтв + 1) / (¢σтв– ¢σтα)
  • •••
  • α/ѕιηα = в/ѕιηв = ¢/ѕιη¢ = 2я
  • α = в coѕc + c coѕв
  • в = α coѕc + c coѕα
  • c = α coѕв + в coѕα
  • coѕα = (в² + c²− α²) / 2вc
  • coѕв = (c² + α²− в²) / 2cα
  • coѕc = (α² + в²− c²) / 2cα
  • Δ = αвc/4я
  • ѕιηΘ = 0 тнєη,Θ = ηΠ
  • ѕιηΘ = 1 тнєη,Θ = (4η + 1)Π/2
  • ѕιηΘ =−1 тнєη,Θ = (4η− 1)Π/2
  • ѕιηΘ = ѕιηα тнєη,Θ = ηΠ (−1)^ηα
  • •••
  • ѕιη2α = 2ѕιηα ¢σѕα
  • ¢σѕ2α = ¢σѕ²α − ѕιη²α
  • ¢σѕ2α = 2¢σѕ²α − 1
  • ¢σѕ2α = 1 − ѕιη²α
  • 2ѕιη²α = 1 − ¢σѕ2α
  • 1 + ѕιη2α = (ѕιηα + ¢σѕα)²
  • 1 − ѕιη2α = (ѕιηα − ¢σѕα)²
  • тαη2α = 2тαηα / (1 − тαη²α)
  • ѕιη2α = 2тαηα / (1 + тαη²α)
  • ¢σѕ2α = (1 − тαη²α) / (1 + тαη²α)
  • 4ѕιη³α = 3ѕιηα − ѕιη3α
  • 4¢σѕ³α = 3¢σѕα + ¢σѕ3α
  • •••
  • ѕιη²Θ+¢σѕ²Θ=1
  • ѕє¢²Θ-тαη²Θ=1
  • ¢σѕє¢²Θ-¢σт²Θ=1
  • ѕιηΘ=1/¢σѕє¢Θ
  • ¢σѕє¢Θ=1/ѕιηΘ
  • ¢σѕΘ=1/ѕє¢Θ
  • ѕє¢Θ=1/¢σѕΘ
  • тαηΘ=1/¢σтΘ
  • ¢σтΘ=1/тαηΘ
  • тαηΘ=ѕιηΘ/¢σѕΘ
Share:

Sunday, April 2, 2017

TU questions of Research Methodology

TU questions of Research Methodology

2066

  1. What is scientific research? Discuss its characteristics.
  2. What is a research design? Explain the elements of a research design.
  3. What is review of literature? Discuss why it is necessary for a research work?
  4. Define the terms"reliability and validity". Discuss its importance in measurement of data.
  5. What are basic difference between a thesis and a project work? Explain the methods of a project work?
  6. What is questionnaire method of a data collection? Why pre-test is necessary for conducting questionnaire method of data collection? Explain.
2067
  1. what is the importance of research in management studies? Describe the difficulties in application of scientific methods in management research.
  2. What is the difference between deductive and inductive reasoning in research?
  3. Explain the research problem, research question and research hypothesis.
  4. What is the importance of review of literature in management'research?Describe various formats of review presentations.
  5. What is research design? Describe basic features of qualitative research design with suitable example.
  6. What is a questionnaire? Discuss the limitations in questionnaire design.
  7. Describe various aspects of the research report in management research.
2068
  1. What is scientific research? Explain the role of research in management.
  2. What is review of literature? Discuss why it is necessary in a research work.
  3. What is research design? Describe the types of research design used in the field of management.
  4. What is questionnaire? Describe the nature and quality of a good questionnaire.
  5. What is research problem? Explain how research problems are identified.
  6. What is research report? Describe the format of a research report with suitable illustrations.
2069
  1. Differentiate between basic and applied research. Describe the process of scientific research.
  2. What is research hypothesis? Discuss the types of hypothesis and their formulation.
  3. State and explain the importance of literature review in management research.
  4. Describe the sources of the literature and the format of review presentation of a textbook and a journal.
  5. Describe various types of research design applicable in management research. Illustrate each of them with suitable example.
  6. Discuss how reliability and validity are important in the measurement of attitude in scale.
  7. Explain the qualitative data collection methods. Discuss the factors affecting choice of data collection methods.
2070
2071
2072
  1. What is research?  Explain the role of research in management.
  2. What is research hypothesis? What are the characteristics of a  good research hypothesis and explain the procedure of testing of hypothesis.
  3. Explain the needs and importance of 'Review of Literature ' in management research and describe various formats of review presentation.
  4. Discuss the various types of research design? Explain the common sources of error in research design.
  5. What are the types of data measurement? Explain the Likard scale as a measurement of attitude scale.
  6. What is research report? Explain how research report should be prepared and presented.
Share:

Total Pageviews

Sponsor

Sponsor

ad300