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

Android :: app runs fine in emulator


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

Android :: Get An IM Client Runs On Emulator?

Jul 16, 2009

The emulator does not install with any IM app.For testing purposing, I would like to have an IM application on the emulator.

how can I get one of these IM apps run on emulator? http://www.gandroidmix.com/im-clients-for-android-os/

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 :: AccountManager Authenticator Only Runs Once Per Emulator Restart

Nov 24, 2009

I have written a simple Authenticator service to work with the new AccountManager API introduced in 2.0. When I launch a test app that uses the authenticator the authenticator service is launched (as expected) and it's onBind method is called. However, if I run my test application a second time in the same emulator (without restarting the emulator) my service is not launched and onBind is not called.

So far the only way I have found to get my service to launch and onBind to call again is to restart the emulator, which is a very time consuming process. I have looked at the Devices view in Eclipse and ensured that all of my processes have been killed, just in case one of them was just being rebound to or something.

View 2 Replies View Related

App Runs On Emulator But Can't Click On Anything

Jun 3, 2011

Yesterday, my app worked fine on the emulator, but today after the app launches, I can't click on anything when the app runs. The code hasn't changed, my OnClickable event is wired up correctly and there are no errors in the compiler. I can't hit a breakpoint in the debugger. All the output in the console looks normal.

View 2 Replies View Related

Android :: Eclipse Emulator - Runs WVGA (hdpi) As Mdpi Screen

Jul 22, 2010

The problem I am having is that when I run a FWVGA or WVGA sized emulator it sometimes runs at a MDPI size instead of HDPI. Here is an example with pictures. I create the AVD with the proper hw.lcd.density setting and screen size and it randomly does this. There doesn't seem to be a pattern. I used to be able to just delete the AVD and create it over again and it would fix itself for a while but now it's getting worse.

View 1 Replies View Related

Android :: Way To Use Win32 Eclipse To Debug Code On Emulator That Runs On Linux?

Oct 12, 2009

I am running Eclipse on Win32 and my Android emulator on Linux.

Is there a way to use Win32 eclipse to debug code on the emulator that runs on Linux?

View 3 Replies View Related

Android :: App Runs On Emulator Crashs On Galaxy S / Options Exist To Troubleshooting This?

Sep 8, 2010

I have an app the runs fine on my emulator and my incredible with android 2.2. Users say my app won't run on the galaxy s. What options exist to troubleshooting this? Is there a special agreement for galaxy?

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

General :: Google Play Store App Runs On Emulator?

Oct 6, 2012

I'm looking for a Play Store .apk that will run on my Android (ICS) emulator. The .apk from my phone and tablet did not work. I'd like to download apps directly to my Emulator.

View 1 Replies View Related

Samsung Behold 2 :: Is There Terminal Emulator Application That Runs - Free?

Mar 10, 2010

is there a terminal emulator app that runs on this fone that is free? or is it only the better terminal emulator pro on the android market that can still run on 1.5?

View 3 Replies View Related

Android :: How To Get Serial Number / ID Of Android Emulator After It Runs?

Feb 6, 2010

If I run several emulators with -no-window option in one machine. The command "adb devices" shows:
List of devices attached
emulator-5554 device
emulator-5556 device
emulator-5558 device
However, according to this output, I can't tell the difference between each emulator device at all. I need to know which emulator runs on what AVD, then I can install APKs or send commands to the emulator.How can I recognize each emulator device or get the serial number of emulator after it runs?

View 4 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 :: 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 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 :: 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 :: 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 :: Good App For Mapping Runs?

Aug 7, 2010

Ok so here's the deal guys and gals, I am trying to have my phone assist me with my running. There are plenty of apps that will track my run via gps if I bring my phone on the run with me, but I don't wanna do that. I want to be able to map a course out, enter how long it took me, save the map and even share it with friends. Ideally the app would have the gps running features I mentioned above just on case I ever do start bringing my phone with me. Here is an example of what I mean in website form (unfortunately they make a sweet app for the iphone but their android version is pretty awful right now.MapMyRun.com -

View 9 Replies View Related

Android :: Determine When Droid GC Runs?

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

Android : Which Thread Runs ContentProvider

Aug 16, 2010

If I call to a ContentProvider from a Activity, which thread is ContentProvider running in?

E.g. What happens if the Activity is killed and a query is executing in the ContentProvider? Say that you have a slow network query f.ex.

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

Android :: Every Few Hours Eclipse - ADT Runs Out Of Resources

Sep 12, 2010

When I am developing for Android and repeatedly running and/or debugging an Android app in the emulator then about every two hours or so I get an Out-of-memory exception, occasionally also an out-of - resources- or out-of-GWT-handles exception. At that point one can only stop and restart eclipse. Apparently the ADK must be doing something wrong, because I have been developing with Eclipse now for 5+ years and I normally never see this. ADT is a really the exception here. Is there any setting or patch that helps top avoid this? I have already given it more heap space (750M) to stretch the time between these hickups a bit, but that approach isn't really sustainable.

This is using Eclipse 3.5 (Galileo) and the Android SDK r06 running a FroYo AVD.

View 3 Replies View Related

Android :: How Do You Approach Various Devices Your Application Runs On?

Jul 23, 2010

For my first application, the only testing I've really done to this point is on my Droid X. I want to think through the various hardware differences and come up with a testing plan that is representative of the Android landscape. My initial thought is to create a list of emulators that have unique qualities such as screen size and SDK levels. I've noticed very quickly how the UI of my application will need some adjustment when viewed on devices that don't carry a 4.3" screen. How have you approached this hurdle in your own development? Chris Stewart cstewart...@gmail.com http://www.androidsdkforum.com *Want to advertise your Android application for free? Email me for details!*

View 9 Replies View Related

Android :: Eclipse No Longer Runs Application

Jan 14, 2010

After deleting a phone device from the emulator, I can no longer hit the green triangle button in eclipse and have it launch my application in the emulator. I had been developing for 2.0.1, but then decided to try my app out in 2.1. I created a phone device for 2.1 and tried running it. I encountered some problems. Eclipse pops up a dialog box: Problem Occurred, Launching "my app" had encountered a problem. An internal error occurred during: 'Launching my app". When I look at details, it says: An internal error occurred during: "Launching Pingo". java.lang.NullPointerException.

View 3 Replies View Related

Motorola :: Can Java Application Runs On Android

Dec 8, 2009

I m a programming noob here..i need help on some issues here. I understand that Android is built from Java. I need to know if i can run a java application on android? Or can i run the application with minor change to the current coding? I read about Java ME can run on android but what abt .Jar file?

View 6 Replies View Related

Android :: Java Runs Out Of Heap Space

May 21, 2009

I forgot to mention that I am using a third party JAR file that includes about 2900 classes.

View 3 Replies View Related

Android :: Cant Find An Mp3 Player That Runs Visualizations / What Is Going On?

Dec 6, 2009

Cant find an mp3 player that runs visualizations. What the heck is going on here? Even the crappy LG chocolate has an mp3 player with visualizations. What the heck is going on?

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







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