Android :: Droid Maps : Determine Map Center After A Drag Has Been Completed?
Nov 20, 2009
Is there a way through the android maps API, where I can detect the map center after pan animation has completed? I want to use this information to load markers from a server dynamically.
View 2 Replies
Mar 18, 2010
I just tested out Google Maps with GPS enabled. it correctly displays my blue dot as to where I am, but I've noticed I have to manually scroll the map when I "drive off of it". Obviously, that's not an option while driving.Does anyone know of a setting that will allow my dot/location to remain centered in the screen while the map scrolls?
View 3 Replies
View Related
Apr 5, 2012
I am able to create and drag and drop activity successfully but the only problem I faced is if I drag the view more than about 30 times, the drag event will stop to initiate and I am unable to drag anything. What is the causes?I am using onTouch() to drag the view.
View 1 Replies
View Related
Jul 29, 2010
I have a layout question.
Say I have a RelativeLayout appearing at the bottom of my screen. In this, I want to add 2 textviews, in the center, one in the top center and one in the bottom center.
|--------------------------|
| Text1 |
| Text2 |
|--------------------------|
Something like that.
View 2 Replies
View Related
Jan 21, 2010
When people call me on my google number it says "call can't be completed as dialed" even with 1 and the area code.
View 5 Replies
View Related
Sep 21, 2010
I can't send sms's from my x10 and i ask support and they told me to put the servise center manully in wireless control<mobile network> service center number. but i couldn't find that in my phone!!!
View 11 Replies
View Related
Sep 8, 2010
How to drag an image by touching in android?
View 2 Replies
View Related
Nov 8, 2010
I want to write an app for my thesis that it will have some items/icons and i will drag'n'drop them in a box and then it will make a query in a database and return the result..but i can't find information on how to combine the drag'n'drop with the box...
View 2 Replies
View Related
Jul 5, 2010
I have a table-top style game board consisting of 10x10 squares. Each square is a PNG image. On top of these squares I want to place tiles which can be drag and dropped on top of the squares.
What would be my best approach concerning Views?
Is it possible to have two layers where layer one is a grid of ImageView's which represents the board. Would it then be possible to let the tile be an ImageView also which could be "stacked" on top of the ImageView's which represents the board?
View 1 Replies
View Related
Oct 9, 2010
I am working on a MapView app in Android. I have three markers that I want to be able to use the Google Map API getlocation-function on, later on. In order to try it out I would like to move the marker with a drag and drop-function, and then check the location.
Anyone who has gotten a drag and drop to work on an android marker, or know a way to start figuring it out?
View 1 Replies
View Related
Jul 15, 2010
New to Android and this is probably a stupid question but I couldn't find an answer after searching the forums.
I have the Evo and cant figure out how to get rid of the completed download indicator arrows at the top of the screen.
View 4 Replies
View Related
Oct 9, 2010
I am designing an application which requires Drag&Drop functionality to transfer items from one list to another.
Is there any way to drop item into another list, as i have seen applications to drag and drop items in the same list(Reordering the list)?
View 1 Replies
View Related
Jun 3, 2009
I want to find the dimensions of the various views in my layout. My understanding is this can only be done after layout is completed since layout is somewhat dynamic. So, after the activity calls setContentView() and then returns control on the main thread to the OS so that layout can occur, how do I get a notification that layout has completed so I that I can query the views for their dimensions? On a related topic, can I find out the status bar's height or least the screen's full size (from which the status bar's height can be calculate by subtracting my window's height)?
View 2 Replies
View Related
Jan 12, 2010
I have a BroadcastReceiver which never enters onReceive(), so to debug I created a bare bones project with a simple BroadcastReceiver and still it never gets the BOOT_COMPLETED intent (see manifest below).
I do see a lot of warnings/errors in my Eclipse log (filtered and after manifest) which didn't seem to cause issues before, but maybe I have a bad install of the emulator? I have all the latest SDK and plugins. I also noticed that when I run the emulator I always get "Waiting for" popup for either Alarm or MMS.
The debugger attaches normally for my main Activity, it's just this "boot" receiver that never seems to start. I've tried using "com.boottest.BootReceiver" instead of".BootReceiver" to no avail.
CODE:......................
View 4 Replies
View Related
Jul 16, 2010
I am programming an android application and my "testing" device is a Motorola Milestone (Droid). I have done a grid that scroll like the iPhone home menu ( with "points").
I got two problems:
The first one : the drag only works on the Android Device Emulator and don't on the Droid! (Maybe the multi-touch screen is a problem?) The drag is too responsible, and flip views sometimes one by one (this is ok) and sometimes 2 by 2 or 3 by 3! That is clearly problematic!
Here is the code of my OnTouch method: Code...
Update : It doesn't work anymore on the Google Nexus One!
View 2 Replies
View Related
Jul 20, 2010
I have a background thread which queries for 1000 records at a time. After querying , when i call cursor.move To First(), the UI gets blocked until the operation is completed.This is very disturbing experience for user , especially if there are 10000 plus records.I use Thread.sleep in between after each 1000 records, As soon as cursor.move To First is called, UI blocks for 2 3 seconds. Am i missing anything here ?
View 9 Replies
View Related
Jul 20, 2009
I am trying to create AlarmManager in BOOT_COMPLETED BroadcastReceiver.
It is NOT working, AlarmManager Receiver is never fired.
BootReceiver:
code:......................
View 3 Replies
View Related
May 4, 2009
Is there anyway to block the UI Thread till the .mp3 file completes (or in general blocking UI thread till perticular action in the b/g thread completes).
I had used following code but not got the expected result.
COD:.................
View 3 Replies
View Related
Feb 4, 2010
I thought "Drag Right to Answer" only appears when someone is CALLING YOU on your Droid.
That is appearing now when I am calling OUT.
Did I mess up a setting or something?
View 9 Replies
View Related
Feb 19, 2010
Does anyone know if there is a way to identify (in code, not LogCat) when the GC has run? Perhaps an intent is fired? I could analyze the LogCat output, but it would be ideal if I could determine when the GC has run from my code.
View 2 Replies
View Related
Apr 30, 2010
I have an application where I would like to warn the user if they are not using the default Android softkeyboard. (i.e. they are using Swype or some thing else).
How can I check which input method they currently have selected?
View 2 Replies
View Related
May 8, 2009
Is it possible to listen for WebView page load completed event (the whole page is loaded including images, js files, css files and the page is completely rendered.
View 5 Replies
View Related
Oct 26, 2010
I'm developing an Android application.
How can I center the title for a custom dialog that I'm using?
View 2 Replies
View Related
Mar 19, 2009
I want to create an Android ImageButton in the xml file with a background image, and a smaller icon on top of that, right in the center. For some reason, it's not obvious how to do it, and documentation is no help.code...
However, no matter what I try (putting "wrap _ content" instead of absolute numbers on layout _ height and layout _ width, the icon remains in the top left corner of the button. If, however, I have no background image (i.e. a system default white button), the icon does go into the center. The button also goes into the top left corner when I use a color instead of an image for the background.
Why does this happen, and how would I actually get the behavior I want-- that is, a background image with the icon in the center?
View 2 Replies
View Related
Mar 10, 2010
I'm experimenting with Android's audio recording and playback. Is there a way to enumerate the available audio parameters on my device?
Right now, when I pass a combination of parameters that the hardware (or emulator) doesn't like, I just get an error. So I am having to "guess":code...
Surely there's a better way!
This chart indicates that the only supported audio input sampling rate is 8 kHz? Is that correct?
View 1 Replies
View Related
Jun 30, 2010
Is there a way I can find what resource a particular ImageButton is set to, at any given time?
For eg: I have an ImageButton that I set to R.drawable.btn_on onCreate. Later, at some point, the ImageButton gets set to R.drawable.btn_off. I want to be able to check what resource the ImageButton is set to in my code.
View 3 Replies
View Related
Aug 4, 2010
I have a layout that looks something like this:
[TextView 1] [TextView 2]
[ TextView 2 spill-over ]
Essentially, I need the contents of TextView 2 to wrap to the next line, but start where TextView 1 starts. I was thinking that if I knew how much text would fit into TextView 2 before it runs out of space on line one, I could take the rest of the text and put it in another TextView below the first two. So I need to measure how much text will fit into a TextView (which can be tricky because as far as I can tell, Android will try to break the text in a TextView at a good location so that it won't break a word in the middle if it can be avoided) or I need a new idea on how to lay this out.
View 1 Replies
View Related
Jun 16, 2009
How to distinguish Android is first run or not after booting device?
View 2 Replies
View Related
Nov 15, 2009
How can I determine the current internet connection type available to an Android device? e.g. have it return WiFi, 3G, none.
View 2 Replies
View Related
Jul 31, 2010
Is it possible to stop Astrid from syncing with RTM every time I check off a task as completed? I don't have a constant Internet connection and it keeps giving me a dialog window every time it can't sync.
View 9 Replies
View Related