Posts

Layout design in Android Studio

Example of a layout:- how to design a layout <? xml version= "1.0" encoding= "utf-8" ?> < ScrollView android :layout_height= "match_parent" android :layout_width= "match_parent" xmlns: android = "http://schemas.android.com/apk/res/android" > < RelativeLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: tools = "http://schemas.android.com/tools" android :layout_width= "fill_parent" android :layout_height= "fill_parent" android :paddingLeft= "@dimen/activity_horizontal_margin" android :paddingRight= "@dimen/activity_horizontal_margin" android :paddingTop= "@dimen/activity_vertical_margin" android :paddingBottom= "@dimen/activity_vertical_margin" android :background= "@mipmap/back2" tools :context= "com.example.avi.lookie.MainActivity" > <

how to use camera in android studio| code

activity_main.xml(layout) <? xml version= "1.0" encoding= "utf-8" ?> < RelativeLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: tools = "http://schemas.android.com/tools" android :layout_width= "match_parent" android :layout_height= "match_parent" android :paddingBottom= "@dimen/activity_vertical_margin" android :paddingLeft= "@dimen/activity_horizontal_margin" android :paddingRight= "@dimen/activity_horizontal_margin" android :paddingTop= "@dimen/activity_vertical_margin" tools :context= "com.example.avi.trial.MainActivity" > < Button android :layout_width= "match_parent" android :layout_height= "match_parent" android :id= "@+id/btn1" android :background= "@mipmap/camera" /> </ RelativeLayout > ******************

How to hack wifi password-2017

                                 How to hack wifi password      There are many ways to hack wifi password Method 1 : Command Promt   :  It is a simplest method for getting connect with WiFi by hacking password. this is generally used by person who want to get WiFi password without software and with command promt. here are 3 steps and video to get password of WiFi without software Step 1 : Run command cmd . Step 2 : type command netsh wlan show profile name=”wifi name” key=clear . Step 3 : now whole detail of password and user is in front of you. Method 2 : Brute Force Attack   :  Brute force attack is the easiest way of hacking any WiFi network password in neighbor areas  but like other it also have some negative points. It generally used for weak passwords like small passwords of 3 to 6 digits. but if some guys have strong password then it will take thousand of months to hack WiFi password without any app or software. but some software and apps available to hack any WiFi pass

BOOT YOUR PHONE IN RECOVERY MOOD- HARDRESET

Image
******************BOOT OUR PHONE IN RECOVERY MOOD************************** 1. WHEN OUR ANDROID PHONE WILL NOT BOOTING NORMALLY, WHEN WE CAN      PERFORM FACTORY RESET FROM BOOT MENU . 2. PRESS AND HOLD THE CORRECTS BUTTONS WHILE YOUR PHONE IS POWERED OFF. 3. ALMOST PHONE GENERALLY USE VOLUME UP , VOLUME DOWN AND POWER OFF BUTTON TO GET FACTORY MENU. 4. WHEN WE PRESS THESE BUTTONS THEN FACTORY BOOT MENU IS OPEN. 5. NOW PRESS SCROLL DOWN BUTTON TO THROUGH THE THE MENU BUTTON. 6. PRESS POWER BUTTON TO SELECT "WIPE DATA/ FACTORY RESET". 7. SCROLL TO SELECT THE YES . THIS WILL CONFIRM YOUR SELECTION. 8. NOW PRESS THE POWER BUTTON. THIS WILL START THE RESET PROCESS AND  REFORMAT YOUR ANDROID DEVICE   TO ITS FACTORY SETTING. ***********************************************************************************   

HOW TO FORMAT A OENDRIVE

Image
***********************HOW TO FORMAT A PENDRIVE******************** 1. first  pluged in pendrive in pc. 2.right click on device. 3. Then open this list menu ⇣ 4. select "FORMAT" option ↩   5. now open this bar and select "START" ↩ 6. Within 10-15 second pendrive is formatted sucessfully..!! ***********************************************************************************

how to make pendrive bootable

Image
              *************HOW TO MAKE PENDRIVE BOOTABLE************** 1. FIRST WE OPEN THE COMMAND PROMPT 2. TYPE "DISK PART" AND PRESS ENTER KEY. 3. OPEN USER ACCOUNT CONTROL ⇣ CLICK ON YES BUTTON 4. NOW OPEN DISKPART. 5. DISKPART> LIST DISK ↩ 6. DISKPART>SELECT DISKPART 1 ↵   7. DISKPART> CLEAN ↵      8. DISKPART> CREATE PARTITION PRIMARY ↵ 9. DISKPART> SELECT DISKPART 1 ↵ 10. DISKPART>ACTIVE ↵ 11. DISKPART> FORMAT FS=NTFS ↵ 12. DISKPART> ASSIGN ↵ 13. DISKPART>EXIT ↵ ************************************************************************ THANKS FOR VISITING ************************************************************************

program to print numbers

#include<stdio.h> #include<conio.h> void main() {  int a,i;  clrscr(); printf("enter a  number="); scanf("%d",&a);  for(i=0;i<=a;i++)   {     printf("%d\n",i);    } getch(); }