meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
android:questions [2010/03/18 10:32]
ppuro
android:questions [2010/03/19 08:32] (current)
ppuro
Line 1: Line 1:
 ====== Android Coding Questions ====== ====== Android Coding Questions ======
-==== How to add question ? ==== 
- 
-Log into wiki, find this question (index) page, and add a question beginning the this page, after first headline.  
-<code> 
-  ==== My Problem ? ==== 
-  How to get functionality X to work ? 
-</code> 
  
  
Line 55: Line 48:
  
 ==== How to get Eclipse and Android work in Ubuntu? ==== ==== How to get Eclipse and Android work in Ubuntu? ====
 +For eclipse you need to use sun java packages (gcc gjc java is installed by default but it does not seem to work well)
 +  * https://help.ubuntu.com/community/Java
 +  * get JDK (SDK) package as well
 +
 Ubuntu 9.10 repositories have Eclipse 3.5.1. It does not work with Android SDK. Get newer Eclipse. Version 3.5.2 seem to work. Ubuntu 9.10 repositories have Eclipse 3.5.1. It does not work with Android SDK. Get newer Eclipse. Version 3.5.2 seem to work.
 +  * http://www.eclipse.org => Download => Eclipse for Java (or Java EE (not nessessary)).
 +  * Extract it to your self installed software place (eg. /opt) and link eclipse start program to some place in your PATH.
 +
 +Follow general android install [[setup|instructions]].
 +
  
 ==== How to save XML file after editing (f.e. adding new child) - what class to use? ==== ==== How to save XML file after editing (f.e. adding new child) - what class to use? ====
Line 96: Line 98:
  
 </code> </code>
 +==== Does anybody know how to launch another application, e.g. "YouTube" from your own program? ====
 +I know how to launch web-browser, if smb needs I can explain. Also I've installed some applications to the emulator, except YouTube :(. By the way we know how to send data from one activity to another and few other features, that could be useful just ask, may be we've faced with it! Vadim.
 +
 +A: A generic answer to this is that you need to know the intent filter of the started activity/application. When you know the intent filter you can always create intent that is going to match to the filter. Then, it is simply just a call on Context.startActivity(intent). All the "standard" platform applications and their AndroidManifest.xml files are in the public repository.
 +
 +
 +==== How to add question ? ====
 +
 +Log into wiki, find this question (index) page, and add a question beginning the this page, after first headline. 
 +<code>
 +  ==== My Problem ? ====
 +  How to get functionality X to work ?
 +</code>
 +
  
 ==== How to answer a question ? ==== ==== How to answer a question ? ====