Android :: Android Maps Library Crashes Quite Frequently
Sep 10, 2010
I've been struggling with the runOnFirstFix() method for quite a long time. And maybe the problem is in that first line that says Running deferred on first fix. Android Maps Library throws NullPointerException when animateTo is executed while a dialog is shown. The thing is, when the first fix gets executed and I am displaying some dialog in that moment, it crashes quite frequently. I've extracted the following from the logcat:
I/Maps.MyLocationOverlay( 2425): Running deferred on first fix: com.MyApp.Map$2@43aef8e8
W/dalvikvm( 2425): threadid=23: thread exiting with uncaught exception (group=0x4001e170)
E/AndroidRuntime( 2425): Uncaught handler: thread Thread-24 exiting due to uncaught exception
E/AndroidRuntime( 2425): java.lang.NullPointerException
E/AndroidRuntime( 2425): at com.google.android.maps.MapController.animateTo(MapController.java:232)
E/AndroidRuntime( 2425): at com.google.android.maps.MapController.animateTo(MapController.java:203)
E/AndroidRuntime( 2425): at com.MyApp.Map$2.run(Map.java:129)
E/AndroidRuntime( 2425): at java.lang.Thread.run(Thread.java:1096)
View 1 Replies
Sep 27, 2010
I'm the proud owner of a month old Droid 2, but the damn thing keeps freezing or locks up completely when I play my music on it - sometimes it even restarts on its own. It doesn't matter if I'm playing my own MP3's or Pandora. While at work this happens maybe 3 to 5 times a day (docked to a desk/home charger from Verizon) and it's really frustrating. I noticed this started happening once my phone updated to 2.2.20 a few weeks ago. Just this past weekend I took it to my local Verizon dealer. They said they updated the PRL and this often corrects the problem. I got the phone home and it locked up immediately. I've restarted repeatedly, removed the SD card and battery but still no change. Any suggestions? This will be my fourth replacement if I need to take it back and have it replaced.
View 11 Replies
View Related
Feb 12, 2009
Here my application "com.android.hello" calls a core library "libvt.so" through JNI call. There is a segmentation fault in "libvt.so". When executed I get the following log What I see is some Hex value followed by a library name. #00 pc afe0d24c /system/lib/libc.so
Also there is a Stack section 01-01 00:02:57.800: INFO/DEBUG(1600): stack: 01-01 00:02:57.800: INFO/DEBUG(1600):bef2e570 bef2e604 [stack] 01-01 00:02:57.810: INFO/DEBUG(1600):bef2e574 afe0a333 /system/ lib/libc.so
This too gives similar information. I am looking for little more informations rather than Hex values. Like the backtrace feature where the stack hex values is mapped to the function names and function names are visible.
Please provide information how to see the function names in stack rather than Hex values. Is ther any compiler options needs to be updated? Any makefile to be updated to enable backtrace?
View 7 Replies
View Related
Mar 1, 2010
Few days ago my HTC Magic (Android 1.5) started to behave strange. Google Maps application crashes when I am trying to enter Latitude. Hard reset cleaning cache of the Maps application helps to start it (applications starts and works flawless), but when I am trying "to join Latitude" it shows progress bar "Loading friends", then application crashes. After that I can not even start Maps. Exception browser shows: java.lang.NullPointerException: Name cannot be null
Not sure whether I can debug Google experience application to find out what's going wrong.
View 3 Replies
View Related
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
Sep 11, 2010
Is it possible to use Google Maps Android library in my app in a way, that the app can be installed even on phones without Google Maps? On phones without Google Maps, the maps feature would be disabled.
View 1 Replies
View Related
Jan 3, 2010
I'm learning via a few books w/downloadable code. One of the examples I'd like to get running won't even compile because the IDE can't find/import the com.google.android.maps library/package, which I found odd since I have everything possible installed that the SDK offers. The book info on the publisher site was not helpful either.
I'm using Eclipse (build 20090920-1017) with the ADT 0.9.5 plugin. SDK is fully updated (all available packages installed, including android 1.1 api 2 rev. 1 through android 2.0.1 api6 rev 1, and google apis 3 rev 3 through 6 rev 1.)
View 3 Replies
View Related
Jun 1, 2009
I extracted com.google.android.map.jar and com.google.android.map.xml and Map.apk files from the another development device which has google maps in it. I started with following procedure..
1. adb -d shell
2. # mount -o rw -t yaffs2 /dev/block/mtdblock3 /system mount -o rw -t yaffs2 /dev/block/mtdblock3 /system mount: Device or resource busy. I can't copy the above files to the /system/framework/ , /system/etc/ permissions/ , and /system/app to these directories.
C:>adb -d push C:GoogleMAPSMaps.apk /system/framework/ failed to copy 'C:GoogleMAPSMaps.apk' to '/system/framework// Maps.apk': Read-only file system
Is there any way to change the system image to Read write mode?
View 12 Replies
View Related
Jul 16, 2010
I'm trying to understand remote services at the moment and everything works fine, i can start the service and know how to communicate with it through the AIDL-interface. My problem is that the service seems to still run in the same process like the activity it was started from, because the activity crashes too, if there is an error thrown in the Service.
I set the service process to remote ( android:process=":remote" ) so what am i doing wrong? Or what do i have to do to unbind the service-process completely from the activity-process?
View 1 Replies
View Related
Nov 11, 2010
I have an Android library project that makes calls to PreferencesManager.getDefaultSharedPreferences.
I have 2 version of my app, paid/free, and they are not able to access the preferences stored by the library code.
Can someone tell me the right way to store values in SharedPreferences in library code and have the values available to projects that include the library?
View 2 Replies
View Related
Aug 17, 2010
According to this SDK guide, unit-testing a Library project can be achieved by creating a standard application project, reference the Library project and then instrument the application for unit testing. However, when I do this and launch the test application I get the message.No tests found with test runner 'JUnit 3".I'm using Eclipse and the Android ADT plugin, all latest versions.the projects compile just fine. The test project also installs fine to the emulator. But in the console I can see that it looks for <library>.apk, which of course doesn't exist since I'm compiling this as a library into the test project.
View 1 Replies
View Related
Aug 26, 2009
I created a jni library which depends the third shared library, I must copy the third shared library to /system/lib, otherwise, Java application can't load jni library. But you know, on G1 with official OS image, /system/lib is readonly. I tried to call System.setProperty to set java.library.path to the location stored the thired shared library before load jni library, but the issue still exists.
View 6 Replies
View Related
Jul 15, 2010
As I understand, the three ways of distributing my application are via Jar, Android Library and Android Library Project.Jar - cannot contain resources or XML layouts (so this is out for me)Android Library - I don't really know how this works but the Google API uses it..Android Library Project - includes resources but allows the client free rein on the code as it is distributed as source.If I am to create a closed source application that requires drawables and XML files that I want to distribute to other Android programmers, what should I use? And can someone direct me to a tutorial on creating an Android Library?
View 4 Replies
View Related
Feb 25, 2009
In my application I want onLocationChanged() to be called frequently. Is it possible? Actually, I should get the accurate accuracy of the location. How to do it?
View 3 Replies
View Related
Jun 8, 2010
I'm looking for an app that I can configure with a list of words which I can later select via press and hold and be able to select which word I want to paste/type. I was hoping one of the add-on keyboard or clipboard apps would provide this feature but I haven't had any luck finding anything. I have a big email address and password and would love to keep them in a permanent clipboard of some sort. The clipboard apps I've tried kind of fit the bill but switching to that app for the purposes of making a selection disrupted the flow of things. Press and hold would be best. Can anyone suggest an app that would accomplish this? I've been also looking for a way to remove the stupid arrow keys at the bottom of my HTC Evo's keyboard. I tried better keyboard from the market but I'm having issues getting used to those keys. The letters seem smaller or something.
View 7 Replies
View Related
Aug 25, 2009
I would like to change the text color frequently which is drawn already. Actually, I have taken the app, AlphaBitmap from APIDemos. There, I draw some 10 lines. Now I would like to put the background as black, and the initial text color as white. After every 1 sec, each word in the line should be painted with yellow color.
View 2 Replies
View Related
Nov 7, 2010
I've been using handcent for almost a year now. 2 weeks ago, right at it, one of my most frequently used contacts for texting disappeared from handcent. The text comes through on board messenger but wont cross over to handcent. Out of 90 or so contacts this is the only contact with that issue. The contact is an AT&T contact, all other AT&T contacts work fine. I've removed the contact, reset the phone with battery removed, made new contact and still the same. It's almost like the number/name is cursed. This "cursed contact" comes through handcent on my wife's phone just fine.
View 2 Replies
View Related
Jul 3, 2009
I need advice/pointers on how to display on a map multiple points that change somewhat infrequently based on the device's location. Currently, my application already displays in real-time the device's changing location on a map. I can also easily display the location of one of the other points of interest. However, I have not figured out a way to have both displayed on a map at the same time.
View 7 Replies
View Related
Jul 22, 2010
I want a widget showing a countdown for a user initiated tracking of a bus departure. I want to update the widget every minute or so, from when the user initiates the tracking to when the bus has departed (i.e. the time runs out). This widget needs to be updated more frequently than what updatePeriodMillis allows, which is every 30 seconds. I reckon about once a minute. Being new to Android programming, I can think of a few ways to do this, but I would probably end up doing it in a way that consumes way too much battery etc, so I'm looking for some insights from more experienced Android developers. How do I start the timer? How can I access the widget instance from my applications run-time? And so on.
View 1 Replies
View Related
Jun 2, 2010
My phone LG GW620 is hanging very frequently....abt 1 time a day is average......what should i do and what can be the possible causes?
View 4 Replies
View Related
Dec 17, 2009
Is there a way on the HTC Hero to create a shortcut (icon?) that will launch an app that sends a pre-defined string (10 char) to 46645 (Google) via SMS? I do this sometimes multiple times a day and it sure would be handy to be able to do it via a single click to a shortcut.
View 2 Replies
View Related
Apr 26, 2010
Android AMF client library Aftek has extensive experience in developing enterprise Flex applications. We have used BlazeDS extensively and we believe that it would nice to provide all the benefits provided by AMF for Android applications as well. We have developed an Android AMF client library which would enable Android application developers use the same extensively. The Android AMF client library supports remoting and secured remoting. This will allow all android applications to use the existing backend like .NET, Java, or PHP. The implementation is asynchronous in nature providing success and failure callbacks. This allows application to perform other tasks without blocking the application. We are currently performing some performance benchmarking and plan to release our library very soon. We would also be incorporating the messaging feature as well.
Android RTMP client library:Aftek has extensive experience in developing voip and audio/video and media applications. Media applications has a huge market and there would be quite a few people eager to develop the medial applications on Android. We believe that it would nice to provide all the benefits provided by RTMP for Android applications as well. We are developing an Android RTMP client library which would enable Android application developers use the same extensively. Our Android RTMP client library would support some add-ons that would help developers to deliver robust media solutions.
View 3 Replies
View Related
Jun 7, 2010
My HTC Desire applications (most noted are weather widget, friendstream etc) don't update them frequently. I mean, an hour or two pass by and the applications still show out-of-date information and then I do them manually. Any help on this? How can I reduce time for updates to 15 minutes?
View 3 Replies
View Related
Feb 10, 2010
Though I've migrated happily from a verizon Palm 700WX (WM) to a Droid, there is a composition feature I miss called 'my text', which gave you ten registers where you could store frequently used phrases 'On my way', '@giantstupidURL.com', '[large foreign phone #]', etc. When composing a message any of these phrases could be inserted with just a few keystrokes.
I have not been able to discover anything similar on the Droid. Did I miss it, or are there apps for email / text that have this and other enhancements?
View 1 Replies
View Related
Sep 25, 2010
I use the google code from devloper.android.com I use that application but in the emulator it shows only the crossed lines not the map so is there any settings in emulator for displaying maps
CODE:.....
Android mainfest
CODE:..................
View 4 Replies
View Related
May 17, 2013
So my question is when I go into the Hangouts app theres a contact in the "Frequently Contacted" but I have no idea who it is. I just want to remove it from my list but cant figure out how.
View 5 Replies
View Related
Jul 1, 2012
My Samsung Galaxy mini is restarting frequently . Is it normal ?
It generally restarts when i launch some apps like Cam scanner , What's app , Offline dictionary .It doesn't restart when i open the app . In what's app it restarts during conversations .Its not restarting all the time , usually it works OK .
I am using Galaxy Mini
Stock Rom : 2.3.6 (Ginger Bread )
Not rooted
View 1 Replies
View Related
Aug 31, 2010
hello all, i am trying to develop a google maps application for android enabled phones using the javascript v3 api released by google.. but i do not understand how to code the entire thing in android.. cuz as far as i am concerned i have only used java code for developing an application in android.. my last semester project consisted of a client application for picasa web albums.. the complete code was written in java.. i am new to use javascripts.. has anyone developed an application for android using javascripts before?? if yes i need your help.. i need to start the project soon..
View 2 Replies
View Related
Apr 19, 2010
In your contacts, under favorites is the Frequently Called list. Mine is displaying numbers I have never called. Anyone else?
View 21 Replies
View Related
Aug 27, 2010
I have a lot of issues with my device. It hangs frequently and the WiFi signal is weak and drops after a few minutes no matter what. I have the latest firmware so that isn't the problem. Many apps seem to run in the background even though I didn't start them and when I exit them the right way with the back button they're still running. What to do? I like the phone but it doesn't seem very stable so far.
View 5 Replies
View Related