Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - loading a mapview inside a view/an activity inside activity

loading a mapview inside a view/an activity inside activity

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

loading a mapview inside a view/an activity inside activity

Postby wizlon » Thu Jan 28, 2010 1:46 pm

Hi all,

I used to play with Android years ago and have just got back into it after getting a new phone. I'm getting along with the SDK really well but I have a bit of a problem.

I'm wanting to load a mapview inside a layout, either by creating the mapview from scratch or loading an activity which I am using for full screen maps. The layout would be as such

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2. |----------|
  3.  
  4. | title
  5.  
  6. | description
  7.  
  8. ||---------|
  9.  
  10. ||---map---|
  11.  
  12. ||---------|
  13.  
  14. | other things
  15.  
  16. |----------|
  17.  
  18.  
Parsed in 0.000 seconds, using GeSHi 1.0.8.4


Ideally I would like to use the class I created for my fullscreen maps and place it, king of like using frames in html, any way of doing it would be awesome. Is this possible?

Thanks
wizlon
Junior Developer
Junior Developer
 
Posts: 23
Joined: Mon Jan 07, 2008 2:17 pm

Top

Re: loading a mapview inside a view/an activity inside activ

Postby jagtap.jj1 » Sat Jan 30, 2010 3:58 pm

Yes its possible, Activity should be MapActivity having setContentView your xml inside there is mapview and other view what u want, aligned as per requirement.
java-android developer
User avatar
jagtap.jj1
Senior Developer
Senior Developer
 
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests