Android :: Update Positions Of Items Of Mi Googlemap But They Only Get Repainted When Move Or Zoom Map
Nov 18, 2010
I actualice the positions of the items of mi googlemap but they only get repainted when i move or zoom the map...
I want that every time the possitions got updated then they get repainted on the map without having to move or zoom it with my finger
Invalidate is not the answer, because it makes a full repaint of all and needs to redownload the map from internet...
My code:..........................
View 1 Replies
Nov 18, 2010
Hi, i have a googlemap app that displays two items (itemizedoverlay class) and i have a Update button. When i press the update button, i want to remove the items from the map, and put again the same items but with the new latitude and longitude values (i have a service that actualice the latitude and longitude fields that i have in sharedPreferences, and also i recibe the other position by a bundle)
what i am doing wrong? when i try my code, the items of the map doesn't be removed.... just new items appear... but i want to remove the old ones
CODE:...........
And these are my two functions:
CODE:............
I also tryed with invalidate() on the mapview but it doesn't works... still paint the old items...
View 1 Replies
View Related
Nov 13, 2009
Not sure if it's Droid specific, but is there a way of moving items within a folder? I created a folder for my speed dials and want to rearrange the order of the individual icons. Is there any way of doing that?
View 1 Replies
View Related
May 17, 2010
I made an android application with googlemap api, and draw some 16x16 png (about 200 count) on overlay. When I move or zoom on/in mapview, "out of memory" error occurs very often.
I also used the googlemap appication in my htc itself. Seams that it uses about 14+MB memmory, and never happens "out of memory".
How to save memmory usage in a googlemap api, or how to enlarge android api memmory limit.
View 1 Replies
View Related
Aug 16, 2010
I have a ListView backed by a custom adapter based on a CursorAdapter.The cursor I give it is based on a list of Notes in the database (each note is a DB row).Everything works just fine until I delete a note from the database. I'm not sure how to properly update the cursor/adapter/listview to display the new data.I've read conflicting posts on using adapter.notifyDataSetChanged() vs cursor.requery() to refresh the UI, but neither of them seems to work in this case.The only way I've been able to refresh it is by creating a new cursor from a new query and calling adapter.changeCursor(newCursor).Could someone demonstrate the proper way to update the backing data and then the UI (with psuedocode if possible).
View 2 Replies
View Related
Sep 22, 2010
I have a very simple app showing current Position using GPS-Provider in emulator. (Location is being picked up from emulator Control). If I send any updated location, the new location also getting picked (showing toast) and able to animate to new point. I'm working behind a firewall (proxy enabled). - App is showing the MapView but background is Grey with line-Grids (not real google maps visible) - Proxy is working fine. What can be the reason for actual maps not getting visible? Do we need to get access 'enabled' for any kind of URL (which might getting blocked by firewall)?
View 6 Replies
View Related
Dec 8, 2009
Trackball Zoom Lost with Update. Quote:
View 2 Replies
View Related
Feb 5, 2010
I am able to display multiple overlayItems on Googlemap, now I want to change icon of any specific overlayItem (to show it is currently selected event). I want to do it through navigation buttons (next, previous) as on Google maps.
I am using StateListDrawable to display icons for OverlayItems. code...
Now my question is how do I change the state of any overlayItem/Icon on map when user click on one of navigation keys?
View 1 Replies
View Related
Nov 5, 2010
For some reason I can't seem to update some apps in the market. It will download them fine (currently 5 apps need updated) then says 'Installation is unsuccessful' pops up at the top of the screen.
View 7 Replies
View Related
May 16, 2010
After the upgrade the camera does not zoom anymore. Am I doing something wrong or is it gone for good?
View 4 Replies
View Related
Nov 17, 2010
I need that my user interface haves 3 sections
NORTH SECTION: four textviews with info about a user MIDDLE SECTION: a googlemap view with the position of the user SOUTH SECTION: a textview with time of last position, and a button to actualice the position (retrieving it from a database)
is this possible? i can't find any information about that on google or android developers guide...
View 8 Replies
View Related
Feb 22, 2010
Just wondering if there is a new update or something coming out that will move applications to the sd card so our applications and games can be better or up to par with the iphone. Also im beginning to run out of room with my internal memory.
View 2 Replies
View Related
Nov 20, 2010
This is to confirm that we are working on enabling Pinch Zoom for the XPERIA X10. The work with this has progressed and the plan is that this will be enabled through an over-the-air update of the X10 that for most markets will come in Q1 2011. For more information on background and what to expect please read the corresponding blog post at http://blogs.sonyericsson.com/product...
This is SE official announcment about multitouch, and few month ago they say that it was not possible, but now they say that X10 support this. What to think people some alliens fly down and changed our mobiles or SE was able from the beggining to make multitouch and he didn't wanted. E SE lovers and Moderators of this forum i am waiting for comment from you pleasee......
If you dont beleive me here is the link [url]
View 1 Replies
View Related
Jul 14, 2009
Is Zooming is possible to do in android for Image view.I have a images in full screen view, i need to zoom in and zoom out for that images present in image view.Can any body give me suggestions regarding this.
View 19 Replies
View Related
Jul 28, 2010
I want to know how we can zoom a image that is in ImageView.
View 3 Replies
View Related
Sep 25, 2010
I'm working on an application that displays the location of moving items on a Google MapView. I need a way to update the position of the icons that represent the items (as well as change the facing of the icons every two seconds as updated data comes in). I currently have an activity in the app that extends MapActivity. On to this I have overlaid a static Overlay that draws some lines on the map and an ItemizedOverlay that draws a static icon.
View 3 Replies
View Related
Jan 27, 2013
I am working on an app that uses a GoogleMap and lots of overlays/markers. Controls and navigation is handled automatically (no direct user interaction with the map needed so far).
Things work the way I want right until the app pauses and goes into the background. When I resume the app the map has zoomed out to 0:0 and it doesn't react to animateMap or anything anymore. I can't seem to figure how I get it back to the state where it doesn't react to user interaction and actually updates with my markers and stuff..
Below are the three methods handling the map, and it doesn't seem to react on any of it after a resume.
Code:
private void setupMap(){
getSupportFragmentManager().beginTransaction().replace(R.id.trackeractivity_map, new SupportMapFragment()).commit();[code]......
View 1 Replies
View Related
Jan 27, 2013
I am working on an app that uses a GoogleMap and lots of overlays/markers. Controls and navigation is handled automatically (no direct user interaction with the map needed so far).
Things work the way I want right until the app pauses and goes into the background. When I resume the app the map has zoomed out to 0:0 and it doesn't react to animateMap or anything anymore. I can't seem to figure how I get it back to the state where it doesn't react to user interaction and actually updates with my markers and stuff..
Below are the three methods handling the map, and it doesn't seem to react on any of it after a resume.
Code:
private void setupMap(){
getSupportFragmentManager().beginTransaction().replace(R.id.trackeractivity_map, new SupportMapFragment()).commit();
FragmentManager fragmentManager = getSupportFragmentManager();
SupportMapFragment supportMapFragment = (SupportMapFragment) fragmentManager.findFragmentById(R.id.trackeractivity_map);
[Code] .....
View 2 Replies
View Related
Jul 21, 2010
Had no problem getting my phone to play nice with our exchange server at work and emails are coming/going fine.
However, there are some configuration items I have a big issue with as it relates to the 'look' of the email (coming from a BlackBerry).
1. Is there any way to have a single folder show my received items and sent items combined? My BB had this and it was very useful.
2. How can I edit the way my folders are displayed at the top horizontal bar? The sidescrolling folder display is awkward, it puts my inbox first (good) but then all subsequent folders are listed alphabetically; it pays no attention to their order on my desktop and also shows sub-folders of other files. Any way to change this?
3. Is there a way to change the way emails show as unread? The difference b/n read and unread is only a shade of grey, and difficult to see outside.
View 1 Replies
View Related
Aug 1, 2010
Just installed the new update but I haven't come across one app that can be moved to SD yet. Can someone give me an example of one that definitely can so I can check?
View 9 Replies
View Related
Oct 19, 2010
My question today relates to the android home screen and where it stores icon / widget positions. Specifically, I am interested in accessing the positions and sizes of any icons that are currently being displayed. I have, so far, been unable to find a method of retrieving the positions of other applications but i figure it must be possible in some way due to the presence of third-party home screen applications. Ideally, I am hoping to query the positions of whatever is on the screen at the moment from a live wallpaper and adjust my rendering accordingly.
View 1 Replies
View Related
Sep 30, 2009
I need to implement a screen containing a list of blocks one below the other. Each block will contain mutiple superimpose elements (Images, text) for which the relative position needs to be specified with respect to the top left corner of the block.
For creating the list of blocks i have used listview. For each block i tried to use relative layout.This works ok when the phone is in landscape mode and absolute position is specified relative to left edge of the phone. But when the phone is put in the portrait mode the layout gets distorted.
1) What layout can be used for this scenario?
2) Can relative positions be specified in terms of percentage of screen width/height instead of pixels?
View 3 Replies
View Related
Aug 27, 2009
How can I retrieve the positions of the selected item in a multichoice listView ? The getSelectedItemPosition method returns only the first one...
View 1 Replies
View Related
Jun 21, 2010
i'm attepmting to root my phone for the first time. after alot of consideration i figured i'd try it. i got SPRecovery on it no problem and did an advanced nandroid backup. but i can't get the update.zip file copied to the root of the sd card. how do i do that?
View 18 Replies
View Related
Mar 30, 2010
Seeking help to design a layout as shown here:
http://docs.google.com/Doc?docid=0AQhgDtGvE2HgZGZ6cmtua185MTd0eGdyZmc&hl=en
The major challenge I face is aligning the components at desired positions. Please refer the three buttons(icons) and the way they are positioned.
Literally, going nuts, thinking how to position those exactly at the desired places.
View 2 Replies
View Related
Jul 21, 2010
Suppose I have the following layout
CODE:......................
How could I swap position of button01 with button02? And would it work also for swapping button01 with button05?
Before asking what I have tried so far, I don't even know where to start. I googled but the only answer I could find was about AbsoluteLayout.
View 1 Replies
View Related
Jun 7, 2010
I'm currently working on a very simple aplication, and I intended to make it change the visual aspect depending on the screen size. The application just has 6 buttons like this:
I'm using the AbsoluteLayout, and changing the x and y of the buttons with the methods offsetLeftAndRight and offsetTopAndBottom. I'm not changing the layout of the buttons in the xml file, so the all start in the same place.
However, if I use this methods inside the onClickMethod they sometimes appear where I want them, sometimes don't (can't figure out why), but if i use them in the onCreate method, nothing happens.
View 2 Replies
View Related
Oct 16, 2010
I am trying to create a gradient drawable to depict a ratio of something. As a general example, lets say you were looking at a listview containing a fleet of cars. The background could be a fuel gauge - I don't want a smooth, wide transition. I want a very tight transition, and I want to be able to set where that transition takes place.
Here's what I'm staring with, but I'm not getting very far.
CODE:......................
View 1 Replies
View Related
Jul 15, 2009
What are the differences in ant script we should take care to compile the application which uses maps api. Tried with bootlcasspath with both android and maps.jar file. but it fails to create dex file.
View 2 Replies
View Related
Jan 10, 2010
I thought it may have been my eyes, when I thought I saw an upside-down Android icon for a contact the other day, on my Android 1.5 device - Samsung Moment. I was playing with contacts just now, and I saw the upside down icon again. Then I was curious, went to see other contacts, and I noticed the Android icon facing right, then facing left in other instances. There is no rhyme or reason as to when the Android icon will change positions, but it is there.
View 1 Replies
View Related