Does Android have a link button?
--
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 to
If you add a widget to the home screen that is part of an application
that does not start on boot, and then you power on/off the device,
and click on the widget does Android restart the widget's
application? Right now my widget does nothing when clicked unless
added when my application is
Is it possible to have an Android application that runs without a Main
Activity? I have mostly Widget--Service communication and I really
don't want a Main Activity to show most of the time. But anyway my
question is can this be done? Does an application have to have a Main
Activity? Can it
Its clear that for long running work IntentService is very cool. But
are there other reasons to use Intent service? If you have no long
running work does it still make sense to use it? When do you not use
IntentService is another way of asking this question.
--
You received this message
in the
application list.
However, my personal observation is that doing this can cause user confusion
and a bunch of 1-star duznt opin type comments in Market.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
14.02.2011 2:40 пользователь AndroidDevTime androiddevd...@gmail.com
написал
Can an application detect the manner it is being launched.
Specifically if it is a user launching from application list or on
boot. I want the Main Activity to show when the user launches the
application, but not when the application is launched on boot.
Thanks,
Steve
--
You received this
Widget Provider is a specialized BroadcastReceiver.
Assuming there exists an Application, 1-n android service,1-k
activities, and potentially additional 0-n broadcast receivers that
are not widgets, I would like to verify what belongs and does not
belong logically inside the broadcast receiver.
Clicked on create filter could not figure out from docs how to create
a filter for say two or more tags. If I have two tags
com.test.TestClassA and com.test.TestClassB how do I create a filter
that shows log for both of these classes? I saw how you can start ADB
for only certain tags, but how can
Could some explain in detail how it is possible to have a ListView
where each item in the list is rendered by its type and has different
layout.
So to clarify if i have ten rows they will all have the same layout if
they are each the same type of record like non-fiction book.
If have of the
What is iconLevel on Notification? I've read the doc.
http://developer.android.com/reference/android/app/Notification.html#iconLevel.
It just says public int iconLevel If the icon in the status bar is
to have more than one level, you can set this. I might want to do
this if I knew
I am seeing Problem Loading Widget on the home screen. Several things
seem odd about this.
First there is no mention of which widget it tried to load. Never the
less the home screen is covered with Problem Loading Widget. Did the
system not know the name of the widget it was trying to load even
guys, I 'm dealing with this right now. Am I the only one on this
board that has encountered this?
On Feb 9, 2:52 pm, AndroidDevTime androiddevd...@gmail.com wrote:
I am seeing Problem Loading Widget on the home screen. Several things
seem odd about this.
First there is no mention of which
Well you could look at the lifecycle methods on a widget. These
include onEnable, onUpdate, onReceive, onDelete, and onDisable. You
might want to take a look at the values in some of these methods.
Perhaps you want to close something out here.
On Feb 9, 3:57 pm, Dirk Vranckaert
nonesense. These are basic questions and people should respond with
what they know.
On Feb 9, 4:00 pm, TreKing treking...@gmail.com wrote:
On Wed, Feb 9, 2011 at 5:57 PM, Dirk Vranckaert
dirkvrancka...@gmail.comwrote:
Anyone? Can't figure out why it isnt working... :s
You should wait
adb devices - Nothing
I have tried installing kies, setting usb to Kies, to Mass storage etc
nothing seems to work.
It is not at all clear what happens when you type ADB Devices?
i tried downloading device drivers from samsung as recommended, and
some of the drivers seemed to install like
Would appreciate some pointers on how to create clickable status bar
Icon notification that will remain on status bar for the duration that
widget appears on home screen.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
a click on the icon and issue it at that point?
On Feb 7, 1:19 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Not sure what you mean by clickable - status bar notifications are
pull downable.
Any reason for not just using NotificationManager.notity() ?
-- Kostya
08.02.2011 0:02, AndroidDevTime
If the widget initialization requires some calls to registerReceiver()
passing a null pointer to get the values where is the best place to be
doing this. In my case, I am maintaining Application state in an
Application subclass. In a sense my whole widget application has a
state. The state
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application. This is app/widget specific state like say
STARTED, LEVEL1, LEVEL2 etc, so since the status is referenced in the
widget, the service, and
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application. This is app/widget specific state like say
STARTED, LEVEL1, LEVEL2 etc, so since the status is referenced in the
widget, the service, and
, you
can probably do as much there as in any other callback (e.g activity
onCreate), subject to ANR timeouts.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
I have an Widget Application that also has Activities
to be
more of an architectural suggestion than a real framework limitation, you
can probably do as much there as in any other callback (e.g activity
onCreate), subject to ANR timeouts.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd
.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application
.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application
.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application
.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application
.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application
.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application
.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
06.02.2011 1:38 пользователь AndroidDevTime androiddevd...@gmail.com
написал:
I have an Widget Application that also has Activities, and a heavily
used Service full of functions. I would like to keep a global status
for the application
On Feb 5, 2:33 pm, Mark Murphy mmur...@commonsware.com wrote:
On Sat, Feb 5, 2011 at 5:19 PM, AndroidDevTime androiddevd...@gmail.com
wrote:
Where
should the application state for a Widget be maintained? In the
Application subclass or in the Widget itself.
true, but what I
I would like to handle application shutdown gracefully. Whether the
user ends the application or the system decides the kill the process,
I want to know the best place to put hooks in the application to
detect and handle this. I know that application level components have
lifecycle methods the
or just global singleton.
updateSharedVariable(String val){
this.value=val;
// here update value in shared preferences
}
}
On Feb 5, 6:01 pm, Mark Murphy mmur...@commonsware.com wrote:
On Sat, Feb 5, 2011 at 8:57 PM, AndroidDevTime androiddevd...@gmail.com
wrote:
I
, there are no guaranteed callbacks.
The system assumes that if you're idle, you can be killed.
On Feb 5, 8:57 pm, AndroidDevTime androiddevd...@gmail.com wrote:
I would like to handle application shutdown gracefully. Whether the
user ends the application or the system decides the kill
I have seen registerReceiver(null, Intent) can be used to get last
System level broadcast values such as battery level. Does this also
work for custom application Intents? Lets say I have an application
Intent called SetOrder and I broadcast this Intent. Using
registerReceiver(null, SetOrder)
with sendStickyBroadcast().
On Sat, Feb 5, 2011 at 7:08 PM, AndroidDevTime
androiddevd...@gmail.comwrote:
I have seen registerReceiver(null, Intent) can be used to get last
System level broadcast values such as battery level. Does this also
work for custom application Intents? Lets say I
This is a question about domain specific state. It is not so much
about storage mechanisms like SQLite or Shared Preferences (although
they are no doubt part of the answer). Perhaps an example will help.
Lets say I have an app with 4 states: JUMPING, TUMBLING, FALLING,
CRASHING. What I need to
what are the power battery performance implications of maintaining a
service? Will this drain the battery more to keep a service up and
running? Especially if you bind to the service from the widget to
call service functions?
On Feb 3, 3:39 pm, Mark Murphy mmur...@commonsware.com wrote:
, TreKing treking...@gmail.com wrote:
On Wed, Jan 26, 2011 at 9:36 PM, AndroidDevTime
androiddevd...@gmail.comwrote:
I would like to place an item in the Status Bar Dropdown List. How can
this be done?
By reading the
documentation:http://developer.android.com/guide/topics/ui/notifiers
Is it a good practice for a Service to maintain static reference to
System Manager? like Activity Manager, Power Manager? etc?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Is it a bad practice to maintain a service level reference to a
BroadcastReceiver? I do see there is a service level method
service.registerReceiver Under what situations is it appropriate
to register the BroadcastReceiver with a service? To hold a static
reference to a broadcast receiver
, AndroidDevTime androiddevd...@gmail.com wrote:
Well the documentation does show a way to add notifications to the
status bar using NotificationMgr. I wonder if Notifications are the
only thing that can be added to the STATUS bar. And if anything else
can be added below the Status Bar besides
because these are retrieved and
associated with the Service's context.
On Mon, Jan 31, 2011 at 8:06 PM, AndroidDevTime
androiddevd...@gmail.comwrote:
Is it a good practice for a Service to maintain static reference to
System Manager? like Activity Manager, Power Manager? etc?
--
You
Are there any compatibility issues or disadvantages with subclassing
the Android application?
--
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
I don't know how to read device properties like value of LED? I do
know how to write such properties using Notification Manager. So are
these write-only properties? Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I would like to place an item in the Status Bar Dropdown List. How
can this be done? Thanks
--
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
I am able to place Status Bar Icons using Notification Manager, and I
see a way to send/cancel notifications to add/remove them. Is this
the right way however to maintain icons in the status bar over a
period of time like to duration that my app is running?
--
You received this message because
This starts loading of application apkFileName
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(apkFileName)),
application/vnd.android.package-archive);
ctx.startActivity(intent);
It also auto starts the Activity for
47 matches
Mail list logo