Android :: Phone App Works On Emulator / Not On Phone?

Jun 15, 2010

I made a very simple application to start playing around with Android development. It works fine on the emulator, but it gives me the following error when I try to install it on my HTC Hero (v1.5): The application Simple Dial (process com.foo.simpledial) has stopped unexpectedly. Please try again. (Force Close button) and on in the Eclipse console, I get the following message:
[2010-06-14 23:10:52 - Simple Dial] Uploading Simple Dial.apk onto device 'HT9BSHF00222'
[2010-06-14 23:10:53 - Simple Dial] Installing Simple Dial.apk...
[2010-06-14 23:10:56 - Simple Dial] Success!
[2010-06-14 23:10:56 - Simple Dial] Starting activity com.alanvaghti.simpledial.DialActivity on device
[2010-06-14 23:10:57 - Simple Dial] ActivityManager: Can't dispatch DDM chunk 46454154: no handler defined
2010-06-14 23:10:57 - Simple Dial] ActivityManager: Can't dispatch DDM chunk 4d505251: no handler defined
[2010-06-14 23:10:57 - Simple Dial] ActivityManager: Starting: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} comp={com.alanvaghti.simpledial/com.alanvaghti.simpledial.DialActivity} }
I did put 'android:debuggable="true"' inside the application tag on the manifest.xml

Android :: Phone app works on emulator / not on phone?


Android :: SQLite - Works Perfect In 1.6 Emulator - Won't Work On The Phone - 2.2 - Or 2.0 - Emulator

Aug 6, 2010

I created a sqlite database to store playlists for a media player I am developing because of extended feature (rather than using the Content Provider). It works perfectly on the 1.6 emulator but FCs on anything higher than 2.0... what has changed that I need to know about as far as opening databases in SDK 2.0+? Here is the logcat.

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

Here is the dbhelper class

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

why can't stackoverflow just use tags like a normal syntax highlighter.

View 2 Replies View Related

Android :: Works On Emulator - Not On Phone

Jun 22, 2010

This code:

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

works as expected on the emulator (on Android 2.1 virtual device) but on phone (HTC Desire Android 2.1) it just clears the screen, can't see anything drawn. If I comment out the

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

It works on the phone, but not if I have the gluLookAt call in onDrawFrame.

What's the problem with gluLookAt in onDrawFrame?

View 1 Replies View Related

Android : Google Maps Works On Phone NOT On Emulator / Way To Fix

Oct 10, 2010

Google mapview does not load the actual maps in the emulator, just the grid. My overlays are displayed ok. sdk version 2.2. It works fine in a real phone. I use a debug key and trippel checked the manifest. It has been working in earlier projects. I just cant figure it out.. Any ideas, what to check?

View 3 Replies View Related

Android :: Phone Emulator Not Displaying Phone Numbers

Oct 1, 2010

When I use the following code in Android 1.6 it displaying both phone numbers and contacts but when I use Android 2.2 it does not display phone numbers, it only displays names. String columns[] = new String[] { People.NAME, People.NUMBER, People._ID };
int tocols[] = new int[] {android.R.id.text1, android.R.id.text2};
Cursor c = managedQuery(People.CONTENT_URI, columns, null, null, null);
SimpleCursorAdapter sca = new SimpleCursorAdapter(this,
android.R.layout.simple_list_item_2, c, columns, tocols);
setListAdapter(sca);

View 1 Replies View Related

Android :: Works On Emulator Not On G1

Oct 15, 2009

Learning about the NDK and JNI today. I was able to build, install and run the Quake demo that was ported to Android via the NDK 1.6. Worked great. I then started looking at the hello-jni example. This example works for me in the emulator, but does NOT work for me on the G1:

I/ActivityManager( 76): Start proc com.example.hellojni for activity com.example.hellojni/.HelloJni: pid=508 uid=10030 gids={1015} I/jdwp ( 508): received file descriptor 20 from ADB W/dalvikvm( 508): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Lcom/example/hellojni/HelloJni;.<clinit> W/dalvikvm( 508): Class init failed in newInstance call (Lcom/example/hellojni/HelloJni;) D/AndroidRuntime( 508): Shutting down VM W/dalvikvm( 508): threadid=3: thread exiting with uncaught exception (group=0x4001da28) E/AndroidRuntime( 508): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 508): java.lang.ExceptionInInitializerError E/AndroidRuntime( 508): at java.lang.Class.newInstanceImpl(Native Method) E/AndroidRuntime............

View 2 Replies View Related

Android :: Mini Phone That Works Over Bluetooth With Your Android Phone?

Aug 15, 2010

what i was thinking, was, does anyone make like a little "mini phone" that works over blue tooth?i was thinking something like that would be cool to have. leave your big x in the dock when you in the car, or on your desk, or somewhere out of harms way when you go to work, and just carry you "mini phone" with you in your pocket. make calls, and etc from it. i was thinkin something that looks like a small flip phone would be cool. have any of you guys ever seen anything like that? or think it would be useless?

View 24 Replies View Related

Android :: Test If Vibration Works Using Emulator?

May 1, 2010

I make a simple call to Vibrator.vibrate(long time);, but in the logcat I don't see anything related to it. How can I test if the vibration works using the emulator?

View 3 Replies View Related

Android :: Content Provider Works In Emulator Not On Device

Apr 2, 2010

I developed a custom content provider for extracting data from zip files. The provider works properly in the emulator but when I run the apk on the device I get no content provider followed by the url The manifest says (outside the application tag

CODE;..................

View 3 Replies View Related

Android : Do I Have Appbrain App On Phone And It Still Works?

Sep 16, 2010

I thought I should post this here since it's an appbrain is an app site. For the last few days whenever I go to the appbrain website I get this.... Error: Server Error. Is anyone having this same problem? I'm sure it's their site but I wanted to be sure.

I do have the appbrain app on my phone and it still works.

View 4 Replies View Related

Android :: Hosting APKs Files On Site Works Only For Emulator?

Mar 17, 2009

I'm currently hosting an app on my own server so my beta testers can test it. I've set up the apk MIME type to be application/ vnd.android.package-archive, and when I try to download the app from the emulator, it downloads the 53KB apk file and installs it. When I try to do the same thing from a real ADP1 device, it only loads 43KB. When I try to install it, the system says that I'm trying to install an app that already exists (called "Android System") and that doesn't require any permissions, but nothing happens when I proceed. logcat tells me
"D/asset (16379): failed to open Zip archive '/ sdcard/download/[name of the app].apk'

Bonus points! When I try to download the app from the emulator, I can see that in the accesslog of my server. Not so when I download it from the device, even after deleting /sdcard/download/* and clearing the cache through the settings. Almost as if the device was loading an old copy from a proxy server. I'm not sure which APN I'm using, but none of the T-Mobile APNs have a proxy AFAICS. Is there a way to circumvent the proxy, assuming that this is the case? And/or tell the proxy not to cache this apk file?

View 7 Replies View Related

Android :: Cannot Get Number On Real Device But Code Works In Emulator

Sep 7, 2009

I am trying to create an app that gets the location and telephone number of the phone. This is the Code I am using to get the telephone number (I am focusing on sdk 1.5) and in the emulator this works.

View 5 Replies View Related

Android :: Rotate Animation Code Works On Emulator But Not Device / Fox For This?

Oct 6, 2010

I have implemented rotation of a custom view which runs perfectly on Emulator,but the screen goes blank without any error. When i disable the animation in code[commenting the lines] the view appears on device.
Please help me out. if there is any fox for this.

View 1 Replies View Related

Android :: Mybackup Pro Works On Replacement Phone?

Apr 5, 2010

I'm getting a replacement phone in tomorrow, and wanted to know if backing up and restoring apps with this throws them back in the Market as downloaded?

View 6 Replies View Related

Android :: Alarm Not Works When Phone Turned Off?

Jul 16, 2010

I am am recent migrant from Blackberry. One of the nice things on the BB was that when you set the alarm, you can switch the BB off overnight and be sure that at the set alarm time, the BB wakes and the alarm goes off. The alarm on the HTC Desire does not seem to do that - i.e. when I turned it off overnight it did not wake when the alarm should have gone off. I tried a couple of other alarm apps and no luck. Is there an alarm app for my requirement? Or is this not possible with an Android phone?

View 17 Replies View Related

Android :: Application Works After Reboot Phone

Jul 25, 2010

i have found out a strange behavior. My application works only after phone reboots. after rebooting the phone first time application works fine. from there onwards it's not working.

View 8 Replies View Related

Android :: Draw Textured Triangles On Device Fails But Emulator Works?

Jan 21, 2010

I have a series of OpenGL-ES calls that properly render a triangle and texture it with alpha blending on the emulator (2.0.1). When I fire up the same code on an actual device (Droid 2.0.1), all I get are white squares. This suggests to me that the textures aren't loading, but I can't figure out why they aren't loading. All of my textures are 32-bit PNGs with alpha channels, under res/raw so they aren't optimized per the sdk docs. Here's how I am loading my textures:......................

View 4 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 :: App Works On WiFi In Debug Mode Or On Emulator Not On Cell Network

Jul 9, 2010

I have an android application that parses some HTML, downloads an image, and displays it. I'm using an AsyncTask to do the HTML parsing and image downloading, but that shouldn't be relevant. I never have a problem when I'm on WiFi on my phone, when I'm using the Eclipse debugger on my phone, or when I'm using the emulator. When I have my phone on the cell network (even with pretty good reception), the image sometimes fails to display. I'm having a hard time figuring out what is wrong, since the problem cannot be reproduced in the debugger. Does anyone have any idea what could be wrong?

Update: I have narrowed it down to the image downloading function. This way my original code:.......................

View 1 Replies View Related

General :: Viber No Longer Works On Any Android Phone?

Nov 7, 2013

I have a just came from a Xperia Z1 (Viber working) to a Nexus 5 and put on my defacto apps of which Viber is one of them and straight away after entering the phone number it said waiting for sms activation and a couple of seconds after it pops up with 'error' on the screen and that is all it says.

Prior to this I have had many android phones and never had an issue with activating viber.

Troubleshooting wise I have tried all of the below and nothing so far works.

1. Tried activating on wifi and 3g

2. Tried my wife's number on my nexus 5 which gets past the initial country code and phone number screen and tries to send an sms

3. Tried my number on my wife's phone and get the same lovely 'Error' popup

4. Placed my wife's sim card into my phone and activation works so proving this issue is number specific not phone specific.

The screenshot of the 'Error' is below.

View 2 Replies View Related

Jelly Bean :: Switch Off Works - Even If Android Phone Is Lock

Sep 27, 2013

I have Android 4.2 Jelly Bean, I has set it to auto-lock after 10 sec of in-activeness. After it get lock, still i am able to Switch off my Phone, if i long press the side unlock button of my phone, for around 3 to 4 sec. i.e It gives me option to Switch off the phone. If my Phone is lock, than i don't want somebody/ myself to switch off my phone,even if i long press the side unlock button of my Phone.This doesn't happen in other Nokia E63 phone, than why it happen in Android phone?

View 1 Replies View Related

HTC EVO 4G : Gmail Push Only Works When The Phone Is On

Jun 14, 2010

Gmail pushes almost instantly. But this only seems to work when the phone is in use. Is this normal; I just switched over from the Storm 2.

View 2 Replies View Related

HTC Incredible :: Data No Longer Works While On Phone

May 6, 2010

I had heard Verizon was unable to allow voice and data usage at the same time. However, when I got my DI I was able to surf the web while talking on the phone. Then this morning Verizon pushes out some update and suddenly when im on the phone 3g disappears.from the top bar and I get an error message that I can't connect to the web. What happened and is there anyway.to reverse this?

View 5 Replies View Related

HTC Incredible :: Touch Pro 2 Battery Works In Phone

Apr 29, 2010

My DI just arrived so i powered off my TP2 and said what the hell let me see if this battery fits.And what do you know its a perfect match?

View 24 Replies View Related

HTC Droid Eris :: Tp2 Charger Works For Phone?

May 4, 2010

I am thinking of purchasing this TP2 battery charger on ebay cuz i heard you can use the tp2 batteries in the eris.. has anyone used this before?
HTC Touch Pro2 T7373 Pro 2 PRO II AT&T Battery Charger - eBay (item 320521593865 end time May-22-10 11:32:54 PDT)

View 7 Replies View Related

HTC Wildfire :: Sygic Auro Works With Phone?

Aug 25, 2010

I would like to know if anyone knows if SYGIC AURA works with HTC Wildfire because its screen resolution is 240x320.

View 2 Replies View Related

LG Ally :: Flashlight App / Widget That Works On Phone?

May 30, 2010

I use my flash as a light on my droid every day but the droid flash light app will not work on my wife's ally.'
does anyone know of a flashlight app/ widget that works on the ally?

View 2 Replies View Related

HTC EVO 4G : Shootme No Longer Works With Unrooted Phone?

Jun 28, 2010

Has anyone else noticed that shootme no longer works with unrooted evo?

View 42 Replies View Related

General :: No Network Timeout When Connection Lost On Device But Works In Emulator

Feb 14, 2013

I'm developing an App that sends keep-alive packets to its server to ensure the connection is still alive.

The server is java based and thus easily to run. I run the server on a virtual machine (Windows 7). After my App is connected and the first keep-alive packet is received (it displays a message in its console output) I disable the network interface in Windows. This step is very important because by disabling it, there is no way to send any packet back to the client informing it about network changes.

The clients are configured to send every 25 seconds a keep-alive packet, so you don't need to wait long.

When you use the sample JavaClient on Windows 7 it takes less than a minute after the keep-Alive packet and an exception is thrown which triggers reconnection (which currently can't occur). This is the expected behaviour.

When you use the sample Android App on an emulator (tested Android version 2 and 4) it is the same behaviour. So in less than a minute after the keep-alive packet it recognises that the connection is dead, throws an exception, this triggers reconnection.

Problem is now when this App runs on a real device (tested several, Xpearia Arc S, one Cyanogen Mod 4 on Galaxy S3 and my Galaxy S3). I've waited 5 minutes, but there was no exception. This behaviour is reproducable.

Since this is a sample App, it uses no wakelock or service, so to test it is important to have it in foreground all the time (don't switch to other Apps or homescreen) and increase your display timeout to a few minutes to ensure that it doesn't go off. Use Logcat-Output to get informed whats happening, because there is no output in the App itself.

Now Sample-Code is in the attachement. Something had gone wrong. The Code consists of 3 Eclipse projects which you can easily import.

View 3 Replies View Related

HTC Magic :: Dual SIM Adapter - Any Good One That Works With Phone

Feb 2, 2010

Does anyone have a dual SIM adapter fitted to their HTC phone? I am looking for one and would prefer the non-cutting type, though there doesn't seem to be enough room under the cover for the second to sit. Has anyone managed to find a good one that works on the Magic?

View 3 Replies View Related







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