How can I make the text in each tab within my TabWidget vertically
centered.
--
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@googlegroups.com
To unsubscribe from this group, send email
I have an app that uses a set of permissions that are only available
on Samsung devices. However, this permission is not mandatory for my
app and it will still function fine without it. Given this, are there
any restrictions against me publishing the app through the main
Android Market?
--
You re
Can I rely on dalvikvm to be reliable on all Android devices? I would
like to use it to send an intent from a native component, which due to
legacy design, does not have access to a JNI context.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" grou
The only way I've seen for closing AIDl connections is client-
initiated: Context.unbindService()
Is it possible the Service itself to initiate disconnects for existing
AIDL connections?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To p
I've observed instances when the spinner inside my ProgressDialog
would occassionally freeze- stop spinning. What are some possible
causes for this? While the ProgressDialog is up, we typically perform
a lot of a work on the UI thread. Could this be depriving the
ProgressDialog of drawing cycles?
Does Android provide any reusable components for handling
Certificates? For example if I create a X509Certificate from DER
encoded data, are there reusable views for displaying the Common Name,
Expiration date, etc...?
--
You received this message because you are subscribed to the Google
Groups "
I have a Home Screen widget composed of a layout and several buttons.
Is there a way to detect focus change on any of these views? For
example, is there a way to fire off a PendingIntent when focus on a
Button changes, similar to setOnClickPendingIntent()?
--
You received this message because you
. Consider the scenario
where the RootActivity spawned a ChildActivity in the foreground. If
the user then switches to another Task, RootActivity still cannot tell
that its current Task is going into the background.
On Aug 5, 10:27 am, TreKing wrote:
> On Thu, Aug 5, 2010 at 9:06 AM, Jin C
Say that TaskA is currently in the foreground and my ActivityA is
somewhere within its stack. Is there a way for ActivityA to get
notified or detect when the user switches from TaskA to TaskB?
As a use scenario, when the user launches my app, my ActivityA will
always be the root Activity of the ne
ever, beware of Issue 6929:
>
> http://code.google.com/p/android/issues/detail?id=6929
>
> On Jul 19, 6:59 am, Jin Chiu wrote:
>
>
>
> > To facilitate diagnostics while the app has been deployed, does
> > Android provide any API to facilitateruntimelogging? It would be
&g
In the implementation of my remote service's published API, is there a
way to identify which client called a given method? For example, is
there a way to obtain a unique ID or address of the caller? I already
cache an AIDL callback reference to the client, but not sure how I can
use this for identi
Nevermind, figured it out- it's located under sdk/platforms/android-
/tools/aidl
On Jul 26, 12:26 pm, Jin Chiu wrote:
> I'm using Eclipse with ADT to develop my project, but for some reason
> my AIDL files are not getting compiled into Java files. Is there a way
> to exp
I'm using Eclipse with ADT to develop my project, but for some reason
my AIDL files are not getting compiled into Java files. Is there a way
to explicitly invoked the conversion of my AIDL files?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gro
I'm need to pass Serializable objects to my remote service. Does AIDL
have native support of Serializable objects, or do I need to write a
Parcelable wrapper?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
The documentation for sendOrderedBroadcast() describes the function as
following:
"Broadcast the given intent to all interested BroadcastReceivers,
delivering them one at a time to allow more preferred receivers to
consume the broadcast before it is delivered to less preferred
receivers."
How do w
Ah okay, that explains why it didn't work for me. In my case,
TargetActivity has a and registers a BroadcastReceiver, but does not
implement the interface itself.
On Jul 23, 1:47 pm, Mark Murphy wrote:
> On Fri, Jul 23, 2010 at 1:42 PM, Jin Chiu wrote:
> > Whenever I invoked
Whenever I invoked `sendBroadcast()` using an intent with Component
name set, it does not get properly delivered to the destination's
broadcast receiver.
As an example, assume that I have a TargetActivity that registered a
BroadcastReceiver for ACTION1
This will work:
Intent i = new Intent(Targe
Is it possible for my ActivityA to launch a transparent, headless
ActivityB in a way that it does not prevent user interaction with
ActivityA?
Currently, when I start ActivityB, Android pushes a blank screen that
prevents the user from interacting with the underlying Activity.
--
You received th
:
> On Fri, Jul 23, 2010 at 8:18 AM, Jin Chiu wrote:
> > How do I distinguish between these two cases?
>
> http://groups.google.com/group/android-developers/browse_thread/threa...
> <http://groups.google.com/group/android
I have an AIDL service that is intended to be used by both out-of-
process remote users and in-process local users. As a result, my
common interface methods will either be invoked on the UI thread or in
a binder background thread. The logic between the two is not the
same. How do I distinguish bet
Are the UI threads for each Activity and Service in an app separate
threads, or is there actually 1 underlying UI thread per app that
processes the UI message queue for each Activity and Service?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gro
What is the lifetime of an app's global android.content.Context
object? Does it last until the last component of the app is terminated
by the Android runtime?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
Is there an exception in the lifetime rules for a parent activity
that's in the background after invoking startActivityForResult()? From
my understanding, in low memory scenarios, the background activities
are killed before the foreground. Does this rule still apply even if
the background activity
To facilitate diagnostics while the app has been deployed, does
Android provide any API to facilitate runtime logging? It would be
ideal if the app could retrieve all the messages it wrote to the
Logging System via the Log API functions.
--
You received this message because you are subscribed to
We have a multi-activity app that needs to communicate with a remote
service with a callback interface. Each activity needs to access the
remote service and receive callback messages from it (either directly
or indirectly). What are some good practices for designing this? Here
are some options:
-
I was playing around with the RemoteServiceBinding demo (in the API
demos), and noticed that the remote service would restart itself
(without user intervention) after the user has explicitly killed it.
How was this possible without an explict call to onBind to restart the
killed service?
--
You r
Are AIDL interface objects (i.e. remote service IPC objects and
callback objects) thread-safe? In other words, do I need explicit
synchronization when accessing these objects from multiple threads, or
is that taken care of by the underlying RPC component?
--
You received this message because you
27 matches
Mail list logo