Use Intent.FLAG_ACTIVITY_CLEAR_TOP.
Yes, I guess you mean for the main menu right? I can add that one, but
if the user makes the Contact gestures 5 times, then I end up with 5
views with 5 adapters with the same data?
Let's say the user makes the following gestures:
- View Contacts
- Browser
Use for every activity you launch when you don't want it to stack up.
http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP
On Tue, Oct 13, 2009 at 12:54 PM, cnordvik cnord...@gmail.com wrote:
Use Intent.FLAG_ACTIVITY_CLEAR_TOP.
Yes, I guess you mean
Use for every activity you launch when you don't want it to stack up.
http://developer.android.com/reference/android/content/Intent.html#FL...
Sorry for not reading the documentation properly. Thanks!
-Christer
--~--~-~--~~~---~--~~
You received this message
I find that when I am running 2 android devices connected to 1 linux
machine, I find I can get ADB shell to exit abnormally.
If I start a shell on Device 1, then on Device 2 start a shell and
type reboot. Device 2 resets like expected, but the shell on device
1 will exit.
I find that
Hi,
When i'm in the directory tools and try to use android create avd...
i get an error like ' java is not recognizable as an internal or
external command, operable program or batch.
What's wrong?
I'm using Windows 7 prof
Have added android to the system environment variables. (Maybe doesn't
Sounds awesome, please let me know if you meet with success.
On Oct 4, 9:13 am, pushkal sharma pushkalsharm...@gmail.com wrote:
I reacently bought Samsung Star.I am planning to boot Android on
Samsung Star.I wanted to know is it possible to boot Android on
Samsung Star
Sounds like you didn't install a JDK, or it's not in your path.
On Tue, Oct 13, 2009 at 12:49 PM, Carl cm.sandens...@gmail.com wrote:
Hi,
When i'm in the directory tools and try to use android create avd...
i get an error like ' java is not recognizable as an internal or
external
Hello,
I have 2 questions related to configuring widgets. I'd really
appreciate any help/pointers.
1) I use AppWidget Configuration Activity to get the user preferences
and when the user clicks 'Done', I add the widget on to the home
screen. Now when the user clicks on the widget, I want to
My program creates a bitmap and successfully stores it on external
storage (Images.Media.EXTERNAL_CONTENT_URI).
The next option to implement is to share the image.
I'm thinking about different way of doing it:
1. Save it as captured image (as before) and startActivity with
Intent.ACTION_SEND
On Oct 13, 4:50 pm, Nicolas Thibaut nthibau...@gmail.com wrote:
And the bad news is that others task managers are implementing
autokill or Boot killwhich can made many apps crashing (if
your app use an intents to another app...if this app is autokilled
your app will never worl :( ...
I have a JDK installed on C: but put the SDK on D:. Does it matter?
On 13 Okt, 22:24, Marco Nelissen marc...@android.com wrote:
Sounds like you didn't install a JDK, or it's not in your path.
On Tue, Oct 13, 2009 at 12:49 PM, Carl cm.sandens...@gmail.com wrote:
Hi,
When i'm in the
On Tue, Oct 13, 2009 at 4:05 AM, newra...@gmail.com newra...@gmail.com wrote:
My application is background application.It uses WIFI lock and
INTERNET permission. It is doing some socket communication with a
Remote Host PC and as well as with a local android application. It
will start based
Java built-in serialization has many benefits, but for efficiency you
may want to consider something else, such as protobuf.
Yusuf Saib
Android
·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
Maybe make another API call that allows killing the service,
notifications, and etc of an application except for alarms? I think
other applications are affected the most by their alarms getting
totally wiped out by another application.
Too many task killing applications are using this API call.
I have some optional views in my xml layout. Namely a radioGroup and
buttons.
How can I hide these programtically?
I tried setting Visisbility, but that through an exception.
Is this documented anywhere?
--~--~-~--~~~---~--~~
You received this message because
setVisibility(View.INVISIBLE) (or View.GONE)
If that throws an exception, look at the stack trace and fix the error :)
On Tue, Oct 13, 2009 at 2:04 PM, Smelly Eddie ollit...@gmail.com wrote:
I have some optional views in my xml layout. Namely a radioGroup and
buttons.
How can I hide these
hi,
i try to understand new donut's feature: support for different screens
now i'm using wvga800 skin
my main layout is vertical one and has three TextViews: layout_width -
fill_parentand layout_height - wrap_content
i'm using android:textSize to specify their height: 100sp, 100dp and
100px
Since good people of Google are saying that this is `as intended`
here's an ugly brutal way of dealing with this problem that works for
me. Basically the assumption here is that as events are issued I
compare last saved first item index with one that is passed in the
`onScroll` call. I will only
Hi,
I can't find how to display a list in the app widget.
I have created one app-widget which fetches the database table
information and I want to display all the icon:text into app-widget.
Remoteviews doesn't have any list functionality.
How can I do it, please help
Thanks
Harshit
Hi,
Sorry, this is not possible.
On Tue, Oct 13, 2009 at 2:36 PM, Mapara,Harshit Nitinkumar
hnmap...@gmail.com wrote:
Hi,
I can't find how to display a list in the app widget.
I have created one app-widget which fetches the database table
information and I want to display all the
I don't think it matters as long as the relevant parts of the SDK are
in your path.
On Tue, Oct 13, 2009 at 1:48 PM, Carl cm.sandens...@gmail.com wrote:
I have a JDK installed on C: but put the SDK on D:. Does it matter?
On 13 Okt, 22:24, Marco Nelissen marc...@android.com wrote:
Sounds
Sorry, I meant 'JDK'.
On Tue, Oct 13, 2009 at 3:11 PM, Marco Nelissen marc...@android.com wrote:
I don't think it matters as long as the relevant parts of the SDK are
in your path.
On Tue, Oct 13, 2009 at 1:48 PM, Carl cm.sandens...@gmail.com wrote:
I have a JDK installed on C: but put
Could you maybe then tell me the relevant parts of the JDK? so that i
can check if they are there.
Thanks.
On 14 Okt, 00:12, Marco Nelissen marc...@android.com wrote:
Sorry, I meant 'JDK'.
On Tue, Oct 13, 2009 at 3:11 PM, Marco Nelissen marc...@android.com wrote:
I don't think it matters
Thanks this is very helpful. How do I then access the settings from a
different activity within the app? The following code doesn't seem to
work, should I use something different for where USER_PREFERENCES
is?
SharedPreferences userPrefFile = this.getSharedPreferences
(USER_PREFERENCES,
Well, given the error message you mentioned in your original post, the
folder where java.exe is located would be good to have in your path.
On Tue, Oct 13, 2009 at 3:15 PM, Carl cm.sandens...@gmail.com wrote:
Could you maybe then tell me the relevant parts of the JDK? so that i
can check if
Hello,
Does anyone have an idea if (how?) some of the resources (e.g.
drawables) present in android.jar, but inaccessible through
android.R.* can be accessed?
EXAMPLE:
If you want to use the system-wide horizontal separator drawable, the
divider_horizontal_bright.9.png resource accessible
It's a closed-source application and not freely distributed. You may
not install it on an emulator.
(That's actually good, the potential for abuse is quite high.)
On Oct 13, 6:00 am, luggie lug...@gmail.com wrote:
in emulator
On 10月13日, 下午8时40分, luggie lug...@gmail.com wrote:
To clarify:
I am aware of the possibility to 'enumerate' a
File file = new File(android.jar);
JarFile jarFile = new JarFile(file);
I suppose this might work, but I was looking for the 'proper android
way' through APIs - if there is one..
Thank you again,
-szabolcs
This won't work. If resources are not exposed in android.R.drawable,
then they are private resources. You cannot and should not access
them.
On Tue, Oct 13, 2009 at 4:02 PM, szabolcs szabolcs.vr...@gmail.com wrote:
To clarify:
I am aware of the possibility to 'enumerate' a
File file = new
Same here with Eclipse and Vista, with the exact same message, but in
my case it's for adb install either via Run Configuration in Eclipse
or via command line. The install still works, but the activity launch
aborts.
On Oct 13, 10:18 am, polyclefsoftware dja...@gmail.com wrote:
Since upgrading
Start your filenames with a letter.
On Tue, Oct 13, 2009 at 10:49 AM, Wouter wouterg...@gmail.com wrote:
Hey,
I had imported several .png files with names like 1.png, 2.png untill
59.png in my Android Project..
But it gives this error:
Description Resource Path Location
Hi Nicolas,
I'm using your app on my personal phone, but I kill apps from the Task
Bar widget, so I chose carefully which one I want to kill, but most
users are using the other widget which only displays the number of
apps running and kills all (except system apps and those on ignore
list) of
Good evening,
I'm trying desperately to retrieve altitude information of a kml
file.
The emulator returns the longitude and latitude. A priori this is
normal since HasAltitude returns false. I have not managed to activate
the management of altitude for the provider gps
I also tried by creating
Hi,
Is there a url format available such that clicking on the url will
open the Marketplace to a particular app's page for installation?
Does it work with the 'current' Android OS ver in the wild?
Eg, can I put something on my Android website better than
Please open the Marketplace
Hello,
I've encountered a startPreview failed RuntimeException in Android 1.6
where it worked fine in 1.5. I intercept a frame from the camera
preview, process it, then redraw it on the surface. I had to use
SURFACE_TYPE_NORMAL because TYPE_PUSH_BUFFERS does not agree with
lockCanvas( ).
My
The problem is that each of those resources will become a class field in
your package.R.drawable (without the extension)
1 is not a valid java class field.
Xav
On Tue, Oct 13, 2009 at 10:49 AM, Wouter wouterg...@gmail.com wrote:
Hey,
I had imported several .png files with names like 1.png,
Hello all. I'm at a loss as to how to accomplish this and am looking
for pointers.
I'm trying to make my app scriptable. Specifically, I need to expose a
few Java APIs and make callbacks settable via user-written scripts.
Ideally I'd like to hide some of the complexity away in a DSL, but
there's
Nolan Darilek wrote:
I'm trying to make my app scriptable. Specifically, I need to expose a
few Java APIs and make callbacks settable via user-written scripts.
Ideally I'd like to hide some of the complexity away in a DSL, but
there's no way of accomplishing what I want neatly without some
Hi!
What is the semantics of the LayerDrawable bounds? I was kind of
hoping it would be the union of all the Drawables i had put into it,
but it doesn't seem to be.
To give some more context to the problem; I'm working on a map
application with overlays. The overlay should be one part a region
Hi!
What is the preferred (right?) way to scale the Drawable markers of an
ItemizedOverlay in a MapView?
Say for instance that you have a rect or a circle with a fixed
physical dimension like 500 meters across. The drawable has to change
size when the user is zooming in and out in the view.
So I have a ListActivity that implements an ArrayAdapter list. I have
a control statement within onCreate() that checks if we have any Array
values to populate our list, if we do.. set up the list and display
it. The problem is, what happens when we don't.
Ideally what I'd like to do is simply
You need to call .show() on the dialog to have it shown. There should be no
problem with showing a dialog in onCreate(). (There was a problem with this
in 1.0, but that was ages ago.)
On Tue, Oct 13, 2009 at 5:42 PM, Lee Jarvis ljjar...@googlemail.com wrote:
So I have a ListActivity that
Ahh how silly of me. Thankyou.
Regards,
Lee
On 14 Oct, 01:46, Dianne Hackborn hack...@android.com wrote:
You need to call .show() on the dialog to have it shown. There should be no
problem with showing a dialog in onCreate(). (There was a problem with this
in 1.0, but that was ages ago.)
I want to install Android Market in my mobile device(android),how can
I do?
thanks!
On 10月14日, 上午7时00分, EboMike ebom...@gmail.com wrote:
It's a closed-source application and not freely distributed. You may
not install it on an emulator.
(That's actually good, the potential for abuse is quite
luggie, it's closed source. It's not freely available. If you have a
phone that came with it, you're good to go. If not, then there is no
legal way to get it.
For the purpose of getting apps, there are other applications
available (like Al Sutton's AndAppStore).
-Mike
On Oct 13, 5:56 pm,
Romain,
Thank you for your quick response.
-szabolcs
--~--~-~--~~~---~--~~
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
I can capture an audio stream from the mic, but can I capture the
currently playing audio stream?
Thanks,
Joel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
When you store it in the EXTERNAL_CONTENT_URI, your image can already
be shared with every other app on the phone.
When you added (inserted) the image, your result was a Uri. This Uri
can be used by any other app to obtain your image.
On Oct 13, 4:42 pm, m_vitaly m_vit...@topixoft.com wrote:
Hi all guys,
I tried to get the pics from internet and display all the results in
the Gridview with a dynamic updated. However it doesn't work properly.
I did some research on the internet and using AsyncTask class to avoid
the block of the UI Thread. But I just can't get the Gridview
Dynamiclly
My previous thread on this topic seems to have died out, so I'm going
to change my approach and question.
Is there any way, at all, on this planet or any other, to get a
Javascript slider to work on Android?
The key seems to be that the thumb of the slider needs to be
accessible by a touchmove
You have to do the floating point - fixed point conversion yourself,
then pass the fixed-point values to opengl. Something like:
IntBuffer vertexBuffer = ;
loadVertexData(vertexBuffer);
gl.glVertexPointer(3, GL10.GL_FIXED, 0, vertexBuffer);
On Oct 13, 9:57 am, Doodler
Hi ITWizard:
I deeply appreciated your kindness. But I do not really know what
you mean. Where do
I find the make file you meant?
I try to copy the tools.jar from JDK to cygwin and the previous
problem has disappeared.
But the other problem occurred.
The error messages are listed in
I'm trying to localize my app for China and while I have access to
native chinese speakers who can help me with general translations,
they cannot help me with standard Android-specific terminology. In
particular, I would like to translate:
Google Android
Android Market
Android
Market
Obviously,
Deprecated classes and methods still work but they are a notification
to developers that they will be dropped eventually so new code should
not use them and updates should stop using them. There should be a
compiler warning if you use an @Deprecated method and it should show
as deprecated in the
I'm not sure what that exact error message means, but my guess is the
problem has to do with your test to project mapping. An
instrumentation (which is what your test project uses to access
classes in your project under test), can only be targeted to one
android application. Try splitting up your
Hi,
I am going some project on the sensors on Android.
I didn't understand coordination transform mechanism inside Android.
1. I know AXIS_X,AXIS_Y,AXIS_Z. but can anyone tell me what exactly
the three axis (AXIS_MINUS_X, AXIS_MINUS_Y, AXIS_MINUS_Z) mean?
2. what do the rotation matrix and
I meet a hot potato:I am doing a count-down device ,the time should be
shown in the list when newly-built the count-down and the time in the
list will ahange once every minute.But I can not realize it ,the data
storage I use is ContentProvider,I want to update the filed value
of the database
@String
Thanks for your info.
Do you mean, request like this http://www.android.com/market/#app=facebook
and parse the response?
It will be better if we have open API for Android Market.
--
Riyaz
On Oct 13, 2:01 pm, String sterling.ud...@googlemail.com wrote:
On Oct 13, 4:30 am, Riyaz
Hello,
This is not an option for me. I am studying the possibility of porting
my iPhone HD games (50mb-200mb) to Android, and having the assets in
the sdcard or downloaded it's not what i want.
Anyway, thanks for the suggestion.
On Oct 9, 4:50 pm, RichardC richard.crit...@googlemail.com wrote:
Task killers aside, what about if the OS decides to stop a process
because memory is low? Say an app has an alarm set to happen in 2
hours, and the user decides to run Google Maps for a minute. Android
might kill said app because memory runs low. Ten minutes later, the
user is back on the home
Hello,
Well finally i found what is happening. And it explains the issues i
was having and also what you said.
I decided to take a look at the OS installer process, and i found the
code that explains it all.
packageinstaller/PackageInstallerActiviity.java (line 293):
//compute the
I want to change the application icon depending on the phone dynamically.Is
it possible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
i can debug from device, but if I install a released build and then
try to debug from device, I get:
[2009-10-13 21:17:22 - TestAndroid]Re-installation failed due to
different application signatures.
[2009-10-13 21:17:22 - TestAndroid]You must perform a full uninstall
of the application.
How to check from the framework that ,the application is downloaded
from Market or not ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I want to skip some framework changes to the market applications . How
to find out the current application is downloaded from the market or
not ?
Is the market downloaded app will be stored in separate directory?
On Oct 14, 9:23 am, GPU gopuraj...@gmail.com wrote:
How to check from the
Cool, thanks for the pointers. I tried posting earlier and it doesn't
appear to have gone through, so please accept my apologies if multiple
similar messages post. :)
I'm experimenting with Rhino and am having more issues. Specifically,
I have this Scala code:
package
On Tue, Oct 13, 2009 at 9:09 PM, EboMike ebom...@gmail.com wrote:
Task killers aside, what about if the OS decides to stop a process
because memory is low?
It doesn't do what these apps are doing. As I said, what these apps are
doing (especially the ones that do this stuff behind the user's
No, there is no difference between an app installed from the market vs.
elsewhere.
On Tue, Oct 13, 2009 at 9:33 PM, gopu gopuraj...@gmail.com wrote:
I want to skip some framework changes to the market applications . How
to find out the current application is downloaded from the market or
not
Thanks for your reply
Is all market and user application will install only in the data/app
directory ?
On Oct 14, 9:59 am, Dianne Hackborn hack...@android.com wrote:
No, there is no difference between an app installed from the market vs.
elsewhere.
On Tue, Oct 13, 2009 at 9:33 PM, gopu
How about app-private (secured) applications?
Isn't it a market feature only?
For your application you can set it as secure and all non-market
installs will go to the regular app dir instead of app-private.
Not sure whether a way to find out the installed dir is available to
application by api.
It would be nice if the Manifest could specify the ratio (default
would be 4).
On Oct 14, 12:17 pm, Lucas roll...@gmail.com wrote:
Hello,
Well finally i found what is happening. And it explains the issues i
was having and also what you said.
I decided to take a look at the OS installer
I'm trying to implementing Box2D through NDK. But getting the
following exception,
10-14 10:59:22.983: ERROR/AndroidRuntime(745): Uncaught handler:
thread main exiting due to uncaught exception
10-14 10:59:23.042: ERROR/AndroidRuntime(745):
java.lang.RuntimeException: Unable to start
Dianne,
Sorry to revive the thread (its been a while), but noticed this got posted
in a different thread:
http://groups.google.com/group/android-developers/browse_thread/thread/d92a41988f9d3428
packageinstaller/PackageInstallerActiviity.java (line 293):
//compute the size of the
101 - 173 of 173 matches
Mail list logo