Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. move one page to another page by clicking on button in android using eclips

move one page to another page by clicking on button in android using eclips

Scheduled Pinned Locked Moved Android
android
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    subhas000
    wrote on last edited by
    #1

    ho to implement this

    O 1 Reply Last reply
    0
    • S subhas000

      ho to implement this

      O Offline
      O Offline
      Oluwafikayo Ajayi
      wrote on last edited by
      #2

      To move from one activity to another in Android, you need an Intent. The sample format of how to use an Intent is pasted below. Intent intent = new Intent(context,NameofActivitytoMoveTo.class); startActivity(intent); Suppose you have ActivityOne in your android project and you want to navigate to ActivityTwo, use the sample code below: Intent intent = new Intent(ActivityOne.this,ActivityTwo.class); startActivity(intent); The two lines of code above will be in the button onClickListener. Hope this helps. Happy coding.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups