Android :: Limitations Of The MapView And MapActivity Design

Oct 24, 2010

I was surprised to see a couple major shortcomings in the design of MapView and MapActivity.

First, MapView requires itself to be hosted in a MapActivity. According to the documentation,

A MapView can only be constructed (or inflated) by a MapActivity<>.

> This is because it depends on threads which access the network and > filesystem in the background; these threads must be shepherded by the > lifecycle management in MapActivity<[url]...>. > Tiles are cached on the filesystem in your application's directory. The > cache is auto-managed so you don't need to do anything with it, and can > delete it at any time.

Android :: Limitations of the MapView and MapActivity design

Android :: MapActivity - MapView?

Aug 25, 2010

I have a DROID using Android 2.2

I am attempting to get the simplest MapActivity to run on the device. (NetBeans latest and greatest using a Google Api build target.)

I have all the appropriate Manifest entries, the simplest OnCreate --- > all it does is setContextView() to the xml with a mapview in it.

View 4 Replies View Related

Android :: Way To Use A MapView Without Having To Extend MapActivity?

Jul 27, 2010

Currently in my design I've got a base abstract class that all of my activities extend from, however I discovered recently that in order to use a MapView you need to make your activity extend MapActivity. Since Java does not have multiple inheritance I was wondering if there is any way I can use a MapView without having to recreate my design for my application.

View 1 Replies View Related

Android : Way To Display A MapView Without Extending MapActivity?

Jun 10, 2010

Is there a way to display a MapView without extending MapActivity? I have other Activity class which I'm extending and I would prefer not to change that... I've seen that you can inflate using MapActivity, but didn't find any spec/examples on how to do it.

View 1 Replies View Related

Android :: Deleting Then Recreating A MapView In The Same MapActivity Fails

Dec 8, 2009

I've got an Activity that extends MapActivity. it uses ViewGroup.removeAllViews() & LayoutInflater.inflate() to changes parts of itself. if it creates then deletes then [re]creates a MapView using the above method, it gets an exception during inflate that says: "You are only allowed to have a single MapView in a MapActivity"

How to I get MapActivity to forget the previous MapView instance?

View 2 Replies View Related

Android : Save / Activity With MapView And After Reload Same Mapview?

Jul 16, 2010

I had found a lot of stackoverflow post about save an Activity and the reload it.

My question: How can I have an Activity with an MapView and after reload the same mapview?

What is the best way to switch between activity and views?

View 2 Replies View Related

Android :: Smart Phone UI Limitations

May 28, 2010

I would like to know, what limitations there are for how far one can go in terms of replacing UI components of current touch screen smart phones, in particular iPhone, Blackberry and android based phones.What I would like to do is create a custom UI for dialing out and incoming calls.

I have some experience with Blackberry development. The theme builder for it, can be used to customize certain items on the incoming call screen, but it doesn't look like that you can increase the size of answer button. I know Blackberry also gives you access to all the phone APIs, but I'm not sure that you can create your own UI that can gain preference over the Blackberry incoming call screen. And if you try to customize the incoming call screen by adding any buttons to it, they would be rendered as pictures.

I could possibly design a complete UI for android, since different manufactures have different UI for android based phones. Can I do what I want to do using iPhone, Blackberry or android? Or any other phone for that matter? I am guessing may be for Nokia phones using Qt, but I prefer the 3 platforms I listed.

View 2 Replies View Related

Android :: How Applications Are To Follow Hardware Limitations

Jul 2, 2009

There are certain application which are default available on Android and certain applications available freely in market place. Greader is an application not available default in the Open source package on web to download.

1) Is it legal to install Greader as an application on the devices when it is shipped to customer? if yes, what is the best way to do it? Can we simply use the apk file of Greader and install it on device? Any other better ways?

2) When the applications are built, it will also have lot of dependency on the hardware availability on device. If there is an application developed for T G1 Mobile using the GPS hardware then this application cannot work on another device which does not have GPS hardware. Since we have market place for Android today and mostly targetting for T G1 mobile, how do we ensure that users must not able to install it on devices that does not support all the required hardware for device? There are few ways to deal with it.

a) Have market place specific to each device

b) The application developers has to clearly document what is the expected harwdare for the applications to work so that the users are aware of whether would work on the device or not. This is mostly manual then.

c) Ideally we should ensure that the application installation must happen only if before installation, the compatibility check passes. This is possible only if we bring in a framework design for this structurally.

View 5 Replies View Related

Android :: How Have To Be A Webservice For Use - Limitations - Paramters - Return

Nov 14, 2010

I have a android APP that needs a remote Database, to do INSERT's and SELECT's.

I will use a webservice to comunicate with the remote database, the webservice will be installed in the server side, with the remote database, and webservice will do the SELECTS and the INSERTS and will return me XML data. But i dont know anything about webservices, then a friend will do it.

But my friend need's to known if there is any limitations making webservices for Android. I search on google for days but all i am finding is very complex and i can't find the answer to these three questions:

Webservice needs to be created with a special way? Webservice remote functions can have parameters? (i need to give to the webservice parameters to do the select's or the inserts of data) Webservice can return results in XML normally or needs a special way to do it?

View 1 Replies View Related

Android :: GUI Design - Mockup Design Tool For Android Application

Nov 23, 2010

I am going to develop an Android Application but before developing it i needs to have MockUp for the Android Application,so is there any way to design MockUp/GUI Design tool for the Android Application?

I know about DroidDraw tool , but i think it is not the exact way to prepare Mockup for the android application.

I have already referred this SO Question , but overthere i just found all the tools for the I-Phone only. So please feel free to share with me if you have/found any !

View 3 Replies View Related

HTC Desire :: Limitations With No Data Plan?

Aug 15, 2010

I'm new here, and i'd like to start off with a thread asking how limited am i with no data plan and just using wi-fi am i still allowed to use MSN Messenger? Windows Live Messenger , download apps racing games and that stuff. I am soon going to be getting a HTC Desire.

View 6 Replies View Related

Motorola Droid :: Multi Task Limitations

Oct 30, 2009

I read a review which stated that if you have the browser running you have to CLOSE it, not minimize, to make a phone call. I'm wondering what other multi-tasking type of limitations this phone, and Android, have. I was playing around with a Hero at Best Buy one day and while I had the browser open I couldn't get to one of the other screens. Not sure if it was just me or if you can't do that at all with android. What good is it to have three windows and multi-tasking if you can't open a program in one screen and then leave it running and jump over to another screen. So I'm wondering if that's really true, and what other type of limitations it has? Such as, can I have the browser open while I'm using GPS? Can I open GPS and enter a route while I'm in the middle of a phone call?

View 7 Replies View Related

HTC Droid Eris :: Is There Some Bandwidth Limitations On Phone?

Jan 21, 2010

I have tried doing some speedtests on my eris but have not gotten any speeds over 2mbps down and 1mbps up. This is over a WiFi connection on the DS3 line at work. Does anyone know if this is just a fluke with my phone or is there some bandwidth limitations on the eris?

View 6 Replies View Related

Motorola Milestone :: Firmware Customizations - Limitations - Branding - Telus

Apr 21, 2010

I am in the process of getting the Milestone after many years on the WinMo 6.1 platform (HTC TyTN II), and am very excited at the prospect, but even though I have modded that phone a LOT, I am unfamiliar with the Android OS and Milestone, and was hoping someone could answer a few quick questions, as I'm getting conflicting info reading the posts here...

1. I wanted to get the unbranded / factory unlocked version of Milestone, but looking around I find all those versions are 3G 900/2100 bands, which would not work on NAM 3G 850/1900 networks. Is there a NAM version that can be purchased directly from Motorola?

2. The Telus version seems to be using a custom Telus bootloader. Does that mean this phone has any kind of custom Telus software, startup/shutdown logos showing Telus? I cannot stand customized carrier crap on smart phones and want nothing to do with them

3. I also read a post that says it's now possible to root the Telus Milestone. If I did, does that mean I can put another SBF that has stock Motorola software, and erase everything from Telus?

If I can wipe out all the Telus crap and turn one of theirs into a "clean" Milestone, that would be awesome!

View 10 Replies View Related

General :: HDMI Port And Cable For DROID 3 - Capabilities And Limitations

Oct 16, 2011

What are the capabilities and limitations of what can do with the hdmi port and cable for the DROID 3 any hacks of sorts for full hdmi or something.

View 1 Replies View Related

Android :: MapActivity In 1.5?

Aug 19, 2009

I want to display my two point on maps. I saw many example but they are using MapActivity when i used MapActivity in my sdk which is 1.5. it seems it is not available in it. So is it true that it is not available in 1.5 API. So is there any other alternative for it. can i do it using the following code sniiipt. I can do it for one code snippt but i do not know how can i display two point.


View 7 Replies View Related

Android :: MapActivity To Work On 1.5r2?

Jun 17, 2009

I'm having problems getting a MapActivity to work on 1.5r2. As far as I can tell I've done everything I need to do, but what am I missing? The Google Maps key was generated on the Google Maps website using the Debug keystore at the location in my Android setup.

What does "Unable to resolve superclass of Lcom/bgies/truckerphonetest/DirectionActivity;" actually mean? As far as I can tell, the activity is setup properly.... At least it is setup exactly the same way I have other activities setup... with the exception that it's the only activity that has a mapView in it.

I can't run it either on my G1 or the emulator... so I assume it's something I am doing wrong. The project setup does have the Google APIs [Android 1.5], and the AVD for the emulator does show the target as Google APIs when I select it.

From my Android Manifest :


View 2 Replies View Related

Android :: MapActivity On The 1.5 Release

May 22, 2009

I have a problem with firing an activity that extends MapActivity. When it gets called, it throws a java.lang.NoClassDefFoundError... not sure what this is supposed to mean. I think something goes wrong with the external implementation of the maps API (maps.jar). Has anyone come across that problem? Here's the srack trace:


View 8 Replies View Related

Android :: Add MapActivity To ActivityGroup

Mar 3, 2009

I want to add a MapActivity in an ActivtyGroup. As only single level inheritance is supported, my class can either extend from either MapActivity or ActivityGroup. As far as I know MapActivity is not a part of ActivityGroup. I want an activity to extend MapActivty as well be a part of an ActivityGroup.

View 2 Replies View Related

Android :: How To Add A Menu To MapActivity

Jan 7, 2010

I've got an app using MapActivity.onCreate() to initialize the map and show it on screen. Now I would like to add a menu to my app. From what I've found out I can't add a menu from MapActivity and need to use Activity (correct me if I'm wrong).

Now I have no idea how to "initialize" the map from my Activity-class.

And how would I have to fix the views, will I wrap my activity-layout around my Map-layout?

View 5 Replies View Related

Android :: How To Show A Map In Mapactivity

Jul 8, 2009

I have attached a mapview to my layout and have a it showing a compass and my current location, the problem I have is that there is no street map shown in the view, so basically I just see the compass and my current location over a blank grid.

View 3 Replies View Related

Android :: Possible To Use Terrainview In A MapActivity?

Oct 7, 2009

Is it possible to use the terrainview in a MapActivity. The only way for now i could think to use the terrainview is using the browser- based version of Google Maps rather than using the native implementation, but that would not be my preferred way.

View 2 Replies View Related

Android :: Google Map Not Appearing In MapActivity

Nov 24, 2010

I have created a release keystore using the Eclipse IDE. I signed it using keytool and registered on Google Maps. I plugged in the key but my map doesn't show up. Maps show up properly when I use the key associated with my debug keystore. How can I diagnose this? I followed the same steps as i did with debug, for release.

UPDATE: Here is my manifest file:.................

View 2 Replies View Related

Android :: Activity Not Launching MapActivity

May 6, 2010

I have a TabActivity that loads in 3 activity classes.In those Activity classes I have a button and an OnClickListener that tries to open a MapActivity class.I have searched to find an example of an Activity class launching a MapActivity class but cannot find one. If I swap out my MapActivity class with a Activity class it works.

View 2 Replies View Related

Android :: Toast Not Changing On Mapactivity

Sep 14, 2010

I tried to update my mapactivity with toast as the sensor data changes.

However, my first Toast appears and it never change despite detecting changes in sensor values.

What could be the reason?

Below is the snippet of my SensorListener:


View 2 Replies View Related

Android :: Launching A MapActivity From The HelloGoogleMaps

Jul 27, 2010

My app force closes when I try to launch the same MapActivity from the HelloGoogleMaps tutorial. I am launching it from my main activity which is just a list:


HelloGoogleMaps works fine by itself and the class is in my manifest. I tried tracing the problem with the debugger and it crashes somewhere when create my Intent.

View 1 Replies View Related

Android :: MapActivity - Install Map Application In1.5

Dec 17, 2009

shall we use map application in android2.0?..

I tried to install map application in android1.5 , but it is showing "Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY".

In android1.1 it is working.

View 5 Replies View Related

Android :: Capture Location From MapActivity?

Nov 20, 2009

An Activity that extends from MapActivity Uses ItemizedOverlay to show some balloons on the map ZoomControls are enabled

The ItemizeOverlay implements onTap(...) which works perfectly ok when tapping one of the overlay items.

The question is: How to identify a tap on another part of the map (with the intention of getting the location and center'ing on that point)

View 1 Replies View Related

Android :: Google MapActivity Exception ?

Dec 27, 2009

Have you seen this exception : I am trying to make Satellite Map view for my application. But no succeed, when start activity that calls Satellite Map Activity following exception throws :


View 1 Replies View Related

Android :: Cannot Resolve MapActivity Class

Sep 1, 2010

I have an application which has 11 different activities. One of these activities is an extension of MapActivity (it is a map for data visualization). To get to this activity the user must first travel through the launch activity, then 3 other activities.

The code to launch the MapActivity is:


When this is executed I get the following output from the Log:


I do have the target set to Google APIs, this is an app meant for Android 1.5, and specifies the minsdk to be level 3 in the manifest file. uses-library for maps is also in manifest file.


I have been at this for almost 2 days now with no results. It seems that there are a lot of people having issues launching a MapActivity from other activities but there are no solutions anywhere.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved