View Single Post
Old 06-14-12, 07:52 PM   #14
PeriscopeDepth
Sea Lord
 
Join Date: Jul 2002
Location: Pacific NW
Posts: 1,894
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by McBeck View Post
Can you help me with one thing?
How do I link the layout with functionality? I mean, how do I set it up, so when you press a button in the layout, the default browser opens a url of your choice?
You have to do this in actual java code. Android tap callback methods are generally called onClick(). I would read through the google dev guides (the google docs are kind of terrible sometimes, though), find hello world type Android blog posts, and also looking through other people's Android code at github.com and bitbucket.org.

If you zip up the project I will put it up on a subsim bitbucket repo. I prefer git for source control, but mercurial is probably easier to use.

PD
PeriscopeDepth is offline   Reply With Quote