SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > General > General Topics > Subsim 3.0 R & D
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-14-12, 07:52 PM   #15
PeriscopeDepth
Sea Lord
 
Join Date: Jul 2002
Location: Pacific NW
Posts: 1,893
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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.