[android-developers] Re: start at boot app gives instantiationException:

2012-02-24 Thread Thomas
Thanks to everyone for contributing to this longish discussion. Changing the line in the manifest fixed the problem. As far as debug is concerned I set it in the manifest as Eclipse didn't seem to set it by default. The overall project is to use an Android tablet as an embedded application which m

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-23 Thread Ted Scott
That's one error and certainly explains the class not found exception. I'm not sure but you also might need a default category for the activity definition. What do you mean by you have to debug as an Android? Of course you have to run the code on a device to debug it. Also you won't be able

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-23 Thread YuviDroid
There's something odd with the package names :S:S:S If your BroadcastReceiver package name is "package com.needham.RxBcast;" then also in the manifest you should use the same package: or correct the package name and make it "package com.needham;" and the receiver in the manifest: . On Thu, Feb

[android-developers] Re: start at boot app gives instantiationException:

2012-02-23 Thread Thomas
It is the program you sent me. I noticed that I have to debug as an Android to get the Log.d statements to work. package com.needham.RxBcast; import android.content.BroadcastReceiver; import android.content.ComponentName; import andr

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-23 Thread Ted Scott
On 2/23/2012 11:18 AM, Thomas wrote: I've continued to experiment. I wanted to send an attachment file but but here is a portion of the logcat showing the RxBcast failing at bootup and after the Emulator is opened then running correctly. look for ** I unlock emulator The same thing happen

[android-developers] Re: start at boot app gives instantiationException:

2012-02-23 Thread Thomas
I've continued to experiment. I wanted to send an attachment file but but here is a portion of the logcat showing the RxBcast failing at bootup and after the Emulator is opened then running correctly. look for ** I unlock emulator The same thing happens on my DroidX2 Fails on boot after key

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-21 Thread Ted Scott
On 2/21/2012 3:02 PM, Thomas wrote: The compile error: * PiesOfCodActivity cannot be resolved to a type The error essentially is that the RxBcast cannot be aware of an external app that exists on an Android somewhere. The PiesOfCodActivity is a retitled "helloworld" that works just fine on my A

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-21 Thread TreKing
On Tue, Feb 21, 2012 at 2:02 PM, Thomas wrote: > Perhaps there is some sort of intent construction where the app-to-be- is > a string that represents future runtime intentions. > You should read the Intent documentation thoroughly. Then see this: http://developer.android.com/reference/android/co

[android-developers] Re: start at boot app gives instantiationException:

2012-02-21 Thread Thomas
The program is this: package com.needham.RxBcast; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class RxBcast extends BroadcastReceiver { private static final String TAG = "RxBcast"; private static final

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-21 Thread Ted Scott
Did you follow the steps I outlined? What intent are you speaking of that can't find the app? Speaking of the app, you're talking about the hello world or pies of cod app, right? What do you mean by an external app? Tell us exactly what you are doing and maybe we can help. On 2/21/2012 9:11 AM

[android-developers] Re: start at boot app gives instantiationException:

2012-02-21 Thread Thomas
Thanks to all who have contributed answers to my questions. The last problem is that the intent cannot find the called app. Perhaps it's a misspelling or perhaps the fact it's an external app and I need some slightly different intent format, or maybe lots of things. I'll keep at this and when I

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Ted Scott
On 2/20/2012 2:26 PM, Thomas wrote: I'll make another request then. Please post the code and manifest for a simple something that will start the "helloworld" app at bootup. The helloworld app is just a test case to see if things are working at bootup. I have a far more complicated embedded appli

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread TreKing
On Mon, Feb 20, 2012 at 1:26 PM, Thomas wrote: > Please post the code and manifest for a simple something that will start > the "helloworld" app at bootup. > Have you tried a Google search for something like "Android start at boot example"? I would guess there is plenty of information on this to

[android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Thomas
I'll make another request then. Please post the code and manifest for a simple something that will start the "helloworld" app at bootup. The helloworld app is just a test case to see if things are working at bootup. I have a far more complicated embedded application to test after that. Best, Tom B

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Ted Scott
Review the components section here http://developer.android.com/guide/topics/fundamentals.html You are confusing a BroadcastReceiver with an Activity, and there's nothing you can add to the manifest to correct that since an activity tag can't describe or invoke a receiver. If you want to launc

Re: [android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread TreKing
On Mon, Feb 20, 2012 at 9:34 AM, Thomas wrote: > Actually, I don't. That's what you posted - TreKing - Chicago transit tracking app for Andr

[android-developers] Re: start at boot app gives instantiationException:

2012-02-20 Thread Thomas
Actually, I don't. What should the manifest be in this case? Tom B On Feb 20, 10:05 am, TreKing wrote: > You have the following: > > public abstract class StartAtBootActivity extends *BroadcastReceiver*{ > > > > > <*activity *android:name=".StartAtBootActivity" > > See the problem with this scen