Android :: How To Get Point From Click Google Map?

May 31, 2010

I want to get the point of the mapview throuth click the map.I have tried to use the onTouchlistener,but in this way,the map can not move,zoom. Please give me some idea or a sample!

Android :: How to get point from click google map?


Android :: Click A Specific Point On Map And Then Draw Overlayitem It?

Oct 13, 2010

I have been looking this but haven't found a concrete example is there a way to click a specific point on a Map and then draw a overlayitem it?

View 1 Replies View Related

Games :: Need Point / Click Style Adventure Games

Jun 3, 2010

Greetings all, newbie here. I'm a huge fan of the old school point and click adventure games (Monkey Island, Sam and Max, Discworld, etc) and am hoping to find something in this genre for my new HTC hero. Any suggestions? Also, I know there's a ScummVM port, does anyone have any experience with that? I'm afraid direct ports will not work well on my 3.2 screen.

View 2 Replies View Related

Android :: Google Maps Always Point North?

Oct 27, 2008

Does anyone know if google maps can point in direction of movement top instead of always north. Not good when driving.

View 16 Replies View Related

Android :: Way To Calculate Center Point Of Latitude / Longitude In Google Map?

Feb 18, 2010

I have list of Latitude & Longitude of Google map. now i want to animate to center of these all co-ordinates can any one guide me how to achieve this. in other words i want to calculate middle distance or lat,long positions so that user could see most of the overlay points.

View 1 Replies View Related

HTC Desire :: How To Save A Point On Google Maps?

Jun 1, 2010

I wanted to save my position as a bookmark yesterday so I could find the car park I was in again but I couldn't work out how to do it. I was with someone with an iPhone and the option on that was really obvious.

View 6 Replies View Related

HTC Droid Eris :: Way To Store A Point On Google Maps?

Dec 31, 2009

Is there a way to store a point on Google Maps on the Eris? I would like to hike off in the boonies and use it to guide me back to where we are parked.

View 9 Replies View Related

Samsung Fascinate :: Point To Google Nav Instead Of Bing Maps?

Sep 11, 2010

Is anyone working on a fix to adjust the default navigation link to point to Google Nav instead of Bing Maps?

View 7 Replies View Related

Android :: Listview Click - Google Of The List

Jun 21, 2009

if i want to go to the Google, just click the "Google" of the list, but it just active when i click on the word "Google" because i wish can click anywhere if it's click on the same raw of "Google" word but now i must click on the "word"(Google or Yahoo!), how can solve??

View 2 Replies View Related

Android :: Google Maps View Crashes On Tap / Click?

Jul 23, 2010

I'm currently writing an app displaying a MapView showing a google map. I used the "hello map view" tutorial from http://developer.android.com/resources/tutorials/views/hello-mapview.html and this works so far: the map is displayed, centered and zoomed correctly, even the OverlayItems I added are displayed correctly. But when I click on one of those overlay items I added, the application crashes with a null pointer exception:

07-23 16:24:48.167: ERROR/AndroidRuntime(2530): java.lang.NullPointerException
07-23 16:24:48.167: ERROR/AndroidRuntime(2530): at com.android.internal.app.AlertController$AlertParams.<init>(AlertController.java:753)
07-23 16:24:48.167: ERROR/AndroidRuntime(2530): at android.app.AlertDialog$Builder.<init>(AlertDialog.java:273)....

View 2 Replies View Related

Android :: ListView Selection - Make Only Item Click Be Effected By Click?

Apr 1, 2010

when I click on one item in the ListView that item's background changes to light gray, but when I continue to scroll through the list every 4th item has the background changed to light gray even though those other items have not been clicked. How do I make only the item I clicked be effected by the click?

ListView lv = (ListView) findViewById(R.id.resultsList);
lv.setAdapter(new ArrayAdapter(this, R.layout.resultitem, (String[])labelList.toArray(new String[labelList.size()])));
lv.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView parent, View view, int position, long id) {
TextView tv = (TextView)view.findViewById(R.id.result);
tv.setBackgroundColor(Color.LTGRAY);
tv.setTextColor(Color.BLACK);

View 1 Replies View Related

Android :: Catching Both Click And Long Click On ListView

May 3, 2010

I have a ListView in my Activity. I am trying to catch both a click and a long click (which should bring up a context menu).

ListView lv = (ListView) findViewById(R.id.MyListView); ... lv.setOnItemClickListener(this); lv.setOnCreateContextMenuListener(this); ...

I notice that if I have both the click and long click listeners up, I won't ever get the long click listener (i.e. the context menu). If I remove the setOnItemClickListener() call, i get a call into

@Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {

You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at

View 4 Replies View Related

Android :: Click To Expand List -and- Click On A Button?

May 31, 2010

I have just started my career as an android programmer, and am currently relying heavily on the sample code and api examples. I have been working with this api example, to produce an expandable list of items (note this example does not use the ExpadableListView).In playing with the example, I tried to add another widget that would become visible and be gone at the same time as the text (mDialogue in the sample code). This works well with another TextView, but as soon as I tried to add a button widget, it stopped working. The list would expand on first click, showing my hidden TextView and Button, but it will not disappear on further clicks. The button is however, clickable, and I was able to set up an onClick listener to change the button text back and forth.I'm starting to wonder, is it just not possible to have a clickable item inside a clickable list item? Or is there some kind of work around? Would it solve my problem if I used ExpandableListView?

View 1 Replies View Related

Samsung Moment :: Google Calendar Widget Doesn't Default To Current Day / When You Click On It

Dec 11, 2009

I've now had and used my Samsung Moment for a full month now, and I have to say this is the best phone I have ever used.

I carry multiple smartphones on me, usually a Blackberry of some sort, Palm Treos / Centros, iPhone, and now my Samsung Moment. While all the smartphones are really good, the Samsung Moment has been really great.

Despite all the complaints you read here, I have only had a couple of minor annoyances:

1. The Google Calendar widget doesn't default to the current day when you click on it. I have accidentally entered appointments for "today" when I realize a bit later that it was on another day that I had scrolled to previously. I hope there will be a setting to always display the current day in the future.

2. I use Astrid to sync my to do list with Remember The Milk. Anytime I add a new task if I'm using the physical keyboard, and slide it shut and go to the portrait mode for the virtual keyboard, somehow my text is wiped clean and I have to start from scratch again.

The battery life is excellent. Based on my moderate use, I easily get 2-3 days out of my phone, which is as good as my Palm Centro or my Blackberries.So glad I have this phone, can't wait for future updates though to play with.

View 9 Replies View Related

Android : When Click On GDE And Click The Home Button - Switches Back To Stock Home Screen

Dec 19, 2009

When I DL'd the GDE app, I accidentally set my stock droid "HOME" screen as the default screen when the popup box came up asking me to choose between stock Home and GDE. Now when I click on GDE and click the home button, it switches back to the stock Home screen. How to I switch the settings now to set the GDE app as the new home screen?

View 15 Replies View Related

Android :: How To Update Access Point?

Oct 13, 2010

I have successfully programmed insertion & deletion of an Access Point in database but I need to find out how to update an access point. I'm using db.update() but its not producing any result. I am using the following code to update an access point:

ContentValues updateFields = new ContentValues();
ContentResolver resolver = getContentResolver();
updateFields.put("name:", "AIRTEL");
updateFields.put("apn_addr", 11023);
resolver.update(TABLE_APN_URI,updateFields,"_id=?",new String[] {Long.toString(2)});

While updating I'm not getting any error as well.

View 1 Replies View Related

Android :: How Do I Point People To My App In Marketplace?

Apr 7, 2009

I understand that Android Marketplace is not available on the internet, just from the phone.I would, however, like to point people to my application if possible. If the person receives their emails on the G1, what type of link can I give so that clicking on it will take them to the app in the Android Marketplace?

View 3 Replies View Related

Android :: Getting Hardware Floating Point With NDK

Jun 9, 2010

I've begun playing with the android NDK. One of the things I've just learnt is about creating an application.mk file to specify the armv7 abi. I'm building the san-Angeles example with the following parameters. Code...

View 1 Replies View Related

Android :: Point Sprite Support

Oct 5, 2009

Can someone confirm for me that point sprites are not currently supported in Android? Calling gl.glEnable(GL11.GL_POINT_SPRITE_OES) is triggering a GL_INVALID_ENUM error, so I assume this is the case, but I'd appreciate a confirmation before I proceed with an alternate design.

View 4 Replies View Related

Android :: Stop BroadcastReceiver After Some Point

Nov 13, 2009

I want to stop BroadcastReceiver after some time / after some work.

How to stop BroadcastReceiver after some point from service/ activity ?

View 5 Replies View Related

Android :: How To Change Point On Map By Clicking On Map?

Nov 3, 2010

I want to give my users oppertinty to choose destination. from the beginning it will already have a point on the map, and after that they can choose/change to another location if they want. how is it possible to change the point on the map, by clicking somewhere else on the map?

View 1 Replies View Related

Android :: Calculating Direction From Point A To B

Sep 17, 2010

I'm trying to create a compass for my application BUT the difference is that, instead of having a line always pointing to north, I want this line to point for a specific point. I've been trying dozens of algorithms and nothing works. I've finally found one that points me exactlly to the point I want. But it doesn't move if I change the position of the device which is my objective. Basically, what I want is that no matter the direction I'm using my device. The line always point me to the point (picLatitude,picLongitude). I understood that for the line to move, I can't use static variables. I need to use the values offered by the onSensorChanged(SensorEvent event). This are the data I have available:

event.values[0]: azimuth, rotation around the Z axis (device in relation to north, 0º) event.values[1]: pitch, rotation around the X axis event.values[2]: roll, rotation around the Y axis mLatitude: device current latitude got from GPS (variable) mLongitude: device current longitude got from GPS (variable) picLatitude: static picture latitude established previously picLongitude: static picture longitude established previously distance: distance in Km from device to the picture calculated previously

And this the formula that works correct, and gives me the correct angle. (But it doesn't use any of the Sensor Data so the line Compass doesn't move):
double dLong = picLongitude - mLongitude; double y = (Math.sin(dLong) *
Math.cos(picLatitude)); double x = (Math.cos(mLatitude) * Math.sin(picLatitude) - Math.sin(mLatitude)*Math.cos(picLatitude)*Math.cos(dLong)); double angleDegreesWrongRange = Math.abs(Math.toDegrees(Math.atan2(y, x))); float angleDegrees = (float) ((angleDegreesWrongRange+360) % 360);
myCompass.updateDirection(angleDegrees);
I got this "bearing" formula from this website: http://www.movable-type.co.uk/scripts/latlong.html. I've try adding, subtracting, the azimuth.. I've tried with the others, seriously at this point I'm just demoralized.

View 13 Replies View Related

Android :: Cedar Point Map App For Phone?

Aug 17, 2010

Does anyone know if there is an app out there that has cedar point mapped out? I cant seem to find one. Im heading there tomorrow and would like to be able to ditch the map and just carry around my phone.

View 2 Replies View Related

Android :: Can't Use Point Sprite API In Droid NDK / Way To Do

Jun 15, 2010

I want use point sprite (OpenGLES Extension) API in Android NDK(r4).
right here
int att[] = {0,0,1};
glPointParameterxv( GL_POINT_DISTANCE_ATTENUATION, att );

But, doesn't work it.

View 1 Replies View Related

Android :: What Is The Starting Point For Animations

Jul 19, 2010

I am at a stage where I can understand and write a decent Android application. At this stage, I am still not comfortable with SurfaceHolder, Canvas, View invalidate() etc. I don't have a CS background so I must've missed these from a CS Graphics course or something.

Starting directly with Android seemed like a bad idea because there are not many examples out there. And sometimes I am getting things done, but I don't understand what the heck is going on. For instance, there are a few dangling observations. Calling invalidate() from within a view calls its onDraw method but from outside it doesn't do anything and I don't know why this is happening. I know SurfaceHolder can be a powerful thing but I don't know how to use it.

For an absolute beginner to be able to handle this stuff, what are the resources one should follow? Is it animation basics or screen rendering or something else altogether? I mean, it cannot be the case that Android guys invented these concepts right? They must be similar to something out there which has some tutorials already. My end goal is to put myself in a position where I can write some simple custom views that can animate themselves and use some basic physics to react to touch events.

View 1 Replies View Related

Android :: Get Notified When New Access Point Is Added?

May 26, 2010

I was wondering is it possible to get a notification of when a new configured network is added to the Wifi Manager in Android? I know you can get the current list of configured networks.

http://developer.android.com/intl/de/reference/android/net/wifi/WifiM...

But is it possible to get notification of when a new one is added? I don't see anything in the Wifi Manager that would be helpful. How this could be achieved?

View 2 Replies View Related

Android :: WiFi Access Point On HTC Desire

Oct 1, 2010

How do I configure HTC desire as WiFi access point?

View 1 Replies View Related

Android :: OpenGL ES Fixed - Floating Point

Oct 13, 2009

I've started developing an OpenGL ES app and I would like to get the best possible performace (as everybody, I guess).

As far as I know, HTC Magic (myTouch, G2) doesn't have floating point unit, so I think every calculation is done internally with fixed point math. That beign the case, altough I fed OpenGL with floating point vertex positions and normals, there would not be any permormace penalty since it would be using integer math instead of floating point emulation.

View 2 Replies View Related

Android :: Floating Point Support On G1 Phone

May 17, 2009

I have been searching about the floating point support on G1 phone (aka the HTC Dream phone) for a few hours.

So far, my conclusion is that the ARM-based Qualcomm MSM7201 CPU does not have VFP (floating point coprocessor) and therefore floating point calculations have to be done via software-float.

This is quite disappointing as I am interested in developing applications with heavy math.

However, I also notice that the Qualcomm CPU has QDSP4000â„¢ and QDSP5000â„¢ high-performance digital signal processors (DSP), according to http://www.qctconnect.com/products/msm_7201.html

Therefore, here is my question: would it be possible to leverage the DSP modules in the MSM7201 CPU to do the floating point math?

Also, I would like to develop the heavy-math modules in C/C++ and call it via JNI, and so I just want to double-check whether this is a feasible approach.

View 13 Replies View Related

Android :: Floating Point Hardware Support?

Feb 22, 2010

I'm currently developing a application on a HTC Dream aka T-mobile G1. afaik the processor has a FPU coprocessor, called VFP (Vector Floating Point) in ARM terms. So far I couldn't find any information about if the FPU is used for floating point calculations or if those are emulated in software. does anyone have any information about that? the opengl implementation supports both fixed point and floating point. will my applications be slower when I'm using floating point, because they get transformed into fixed point internally? or is floating point implemented in hardware?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved