Android :: GPS Failing With SecurityException

Nov 13, 2009

I use Android 1.5 on HTC Hero. I've a mapapp that needs GPS functionality. Sometimes when I start up the application I get the following error.I check that "Enable GPS sateliites" setting is checked. One more piece of information. Whenever I get the error, I reinstall the application, it works ok. Google Maps works fine. What is wrong with my code?

Android :: GPS failing with SecurityException


Android :: SecurityException / Permission Denial Requires Null

May 20, 2010

I would like to launch the market from a preference screen but when I try to do this I obtain a java.lang.SecurityException: Permission Denial: starting Intent { cmp=com.action.test/.ui.activities.Test } from ProcessRecord{44db1300 3697:com.pippo.pluto/10067} (pid=3697, uid=10067) requires null.
This is my code:

startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse("market://search?q=pname:com.action.test")));
what am I doing wrong?

View 1 Replies View Related

Android :: Program Not Installed & Java.lang.SecurityException

Jun 9, 2010

I've been working on an application for the past week or so, and when I went to test it the other day, my console read the following to me:

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

The icon for the program is present in my emulator, and I have added android.permission.ACCESS_CHECKIN_PROPERTIES to my Manifest.

For some reason the emulator tells me that the program is not installed "on this phone" when I try to run the program using the icon in the emulator. Which I find interesting considering that the console says it was installed successfully..

View 1 Replies View Related

Android :: Java.lang.SecurityException - Permission Denial

Jun 21, 2010

I use Instrumentation to test PhoneApp I wrote my test application via Instrumentation

I created apk and installed it on Nexus One - Android Phone - this passed In my code I am using internal classes that are not a part of standard SDK. I build it not in Eclipse but in my embedded env. I am eng in company that developing for Android so I have and Android tree with all internals libraries.

I use appropriate permissions in my manifest. my apk created probably signed with some signature! But probably this signature not good enough.

Now I run test via adb and got this error immediately:

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

View 1 Replies View Related

Android :: Java.lang.SecurityException - SECURE PERMISSION

Jul 5, 2010

I am getting this error on my log

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

I used like this in activity file

CODE:.........

in manifest file

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

Why it is giving error.

View 2 Replies View Related

Android :: OSS Audio / Dev / Eac Failing

Jun 17, 2009

Can anyone tell me how to use oss sound in android. If tried to open '/dev/eac', it is failing.Please tell me a solution for this.

View 2 Replies View Related

Android :: EVO Failing In MediaPlayer

Jul 7, 2010

We are seeing some very strange results in media playback on HTC EVO devices.

In our call to MediaPlayer.create(getApplicationContext(), uri), we get failures with the following stack trace:

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

This code works just fine for many, many thousands of other devices out there.

View 4 Replies View Related

Android :: ADT Update Is Failing

Jan 9, 2010

I am trying to update my ADT from v0.9.4 to v0.9.5. But it fails with an error: An error occurred while collecting items to be installed.

View 2 Replies View Related

Android :: Animation StartOffset Failing 2.1 Bug?

Oct 25, 2010

I've taken some animation xml straight from the android docs, and as far as I can see, doesn't work on either my 2.1 update 1 emulator or my 2.1 update 1 Galaxy S device.Specifically, I'm trying to create an animation to pulsate a view (i.e. make it smaller then larger in one animation) What actually happens is it snaps instantly to half of the views size (even though fromX/YScale is at 1.0) and then performs the animation and snaps back afterwards.Can anyone else try this our quickly? If others see this behaviour I'll submit it as a bug. I just can't believe something so basic could be broken!? Also, copying this animation under the "Tween Animation" heading on this page http://developer.android.com/guide/topics/graphics/2d-graphics.html word for word also doesn't animate as per the page says.

View 3 Replies View Related

Android :: Dns Failing In Broadcast Receivers?

Mar 16, 2010

something weird just started happening. my app has a broadcast receiver which may access the network when invoked. the code has been solid for ages, but in the last few days it has started getting DNS errors on perfectly fine hosts. these are hosts which can be reached without problems in the main app or from other apps.interestingly i've seen another app get DNS errors too another app with a broadcast receiver.seems to affect all OS versions -- we have 1.5, 1.6, and 2.01 here. i don't have a Nexus to test 2.1, though. are there caveats to doing network inside broadcast receivers? i didn't think so, as ours worked fine until the time change [fx: twilight zone theme]

View 6 Replies View Related

Android :: Trying To Write To File And Failing

Apr 30, 2010

im just trying to save some text to a file on android and while it works fine on the emulator "dont crash", when i try it on my phone it crashes, what am i doing wrong?i do know it crashes on " File root = Environment.getExternalStorageDirectory(); " i just dont know why. showMes() is just a function to make toast.

View 8 Replies View Related

Android :: App Failing To Load On Nexus One

Jun 23, 2010

I have an app delivered OTA that I wrote that works find on every Android device we have ran it against. However, whenever tested against the Nexus One, it fails to load. LogCat reports something to the affect of.Now what is funny is that the manifest DOES include the android.permission.INTERNET. Yet for some reason, the Nexus One doesn't see or honor it.

View 3 Replies View Related

Android :: HttpsURLConnection Failing Intermittently To Same URL

May 15, 2010

I think I'm experiencing the same as http://groups.google.com/group/android-developers/msg/9d37d64aad0ee357

This is Android 1.5 SDK. I happen to call several times below code(which is in a method) with
the same url and it fails intermittently. When it fails, there is no exception, the stream is empty so the
readConnection fails, and getResponseCode returns -1. Global caching is disabled, setDefaultUseCaches(false);

I suppose there must be some kind of url connection object pool somewhere.

How can I workaround this?

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

View 2 Replies View Related

Android :: Sdk Download - Update Failing

May 21, 2010

I'm trying to update and install the latest Android SDK (API 8) and keep getting the following error:

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I'm running on OS X 10.6.3 If I visit the url in a browser I'm not getting any errors about an untrusted cert.

I'm running Revision 5 of the Android SDK and AVD manager (if that makes a difference) Tried downloading the latest android sdk (revision 6) and running everything from the command line and still no dice. I can only assume there's something either in my java installation or in os x on my machine.

View 3 Replies View Related

Android :: Failing To Send Attachments Via Email

Jul 2, 2009

I am trying to send an attachment through email. When composing the email, everything looks great (attachment seems to be included and ready to send). However, the attachment does not get received on the other side.

Below is my code example:

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

View 2 Replies View Related

Android :: Writing Files To SD Card Failing?

Feb 7, 2009

I'm writing an podcast playing application. The application has pre- defined feeds but I want to cache the image of the feed for 30 days. However, on the initial creation of the podcast I am downloading the image, and trying to save it to the SD card using the code below:

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

However, it keeps failing on the line k.createNewFile(); with the error: WARN/System.err(10727): java.io.IOException: Parent of file is not a directory: /sdcard/twitcast/1.jpg

I've checked and I have write permission and the SD card is mounted, and I have android.permission.MOUNT_UNMOUNT_FILESYSTEMS included in my manifest. why this keeps failing?

View 3 Replies View Related

Android : Failing To Connect To Database SQLite

Jun 23, 2010

I have made db using java this way : Code...

when i open it using sqllight data browser it works fine but after adding it to new directory in my android project called databases/test1.db. Code...

I am not getting any information in the cursor in existInDataBase() function to be more specific I'm always getting false for cursor.moveToFirst() even when my query is just to select without any thing

can someone please :
1.tell me what he thinks is wrong
2.how can i debug and see what there is in the db (i debug but i cant see anything odd should i had a if saying "you have no data base")note " when i builded the app the first time the app was the the one who build the db as you can see in private void insertValus(String []typeInserted , int num);

my problem seems to be the manifest file: when one takes a db file and import it to his android project what should he do ?please explain in steps what should i do thanks yoav.

View 1 Replies View Related

Android :: Messages Failing To Send And Not Automatically Retrying?

Oct 5, 2010

I love Handcent but this inability to resend automatically is killing me. I don't have good signal at home (basement flat), so I often send a message and then just wait for the signal to drift in, so it sends. My old blackberry or Nokia had no problems with this. Handcent doesn't handle it well. it either gets stuck with the little whirling whindmill thing and never sends, or it comes up with the red X and the process stalls. I actually prefer the red X, as at least that enables a quick "retry". but it seems to be totally random whether it gets stuck or fails to send. Why oh why is such a simple feature not bug-free in an app like Handcent that is so popular and has been around for some time now?

View 3 Replies View Related

Android :: Alert Dialog With Custom Layout Failing / Get This To Display?

May 1, 2010

So this is related to a question I asked earlier. I am trying to display an alert using a specified layout. My layout is:

And the code to call and show the alert dialog is..

When I run it I get an error saying:

Uncaught handler: thread main exiting due to uncaught exception
android.view.WindowManager$NadTokenException: Unable to add window -- token null is not for an application

I've looked through the android development site and can't figure it out. I think I'm just missing something obvious but the fix isn't jumping out at me. How can I get this alert dialog to display?

View 1 Replies View Related

HTC Desire :: Failing At Rooting 2.2

Nov 22, 2010

i had 2.1 rooted and now since having gotten 2.2 i decided i would root that also. however, i seem to be having problems with it.im using unrevoked, and i even downloaded the newest version of it, but it keeps failing to push the image it worked fine with 2.1, had the whole thing done in 10 mins, but this just does not seem to work. im following the instructions to a T.

View 14 Replies View Related

Sprint HTC Hero :: SMS Keeps Failing

Nov 25, 2009

My text messaging keeps failing to go through. I have spent hours with sprint tech support. They say it is a known hero defect. Any ideas what is going on?

View 2 Replies View Related

LG Ally :: Root Keeps Failing

Nov 24, 2010

alright well im on my third ally and i have rooted the other two with universal androot successfully both times without doing anything, but now when i try it it says "Failed. i dont know if that has anything to do with it but if theres another way to root that would be helpful

View 1 Replies View Related

Motorola Droid X :: OTA 604 Failing At 20% When Installing

Jul 28, 2010

I've been fighting this issue for the majority of the afternoon.My phone was 1-step rooted yesterday (about 4 hours after I got it from Fed Ex), but when I first had issues, I backed everything up with Titanium Backup, unrooted, and did a factory restore.The issue persisted, so I called Verizon, who pushed me over to Motorola. They don't seem to have any idea what the problem is, and unfortunately, no one around here has any in stock, so replacement isn't a viable option at the moment.So, I'm left with a couple questions:

1) Is anyone else having issues with this OTA update

2) While I didn't remove anything out of the ordinary (just what was recommended, things like the NFS, Amazon's MP3, etc.), and it appears everything has been brought back by the factory reset, could the fact it was rooted be stopping this?

3) Is there any way to manually load the update? I'm coming from a Blackberry Bold, where I was quite comfortable running leaked beta ROMs...I don't know of any way to do it any way other than OTA for this though.

View 4 Replies View Related

HTC Desire :: Software Upgrade Failing

Sep 20, 2010

I have an Orange branded Desire which I rooted a while ago. My problem is that the software update doesn't seem to work. My current software number is 1.12.405.4. If I check for updates it says there is 1.12.405.2 available, but when I download and install it the software version of the phone doesn't change. I've done it half a dozen times over a couple of weeks.

View 1 Replies View Related

HTC Desire :: Sense Failing In Loop

Jun 24, 2010

My desire is in a death loop whereby the phone is unusable. It's not rooted btw.When I start the phone I get a screen pop. The application HTC Sense (process com.htc.launcher) has stopped unexpectedly. Please try again.There is an option to force close, which when selected just brings the phone back around to the above screen pop.

View 12 Replies View Related

Samsung Fascinate :: Update Keeps Failing

Nov 11, 2010

I've been trying to download the update for my Fascinate, but it keeps failing. I check for updates, and it says new update available. Then I click OK to download. It appears to start, then always stops at 10% and network error pops up. When I go to update status, it says "network error" and "code 409".

View 4 Replies View Related

HTC Incredible :: Email Sending Keeps Failing?

Apr 27, 2010

I got the phone today. IT'S AWESOME. however, i've set up my gmail and school email accounts, seemingly without a hitch. I started getting emails right away. Then... i go to respond to the emails, through either account, and my email sending keeps failing! I sent it, then get a message a minute later saying they couldn't be sent.

View 27 Replies View Related

HTC EVO 4G :: Setting Up Exchange Email Keeps Failing?

Jun 22, 2010

When I first got my Evo, I had no problems setting up the HTC mail client with my work email, using Exchange. Due to random restarts, I had to do a hard reset, and now I keep getting "Failed to create the account. Please try again later." This has been happening for the past few days since I did the hard reset.

When I initially set it up, I just put in my work email and password and had no problems. Now, I've tried every configuration possible in both normal and manual setup. Anyone got any other ideas?

View 3 Replies View Related

HTC EVO 4G : Google Contact Sync Keeps Failing After About 5 Min

Aug 21, 2010

I keep receiving an error message from when it syncs by Google contacts. It fails after about 5 min. Mail and calendar are fine.

View 7 Replies View Related

General :: Rooting Galaxy S4 Keeps Failing

Jan 31, 2014

I am having trouble rooting phone it keeps failing?

View 1 Replies View Related







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