[android-developers] Re: How to access a AIDL service from different packages?

2010-06-18 Thread Joe Onorato
You will also have to include the .aidl as source in your other project. The two different apks don't link against each other or anything like that. Otherwise, the generated java class won't be available. -joe On Jun 18, 7:44 am, Mark Murphy wrote: > On Fri, Jun 18, 2010 at 7:37 AM, Krishna S

[android-developers] Re: how to programatically pause an application?

2010-06-15 Thread Joe Onorato
This is the intent that's launched when you press the home key: mHomeIntent = new Intent(Intent.ACTION_MAIN, null); mHomeIntent.addCategory(Intent.CATEGORY_HOME); mHomeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED

[android-developers] Re: how to open an App when the Android OS start up

2010-06-15 Thread Joe Onorato
No, don't do that. If you're doing an embedded device, remove the built-in launcher, and make your activity the default home. -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: Debugging the framework

2010-01-05 Thread Joe Onorato
The KeyInputQueue runs in the system process, and your test app runs in its own process. You need to connect two debuggers. When I debug this code, I usually use Log.d debugging instead, because while possible, connecting two debuggers is kind of a pain. -joe On Jan 4, 6:46 am, Matan wrote: >

[android-developers] Re: suggestion: the *relevant* context should be automatically accessible from any method

2008-04-02 Thread Joe Onorato
Hi Anil, This is not correct. Here are a few examples: If your app has two services, there will be two different contexts running at the same time. If your app has two activities, one will still have methods running after onPause. Messages sent may be handled while another activity is still ru

[android-developers] Re: Cant created non-interactive ListView

2008-04-02 Thread Joe Onorato
Hi, If you don't need all of the features that ListView provides, you should use LinearLayout instead. -joe On Wed, Apr 2, 2008 at 3:33 AM, Harsh Jain <[EMAIL PROTECTED]> wrote: > Hi, > I need to create a list view, which doesnt response to user interactions, > it should be non-clickable, and

[android-developers] Re: schema site not available

2008-03-28 Thread Joe Onorato
No. It's not a joke. URIs as schema identifiers are not required to point to documents that exist. There is no schema for the android xml files since the elements at attributes are completely dependent on what classes and attributes your application defines. -joe On Fri, Mar 28, 2008 at 10:11

[android-developers] Re: Notification ongoingEvent

2008-03-27 Thread Joe Onorato
In a future release, the ongoingEvent flag will also affect the sorting of the icons and what happens when there are more icons than fit in the available space. We didn't have time to do that for M5. -joe On Thu, Mar 27, 2008 at 9:42 PM, Joe Onorato <[EMAIL PROTECTED]> wrote: >

[android-developers] Re: Notification ongoingEvent

2008-03-27 Thread Joe Onorato
There are two sections in the pull-down notification window shade, one for "ongoing events" and one for "latest events." The ongoing ones are things that are live, for example phone calls, playing music and downloads in the web browser. The latest events section is for discrete events, for exampl

[android-developers] Re: Unresolved symbols & JNI

2008-03-27 Thread Joe Onorato
g functions that you need ? especially the > C library ones. > (not that I can help you with the linking issue though) > > > On Thu, Mar 27, 2008 at 5:01 PM, David Given <[EMAIL PROTECTED]> wrote: > > > Joe Onorato wrote: > > > And you're sure you install

[android-developers] Re: Upper limit size of ImageView?

2008-03-27 Thread Joe Onorato
Hi Jakob, That image size would decompress to about 174MB (7445x11998x2), which could be more than the total amount of RAM available on some devices. It's pretty unlikely to work. -joe On Thu, Mar 27, 2008 at 2:52 PM, Jakob Bjerre Jensen < [EMAIL PROTECTED]> wrote: > > Hello, > > I have a la

[android-developers] Re: Unresolved symbols & JNI

2008-03-27 Thread Joe Onorato
g to dlsym, which is where it looks up the JNI methods. -joe On Thu, Mar 27, 2008 at 12:02 PM, David Given <[EMAIL PROTECTED]> wrote: > > Joe Onorato wrote: > [...] > > Ususally, adb logcat will show you the symbols that are missing. Are > > you seeing a case where i

[android-developers] Re: Unresolved symbols & JNI

2008-03-27 Thread Joe Onorato
Hi David, Ususally, adb logcat will show you the symbols that are missing. Are you seeing a case where it doesn't? -joe On Thu, Mar 27, 2008 at 10:56 AM, David Given <[EMAIL PROTECTED]> wrote: > > We're doing some work involving JNI and a native library. (Yes, we are > aware that this is off