Android :: OnToucheEvent Badly Handles ItemizedOverlay

Jul 6, 2009

I have the following exception that occurs I don't really know in which circumstances.

I'm just trying to add an overlay to may viewMap, and I don't have anything special in my classes. The most strange thing is that it worked for a while, then it broken again when I changed my image!

CODE:............................

Android :: onToucheEvent badly handles ItemizedOverlay


Android :: Pandora App Crackles Badly In Car

Nov 30, 2009

I can't figure it out. At first I thought I had a blown speaker (specifically the front left speaker) because it makes popping/cracking noises VERY bad when playing music. After some experimentation, however, I found that it's only when using Pandora. If I play music from my phone off last.fm or internal memory, or non-phone sources like my other MP3 player or FM radio, there is no crackling no matter how loud I go (and for reference it happens more noticeably at low volumes, I can crank it up and drown out the popping mostly).

What gives? If I listen to pandora with headphones there is almost no problem, although on some songs I can kinda-sorta hear the popping.

I'm using the motorola droid if it's relevant (although I don't think that has anything to do with the problem).

View 18 Replies View Related

App Is Being Rendered Very Badly On Some Android Devices

Mar 22, 2014

The background (example:Splash screen) that i have developed for my app is being rendered very badly on some android devices.By bad i mean the actual composition of brightness,contrast, sharpness all is getting very messed up, resulting in a very different background color than the one i originally created.

View 1 Replies View Related

Android :: Multitouch Seems Badly Broken On Nexus One 2.1-update1

Feb 11, 2010

So what I want to know is what is being done about this? Is there a bug file and if so is it.

View 1 Replies View Related

Android :: Handles Sms When Receives Them?

Sep 24, 2010

I am just wondering about how android handles sms when it receives them. More precisely my question is when the android phone receives a sms message, which application saves the message to the mmssms database? Is this done by the OS or by the native sms application?

View 1 Replies View Related

Android :: EditTexts And Handles

Jan 26, 2010

I have an issue with an application I'm writing for Android. Here's the problem: I need to create several EditText fields on the fly, while still maintaining some sort of handle to each individual one. For example: I create four EditText's, and I wish to submit the information from them to a server via an HTTP connection. How do I get the user-inputted data out of these EditText's after they have been created? (I guess what I'm asking is how exactly do I use the setId() method, because it doesn't seem to be working for me).

View 9 Replies View Related

Android :: Application Handles Updates?

Apr 13, 2010

How an android application handles updates ? What kind of information does the application usually needs to send to request an update, and what does it receives back ?

View 1 Replies View Related

Android :: NinePatchDrawable As ItemizedOverlay

Jun 13, 2009

Is it possible to use "stretchable" graphic as pin in ItemizedOverlay? If not how can I draw NinePatchDrawable on Canvas?

View 4 Replies View Related

Android :: ItemizedOverlay ArrayIndexOutOfBoundsException

Jan 31, 2010

I've seen all the posts about using setLastFocusedIndex(-1).

I've tried that but my app is still crashing.

CODE:...............

View 2 Replies View Related

Android :: NullPointerException ItemizedOverlay?

Nov 15, 2010

This does not refer to anywhere in my code at all.

How do I go about getting to the bottom of it?

CODE:..........................

Here is the draw method of the ItemizedOverlay

CODE:..........................

I now print out the stacktrace and no difference!

View 1 Replies View Related

Android :: Overlay Vs ItemizedOverlay?

Oct 24, 2009

I want to draw 20 pins on a MapActivity. Each pin has a small pin image, but I have to dynamically overlay a small bit of text over each pin at runtime.

Looks like I have two options:

#1) Itemized Overlay This is the suggested method. I put all my pins in one ItemizedOverlay object, and that counts as a single Overlay object for my MapView.

#2) One Overlay per pin Create a separate Overlay instance for each pin I need to render.

The problem I see with using method #1 is that you need to set a drawable for the item. This would mean that I need to create 20+20 (one for focused/non-focused state each) bitmaps and keep them in memory for the duration of my app. On the other hand, Overlay lets you override the draw method so I can do the simple compositing at runtime.

The other issue with Itemized Overlay - although it handles focus for you - does it move the focused item to the front of the z-order when selected?

View 2 Replies View Related

Android :: Displaying ItemizedOverlay(s) On A Map ?

Oct 31, 2010

I'm having some troubles with displaying ItemizedOverlay(s) on a map.

Here I extracted a simplified example of what I need to do.

Here's my Map class:

CDE:........

I followed the guide provided by google to extends the ItemizedOverlay class

CODE:...................

As it is clear from the code I need to update at fixed times a map UI with possibly new positions to do so I'm using a timer, but I think I might fall in some kind of thread issues I don't know how to handle, since when running a test I can see in the Log what happens but no marker is drawn on the map.

View 1 Replies View Related

Android :: Handles Power Management Application?

Oct 3, 2009

I am looking for an application that handles power management. I downloaded the Power Management app, but the free app has limited features. I am looking for a free app.

View 2 Replies View Related

General :: How Does Android Handles Cache And Storage

Mar 29, 2013

I have a HTC EVO 3D for months now and I've never experienced issues with it, but I aways have plenty of storage left and have done a system reset once so I don't know how it behaves. I'm very curious about this because I've explored some apps cache sizes and for example Facebook was about 50 MB. Is there a limit?

I'd like to know what happens when the internal storage runs out of space. Does Android (regardless of device / custom manufacturers "skins") automatically take care of deleting old cache files from apps?

I mean, if you run out of internal storage in a Nexus device, what happens?

View 2 Replies View Related

Android :: Increase Hit Detection On ItemizedOverlay

Sep 23, 2010

I have an itemizedOverlay extended and I want to increase the hit detection on the OverLayItem's if this is possible?

View 1 Replies View Related

Android :: ItemizedOverlay.onTap() Imprecise?

Feb 15, 2010

I'm using Google maps. I put the markers on map and my inherited ItemizedOverlay overrides onTap() method.

Markers are 32x32 images.

However, I can tap quite a bit away from the marker and still receive the event. This becomes a problem when markers are close to each other.

View 2 Replies View Related

Android :: ItemizedOverlay Using Both OnTap Methods

Jun 15, 2010

I have a MapView where I would like to be able to tap the map to create a new item at that location if there is no item there, or display the info about the item if there is.

I tried overriding both the onTap(int) and onTap(GeoPoint, MapView) methods but apparently if the second method is overridden the first never gets called (commenting one or the other lets each one work as I expected).

I thought about just checking if an item was at the location, but there doesn't seem to be any handy methods available to do that (other than iterating through the list of items and checking each manually).

View 17 Replies View Related

Android :: Yahoo IM Client That Handles Linked Accounts?

Jun 19, 2010

Does anyone know of a Yahoo IM client that handles linked (AKA Aliases) accounts? I have tried the following clients:
- Meebo
- Palringo
- IM +
- eBuddy
- Nimbuzz
- Hi Yahoo
- Yahoo Droid

They all have the same issue which is: I have linked yahoo accounts (a primary with other accounts linked). When I log into a yahoo account with the above clients and I receive an IM to a linked account, I receive the IM just fine, but when I respond to the IM, it will send from the primary (or logged in) account and NOT the account that IM was sent too. What SHOULD happen is the IM should be sent from the account that the IM was sent too just like the desktop app works.

View 1 Replies View Related

Android :: Problem Draw On A MapView ItemizedOverlay

Aug 27, 2010

I am developing an application for the Parisian Metro. One of the functions is a map where you can click the metro stations and see what are the metro lines, and when are the next 4 trains on this station.

I have hence created a MapActivity and an ItemizedOverlay classes.

On my device it is working perfectly, but I am getting some logs from the users with a crash, and I really don't understand what's wrong.

My map activity adds ONE ItemizedOverlay that displays a blue dot for the current user location. This overlay also listens to onTap, which depending on the coordinates of the tap, will try to find metro stations (for which I know the lat/lon coordinates). This is working perfectly.

The stack trace of the crash is:

CODE:.....................

Sometimes it comes from different lines but it always finishes crashing at OverlayBunde.java:42

As is does not mention my code, I don't know what's wrong.

You can get the source code of the MapActivity and the the ItemizedOverlay: http://code.google.com/p/metroparis/source/browse/trunk/src/org/bicou/metro/

The activity class is ACarteStations and the overlay class is StationMetroMapOverlay.

View 1 Replies View Related

Android :: ItemizedOverlay Adding Items And OnTap?

Feb 4, 2010

When I add a new item to my ItemizedOverlay the onTap display I have set appears X times, where X is equal to the number of items that I added. So for example, if I add one item and tap it, it the onTap method gets called once, and in the LogCat I get:

02-04 23:28:56.188: INFO/NotificationService(52): enqueueToast pkg=android.mapit callback=android.app.ITransientNotification$Stub $Proxy@4394c100 duration=0

If I add a second item and click ANY of the other items, the onTap method gets called twice and I get the following in LogCat:

CODE:.....................

If I add a third item and click ANY of the other items, the onTap method gets called three times and I get the following in LogCat:

CODE:...................................

Any idea why this would occur? I'm running into issues with it affecting other things like removal of items.

View 2 Replies View Related

Android :: Access Drawable Resources From ItemizedOverlay?

Jul 3, 2009

I have a method in my ItemizedOverlay class which takes an object as a parameter and depending on it's certain values returns an appropriate icon. What's the best way to access the drawable resource from within ItemizedOverlay as you can't access it directly like in an activity? The only idea I have for now is to pass the resources as a second argument...

View 3 Replies View Related

Android :: MapView With ItemizedOverlay Still Don't Work / Solve It?

Sep 7, 2009

I've try to make a mapview with itemized overlay and it's not work. I share my code if anyone see anything :

java class mapview code...

View 4 Replies View Related

Android : Way To Use 9-patch / Text For ItemizedOverlay On MapView?

Nov 23, 2009

In my application I would like to mark different spots on a map. What I'm now wondering is if there's a way to use a simple 9-patch image and add the spot's name as text to it or would I need to draw everything myself (including the text) in the draw() method of ItemizedOverlay?

View 1 Replies View Related

Android :: Performance Of Map Overlay In Conjunction With ItemizedOverlay Very Poor

Apr 14, 2010

I am trying to display one png (drawable) on a map in about 300 points. I am retrieving the coordinates from a Sqlite table, dumping them in a cursor. When I try to display them by parsing through the cursor, it takes for ever for the images to be drawn, about .5 second per image. I find that to be suspiciously slow, so some insight on how I can increase performance would help. Here is the snippet of my code that does the rendering:

while (!mFlavorsCursor.isAfterLast())
{
Log.d("cursor",""+(i++));
point = new GeoPoint(
(int)(mFlavorsCursor.getFloat(mFlavorsCursor.getColumnIndex(DataBaseHelper.KEY_LATITUDE))*1000000),
(int)(mFlavorsCursor.getFloat(mFlavorsCursor.getColumnIndex(DataBaseHelper.KEY_LONGITUDE))*1000000));
overlayitem = new OverlayItem(point, "", "");
itemizedoverlay.addOverlay(overlayitem);
itemizedoverlay.doPopulate();
mFlavorsCursor.moveToNext();
}
mapOverlays.add(itemizedoverlay);

I tried to isolate all the steps and it looks like the slow one is this: itemizedoverlay.doPopulate(); This is a public method in my class that extends ItemizedOverlay that runs the private populate() method.

View 1 Replies View Related

HTC Desire :: Bluetooth - How It Handles Calls - Media

Jun 18, 2010

I have the following setup:

Desire
Aux Input (for music)
SuperTooth One BlueTooth Hands Free

When I drive, I use the HTC Desire to play the sat nav instructions and music out of the Aux to the stereo however, if I enable Bluetooth, all music and commands are sent through the Bluetooth receiver instead.

On the iPhone, you have the option to route audio through headphones socket or through the BT device - but cannot find out how to do it on the Desire.

Are there any applications that make it possible to route calls out via BT and everything else out over the Aux?

View 1 Replies View Related

Android :: How To Persist Options Selected In AlertDialog Spawned From ItemizedOverlay OnTap Method

Jun 7, 2010

In the description of how to add a list of options to an AlertDialog the official Android documentation alludes to saving a users preferences with one of the "data storage techniques." The examples assume the AlertDialog has been spawned within an Activity class.

In my case I've created a class that extends ItemizedOverlay. This class overrides the onTap method and uses an AlertDialog to prompt the user to make a multi-choice selection. I would like to capture and persist the selections for each OverlayItem they tap on.

The below code is the onTap method I've written. It functions as written but doesn't yet do what I'd hope. I'd like to capture and persist each selection made by the user to be used later. How do I do that? Is using an AlertDialog in this manner a good idea? Are there better options?

CODE:.......................

View 2 Replies View Related

Bluetooth Adapter Which Handles Sending And Receiving Messages

Sep 23, 2011

I'm writing an app which contains three tabs.. let's just call them TabA, TabB, and TabC.

In my main class which extends TabActivity I have a Bluetooth Adapter which handles sending and receiving messages. I initialize the BluetoothAdapter onStart. Part of the initialization tries to reference controls on the three tabs. But my problem is that only TabA (my default tab) has been initialized at this point so when it tries to access TabB and TabC, they're still null.. How can I initialize all 3 activities, and access controls on each of the tabs when receiving messages from the BluetoothAdapter? (Basically I want TabA to contain a TextView to log all messages, TabB will contain a few controls like sliders and checkboxes that will change based on the messages recieved, and TabC will just have an array of buttons that send specific data..)

View 1 Replies View Related

Sprint HTC Hero :: How Phone Handles Multiple Gmail Accounts?

Oct 6, 2009

I asked this in the other "Hero" subforum, but I thought I'd ask it here, too. I really like what I see from this phone, but I wonder how it handles multiple Gmail accounts. I have three Gmail accounts for different purposes. My iPhone 3G handles these with no problem. I don't see anything in the Hero manual that indicates that it will play well with multiple Gmail accounts.

View 9 Replies View Related

Motorola Droid :: Handles Netflix In Browser Pretty Well - Summury Box Come Up And Everything

Nov 8, 2009

I am pretty happy about that. The little summary pop up boxes come up and everything. There is no need for a app for that, just a bookmark for me.

View 6 Replies View Related

Android :: How Android Handles PCM Data From Voice Call?

Oct 14, 2010

I am trying to understand whether or not Android handles the phone conversation's audio stream or it is done outside Android's framework. Specifically, if, for example, Android controls a cellular processor that provides PCM interface for voice conversation and there is a need to send audio over Bluetooth instead of using mic/speakers, how this is handled? There are two ways here to the best of my understanding:
1. Route PCM from cellular to audio port on Android CPU, then let Android receive the stream and send it to BT stack for processing and eventually pushing to BT hardware over HCI 2. Have Android control a HW switch that will route PCM directly to BT HW using direct PCM interface Which one applies? Is there a preferable way (best usage of resources provided by Android)?

View 3 Replies View Related







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