Android :: Activity Group Throw ActivityNotFoundException?

Nov 13, 2009

I want to change the current activity inside a tab in a tab activity, after some research, I know that I need to use activity group to go this.

Then I created a new class extends ActivityGroup with the code below:

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

Then I run the program, the program throw the ActivityNotFoundException when the intent for the tab is launched.

Android :: Activity group throw ActivityNotFoundException?


Android :: ActivityNotFoundException For An Activity Declared In Manifest.xml

Jul 5, 2010

I have a launched android application that works fine most of the time. However 1 in about 1000+ runs I get an android.content.ActivityNotFoundException: Unable to find explicit activity class exception. The activity is declared in my manifest and I've never seen it crash myself. It is declared like this...

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

The crash reports show it failing on all OS's from 1.5 to 2.1.

View 2 Replies View Related

Android :: Call An Activity From Another One - Content.ActivityNotFoundException

Aug 8, 2010

I am getting this exception while I am trying to call an activity from another one.. .The complete exception is android.content.ActivityNotFoundException:Unable to find explicit activity class {com.x.y/com.x.y.class};

I am doing an intent.setClass("com.x.y","com.x.y.className") where className is the name of my activity class and com.x.y is the package it resides in.

My AndroidManifest.xml has the following content:

View 3 Replies View Related

Android :: Catching ActivityNotFoundException If There Was No Activity Found To Run The Given Intent

Jun 23, 2009

The JavaDoc of Context's public abstract void startActivity (Intent intent) said:

This method throws ActivityNotFoundException if there was no Activity found to run the given Intent.

But when I look at the android source code, it does not catch ActivityNotFoundException.

For example in AlarmClock.java:

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

what is the code which handles the case when there is no activity for that intent?

View 7 Replies View Related

Android :: ActivityNotFoundException: No Activity Found To Handle Intent

Nov 2, 2010

test.class type is right? How to? What should I do?

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

View 2 Replies View Related

Android :: Start A New Activity From A Menu Action - ActivityNotFoundException

Feb 28, 2010

I am trying to start a new activity from a menu action, as follows:

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

The class exists, and has the OnCreate method over-ridden, but whenever I try to perform the action in the simulator I get an ActivityNotFoundException raised. I have looked through the documents and as far as I can read, I do not need to create an Intent in the manifest.xml for this to work.

View 3 Replies View Related

Android :: SDK - Throw A Custom Exception From A Service To An Activity

Nov 26, 2009

I'm currently working on an XMPP app' on Android and I'm pondering about the best way to throw a different type of Exception than a RemoteException to my activity from my service.

As it seems impossible to throw another thing than a RemoteException using IPC (you can't declare to throw anything in your .aidl), I just see two solutions:

Create a listener for my activity to listen on my custom XMPP exception, which in fact will not be thrown but just sent as a usual object implementing the Parcelable protocol.
Catch my XMPPException and throw a RemoteException (with a content updated with my XMPPException) - But in that case, how could I know on my activity if it's an XMPP or a real RemoteException ? By tagging the name of the exception and parsing it on my activity ? It would be really gore.

View 2 Replies View Related

Android :: 5 Activities In Activity Group?

Nov 2, 2010

Today i met with the serious problem. Actually i have 5 activities in my activity group.

From 1st activity i go to 2nd and from 2nd i go to 3rd and so on....and on the 5th screen when i press back key i came to 4th and so on....

When i again go to the same process it displays me the previous displayed data as well on the screen. m not able to find the sollution for the same.

I need that every time i follow the process it will show me the new data not with the previous one data.

I cant paste the whole code. its 5 activities.

View 1 Replies View Related

Android :: Way To Refresh Of MapView In An Activity Group?

Mar 24, 2009

I have created map view using XML layout in MapActivity and want to use this map view in another Activity group. I got mapview object in Acitivity group using GetWindow.Decorview(), MAP view is also displayed in the same layout of Activity Group. But without any image, only white background with some grid. Map view is not getting refreshed when i scroll on Map view. But if i launch independently MapActivity , i am able to see the map and it is getting refreshed when i scroll on the map. May I know how can i use and refresh Map view in an activity group? As Mapview can only be created/inflated in MapActivity.

View 2 Replies View Related

Android :: Security Exception Embedding Emergency Dialer In Activity Group

Sep 15, 2010

What's the appropriate permission to be added to manifest tag for my activity group? Code...

View 2 Replies View Related

Android :: StartActivity And ActivityNotFoundException

Jun 29, 2009

According to the doc, if the intent in startActivity(intent) is not found, there will be an exception raised. Therefore I use a try/catch block. However, even if I use a random string as the intent, the promised exception does not occur.Instead I see a dialog that says: "No application can perform this function". I also get the same dialog if the intent is valid (picked up by an app) but apparently doesn't want to act when the extras are not what the app expects (e.g. my earlier question about Intent.ACTION_SEND and mime types). I am using the 1.5_r2 SDK on an AVD running 1.5, with the app running at version 1.1 (sdk=2). Is this a doc error, a bug or am I misunderstanding something? Can I simply delete the try/catch block?

View 3 Replies View Related

Android :: Send An MMS Causes An ActivityNotFoundException?

Sep 17, 2010

I am trying to send an MMS like this:

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

And when I do that, it throws an "ActivityNotFoundException"

However, I am looking at logcat, and when I share an image from the camera application, it sends this exact same intent. Not sure what I'm missing here.

View 3 Replies View Related

Android :: How To Keep Login Throw Activities

Nov 19, 2010

I make login in my main activity.
If the login is correct, I wanna see my profile and download some data from server, but I cannot keep the connection, if I change activity.

How can I do this?

View 3 Replies View Related

Android :: Throw Tables Into List Table?

Mar 9, 2010

I am trying to throw 4 tables into a List<table> and then run a query on each through a loop... this isn't really working. ollowing code totally freehand as I had to undo the code I wrote because it wouldn't run :

//this first line is the one that I would imagine is the linchpin on getting this to work List<table> mTables = new List<table>(); mTable.add("character1") //add character 2 //add character 3 //add character 4 for (int i = 0; i < 4; i++) { mCursor = db.query(mTables.get(i), null null.......); mCursor.movetofirst;
//use ContentValue to update a few fields

View 5 Replies View Related

Android :: GetPadding() Of NinePatchDrawable Throw A NullPointerException?

Oct 12, 2009

I'm trying to use NinePatchDrawables in a LayerDrawable, but for some reason I get a NullPointerException. I've isolated the problem to the getPadding() method; the following code reproduces the problem:

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

What am I missing? Do I have to do anything special with the NinePatch? The program seems to work if I use the NinePatch directly (instead of putting it in a LayerDrawable).

View 6 Replies View Related

Android :: Throw InvocationTargetException - Modify The Error?

May 26, 2010

ActivityManager am = (

CODE:.........

Exception

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

View 4 Replies View Related

Android :: ActivityNotFoundException On Explicit Class Declared In Manifest On G1

Sep 30, 2009

I have some code that starts another activity based on a menu item selection:

..........

I've spent quite a bit of time on this and am inclined to file a bug report at this point. I can see a reference to the allegedly missing class in the classes.dex file inside the APK and the code works properly in the emulator. I haven't been able to find anything like this, so if there is, an RTFM pointer will be humbly accepted.

View 4 Replies View Related

Android :: Thread Always Seem To Throw Exceptions Although No Erros In Program

Apr 11, 2010

Hello, I use a thread for drawing to the canvas. By coincidence I recognized that in the program always jumps into the finally part. After view.onDraw(c); is reached it steps back to synchronized (surfaceHolder) and then it steps into the finally part. This happens every time. This means to me that every time exceptions are thrown.

Can anybody explain why this is so?

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

View 3 Replies View Related

Android :: DatePicker Throw Java.lang.StackOverflowError When Embbeded With TableRow

Sep 1, 2009

A strange error: when DatePicker is used as child item of <TableRow>, it throws out StackOverflowError and then the application crashes. It would work fine if it is defined outside of <TableRow>.

Do not know why ....... Is it related to my UTF-8 strings defined in strings.xml?

CODE:.........

The exception:

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

View 6 Replies View Related

Android : Why Does This Phone File Output Stream Throw A Null Pointer Exception?

Aug 16, 2010

There does not seem to be any Android manifest permission that needs to be set for file io. Code...

View 2 Replies View Related

Android :: Telephony.SmsManager.s­endTextMessage Throw Exception When Destination Addr Is Email Addr

Feb 3, 2010

This worked in 1.5 but throw an exception in apk 2.0.

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

Any one else experience the same? What should I use to send a SMS to an email address?

View 4 Replies View Related

Android :: Group Regarding URL Launchers

Jun 17, 2010

I have long had my WAP pages built and had my URL launchers built by an outsourced group in India. I now have a requirement to update my .apk files to 2.2 as well as build 6 additional .apk files that are made up of 6 completely different URL launchers to other WAP sites. I have successfully set up my Java and SDK environment My questions are: What is the best recommendation the group can suggest as a starting point? How do I open the .apk file in my eclipse environment to make the changes necessary? The Android Market says the following when I attempt to upload my .apk file: [quote] Market does not accept apks signed with the debug certificate. Create a new certificate that is valid for at least 50 years. Market requires that the certificate used to sign the apk be valid until at least October 22, 2033. Create a new certificate. Market requires the minSdkVersion to be set to a positive 32-bit integer in AndroidManifest.xml. [/quote]

View 3 Replies View Related

Android :: Add New Contact Group?

Oct 19, 2009

Is there anyway to add a New Contact Group in android. I see Groups content provider but there is no way to add a New group. If anybody knows, please share the knowledge.

View 2 Replies View Related

Android :: Group Need Renaming?

Mar 7, 2009

I notice that there's been a bit of controversy in the last couple of days about off-topic posting on this list. As the list home page says, it is intended to be a place to "Discuss developing Android applications using the Android framework". While I find the talk about the Market and wider issues very interesting, I do think it would be better placed on the -discuss list, so that this list can be more focussed on technical issues to do with developing using the SDK.

I wonder if the reason why this list attracts a lot of off-topic stuff is the name? I suspect many people don't see the description and just interpret "android-developers" to be for discussion of issues affecting developers. Perhaps if it was named "android-sdk" (to match the new android-ndk list), that would improve things?

View 5 Replies View Related

Android :: Mail To Group

Feb 18, 2010

I don't see my mails sent to these groups?

View 2 Replies View Related

Android :: Cannot See Mail To Group?

Feb 2, 2009

I have send some times, but still cannot see my mail in the group. Can anyone of you see it?

View 6 Replies View Related

Android :: Get Group Of Contact By ID

Mar 18, 2009

I have a contact ID, how do I get the group the contact is assigned to? I am sure it is something to do with the Contacts.Groups class but I cannot figure it out.

View 1 Replies View Related

Android :: Is Group Moderated?

Feb 21, 2009

Is this group moderated?

View 7 Replies View Related

Android :: Want To Unsubscribe From This Group

Aug 3, 2010

I want to unsubscribe from this group.

View 2 Replies View Related

Android :: SQL Cursor And GROUP BY?

Nov 19, 2010

I have a query that is making use of GROUP BY so that the results are grouped by a date column. My question is this:

When I move through the cursor to get the results of the query, how can I get the multiple items associated with each group into my vector? For example, I want to get BOTH "Item X" and "Item Y" for October 16, 2010. Currently, I get them each separately.

Here is my code:

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

So, when I get the results from my Vector, I will get:

October 12, 2010
- Item X

October 12, 2010
- Item Y

And I want:

October 12, 2010 - Item X, Item Y

Yes, I do have to change my Vector to support multiple items, but hopefully you get what issue I'm facing...

View 1 Replies View Related







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