[android-developers] Reg Monkey and Watchdog issue

2010-02-11 Thread Ubuntu guy
Hi Everyone, I ran Monkey with a throttle of 100 milli-seconds on a particular android version and i see that the watchdog kills the system process (i didn't have a debugger attached). However, the same version works fine with a Monkey run (throttle of 500 milli-seconds). Does this mean, And

[android-developers] Reg Android source and Eclipse CDT

2010-02-22 Thread Ubuntu guy
Hi Everyone, I'm using Eclipse CDT to walk through the Android source code, but not able to find any project file. Can you let me know the project file to load all the source code in the IDE? -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: Dolby Audio API

2014-01-05 Thread Ubuntu guy
These new APIs seem to be fun to try but is there any reason as to why the plug-in service is not distributed through play store just like google play services? Based on what i read, any updates, bug fixes in the plug-in service would be restricted by the OEM like amazon in this case, isn't i

[android-developers] Re: Best solution for touchable Toast-like notification for plugin library

2014-01-26 Thread Ubuntu guy
Have you considered http://developer.android.com/reference/android/Manifest.permission.html#SYSTEM_ALERT_WINDOW that facebook uses for its chat heads. But this needs explicit user permission during apk installation. Not sure how that works for 3rd party libraries. On Thursday, January 23, 201

[android-developers] Re: Dolby Audio API

2014-02-22 Thread Ubuntu guy
supported devices. > > We are working all those companies ;) Amazon is definitely pushing for > this since all their Kindle Fire HD(X) devices have Dolby built in. > > > http://developer.amazon.com/public/community/post/Tx1G2N72C7VKCTR/Dolby-Raises-the-Bar-Again-for-Audio-Standa

[android-developers] sharing jars across applications

2012-07-21 Thread Ubuntu guy
Hello, I'm developing couple of applications which uses a java library (.jar). Both applications run fine in their own dalvik and things are fine. However, the library (although is being shared) is being linked into the byte code (generated by the compiler) and there by increasing the memory

[android-developers] Re: sharing jars across applications

2012-07-21 Thread Ubuntu guy
To be more specific, this is a platform library provided by the OEM (as an sdk add-on), So is the platform library ACTUALLY shared across applications? On Jul 21, 5:29 pm, Ubuntu guy wrote: >   Hello, > >    I'm developing couple of applications which uses a java library

[android-developers] Re: sharing jars across applications

2012-07-21 Thread Ubuntu guy
>> add it to the system libraries Do you mean framework.jar? On Jul 21, 8:55 pm, Nikolay Elenkov wrote: > On Sun, Jul 22, 2012 at 11:56 AM, Ubuntu guy wrote: > > To be more specific, this is a platform library provided by the OEM > > (as an sdk add-on), > > >

[android-developers] broadcast an intent from onDestroy of a service

2012-08-17 Thread Ubuntu guy
Hi, I'm trying to broadcast an intent using context.sendBroadcast() from a onDestroy() of a service which is handled by another service waiting in its onDestroy(). However, the onRecieve() of the intent receiver is never triggered. Is this supported at all? -- You received this message b

[android-developers] Re: broadcast an intent from onDestroy of a service

2012-08-17 Thread Ubuntu guy
well, i meant waiting on a coundownlatch which is released by the broadcast receiver which receives the intent sent from the other service's onDestroy. Besides, this happens within 2 seconds. On Aug 17, 1:50 pm, Mark Murphy wrote: > On Fri, Aug 17, 2012 at 4:42 PM, Ubuntu guy wrote: >

[android-developers] Re: broadcast an intent from onDestroy of a service

2012-08-17 Thread Ubuntu guy
(process B) and waits for an ack back in its onDestroy(). On Aug 17, 2:17 pm, Mark Murphy wrote: > On Fri, Aug 17, 2012 at 4:55 PM, Ubuntu guy wrote: > > well, i meant waiting on a coundownlatch which is released by the > > broadcast receiver which receives the intent sent

[android-developers] simulate just onPause() without onStop()

2012-08-21 Thread Ubuntu guy
Hello, I'm developing an application and need to quickly test a scenario where my activitiy's onPause() is invoked (without onStop()). As per the documentation, this is a scenario where a dialog is shown on top of my activity. I tried long press of power down button to pop up a dialog, however,

[android-developers] Access intent filter action directly from AndroidManifest

2012-05-24 Thread Ubuntu guy
Hi, I'm trying to start a service from an activity using the intent action specified in the Android Manifest. As of now, i have to hard code the intent action while creating the intent, Intent serviceIntent = new Intent(); serviceIntent.setAction("com.android.blah"); This

[android-developers] get intent filter action of installed services

2012-06-06 Thread Ubuntu guy
Hi, I found this API to get the ResolveInfo (having the intent filter) for an installed service via this API of Package Manager, public abstract List queryIntentServices (Intent intent, int flags) However, in my case, i want to get the ResolveInfo of all installed services on the device

[android-developers] android.intent.action.ACTION_SHUTDOWN is ordered?

2012-07-12 Thread Ubuntu guy
Hello, Is android.intent.action.ACTION_SHUTDOWN an ordered broadcast intent? I would like my application to be the last one to receive and process the shutdown intent. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] intent for android OTA update

2012-07-12 Thread Ubuntu guy
Hello, Does android post any intent letting applications know that OTA update has begun (before going into recovery mode)? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegr

[android-developers] custom layouts and layout_width

2012-10-17 Thread Ubuntu guy
Hello, I'm developing a custom layout with a fixed width and i don't want the users of this custom layout to specify their own width. I was looking at an option to specify the width via setLayoutParams() in the constructor of the custom layout but without layout_width, i get a runtime exception

[android-developers] Re: custom layouts and layout_width

2012-10-18 Thread Ubuntu guy
Managed to override setLayoutParams in my custom layout and i was able to override the parameters specified in the layout xml. On Oct 17, 1:15 pm, Ubuntu guy wrote: > Hello, > >    I'm developing a custom layout with a fixed width and i don't want > the users of this cu

[android-developers] overriding button style Widget.Button

2012-10-22 Thread Ubuntu guy
Hello, The button style has gravity specifications like center_vertical| center_horizontal in frameworks/base/core/res/res/values/styles.xml. I'm trying to override this style for a custom view to remove the gravity specifications but unable to do that. The android:gravity item of the new s

[android-developers] Re: overriding button style Widget.Button

2012-10-23 Thread Ubuntu guy
u remove it, the text in the > button needs to be drawn somewhere (probably left-aligned). > You could just set it to the value you want: > >     E.g. >     left > > > > > > > > On Monday, October 22, 2012 7:59:41 PM UTC-4, Ubuntu guy wrote: > > Hello,

[android-developers] Re: How to define an Activity as a Singleton (Activity to be launched only once a time)

2011-08-29 Thread Ubuntu guy
how about launchMode as singleTask ? On Aug 25, 1:27 am, maxinfos wrote: > Hello, > > I'm detecting my Android Phone movement using a Service. > > If the movement is too strong, this Service launch an Activity to > display a GUI confirmation (Yes/No). > > The fact is if the movement continues to

[android-developers] Re: Service callback references "ghost" instance of my activity

2011-09-03 Thread Ubuntu guy
Hello, could you post the code? Do you have access to third party service's code? On Aug 27, 9:56 am, Jason wrote: > Hello all, > > I'm running into an issue in my app and am trying to determine the > root cause. > > Here's some background info: > I have an activity that can be triggered from va

[android-developers] Re: how many threads does android browser generate?

2011-09-04 Thread Ubuntu guy
adb shell ps -t should give thread info On Sep 2, 6:21 am, Jack Harvard wrote: > Thanks a lot, unfortunately we use BusyBox as the filesystem, the 'top' > command options are slightly different,  'top -b' got me something as > follows, but would like to get something as you did (suppose you us

[android-developers] Re: Failed to register input channel?

2011-09-05 Thread Ubuntu guy
Is this the main UI thread of the app? Could you share the entire log (pid and tid) along with a reproducible use case? java.lang.RuntimeException: Failed to register input channel. Check logs for details. at android.view.InputQueue.nativeRegisterInputChannel(Native Method) at android.view.InputQ