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?

Android :: App crashes on Droid - works fine on G1


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 :: 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 :: 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 :: 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

HTC Incredible :: Amazon MP3 App Works Fine - With Sd Card

Apr 30, 2010

Just installed the Amazon MP3 app, that I love. I have it on my 16gb microsd card I just pulled from my beloved G1. Installed and runs super fine!

Had to extract it (apk file) once from a different G1 rom, since it was not in the rom I installed- awhile back.

View 1 Replies View Related

Android :: Can't Access Motorola Milestone On Ubuntu 9.10 Via Adb - HTC Magic Works Perfectly Fine

Jan 12, 2010

I've two phones, the HTC Magic and since today also the Motorola
Milestone.

While the Magic works perfectly, I'm not able to access the Milestone
via USB (adb devices).

Here are my log outputs and settings for both:

HTC Magic

lsusb:

Bus 001 Device 009: ID 0bb4:0c02 High Tech Computer Corp.

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

Motorola Milestone

lsusb:

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

Notes

USB Debugging is enabled on both phones. After changing the udev rules I did a "service udev reload" and
"adb kill-server" -> didn't help. I even tried to restart the whole machine. Without success.

View 3 Replies View Related

Samsung Moment :: Cracked Screen - Phone Works Fine - Way To Fix

Dec 25, 2009

I gave my son a Samsung Moment for Christmas and before the day was though he dropped it and cracked the screen? The phone works fine. What is the best way for me to get this screen fixed. Just call Sprint or take it back to Best Buy. Any idea what the cost is for that kind of a repair?

View 10 Replies View Related

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

HTC Desire :: Live Tv On My Desire And Works Fine

Jun 8, 2010

I dont know if anyone is interested buy I have just registered with YAMGO.COM. I am nothing to do with the site just wondered if anyone wlse wanted to give it a go. Took 5 seconds to log on and it works

View 7 Replies View Related

Motorola Milestone :: Motorola Milestone Voice Breaks While Speaker Phone Works Fine

Jan 20, 2010

I am using Motorola Milestone UK version with AT & T. G Mail and Yahoo etc work fine. Data plan also work perfect wih At&T 2G. AT&T 3 G can not use with Milestone because 3 G band of AT & T is not supoerted by Milestone.

However, real problem is that when I call anybody, he always finds my voice breaks on Milestone. When I switch to speaker they find my voice perfect. I can hear their voice clearly. Any body has same problem.

Secondly, I would like to dowload "Car Home" app which is available with Droid. It is not available in Market place. When I try to see how it is intsalled in my friend's droid, it shows 0 KB. Does this app is part of Android for Verizon. When I dock the phone in Car dock, as I dont have Car home app so phone does not pop up Navigation window which is part of Car Home. I can use Google Map manually. This is not big problem.

View 2 Replies View Related

Android :: Activity Crashes When Remote Service Crashes

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

Android : Select Items Runs Fine In Chrome But Not On Droid G-1 Browser

Aug 25, 2010

This little web page runs fine on my desktop but when selecting the area with a G-1 Android device (select box that says statewide..) the data refreshed with the requested data in the table but the text in the select box does not change,,, the other select boxes (month and year) work fine.. Fwiw the data is still rough and so is the gadget...
I've rebooted and restarted the g-1 to no avail..
http://dl.dropbox.com/u/4303088/gadgetdraftok.html

The broader question, i guess, here is how to debug a web page on any android browser? we don't have a firebug equivalent..

Further I confirmed the same bug in the Moto Cliq browser (also old still a 1.5) very strange every once in a while the G-1 operates correctly, but I can't figure out how to get it to do it, just that every once in a while the select shows in the window when selected and the data refreshes..

I have verified that this seems to be a verified bug in the early browsers... so now I'm trying to figure a work around, I added setFocus on the select box but it is ignored on the Android G-1
*New info*
I actually used this test tool from W3schools try-it site and it demonstrates the non-behavior in just a few lines..
http://www.w3schools.com/js/tryit.asp?filename=tryjs_focus i.e. it works fine on desktop but does not give focus when on phone.. anyone have a work around idea? ( I figured setFocus would be my silver bullet but sadly no)

I have three select boxes on the app so I need to display the selected info...as the selection is served.. not just initialization. FWIW the behavior seems to be on select boxes that have the selection dynamically loaded,, when I finish all three boxes will need dynamic loading now only the area box is dynamic, year/month are coded and so work.

View 2 Replies View Related

Motorola Droid :: Phone Running Fine At 1GHZ

Jan 26, 2010

If you'd like to try it, check your normal ROM website for droid. It allows up to 1ghz clock. I personally have profiles set for a little lower for most times, but its running fine at 1Ghz.

View 49 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

Motorola Droid :: Fine Tune Music Playback?

Nov 15, 2009

Is there a way to fine tune the music playback? Any equalizer settings?

View 1 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

Android :: Droid Application Crashes / What To Do?

Jan 18, 2010

I am trying to run an application on an android emulator, but it crashes. i am following a howto

i don't know what to do, it just crashes. other applications are running fine, can anyone tell me what i am doing wrong.here is the code...

View 4 Replies View Related

Android : Way To Catch Crashes In Own Droid App?

Apr 16, 2010

Is there any way to catch crashes in my own android app? Something like a global uncaught exception handler? Just wondering if I could install something like that, then if an uncaught exception is thrown, I could pop up a dialog for the user and ask if they want to mail a dump of the exception to me.

View 2 Replies View Related

Android :: Droid Application Crashes / What I Am Doing Wrong?

Jan 18, 2010

I am very new to android programming. i was following a guide in here, to create an application that shows the current location, i did as was told in the guide, but whenever i try to run it, it crashes, and asks for "force Close",
does somebody know what i am doing wrong? here is the code....

View 2 Replies View Related

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.

View 8 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

HTC Droid Eris :: Email Setup - Can Get Incoming Server Setup Fine But Cannot Get Outgoing To Work

Jan 17, 2010

My Gmail account works great, and I have my aol and yahoo acounts set up no problem (well the yahoo was a little problem but got it to work so thats all that matters). I have 2 other email accounts that no matter what I do I can not get them to work. One is my works email which is handled by a company called network solutions. I can get the incoming server setup fine but I can not get the outgoing to work. The other is my school email which is some sort of msn email account variation (username@email.itt-tech.edu which i log into through msn.com). I cant get anything to work for this accuont.

View 3 Replies View Related

Android :: Droid WebView Crashes When Clicking On A Link / Fix It

Oct 13, 2009

I have some WebView widgets inside my Activity. I use loadData() to set the content, and this html contains a link. Some of my WebViews work okay, when I click the link, the web browser is started in a new window, but some make my app crash when I click on a link.

10-13 08:45:24.257: ERROR/AndroidRuntime(751): Uncaught handler: thread main exiting due to uncaught exception
10-13 08:45:24.308: ERROR/AndroidRuntime(751): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.app.ApplicationContext.startActivity(ApplicationContext.java:627)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.content.ContextWrapper.startActivity(ContextWrapper.java:236)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:185)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:277)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.os.Handler.dispatchMessage(Handler.java:99)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.os.Looper.loop(Looper.java:123)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.app.ActivityThread.main(ActivityThread.java:3948)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at java.lang.reflect.Method.invokeNative(Native Method)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at java.lang.reflect.Method.invoke(Method.java:521)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at dalvik.system.NativeStart.main(Native Method)

There seems to be a problem with the Intent that the WebView fires when I click the URL, but I have no control of this Intent, I think. Does anybody have any idea?

I use this AsyncTask to set the content in the WebView, and it works fine.code...

View 1 Replies View Related

Android :: Droid Application Crashes When Button Is Clicked / Fix It?

Oct 19, 2010

I am writing an android application that check the username and the password of the user once a login button is clicked

i run the app in the emulator and when i click on login button the application is crashed code...

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 :: Droid App Crashes Due To Low Memory / Stop A Thread Before Completion?

Nov 11, 2010

My application is basically a image viewer. It is opened from both camera and as a separate application.

I open the image viewer to view and edit the picture. Each edit operation is implemented using thread. If my application closes due to pressing the home button, the next time I open it with camera. It throws anr.

This doesn't always happen. Only when large edit operations or edit operations on large image files are done.

I get out of memory error, sometimes timeout.

I guess it s because the thread doesn't complete the edit operation when home is clicked. and it s still running on the background. so when i open it s unable to process it.

m I right?

If so what is the way to stop a thread before the completion?

View 3 Replies View Related

HTC Droid Eris :: Pandora Crashes

Jun 1, 2010

When I pause Pandora for more than a few minutes, the widget absolutely refuses to respond and I have to kill Pandora with a task killer (this is the sole reason I keep the tk around) and then I have to use the icon instead of the widget to restart it.

When it crashes, I have to hit the widget like 7 or 8 times to get it to open up full screen. Then I can hit the 'Like' or 'Dislike' button and they will turn blue for a second but no check appears and the play button does absolutely nothing till I go in and do the kill thing. If I try to just hit the icon before killing it, it opens up full screen does the exact same unresponsive thing.

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

Motorola Droid :: Email App Crashes On Attachments

Nov 7, 2009

I have my yahoo account setup in the android email app. Thanks to a previous post got it working beautifully.. when i click an email that has an image attachement and chose the Save function, its then shows the crash/error messege "The application Email (process com.android.email) has stopped unexpectedly. Please try again."Ive tried numerous emails in my yahoo account with pics and it crashes it every time. No idea why. When i open an image in my gmail account using the gmail app its saves fine.

View 1 Replies View Related







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