Android Java Eclipse Intent with 2 Projects
Posted
by
user3793685
on Stack Overflow
See other posts from Stack Overflow
or by user3793685
Published on 2014-08-19T04:17:08Z
Indexed on
2014/08/19
4:19 UTC
Read the original article
Hit count: 117
Good day!
I have 2 Projects in my Eclipse. MainActivity1 and MainActivity2 are the names of the activities. The MainActivity2 is connected to the MainActivity1 via Project in the properties of the MainActivity1. So far, I can call the package of the MainActivity2 from the MainActivity1. Now, below are my problem:
I have a button in MainActivity1. What I want to do is after I click on the button in the MainActivity1, it runs the MainActivity2 project and some variables will be passed on to the MainActivity2.
I've been searching in google for a while now and I couldn't get the right keyword for it. I've checked some of the questions here in StackOverflow but I'm unable to locate the problem similar to mine with calling and running the MainActivity2 class from the MainActivity1.java
I'm a noob in Android Java but have knowledge in other OOP.
Any tips will be a great help. Thanks
© Stack Overflow or respective owner