Android :: App Got Crashed On SDK 1.5 - Working Fine On SDK 1.0

May 11, 2009

I have developed an application which has tabActivity using SDK 1.0 r2.

1st Tab contains List view. -> the list contains some images

2nd and 3rd contains some webviews.

The app works fine on G1 mobile.

Today I downloaded SDK 1.5 and ran the same app on SDK 1.5.

The app got crashed when I scroll down/up the list items very fast (fling)

code:............

I am not understanding the above error log.

Then I experimented some thing like this: I removed the TabActivity, just shown only list activity. Then I scroll down/up the list items. Then there is no crash.

Android :: app got crashed on SDK 1.5 - working fine on SDK 1.0


Android :: Jpg Images Noisy On Sdcard - Fine In Gallery - Only On 1.6 - 1.5 Is Fine

Nov 24, 2009

In my application users take photos with an Activity that implements SurfaceHolder.Callback. The uri.toString() is then passed as an extra to a subsequent Activity that displays the image. All fine, except for in Android 1.6 the jpgs on the sdcard have a strange noise when looking at them through mac finder or win explorer after mounting the sdcard. The images have purple and yellow stripes on their upper half. Fine on camera gallery.

Here's some relevant code.

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

View 3 Replies View Related

Android :: URLConnection.getOutputStream - Working Fine In Java Main But Not In Activity

Feb 25, 2009

URLConnection conn = url.openConnection(); in debug stack the value of conn is like this

debug stack:---------------------------------------

when i click on conn, it shows me this value

org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection:http:// www.myweb.com/api/bin/validate.php

some of the childs of conn are as below

chunklength=-1 connected= false connection= null host address= null httversion=1 ------------------------

java code:

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

View 2 Replies View Related

Samsung Fascinate :: GPS And Google Navigation Working Fine

Sep 9, 2010

I just got back from my local VZW store. No line. I immediately downloaded Google Maps. It installed and ran fine.

Turned on Google Navigation and navigated home. GPS locked quickly, seemed accurate (within reason, maybe 25-50 feet) and gave perfect spoken turn-by turn directions. Woo hoo.

I am gonna download some things and play for a while, but my # 1 concern looks to be appeased right now.

View 8 Replies View Related

Motorola Droid :: ADB Won't Recognize - USB Drivers Seem To Be Working Fine

Mar 28, 2010

I keep getting error: device not found when I try to use adb with my phone.

~Windows XP SP2, 32bit
~The SDK is installed and working.
~The USB drivers have been downloaded through the SDK.
~The phone is in USB Debug mode.
~The USB drivers have been installed in windows.
~Windows device manager shows that everything is working fine.
~Windows recognizes the phone when it is plugged in.

The ONLY thing that does not work is that the phone won't show up in the list of devices adb sees. Everything else appears to be setup and working just fine!

View 14 Replies View Related

HTC Droid Eris :: LauncherPro Beta / Working Fine

May 17, 2010

Has anyone else downloaded this off of the market yet? It's the smoothest home replacement I've tried yet, and even has the pinch helicopter view. Only downside thus far is that you can't customize the four shortcut icons at the bottom, but they're my four most used programs anyways, so I don't really mind. And that you can't use HTC widgets, but I expected that.

View 49 Replies View Related

General :: App Decompiles And Recompiles Fine But Theme Not Working

Jul 25, 2013

I can't get to twrp because of fff. I was wondering if I can flash ROMs with root explorer or some other app I can just download directly to my kindle.

View 4 Replies View Related

HTC Hero :: Water Damage / Noticeable Streaks On Screen Otherwise Working Fine

Apr 25, 2010

long story short I dropped my hero into a glass of water while half asleep. I immediately pulled the battery out and threw the whole thing into a bag of rice for 2 days. Pulled it out today and it works. But theres noticeable water streaks on the screen when you look at it from an angle. Will these streaks ever go away? I have insurance, so I can get a new one for 100$ but not sure If I should throw the money at it since it still works perfect, minus these ugly streaks.

View 2 Replies View Related

Android :: Trying Out An App / It Crashed Phone

May 15, 2010

I was trying out an app, I think it's called Continuous Photo and it completely crashed my phone. I can't turn it on. I plugged it into the wall to see if that would help and it made the sound that one would expect when it's charging and the home, menu, and return buttons all lit up, but not the screen. It's a brand new phone that I've only had for 4 days. Is the problem, that I tried to complete a function using the app, that I didn't have enough memory for? No matter what the reason is, how can I fix it? I'm freaking out here.

View 3 Replies View Related

Android :: QuickContact Works Fine On 2.2 But Not On 2.1

Oct 9, 2010

I have a ListView where I want to show the QuickContact (like in the default Contacts android app when you click on the photo of a contact).

It works fine on my Nexus One 2.2 or the emulator with avd 2.2, but doesn't work on my Samsung Galaxy S 2.1update1 or emulator 2.1.

On 2.1, I'm getting the error:

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

This is the call in the code:

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

View 2 Replies View Related

Android :: App Runs Fine In Emulator

Apr 9, 2010

I have an app that has a few checkboxes in the settings and then compiles a remote sql based on the checkboxes selected. i ran it in the emulator and it's fine. but then i exported it and published it as an app, and the same checked boxes aren't being passed correctly. i wonder if it's a caching issue or something. tried deleting the apks a few times and republish but to no avail. i "fake-edited" the source java and then export again, still no difference.

I'm kind of new to eclipse but is there a force build option? i only see build-automatically option under project but not sure how i can make sure that the apk exported is the same as run in the emulator

edit the emulator is version 1.5, and my phone is nexus one running 2.1- not sure if that makes a difference

View 1 Replies View Related

Android :: Red Droid Crashed Phone / Need Another

Oct 12, 2010

Don't download Red Droid! aka Red Tube! I downloaded this application and it crashed my phone. Have to get another one.

View 5 Replies View Related

Android :: Notifying That The Dawvik Vm Has Crashed

Sep 17, 2010

I have a situation here where i have an intent A that calls intent B. In Android 2.x, the application B consistently crashes the dawvik virtual machine when it runs the second time. Then, if A calls B again, it works.

Is there a way to let A find out that the vm has crashed? This way, i could just redo intent B.

View 3 Replies View Related

Android :: App Crashes On Droid - Works Fine On G1

Jan 7, 2010

I'm having a problem where my app crashes on the Droid and seems to work fine on the G1. We have a G1 dev phone but do not have access to a Droid phone, so the issue is difficult to debug at this stage.

The app loads up the main screen okay, but once the user moves beyond the main screen, the app crashes. Moving beyond main screen initiates the following:

- GPS signal acquired - Accelerometer sensor listener active - Geomagnetic sensor listener active - Camera preview active

I have a suspicion that the issue may be related to the camera preview. With the G1, it didn't seem to matter how I set the camera preview size, so I just made it fit the size of the view.

Camera.Parameters parameters = mCamera.getParameters(); parameters.setPreviewSize(w, h); //where w, h are the width and height.

One possibility is that with the Droid having a larger screen resolution to the G1, it may be setting the preview size to something that is not supported. I plan on addressing this, but I have a few questions that I was hoping someone could shed some light on.

1. If the app attempts to set a preview size that is not supported, will it just be ignored or will the app crash?

2. If the preview size is smaller than the surface that is holding the preview, will the image be stretched to fill the surface?

3. Can anyone think of anything else that may be related specifically to the Droid that could be causing me problems?

View 8 Replies View Related

Android :: Phone Crashed Constantly After Froyo

Sep 21, 2010

Ever since Froyo, I cannot text, email, and my phone crashes constantly.

View 1 Replies View Related

Android :: Button Fine Text Alignment

Sep 3, 2010

I'm trying to create standard button in android with a background and some text in front but some fairly specific alignment. I want the text to be centered vertically and on the left with 20dp of padding. The alignment works but the padding doesn't. I know I could probably get the desired effect by putting a few spaces in the text but that seems like a hack and next I want to do a similar thing but with the text at the top so I would prefer a more elegant solution. Here's what I have:

<Button
android:layout_width="312dp"
android:layout_height="95dp"
android:id="@+id/gv_music_button"
android:text="Music"
android:textSize="30sp"
android:paddingLeft="20dp"
android:gravity="left|center_vertical"
/>

View 1 Replies View Related

Android :: How To Find Place Where Application Crashed

Aug 31, 2010

How to find out line of code where application failed in Android? (without debugging just to see crash dump)

View 3 Replies View Related

Android :: Service (Run Forever) Crashed - No Longer Want

Jul 21, 2010

We have a Service that continuously collects sensor data on the phone. This service should run "forever", e.g. as long as the user wants, and not be killed by the system. For clarification, this service is not intended for an app to be released in the market to the general public, it is written for a scientific study. So the people running the app are fully aware that their battery will sucked empty faster than usual, this is no problem. Anyways, my problem is that the service gets killed after a while of running. Sometimes after an hour, sometimes only after like 7 oder 10 hours. The Log-Entries when the service gets killed look like this. It just says "no longer want", sometimes without even calling onDestroy(), as far as I can tell.
07-20 17:07:11.593 I/ActivityManager(85): No longer want my.project.datalogging (pid 23918): hidden #16
07-20 17:07:11.593 I/WindowManager(85): WIN DEATH: Window{44c61570 my.project.datalogging/my.project.datalogging.DataLoggingApp paused=false}
07-20 17:07:11.603 I/BackgroundService(23925): onDestroy()

Or later (after I manually restarted it):
07-20 19:00:49.677 I/ActivityManager(85): No longer want my.project.datalogging:BackgroundService (pid 24421): hidden #17
07-20 19:00:49.677 I/ActivityManager(85): No longer want my.project.datalogging (pid 24415): hidden #18
07-20 19:00:49.807 85 10707 I WindowManager: WIN DEATH: Window{44f1ea58 my.project.datalogging/my.project.datalogging.DataLoggingApp paused=false}

I often see other services being killed with "no longer want" and then immediately restarted with "Scheduling restart of crashed service". For example here with runkeeper:
07-20 17:30:45.503 I/ActivityManager(85): No longer want com.fitnesskeeper.runkeeper (pid 24090): hidden #16
07-20 17:30:45.603 W/ActivityManager(85): Scheduling restart of crashed service com.fitnesskeeper.runkeeper/.services.RunKeeperService in 5000ms
07-20 17:33:52.989 I/ActivityManager(85): Start proc com.fitnesskeeper.runkeeper for service com.fitnesskeeper.runkeeper/.services.RunKeeperService: pid=24292 uid=10099 gids={3003, 1015}

The logs show no record of low memory. Testing is done on (several) Nexus One with 2.2 (Froyo FRF91). Is there any way I can achieve this behaviour with my app? Automatic restarting after being killed? Or this this something totally different that just looks similar in logcat?

View 2 Replies View Related

Android :: BroadcastReceiver To Restart Killed - Crashed App?

Sep 14, 2010

I have an application and I would like to be able to restart it on the event of an error or a crash/app shutdown. I am familiar with how to register BroadcastReceivers, use alarms, etc.

Is there any signal I could intercept that the app sends out when it shuts down? Or that the OS sends out when any app shuts down?

View 2 Replies View Related

Android : Is There A Way To Prevent Crashed Service From Restarting

Nov 12, 2009

Is there a way to prevent your service from restarting if it crashed?

View 7 Replies View Related

Android :: Application Does Not Work When On 3G.On WiFi Works Fine

Aug 16, 2010

I have application that communicates with web server through REST. It works fine on a phone when connected via WiFi but does not work correctly when on 3G.

Not everything stops working. I'm still able to use some functionality but for some reason some calls to rest return "" (empty response) very quickly. Once again when I'm on WiFi everything works fine.

Just to clarify:
1. I have data plan :)
2. Server I'm connecting to is accessible from Internet

View 1 Replies View Related

Android :: Application Crashed After Either Receive Phone Call

Oct 30, 2010

After I either receive a phone call or make one, (and other undocumented interruptions) my application gets a NullPointerException when resuming my activity. Can any explain to me where it is and/or how to fix it?now, pls help me to fix this problem, how do i handle phone call or SMS received or such kind of interruptions?

View 2 Replies View Related

Android :: OWA Access Denied Over 3G - Works Fine On WiFi

Aug 5, 2010

I have the Samsung Captivate, and I'm having a bit of an issue with my company's Exchange server. I don't want to sync it with my phone, I prefer to keep my work email separate, but I do occasionally need to use the Outlook Web Access portal on the server. When I'm on any WiFi connection, and I browse to my server's OWA, I get the login prompt, and I can successfully log in and do whatever I need to.

However, when on 3g, I get simply "Access Denied" without a login prompt at all. I've tried rebooting the phone, killing the browser process, clearing the caches in the browser, etc. None of that works. I administer this server myself, and it works with my wife's iphone just fine, as well as other android phones in the office.

View 1 Replies View Related

Android :: Application Crashed For List Of Data / Image From Server

Jan 18, 2010

I am developing one application which fetches the list of data/images from the server and shows on to the device. When I change the orientation, press Back button after doing it for 4-5 times app gets crashed. I am handling orientation change within activity itself and not setting the new view.

[Code]

View 8 Replies View Related

Android :: Scheduling Restart Of Crashed Service - But No Call To OnStart

Mar 7, 2010

In the 1.6 API, is there a way to ensure that the onStart() method of a Service is called after the service is killed due to memory pressure?

View 4 Replies View Related

Android :: Scheduling Restart Of Crashed Service - Need Call To OnStart?

Mar 7, 2010

In the 1.6 API, is there a way to ensure that the onStart() method of a Service is called after the service is killed due to memory pressure? From the logs, it seems that the "process" that the service belongs to is restarted, but the service itself is not. I have placed a Log.d() call in the onStart() method, and this is not reached.

View 1 Replies View Related

Android :: Start Activity From UncaughtExceptionHandler If Main Thread Crashed?

Feb 8, 2010

I am trying to start an error-reporting activty if unhandled exception detected. The problem is with exceptions thrown from main thread. Is there any way to start an activity if main thread crashed?

View 3 Replies View Related

Android :: Reregister Phone State Listener If Application Crashed

Nov 17, 2009

i've registered a PhoneStateListener in BOOT_COMPLETED receiver by using following call: tm.listen(new TestCallStateListener(), PhoneStateListener. LISTEN_ CALL _STATE); If the application crashes then system automatically unregisters the PhoneStateListener. Is there any mechanism of checking if particular PhoneStateLister is registered or not? Actually i'm thinking of starting a repeating service by AlarmManager which will check if PhoneStateListener is registered or not . And if it's not registered then service will register it again. Just a backup if application crashes. Is this a good approach or there is some better mechanism to make sure that PhoneStateListener is always registered even if application crashes ?

View 2 Replies View Related

Android :: OpenGL ES Works Fine On Emulator But On HTC Hero 1.5 It Does Not Render Vertices

Nov 8, 2009

Running into REALLY interesting problems with OpenGL ES. Basically when I start my program in 1.5 or 1.6 emulator, it works just fine but on HTC Hero 1.5 it does not. The problem is that the vertices are not being rendered but the gl.glClear() command is working just fine. I followed in with the debugger and it does go into the rendering function and such but still not rendering the vertices...

Here is the code in PasteBin (easier to read: http://pastebin.com/m706686e6 )

And here is the same thing pasted here:

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

Also I got my projection set in 2D ortho projection to match screen coordinates so that's why scale to 50,50 to actually make a bit bigger. I've tried using glDrawElements and glDrawArrays and nothing on the actual phone but works perfectly fine on the actual emulator. Any ideas where I might be going wrong? Why is the actual phone not rendering the vertices like the emulator is?

View 7 Replies View Related

Android :: Crashed Service Restarted By System Doesn't Call OnStart

Mar 31, 2009

I have noticed that if my background service crashes the system will automatically restart the service after 5 seconds. This is great, but I have noticed that only the onCreate method gets called and not the onStart method. Does this mean the service is properly restarted or do I need to do something special in the onCreate method to make sure it is? I did have my initialisation logic in the onCreate method and my starting service logic in the onStart method but it looks like it will all have to be in the onCreate method.

View 2 Replies View Related







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