ios, swift, iphone development tutorials, x-code development

Powered by Blogger.

Main Menu

create a TableView in ios swift xcode

create a TableView in ios swift xcode It is very simple to create a table view in ios swift.But first you know that how to create a ne...

Sunday, 18 February 2018

Android Studio m hello world app bnane ka aasan trika sikhe


Android Studio m hello world app bnane ka aasan trika sikhe

To dosto aj hum dekhenge ki android studio m hello world ka pehla app kese bnate hai.
Dosto aap soch rhe honge ki ye bhut hi hard to aesa kuch nahi hai Android studio m app bnana 
bhut hi aasan hai.Aao chalo dekhte hai kese bnate h android m application.

Jesa ki humne last tutorial m humne dekha tha ki project kese create krte hai. so aj hum uske aage 
dekhenge ki app finally hum bnate kese hai.

To dosto sabse pehle to aap apna android studio ka project khol le.



Activity_main.xml(Layout)

Jesa ki aap dekh rhe h yha humne Activity_main.xml file ki image dali hai.Dosto Iska
code bhi niche m daal rha hu taki aapko smjhne m aasani rhe.


Activity_main.xml(Layout):-  

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout    xmlns:android="http://schemas.android.com/apk/res/android" 
   android:layout_width="match_parent"
    android:layout_height="match_parent"   
    android:orientation="vertical"
    android:background="@color/colorPrimary">
    <TextView
     android:layout_width="match_parent"
     android:layout_height="wrap_content" 
     android:text="Hello world this is my first app in android"
     android:textAlignment="center"
     android:layout_marginTop="40dp"
     android:textSize="20dp"/>
</LinearLayout>

Eske ander sabse pehle btaya gya hai ki xml version konsa use ho rha hai android studio m hmare.uske baad 
<LinearLayout> jo ki layout ka kis tarah se show krana hai wo btata hai. wese hi or bhi bhut se hote hai. per hum 
basically LINEARLAYOUT or RELATIVELAYOUT ko hi use m lete hai.
uske baad Linear Layout ki height or width set krte hai ki hmare layout puri screen pe show honi chahiye ya nahi 
wo hmare pe depend krta hai hum use kesa show krwana chahte hai.
Agr hum usme color or dena chahte hai background m to background color name ki properties ko use lenge.

Ab aate hai TextView m jo ki hmare text ko application m show krane k liye use aata hai.Esme bhi hum dekhenge ki 
eski height or width kya rkhni hai.to humne esme eski Height rkhi hai "WRAP CONTENT" eska mtalab ye hai ki eski 
size utni hogi jitni mare text ki.

Fir humne "Android:text" attribute ko use liya hai jo ki hmare message ko show krane m use aayega.Or fir humne 
esko layout se topMargine diya.Ki layout ki top se kitna margine rhega.Or Last m text ko size di hai.

Ab es layout ko show krane k liye koi na koi model class ki jrurt hoti hai jo ki esko show kraye.To eske liye hum 
MainActivity,java(Class) ko use kr rhe hai.Eska code niche diya gya hai or smjhaya gaya hai.

MainActivity.java

MainActivity.java(Class)


MainActivity.java(class) Code:- 

package com.example.avi.practiceapp;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {

    @Override    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}

Jesa ki aap code dekh pa rhe hai.sme sabse pehle kuch files import ki gayi hai.Ye android studio ki by default libaries hai jo
android studio khud hi project create krne k sath sath import kr leta hai.Eske baad hum aate hai 
"public class MainActivity extends AppCompatActivity".MainActivity.class

jo ki extend kr rhi hai AppcompactActivity se agr es inherit nahi krenge to humare app m 
 ERROR aayegi R(resource) ki so hume AppCompactActivity ko extend krna jruri hai.
onCreate jo ki ek method hai basically koi bhi android k project ka.Jisme hum layout ko 
set krte hai. setContentView.Layout jo ki humari UI(User Interface) hai, ki user ko 
App ka front view kesa dikhana hai.or jesa ki hum sabhi jante hai koi bhi view ko show krane 
k piche koi na koi Model class ka hath hota hai. so Usi trh hum ese bhi ek Model class ka name 
de skte kyoki Layout ko show krane k liye hum es class ki jrurat to pdegi hi pdegi.

Hamara Application bnane k baad kesa show hoga uska video niche diya gaya hai.TAki aapko ek idea
lag jaye ki application banne k baad kya output degi.




THANK YOU DOST MILTE HAI AGLE TUTORIAL M.
NOW BYE BYE TAKE CARE..!







  

Thursday, 15 February 2018

how to create a simple hello world app in android studio | simple hello world app android studio m kese bnaye


Today we learn about how to create a simple hello world app in android application in hinglish language.


To dost aj k es tutorial m hum dekhenge ki ek basic simple hello world application kese bnayi jati android studio m. To aao chalo dekhte hai.

Sabse pehle to hum new project create kr lete h.Agr nahi pta to chalo dekhte h h niche di gyi image ke ander
for creating a new project in android studio

Image for creating a new project in android studio

Ab es image k ander hum New pe pehle click krenge then New project wale option pe click krenge fir hmare samne jo next screen open hogi wo kuch es tarah se hogi dekhte hai..

create Android Project

                                                                           create Android Project


Es picture m humne jesa ki simple My Application name diya hai wese hi aap kuch bhi name de skte hai.Name dene k baad hum NEXT button pe click krenge or hmare samne ek or new dailog box open hoga jo ki aapko next image m show ho rha hai niche ki taraf.

Target Android Devices

Target Android Devices

Es image k ander jesa ki aap dekh pa rhe h ki ye kh rha hai Target Android Devices eska simple sa ye matlab hai ki aap apna target device jo ap dena chahte hai wo select kr le. jese API 19,API 21,API 23 jo bhi aapki requirement hai uske hisab se or NEXT button pe click kre.Click krne k baad aapke samne es trh ki screen khulegi jo ki niche di gyi image m display ho rha hai.

Add an Activity to Mobile

                                                                                      Add an Activity on Mobile

Es image k ander aap dekh rhe hai different-different type ki Activities show ho rhi hai, To hume esme se EMPTY ACTIVITY ko select krna or NEXT pe click krna hai or fir last jo finish dailog screen khulegi wo es tarah se hogi jo ki niche di gayi image m btaya gya hai.

Configure Activity

Configure Activity 

Es tarah se Configure Activity pe aane k baad hum FINISH  button pe click krenge or hmare samne hmara project create ho jayega..Project create hone m 2-3 minutes lega.



Thanks for watching next tutorial m hum hello world ka sample app kese bnate h wo dekhenge.

android studio 2.2,android ide,android developer studio,android studio for windows ,google android studio,android studio sdk,android studio for android,android studio app development,android studio java,android studio project
latest android studio,using android studio,app kaise banaye ,mobile app kaise banaye,android app kaise banaye ,
app kaise banate hai,android apps kaise banaye,app kaise banaye in hindi

Wednesday, 7 February 2018

A project report format for the SAD REPORT, SEMINAR REPORT


A
PROJECT REPORT
ON
<TITLE>
Submitted to the  University Name
Partial Fulfillment of the requirement for the degree of(example)
MASTER OF COMPUTER APPICATIONS (MCA)
(Session)

LOGO
Submitted to
 University Name

                                 Guide By                                                                    Submitted By                                                                
           <Guide Name>                       <Name of Students>
       
                 
YOUR COLLEGE NAME

                                             
CERTIFICATE
            

your college name

                 



LOGO OF YOUR COLLEGE

This is to certify that the present SAD Report “Title” is submitted by <Students Name>  to  YOUR COLLEGE NAME  for DGREE NAME. They have completed this work under my supervision and no part of this SAD report has been submitted for the issue of any other degree or diploma.
We recommend that this may be accepted for the issue of DGREE NAME.
                  



                                            
(Principal)                          (Head of Department)                (Designation)        
                                                                                            

ACKNOWLEDGEMENT

Exchange of ideas generates the new object to work in better way whenever a person is helped and cooperated by others his heart is bound to pay gratitude and obligation to them. To develop a project’s SAD Report is not a one man show. It is essentially a collective work, where every step taken with all precautions and care. Therefore first duty is to thanks all people who took pain in completing this project.
Firstly we thank <Guide Name>, who gave us inspiration to do work in this field and gave us his precious time whenever needed. Thank may be matter of merely formality but with us it is expression of heartfelt gratitude to our project’s SAD Report supervision. We are highly indebted for his gestures. We are also thankful to HOD, Your Department Name and faculty members for invaluable suggestions and boosting confidence to make this successful. We also thank our class fellows and friends, who helped us a lot during our project work.



<Students Name>


                                       
                  
                                                     TABLE OF CONTENTS
                                                     ********************
               CONTENTS
               **********
1. Introduction
      1.1   Overview
      1.2    Project objection
      1.3    Project scope
2. Oraganization Overview
3. System Study
      3.1       Need
      3.2       Project concept & features
      3.3       Existing System
      3.4       Proposed System
      3.5       Feasibility Study
      3.5.1    Economics
      3.5.2    Technical
      3.5.3    Operational
4. Cost benefit analysis
5. System analysis
6. General Description
7. Data flow Diagram
E-R diagram
8. System Design
      8.1   Input design
      8.2   Output design
      8.3   Data base design
9. System Testing
10. System implementation
11. Security Backup
12. Conclusion
13. Bibliography