Any update as to when this fix will get worked in?
On Sep 24, 1:42 pm, Justin Anderson janderson@gmail.com wrote:
Hmm well that's a bummer. Is there anything that could possibly make it
run smoother? Perhaps using a different type of adapter?
You could set it up so that the widget just launches an activity, and
have that activity themed to look like a dialog...
On Oct 28, 6:11 pm, Carl vapor.trail@gmail.com wrote:
Hi all,
I am trying to add a dialog to a widget I made, in where when you
press it, it displays two options, YES
I have an application that contains a receiver with the following
intent filters:
intent-filter android:priority=
action android:name=android.intent.action.CAMERA_BUTTON /
action android:name=android.intent.action.SEARCH_LONG_PRESS /
/intent-filter
For devices that have a camera
According to the Dev Guide if two apps are signed by the same key and
have the same sharedUserId set in the manifest, then they should be
able to access each others data.
I cannot get this to work. It should be possible for both apps to
access the same shared preferences via
Anyone have any ideas?
On Sep 26, 8:44 am, Justin Anderson janderson@gmail.com wrote:
* That is definitely a puzzling behaviour, I suspect the fact you have no
content view is probably the cause.*
I tried giving it a LinearLayout but the result was the same.
* Is there any reason why
One thing that may be pertinent is that the two apps are in different
packages... I don't think that this should make a difference, but
just thought I would point this out in case I am mistaken.
Thanks,
Justin
On Sep 28, 7:51 am, Tikoze janderson@gmail.com wrote:
Anyone have any ideas
I got the notification working! For anyone else who is having a
similar problem, I have pasted the code below. For me, it is in the
onCreate method of a service class.
public void onCreate()
{
Intent launchIntent = new Intent(this, ActivityListView.class);
CharSequence
I just ran into this and thought I would post this for anyone else who
might be struggling with the same problem.
In creating preferences, I had the following code in res/xml to define
my preference activity:
PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/
android
:
Use PendingIntent
On Sep 14, 8:01 pm, Tikoze janderson@gmail.com wrote:
Anyone?
On Aug 31, 4:26 pm, Tikoze janderson@gmail.com wrote:
Any info on this would be appreciated. I know it can be done because
I have installed a few apps that are able to launch via
I cannot get a notification to appear in the status bar. And since I
haven't been able to find any posts of others with a similar problem
I'm sure there is some small thing that I am missing...
I more or less followed the example in the Dev Guide. Below is my
Service class.
public class
it if some other app came along and unregistered your
app from that intent?
On 9/15/09 3:40 PM, Tikoze wrote:
Since there is no guarantee as to the order that applications will be
notified, it is almost like I would have to find some way to
unregister everything else that is listening
I have run into an interesting problem using the Gallery Object. I am
doing some custom gesture detection in an onFling() method and get a
null view object when the index of the view I am trying to get is 6 or
above.
The following line of code works fine for positions 0 - 5 but
closeView is
Anyone?
On Sep 2, 1:16 am, Tikoze janderson@gmail.com wrote:
Roman,
Ok, so I did a little more tinkering around with this and found the
following:
I can use PackageManager.getLaunchIntentForPackage(packageName) and I
get a valid Intent to launch the activity. However, no matter what
pointToPosition() does exactly what it was meant to do: it converts a
point to a position, that is an index inside your adapter
I never said it didn't, once I understood its purpose. It just wasn't
clearly documented that it returns an index to the adapter (which is a
different object) and I
Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 30, 11:45 pm, Tikoze janderson@gmail.com wrote:
Roman,
I
Try this link:
http://www.anddev.org/debugging-installing_apps_on_the_g1_windows_driver-t3236.html
Step 5 most likely will not happen. If it does not then try the
following:
- Open Device Manager
- You should see something mentioning your Galaxy, or an ADB
Interface, or perhaps even just
Roman,
I very well may be missing something here, but using
taskInfo.topActivity still does not work (even if a taskInfo
instance)... The problem, at least for the Calendar, is that
taskInfo.topActivity.getClassName() does not return
com.android.calendar.LaunchActivity It returns
The id that is generated in the R class comes from a layout xml
file... For example, in one of my programs I have a Gallery View that
displays icons for currently running programs.. I have an xml file
under /res/layout that contains the following:
Gallery android:id=@+id/running_tasks_gallery /
Any info on this would be appreciated. I know it can be done because
I have installed a few apps that are able to launch via the camera
button without having the camera app launch as well.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I want to create a new style that slightly modifies the default style
of a TextView... However, I have not been able to find what the value
for the parent attribute should be...
Any help would be appreciated!
Current xml code:
?xml version=1.0 encoding=utf-8?
resources
style
-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 26, 8:02 am, Tikoze janderson@gmail.com wrote:
Wow... it has been
I very well may be wrong (I am a very new android developer and
haven't done something like this yet), but have you tried removing the
category android:name=android.intent.category.LAUNCHER / line
from the activities you don't want icons for?
I think I read somewhere that the recipe for getting
I am trying to launch my app when the camera button is pressed.
However, when I do this the camera app is launched first and then my
app is launched. How do I get an activity choosing dialog to prevent
this from happening?
Aside from having the camera permission, this is what I have in my
For anyone out there wondering what my workaround was, what you have
to do is this (courtesy of the developer of Task Manager):
- Get a list of the ActivityManager.RunningTaskInfo and
ActivityManager.RecentTaskInfo objects.
- ActivityManager has a baseIntent object
- Both classes have an id that
Wow... it has been over a week since anyone other than me has
responded to this post. No one has any ideas on what is wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this
Roman,
Thanks for your reply, but your suggestion for starting the activity
does not fix the problem. I have changed the code to closely resemble
yours. The only difference is that the package and class names are
taken from ActivityManager.RunningTaskInfo.baseActivity.getPackageNamer
() and
Roman,
I have also tried the hard-coded example you gave for launching the
activity, but I get the same exception thrown.
Thanks,
Justin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To
Any ideas on why my app doesn't have permissions to launch the
Calendar app when it is running but it does have permissions to launch
virtually any other running app
This bug is driving me crazy!
Thanks in advance for any pointers/suggestions
Justin
Here is the code that I am using to bring a running activity
to the foreground:
ActivityManager.RunningTaskInfo task = getTask(idx);
if (task != null)
{
Intent intent = new Intent();
intent.setClassName(task.topActivity.getPackageName(),
task.topActivity.getClassName());
Roman,
For most applications, my code works and will actually switch
applications. I have tested it on both 3rd party apps and built-in
ones. For example, it will switch to Maps, Browser, Camera, and
Home. I should have mentioned that in my original post.
However, if I try to switch to
Here is the logcat info. For some reason it is saying I do not have
permission to launch the Calendar activity... What does it mean when
it says the process record required null?
Thanks,
Justin
-BEGIN LOGCAT INFO-
08-17 14:01:28.933:
The Android Application Framework FAQ states:
The general mechanism to start a new activity if its not running— or
to bring the activity stack to the front if is already running in the
background— is the to use the NEW_TASK_LAUNCH flag in the startActivity
() call.
I have some fairly simple code
Ok, when I said replacement I really meant alternative...
I don't think my expectations were unrealistic, though I can see how
you can think they were when I said replacement. I was expecting to
be able to long press the home key and have the activity chooser
dialog (or whatever its official
I am writing an app that will replace the functionality of the dialog
displayed when performing a longpress on the home key and cannot
figure out how to get my activity this way.
I have spent the last week searching through the SDK, Google Groups,
and normal google searches to try to find the
limits the possibilities of the phone
Is there anywhere to request changes and/or bugs?
On Jul 31, 2:25 pm, Mark Murphy mmur...@commonsware.com wrote:
Tikoze wrote:
I am writing an app that will replace the functionality of the dialog
displayed when performing a longpress on the home key
It seems to me like this should be posted in another group (maybe the
Android Discuss google group) since this group is more for
developing for Android.
However, Task Manager (now the current version is 1.7) provides a way
to close running tasks... just long press on the task and choose
Delete
36 matches
Mail list logo