Android :: Cannot Zoom Or Set Traffic View In Map
Jul 24, 2009
In the following application.
package mycom.ju.gmap; //import HelloItemizedOverlay;
import mycom.ju.gmap.R; import android.graphics.drawable.Drawable;
import android.os.Bundle; import android.view.View; import android.webkit.WebSettings;
import android.webkit.WebView; import android.widget.*;
import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView; import com.google.android.maps.Overlay;
import java.util.ArrayList; import java.util.List;
import com.google.android.maps.ItemizedOverlay; import com.google.android.maps.OverlayItem;
public class gmap extends MapActivity { //Called when the activity is first created.
MapView mapView; Toast toast;
@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
try{ mapView = (MapView)findViewById(R.id.mapv);
mapView.setBuiltInZoomControls(true); mapView.displayZoomControls(true);
mapView.setTraffic(true); } catch(Exception e){ toast = Toast.makeText(this,e.toString(), Toast.LENGTH_LONG); toast.show(); } setContentView(R.layout.main);
} @Override protected boolean isRouteDisplayed() {
return true; } }
View 2 Replies
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
Jun 19, 2010
I have a GridView that displays thumbnails of images, I want to change the thumbnail size (zoom in/out) during runtime, what is the best way to achieve this? I changed the columnWidth of gridView during runtime but after that I scroll the gridview and I get memoryoutoferror exception.
View 2 Replies
View Related
Jan 19, 2009
I know there is zoomControls which can be added to the view. But it looks like I have to take care of the zoomin/zoomout actions myself. Is there a simple class that will take care of the zooming and panning automatically?just like the map behavior but without the map.
View 4 Replies
View Related
Aug 26, 2010
I have 5 pins added to a map. How can I tell the MapView to zoom as much as possible and keep all pins in view?
---I found it:
http://sdhillon.com/find-the-center-and-span-of-a-set-of-points-android-and-iphone-example/
View 3 Replies
View Related
Aug 2, 2010
I have to scroll the webview content vertically with in scrollview surrounded tag ,in the sense that webview hided initially and when touch event occured the webview contained have to visible the scroll control in both directions but its not scrolling vertically,anybody help me to solve it...
here xml code...
View 2 Replies
View Related
Aug 4, 2010
I am new to android,i need to zoom an selected imageview given statically in array defined in my code how can i get it.
View 1 Replies
View Related
Jun 1, 2009
I can use the built in zoom controls for WebView or MapView. But don't know how to access the control for View or ImageView. If the control is not implemented, can we access the bitmaps for the zoom control supporting WebView or MapView.
View 6 Replies
View Related
Apr 26, 2009
In my system, there has a WebView component, and i want to monitor all traffics when WebView open some URL. I know how to monitor whole phone's traffic, there has an example about how to monitor whole phone's traffic:
http://code.google.com/p/android-labs/source/browse/svn/trunk/NetMeter
But I have no any idea on how to monitor only my own app, how can i do?
View 2 Replies
View Related
Mar 13, 2010
When using Google Maps, sometimes I can get Traffic info & sometimes I cannot get Traffic info. When its working, in Google Maps, I do: Menu; Map mode; Traffic. I can then see the Traffic info on the map. If I then do Menu; Map mode again, I can see the green check mark next to Traffic. When its not working, when I go back to Map Mode the 2nd time, the green check mark is still on Map. It is not on Traffic.
View 1 Replies
View Related
Apr 27, 2010
Looking for the best app for up to minute traffic reports, etc. Is there one that you can integrate into Google Maps?
View 7 Replies
View Related
Jan 13, 2010
Is Traffic Rush available on android, I like the game on the iphone but haven't as yet been able to find it for the android (htc Hero).
View 5 Replies
View Related
Aug 2, 2010
I am trying to set up a ViewFlipper that changes a SlidingDrawers content each time a button is pressed. So far every view I set up worked fine, but now I am trying to create a ListView (including single_choice_mode) within a child view of the ViewFlipper, but my attempt only let to a NullPointerException. As I only discovered ViewFlipper today, I am not yet familiar with it and may not have understood it completely. if someone could give me a hand and help me find out what I have done wrong, that would be great. Here is what I have done:
The code for the onClick event of the ImageButtons:
public void onClick(View v){
if (v == btnExposure){
mFlipper.setDisplayedChild(0); }
else if (v == btnProperties){
mFlipper.setDisplayedChild(1);}
else if (v == btnSpecialEffects){
mFlipper.setDisplayedChild(2);.............
View 1 Replies
View Related
Aug 3, 2010
Just back from a very nice vacation in Iceland, and await the data roaming bill from my phone company. I hope for the best having limited my traffic as much as possible, but I want to know in advance. I used the very nice app NetCounter but it didn't measure roaming data traffic at all.So I want to build my own app measuring just roaming data traffic. I have a few booleans to start with ( NetworkInfo.IsRoaming() & TelephonyManager. isNetworkRoaming() ), but I'm not sure how to measure the traffic if true.So the question is: How do I measure data traffic while roaming? (Something like API level 8 TrafficStats functionality is what I'm after, but for API level 3). The used SmartPhone is Samsung Galaxy i7500 (Android 1.6)
View 2 Replies
View Related
Jul 9, 2009
I wish to analyze the various data passing through the browser. I would need a handler of the browser to query the contents. Is there any way that my application can get this handler of the browser and query for these data.
View 5 Replies
View Related
Jun 27, 2009
Are there any applications that shows exactly what applications or services that uses 3g traffic? My Magic uses pretty much 3g traffic, it looks like it updates every half hour/hour.
27.06.2009 10:42 38.9 KB GPRS 0.04
27.06.2009 10:07 36.9 KB GPRS 0.04
27.06.2009 09:32 36.9 KB GPRS 0.04
27.06.2009 08:30 40.1 KB GPRS 0.04
27.06.2009 08:15 2.3 KB GPRS 0.00
27.06.2009 07:40 36.7 KB GPRS 0.04
27.06.2009 07:05 37.0 KB GPRS 0.04
27.06.2009 06:30 36.8 KB GPRS 0.04
27.06.2009 05:55 36.9 KB GPRS 0.04
27.06.2009 05:20 38.2 KB GPRS 0.04
27.06.2009 04:44 35.8 KB GPRS 0.04
27.06.2009 04:10 78.6 KB GPRS 0.08
27.06.2009 03:34 38.2 KB GPRS 0.04
27.06.2009 02:05 43.8 KB GPRS 0.04
27.06.2009 01:56 36.5 KB GPRS 0.04
View 2 Replies
View Related
Oct 6, 2010
I am looking for a traffic reporting app so that when I am on the road, I can report traffic conditions from my phone. There are several available to see traffic conditions, but I can't seem to find any that allow me to report issues.
View 2 Replies
View Related
Jul 14, 2010
Is it posible that Android would allow an app to block a phone call, email and or SMS from coming through to the device? e.g. User opens app and sets it to block all incoming info for 2 hours. App blocks all email, SMS and calls for 2 hours.
View 1 Replies
View Related
Feb 8, 2010
For HTTP debugging purposes, I'm try to set up Fiddler to capture and display the HTTP traffic from my application. I've installed Fiddler2 and have tried various configuration options to get it to recognize the HTTP traffic.
I've set the "http-proxy" arg to -http-proxy 127.0.01:8888 in the Eclipse Target-Additonal Emulator Command Line Options. (I've even tried 10.0.2.2). I've also run the emulator from the command line, I start Fiddler and then my application. My issue is that Fiddler is not recognizing any of the HTTP traffic.
I'm looking for help in figuring out how to configure Fiddler2 and the Android Target to have Fiddler capture the HTTP traffic .
View 2 Replies
View Related
Jun 21, 2009
I am developing a prototype application which features basic navigation (updating of own location on the map) and displays live traffic events as traffic sign icons on the map. The traffic events will be fetched from a server over a UDP connection. (I haven't implemented this as I don't have the traffic message specs yet).
The idea is to display traffic events in real-time and also delete them when they have expired. I figured out that what I need for this is one or more ItemizedOverlays with dynamic items. I found this post,
http://groups.google.com/group/android-developers/browse_thread/threa...
which seems to be similar to my application. So the circular process is:
1. fetch traffic data from server
2. populate an ItemizedOverlay object containing traffic events
3. update the map accordingy when the items in the overlay have changed
Apparently in the MapView (or Map Activity?) I need some sort of a listener for changes in the ItemizedOverlay object. What is the best practice for doing this?
View 4 Replies
View Related
Feb 19, 2010
Real Time Traffic & Speed Cams
Free Software for Android 1.1 to 2.2 to determine traffic on the road network.
Based on anonymous collection of your position, speed and direction. Data are then shown on a Map for other users to foresee traffic jams.
Warns you when you are close to speedcams or accidents, allows trip sharing and more.
The other features are:
- Display Speedcam type as well as distance and speed limit
- Display on which side accidents and Speedcam are located
- Display Economic or non Economic Driving indicator
- Display average speed and total distance of you trip
- Biker mode (font size and alerts designed for bikers)
- Anonymous accident and speed traps declaration
- Export your trip by mail, Google Maps or carte SD (compliant with Google Earth)
- Available in five languages
- Works on any phone including Tatoo, Liquid and Nexus One
- Works now perfertly on Samsung Spica
- Works on Archos 5it with "tethering" (tested with Nokia N95)
- Integration with Google Maps Navigation and Copilot Live 8
Full description available on http://g-lob.com
Stable (2010-11-29):
Version 1.0.64d (Code Version 84 and 85)
QR Code for any screen size:
QR Code for specific screen size or Android 1.6 and earlier:
QR Code for "Real Time Traffic Auto Launch Plugin":
View 49 Replies
View Related
Oct 13, 2009
I'm interested in whether there is a way to monitor HTTP(S) traffic on an Android phone? What I would like to do is to be able to retrieve all URLs that have been accessed on the phone's browser. I thought that there would be a browser intent for that, but have not seen anything - given I'm green, maybe I just did not know where to look?
I followed the question and answer here, but it works only for hyperlinks which were clicked by the user, however I need to catch all URLs - including the ones typed in by the user. Basically I need to know about every single URL that was opened in the web browser.
Can I register some kind of a handler with the browser?
View 1 Replies
View Related
Mar 16, 2010
How do I monitor network traffic sent and received from my android emulator?
View 3 Replies
View Related
Jan 14, 2014
I was trying to search for an android app that can generate network traffic (UDP) for stress testing a network.
View 2 Replies
View Related
Aug 25, 2009
Google Map's traffic layer is working for my area on my G1. Really, really convenient to see how fast traffic is moving at a glance from my phone!
View 5 Replies
View Related
Apr 22, 2010
I have set up the proxy(10.0.2.2) and port(8888) of Emulator and it can connect to the net. But the Fiddler can just get traffic of the Browser in Emulator, it can not get anything of the Market. i.e. if I open an page by the Browser, there will be some traffics in Fiddler and if I go into the Market to find some applications, then Fiddler will show nothing. How can I make it work?
View 3 Replies
View Related
Oct 18, 2010
I'd just like to sing the praises of the RAC Traffic app. It's bloody useful, especially for those who have a commute along the British motorways. Last week, I set off towards the M40 in Warwickshire and hit a bit of traffic. Unusual for 7:35am along that route. The traffic started building up and I started to panic in-case I was late for work. So, I got the Wildfire out, loaded the RAC Traffic app and had a look. 90 minute delays on the M40 Southbound. As I was going North, I stayed in the traffic jam. Needless to say, where the roundabout was that split the North and South traffic there was absolutely no traffic going my way.
Extremely useful as I stopped panicking and just listened to Last FM (via Bluetooth). It happened again this weekend, too! We were going on a trip (around 45 minute drive) and we hit traffic. Got the phone out, looked at the traffic, and managed to use an alternate route through the residential areas using my SatNav. I'd strongly recommend this application to anyone who has to do a bit of driving/has a lengthy commute.
View 2 Replies
View Related
May 13, 2010
There are police scanner apps - looking for an ATC scanner/listener app?
View 1 Replies
View Related
Dec 26, 2009
I my Droid makes lots of traffic and I need to see which programs cause this traffic. Is there any tool with detailed information?
View 1 Replies
View Related