Hi All,
This is my themes.xml file
- *...@drawable*/bodyimg_blue
- @color/*royalblue*
- @color/*midnightblue*
- @style/TextVie
Thanks,
Ya, I figured "application/emx*" would not match anything; but I was
grasping at straws. The server side of things is not in my control.
I have to deal with the .emx files being downloaded with empty
mimetype - or give up the enterprise entirely. :/
Usining "mimetype=applcation/*" is t
Actually the appwidgets do support standard animations such as
tweening and frame, but they are a bit of a hack job to get to work.
For tweening, you get use the layoutAnimation tag in your widgets XML.
It supports all the standard tween animations. When the remote views
object for that widget is
We generally don't do matching based on extension, but on MIME type.
Ideally you want your server to reporting a proper MIME type for your file.
Also, the MIME type matches only handles '*' for type and subtype -- that
is, application/* or */*. Your 'application/emx*' will not match anything.
O
Further info, I tried adding the following to my manifest:
Now, in astro, OI-Filemanager my app is associated with .emx files.
But, in the Browser downl
Hello guys, I have developed and tested my app on the emulator, and now want to
install it on my HTC device.
the apk installs successfully, however my database is not going with it.
I have created my database using sqliteman browser b/c I have to insert a bulk
data before the app starts.
I have f
This is expected behavior, this happens all the time with new devices,
turn off copyprotection. It hurts u more than helps, its pretty
worthless anyway. Rooted phones can stillcopy the app.
On Jun 5, 1:19 am, Alberto wrote:
> Hello, I recently published our app to the marketplace and enabled
>
How would one go about making sure a broadcast receiver (triggered)
code can run for more than 10 secs (this is the limit when you start
seeing not responding warnings),
This has been much disccussed in this group and excellent suggestions
and even working code like "wakefulintentservice" (thanks
But a simple
synchronized(object) {
if(!someConditation)
object.wait();
}
and
public boolean changeSomeCondition() {
synchronized(object) {
someCondition = true;
object.notifiyAll();
}
}
can be easy enough to warrant using a wait() statement.
But i agree, as soon as you start
Try Live Wallpapers:
http://developer.android.com/resources/articles/live-wallpapers.html
App icons are not accessible outside the launcher. At best, you might
be able to hack something by turning activity aliases on and off and
"changing" an app icon that way. That is, you might have an second a
http://code.google.com/p/android/issues/detail?id=2545
On May 25, 8:35 am, Squ36 wrote:
> Hi all. I'm trying to develop a small app, that can retrieve GPS
> coordinates, and store them, so I can retrace the path I took. The
> thing is, the GPS on Android emulator is kind of screwing around with
>
I am writing an app that needs to be able to open (be associated in
the browser download window for example) with a certain file type.
The file type has .emx extension and is in an xml format (the top of
the files have ). However, I
can't for the life of me get my app associated with this filetyp
Rob Y. wrote:
> I think it could be cuter if it were
> possible to get a surface view that mapped to the home screen icon for
> the app and animate that when the app is running and the icon is
> visible.
I am uncertain as to what "the icon" is. I can think of four possibilities:
-- the icon in t
...and if animating the icon's not possible, would doing it as a
widget work?
--
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 emai
I have a little app that draws moving animations in a surface view.
Cute, useless time waster. I think it could be cuter if it were
possible to get a surface view that mapped to the home screen icon for
the app and animate that when the app is running and the icon is
visible. Is that possible? I
guich wrote:
> Thanks. I got that the onStop event is called when the home key is
> pressed.
onStop() is called any time the activity is no longer visible. Hence,
onStop() will be called for:
-- HOME
-- BACK
-- you starting another activity
-- the user choosing a notification from the drawer
-- a
Thanks. I got that the onStop event is called when the home key is
pressed.
As a side question, is there a way to discover the name of the intent
that called another intent? Like a stack trace of intents.
thanks!
guich
--
You received this message because you are subscribed to the Google
Gr
guich wrote:
> What is the desired behaviour when the user press the home key? I have
> a situation here that when the home key is pressed and i call my
> application again, it returns as if it was not destroyed (actually,
> onDestroy is indeed not called).
That is to be expected.
> So, is the be
Hi all,
What is the desired behaviour when the user press the home key? I have
a situation here that when the home key is pressed and i call my
application again, it returns as if it was not destroyed (actually,
onDestroy is indeed not called).
So, is the behaviour:
1. when returning to the app,
What does the exception stack trace say? Are you synchronizing access
to the object before calling wait()? Just wait() without
synchronization will cause an IllegalMonitorStateException.
Ali Chousein wrote:
> Hi,
>
> I have two AsyncTasks running; let's say A1 and A2. A2 is manipulating
> the data
Hello everyone!
First of all I'd like to thank you all for your helpful tips and information
about what could be causing the problem.
That said, I'd like to address a few points that have been mentioned:
1. I'm not concerned about reboots or Force Closes - if the device is
rebooted or the brows
There isn't an API to do this. I can't way to do it off-hand, and likely if
you do discover a trick to do so there is a good chance it will break in the
future.
On Sat, Jun 5, 2010 at 7:47 AM, Kitzy wrote:
> I am trying to bring the InCallScreen to the foreground when clicking
> on a notificati
I am pretty sure the browser saves its state in onSaveInstanceState, not
persistently, and this is currently as intended. That is, it will retain
its state when its process gets killed and restarted, but it is deliberately
not trying to retain its state across reboots.
Note that instance state is
I have a free app in the market and use the data directory of the app
to store some files. Now I think about offering a paid (donate)
version of the app, so that people who want to pay a few pennys will
be able to do so.
But AFAIK the new (paid) app needs a new name, so I won't be able to
use the
Ali Chousein wrote:
> Thank you for the reply and the suggestion. Having two threads, one
> waiting for the other was the best solution for my problem, but
> apparently calling wait() in AsyncTask is not supported. Probably I'll
> have multiple AsyncTasks, which don't wait for each other, but which
How does your library project depend on the (standard?) java project?
>From the refactoring feature point of view, both projects are Java
project (a library project, like normal Android project, is both Java
and Android projects), so I'm not sure how it's the fault of the
library feature?
(Now, af
Thank you for the reply and the suggestion. Having two threads, one
waiting for the other was the best solution for my problem, but
apparently calling wait() in AsyncTask is not supported. Probably I'll
have multiple AsyncTasks, which don't wait for each other, but which
combine subsets of the func
Ali Chousein wrote:
> Hi,
>
> I have two AsyncTasks running; let's say A1 and A2. A2 is manipulating
> the data produced by A1 (in fact is a typical producer-consumer
> scenario). It's very tempting to use wait() inside doInBackground()
> implementation of A2, BUT this causes an IllegalMonitorStat
Hi,
I have two AsyncTasks running; let's say A1 and A2. A2 is manipulating
the data produced by A1 (in fact is a typical producer-consumer
scenario). It's very tempting to use wait() inside doInBackground()
implementation of A2, BUT this causes an IllegalMonitorStateException.
Is it really not pos
Trying using toast notification with custom view.
On Sat, Jun 5, 2010 at 10:47 PM, Frank Weiss wrote:
> "Simply, I want to pop up a dialog on the current visible Activity, even if
> the Activity belongs to other application. And at this time, if my
> application is running on background (invisib
The state save I'm refering to is via SharedPreferences. I've observed this
in my own application. Indeed, the Android Browser's bookmarks are saved
across reboots, and I'd suppose across force closes as well, However, I
think Mark is correct that some state may not be correctly saved in a FC
situa
Chister Nordvik wrote:
>> ... to see who is messing up.
>
> Well, people will blame my widget even if I try to tell them that they
> have another application that has wake_locks so I must make my widget
> behave nicely with the rest of the apps out there.
You are missing the point. Unless you hav
> Frankly, I don't know why the Genie... service sticks around for the
> stock News and Weather. It does not appear to be affecting the
> thoroughly irritating and non-configurable
> change-the-headline-every-five-seconds feature, as that persists even
> when I shut down the service via the Setting
Frank Weiss wrote:
> I think the OP's issue is that the Andorid Browser doesn't save the open
> windows state upon close (force close in the OP's case).
The Browser rarely goes through a normal close, because Browser uses the
BACK button for browser operations, so eventually people just start
usi
I think the OP's issue is that the Andorid Browser doesn't save the open
windows state upon close (force close in the OP's case). I've confirmed this
with just a reboot - but that may be a different syndrome.
--
You received this message because you are subscribed to the Google
Groups "Android De
Simon Broenner wrote:
> 1. Open browser
> 2. Open maximum number of windows by using "open in new window" (set to
> open new windows in background, in case that matters), all with
> different content (so not all the same link)
>
> 3. Switch to a different application (in my case I clicked an e-mail
Just reproduced again with all the newly freed program memory (albeit with
relatively memory-heavy web sites like Engadget and Slashdot) :(
Looks like having more free application memory delays the process somewhat
though...
>
> On 5 Jun 2010 19:11, "Kostya Vasilyev" wrote:
>
> 05.06.2010 20:09
"Simply, I want to pop up a dialog on the current visible Activity, even if
the Activity belongs to other application. And at this time, if my
application is running on background (invisible), don't display any
Activities (even if the topmost Activity) of my applicatioin except to pop
up a dialog."
When I reach the max., the new window and open new window buttons just
disappear. Max. is something like 8 or 10 windows.
On 5 Jun 2010 19:11, "Kostya Vasilyev" wrote:
05.06.2010 20:09, Simon Broenner пишет:
>
> 2. Open maximum number of windows by using "open in new window" (set to
open new w
05.06.2010 20:09, Simon Broenner пишет:
2. Open maximum number of windows by using "open in new window" (set
to open new windows in background, in case that matters), all with
different content (so not all the same link)
What do you mean by "maximum number of windows" ?
How many is that? What
I'm pretty sure the browser is using a lot of memory, and the OS is
perfectly within its rights to close the application when it's in the
background - but not without saving the state first.
I'm currently testing with more free phone storage memory (previously about
22MB free, now 53MB), and so fa
This might be a longshot. Perhaps it's not the browser, but the web pages.
If you have many browser windows open, each web page contributes to memory
pressure. I have the same experience on my desktop with 2 GB. After power
browsing for a while - that is, having multiple open tabs for several
days
Hello,
I've made an app the processes preview frames from the camera.
It works fime in every single phone except the Samsung SPH M900.
This phone seems to be on 1.5 firmware. When I query the camera
preview format it returns "19" which is neither YCbCr_420_SP or
YCbCr_422_SP or any other documen
hi Sean,
yep true. then it'll redirect to the Activity A. but then it is
breaking my requirement.
i want Activity C to run on top of Activity B.
when you set android:noHistory="true" when i'm starting Activity C,
Activity B will be cleared from the stack. it's almost similar to
finish() before s
This is the relevant part of the log, as far as I can tell:
06-05 18:02:21.531: INFO/ActivityManager(1282): Displayed activity
com.google.android.gm/.ComposeActivity: 2025 ms (total 2631 ms)
06-05 18:02:22.101: ERROR/cache(2780): disableTransaction is out of sync
06-05 18:02:22.242: INFO/ActivityM
I just went through the whole process and logged it:
1. Open browser
2. Open maximum number of windows by using "open in new window" (set to open
new windows in background, in case that matters), all with different content
(so not all the same link)
3. Switch to a different application (in my case
Simon Broenner wrote:
> Hmmm, I'm beginning to get that feeling too.
>
> Any idea what the cause could be? Obviously I'm not using any auto task
> killers or anything like that... :(
Off the top of my head, no.
If you're a developer, and you can get it to happen, plug it into USB
and scan logcat
Hmmm, I'm beginning to get that feeling too.
Any idea what the cause could be? Obviously I'm not using any auto task
killers or anything like that... :(
On Sat, Jun 5, 2010 at 5:26 PM, Mark Murphy wrote:
> Simon Broenner wrote:
> > Obviously the windows (which is what I meant - I _am_ using the
CPU takes down wifi..In other words, because CPU turns off it takes
wifi with it.. Thats why we require wakelock to keep it alive.
Anyways, if you are not using wakelock and if your app is making the
phone reboot on its own, then may be you will have to check for memory
leakage or something like th
Simon Broenner wrote:
> Obviously the windows (which is what I meant - I _am_ using the native
> Android browser) stay open as they should in most scenarios - it's
> usually when the memory starts to get low and the OS starts killing
> tasks that this becomes a problem.
I use Android devices a fai
05.06.2010 15:14, Chister Nordvik пишет:
So is this really the best solution to have a service running in the
background? So if someone downloads 10 different news widgets from
different companies they end up with a list of 10 services in the
"Running services" list?
If this is the case, the
On Jun 4, 1:28 pm, Tomáš Hubálek wrote:
> In this case there is no chance in our country as Vodafone (as Nexus
> One distributor in Europe) said that they will not sell this phone in
> Czech Republic.
>
> I wish there would be ADP 3 as I like to have phone officially rooted
> (because of unoffi
Obviously the windows (which is what I meant - I _am_ using the native
Android browser) stay open as they should in most scenarios - it's usually
when the memory starts to get low and the OS starts killing tasks that this
becomes a problem.
There are a few similar experiences listed in this thread
Chister Nordvik wrote:
> 2. Update the widget every 5 seconds to change the currently displayed
> article using AlarmManager (AlarmManager.RTC)
Please consider making that configurable and able to be disabled, as an
improvement over the brain-dead stock news-and-weather widget.
> I guess the devi
Hi all,
I load a url over the web containing images (their source is another
url).
when then view loads the html, it loads it without the images. after
few milliseconds, the images come along but then the html is redrawn,
and it does so over the previous html, causing it the web view to hold
2 html
OK I must have misinterpreted your description, so you want:
A -> B -> C -> B -> (close)
The simple answer is to move the android:noHistory="true" from the
Activity B declaration, to the Activity A one.
On Sat, Jun 5, 2010 at 3:25 PM, mike wrote:
> Hi Sean,
>
> when you set
> ... activity>
>
Sasikumar.S wrote:
> Hi,
>
> In my application i'm using tab widget.
> how can we set the text color and font size to a single tab ?..
> Any Suggestion ?
Try TabHost.TabSpec#setIndicator(View)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonswar
Simon Broenner wrote:
> Does your browser stay active if you open up the maximum amount of tabs,
> launch a different application and then come back?
The standard Android browser does not have tabs. Perhaps you installed a
different browser.
If by "tabs" you mean "windows", then, yes, they stay o
I got it to work, thanks.
On Jun 4, 6:05 pm, Mark Murphy wrote:
> John Gaby wrote:
> > I want to provide my own images for buttons. Now I can call the
> > setBackgroundResource(id) function to change the background of a
> > button, but it does not handle the various states. How do I specify a
>
I am trying to bring the InCallScreen to the foreground when clicking
on a notification, and am having trouble figuring out how to do so.
My application is displaying information about the call and acts like
a dialog (where it is translucent, so you can still see whatever is
behind it).
While in
Hi Sean,
when you set
...
like this what happens is
Activity C runs on top of Activity A not on Activity B.
that is not what i want i want Activity C to run on top of Activity B
regards,
Mike
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gro
I'm using a Motorola Milestone, running Android 2.1 (stock & unrooted).
Does your browser stay active if you open up the maximum amount of tabs,
launch a different application and then come back? Do all the tabs stay
open, and not refresh (or close altogether) when you reopen the browser?
On Sa
What phone are you using? I do that stuff on my HTC Magic everyday, no
issues. (Android 1.5 FTW? ;-)
On Sat, Jun 5, 2010 at 3:00 PM, bemymonkey wrote:
> Hello everyone!
>
> First of all, I hope this is at least somewhat on-topic for this
> discussion group, as it seems to be the only way to reac
Is there a way of getting the speed at which the device is running?
--
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
andro
Is there way to read user default profile on the phone: e-mail
address, first and last names?
--
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
Thanks, both of all.
Simply, I want to pop up a dialog on the current visible Activity, even if the
Activity belongs to other application. And at this time, if my application is
running on background (invisible), don't display any Activities (even if the
topmost Activity) of my applicatioin exc
Hello everyone!
First of all, I hope this is at least somewhat on-topic for this
discussion group, as it seems to be the only way to reach Android
developers easily.
The problem I would like to discuss is the way Android handles running
multiple applications at the same time. Take the following s
Hi,
In my application i'm using tab widget.
how can we set the text color and font size to a single tab ?..
Any Suggestion ?
--
Thanks & Regards
Sasikumar.S
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send emai
Hi.
I want to make (yet another) news widget. Initially I thought it was
enough to:
1. Download all the news articles
2. Update the widget every 5 seconds to change the currently displayed
article using AlarmManager (AlarmManager.RTC)
3. Update the widget every 30-60 minutes to get new articles
T
hi guys,
i want to display a Spinner once menu item is selected. how can this
be done. do i have to define the spinner in different xml file???
i have define the spinner in the current activities xml file. so once
i call setContentView(current.xml) the spinner is getting loaded.
i don't want to
Mihai Dumitrache wrote:
> Is there a method to see what application is currently in the
> foreground, or what resources (memory, hw space, cpu) it uses ?
You are welcome to look PackageManager and ActivityManager to see what
is there that may be of interest to you.
--
Mark Murphy (a Commons Guy)
Is there a method to see what application is currently in the
foreground, or what resources (memory, hw space, cpu) it uses ?
--
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@googlegrou
hi,Bob kerms,I have another problem. I use two TimerTaskto update the
widget,one widget in every one minute,and one in everyone seconds.but it
doesn't work. When the widget receive the onUpdate Message I start a server
to do this, but It just update ones, would you tell me how to update the
widget
Mihai Dumitrache wrote:
> Hello,
> I am trying to build a service on android that receives broadcast
> events about some changes in the system. Right now i am trying to
> figure out how to receive events about what activity is currently
> running in the foreground. I was thinking that maybe android
Hello Again!
I realized much to late after posting, I neglected to mention I have no
problems with the current build process and can insert the execution of the
CPP on my own. I only wanted to add to the discussion legitimate reasons for
its use.
Steven Gores-Todd
On Sat, Jun 5, 2010 at 4:14 A
Hello,
I'm fairly late to this thread. I join it now that it seems it has
mostly devolved into the discussion of how useful conditional
compiling is. In general I do not have the luxury of a build
environment with a modern IDE. Thus, the ability to use the CPP and
#include is invaluable. I'd rathe
thanks your help.
i had rebooted many times,even delete the MMTimerWidget.java ,the layout
files and rebuild again.but it not be useful.
I will try other methods,May be I can find the solutions.
--
Sometime write some code
Interest in Android
Wu Zejun
在 2010年6月5日 下午3:12,Bo
Hello,
I am trying to build a service on android that receives broadcast
events about some changes in the system. Right now i am trying to
figure out how to receive events about what activity is currently
running in the foreground. I was thinking that maybe android sends a
broadcast event with the
I'm not sure exactly what the "process is bad" error message means.
I've seen it, but it hasn't been a persistent problem. Maybe someone
else here knows?
Have you tried rebooting your device? That's fixed the problem for me
and others.
Another possibility is this:
http://osdir.com/ml/AndroidDev
79 matches
Mail list logo