Wednesday, 26 November 2014

How to push a project into git ?

For windows:

Install Git in your os

after installing the git go for search...


search gitbash..

open the gitbash...

so it is opened like command prompt


type

cd where is your project


ex: if u r project is in e drive:


Step 1:


cd /e

Step 2: cd typeyourprojectname/


Step3:git init


we are creating initialising the project to the git

observe in our project there is a folder with the name

.git





Step4:
git add*


add the all files to the git


step4:git status


check for the git status all files are added or not


step5:git commit -am "firstcommit"




Login to the git account in web with u r account:

create new repository:




How to push project to the globally:






and paste in u r commansd prompt :


git clone "your http url " and enter


$ git remote add origin https://github.com/yourname/my_project.git

    git push origin master


asking for username :enter ur github username

asking for  password: enter your github password.


you find the some thing htttp:url just copy that






Folow the link :


http://befused.com/git/existing-project-github


Create a branch in gitHub:

https://www.atlassian.com/git/tutorials/using-branches





Twitter Integration in android app ?

Thursday, 20 November 2014

How to run the android app with out usb cable ?

See here: http://forum.xda-developers.com/showpost.php?p=7594419&postcount=9
  1. Connect device via USB and make sure debugging is working.
  2. adb tcpip 5555
  3. adb connect <DEVICE_IP_ADDRESS>:5555
  4. Disconnect USB and proceed with wireless debugging.
  5. adb -s <DEVICE_IP_ADDRESS>:5555 usb to switch back when done.
No root required!
To find the IP address of the device: run ./adb shell and then netcfg. You'll see it there.