energyplug / droidar

Automatically exported from code.google.com/p/droidar
0 stars 0 forks source link

Loading any android project activity on world component click event #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

I have successfully added many components (Text, buttons and 2D Images) in the 
DroidAR world. I have also implemented a Toast on their click event that is 
working fine. Now i want to load my own android project activity by clicking on 
these components. For example i have added a 2D image of a famous place in the 
DroidAR world and wanted to load a description Activity which is available in 
my 'src' folder of my android project. Waiting for the response Thanks a lot.

Original issue reported on code.google.com by kamal.za...@bilytica.com on 13 Jul 2014 at 11:57

GoogleCodeExporter commented 8 years ago
You dont have to do anything DroidAR specific. in the execute method you take a 
valid context, the setup should have a getActivity() or getContext() object 
which you can use. Search for "start Android activity" if you need help with 
how to start activities ;)

Original comment by simon.heinen on 17 Jul 2014 at 10:55