Sorry this is not available to applications. You can use this indirectly by
setting the flag on your window to blur the screen behind it.
On Thu, Jan 22, 2009 at 3:04 PM, Max R. maxtor2...@gmail.com wrote:
Hi, how do I create blur surface from android.view.Surface?
I found this flag but
Hi,
When I dial a divert number directly from the handset it works.
For example: **004*+668190099# sets up my call forwarding to the
number +668190099
However, when I try to do the same thing from within an application I
get a problem. The number displayed in the dialer is missing the
ending #.
hi, can you tell me when android will publish it?
On Jan 23, 3:48 pm, Dave Sparks davidspa...@android.com wrote:
We do not support native code on Android at this time, but we have
plans to publish a native SDK soon.
On Jan 22, 2:03 am, MRK infoto...@gmail.com wrote:
I am creating an
I need to know the code for deleting an SMS from the inbox.
Please help!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I am trying to delete sms from inbox
getContentResolver().delete(Uri.parse(content://sms/conversations/
9), null, null);
the above statement does not work. gives error.
Please help me
--~--~-~--~~~---~--~~
You received this message because you are
I hope some one will reply me as early as possible.
--~--~-~--~~~---~--~~
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
[Right! I've fixed this myself, solution at the bottom - but I'm
posting anyway in case anyone else is struggling with the same
thing...]
OK, I admit I'm new to Android, and could be making silly mistakes.
I'm trying to do a simple XML remote procedure call using the
org.xmlrpc.android library.
Not sure if it is related to your problem, but I'm reminded of the
progress dialog problem discussed earlier at
http://groups.google.com/group/android-developers/browse_thread/thread/1211b385358857b9/
On Jan 22, 11:30 pm, Stoyan Damov stoyan.da...@gmail.com wrote:
Hi guys,
...
Has anyone
Hello android developers,
in my web view when i set scrollbars to none..it still shows the white
track ..webview is a child of scrollview.i need a transparent track
for webview..what should i do now???..please help
--~--~-~--~~~---~--~~
You received this message
Hi,
I need to load Contacts.Phones.CONTENT_URI and
Contacts.ContactMethods.CONTENT_EMAIL_URI into a ListActivity.
Since these are separate Content URIs, I have two separate cursors and
can't construct a SimpleCursorAdapter for use in the ListActivity.
The problem is that I have more than a
I'll give that a try. Will that really change anything, though? The
variables shouldn't change, especialy if the app is in focus. And right now
I save them onResume and onPause.
On Thu, Jan 22, 2009 at 5:54 PM, Sundog sunns...@gmail.com wrote:
Trying to post this again... Can you save your
I need to change webview's scrollbar color..how can I do that??
Changing it from xml does not work..
please help..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
I'm not sure I understand what you mean. Do you want multiple string
resource files or do you want them totally external, ie downloaded?
S
On 22 Jan 2009, at 07:38, 川何 wrote:
Hi, All
In Android, resources are packaged into each .apk file. Now I'd
like separate string resources with
There is currently no way to charge for apps. It's coming this quarter
according to Google.
S
On 22 Jan 2009, at 19:42, kom wrote:
I am about to pay $25 and set up my android market account by google
checkout/credit card. can anyone tell me what i need after that?
my google checkout
Sorry to insist, but we thought that a very benefit of Android is to
re-use other Activities via Intents. Any one has a hint, on how to add
extra menu entry to the built-in Contacts Android application? Thank
you for your understanding.
Cheers, Édouard
Hello Everyone,
Is there a way know all the contacts added/edited/deleted from the
contacts.db in a certain time interval?
I don't see any timestamp column in the people table and although the
timestamp is being populated into the voice_dialer_timestamp table(the last
TRIGGER does this) for some
There is Camera application in Android Emulotor...
The application code is Camera.java but I don't know where is it ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
polo777 wrote:
Dianne,
Thanks a lot for your answers. Really helpful!
Another question, just to make sure I understood what you meant:
The main UI thread isn't destroyed. Well, it is destroyed when the process
is killed, and at that point it doesn't matter because the entire process
AlexKar wrote:
Can I launch unregistered Activity directly from my provider?
No. Any Activity class that is not listed in AndroidManifest.xml file
cannot be used as an Activity by the Android framework, AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden --
Well ,not sure if this will help, since there's no code snippetbut
here goes
1. You can hold on to the SharedPreferences.Editor object...
2. edit as much as you want
3. In OnPause(), go ahead and commit the editor ...
Though I prefer saving the edits as they change...
On Jan 23, 5:13
Yes, that would be great.
I have been able to test my app running in foreground. In background
will be much better. It sometimes just needs to take a snapshot so
there is no problem with the battery.
When implementing you have to take care about the locking mechanism.
As you know the camera can
Does anybody have any clues on how to fix this issue?
2009/1/21 moontain chen.worksp...@gmail.com
Hi,
I checked out cupcake branch yesterday and made the full build and sdk
successfully, and I also built the ADT 0.9 with the command
I add the following attribute to an activity tag in the manifest to
handle orientation changes. You may want to check other events you
want to handle.
android:configChanges=orientation
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hello,
I've created an app that functions as a countdown timer via a thread,
a wakelock, and a handler back to my activity. My question is, what
will cause my thread to die, or app to not be running in memory
anymore? I've had this happen once, and can't seem to recreate it
again.
Thanks in
What happens if 2 applications (one that offers a permission, and one
that uses it), define a permission in different ways?
Application A:
permission android:name=xxx.MYPERMISSION... /
uses-permission android:name=xxx.MYPERMISSION.../
activity permission=xxx.MYPERMISSION .../
Application B:
I tried to use AlaramManager . First i used receiver in the manifest
file but it is not working well. now i want to use registerReceiver
(). But can some one please tell me how can i use it. It requires the
paramiter IntentFilter and BroadcastReceiver. Can some one please
tell me how can i
I currently develop MonolithAndroid, a 3D game that uses openGL/ES. I
develop my application on the emulator, but users that tried my
application have experienced problems, like crashes and black screens
not replicated on my emulator setup. Of course, the solution to this
problem is to test my
Hi all,
I am trying to implement an application to send multiple messages one
by one using the API function sendTextMessage. As described in SDK
document, I created two PendingIntent as the last parameters:
sentIntent and deliveryIntent to send back which message has been sent
or delivered. But
Hi all,
I met a very strange issue when I tested my application on G1 phone.
As usual method, I started a thread in an activity, and stopped the
thread in the onDestroy method. But to my surprise, when I tried to
slide down the keypad, the onDestroy method was called and the thread
was stopped,
Stanley.lei wrote:
Hi all,
I met a very strange issue when I tested my application on G1 phone.
As usual method, I started a thread in an activity, and stopped the
thread in the onDestroy method. But to my surprise, when I tried to
slide down the keypad, the onDestroy method was called
Your application background process might get killed if you run
another application that takes up a lot of memory, for instance the
browser with several windows. As far as I understand it, the
application in the foreground takes priority as far as memory and
processing power goes over services
I realized this right after I posted, by running a bunch of other apps
while my app was still running. It seems like 'setPersistent' on the
activity should most likely prevent this. Any ideas?
Thanks again.
On Jan 23, 8:36 am, Torgny torgny.bj...@gmail.com wrote:
Your application background
Hello, my name is Dan and I'm looking for an open source android
project to join. I've developed extremely basic android apps for the
emulator, but I am, or was, a full time java developer working on web
data gathering technology. I will be unemployed (planned) for the next
few months and would
It's so interesting!
Thanks
On Jan 23, 11:21 pm, Mark Murphy mmur...@commonsware.com wrote:
Stanley.lei wrote:
Hi all,
I met a very strange issue when I tested my application on G1 phone.
As usual method, I started a thread in an activity, and stopped the
thread in the onDestroy
DanAtAndroid wrote:
Hello, my name is Dan and I'm looking for an open source android
project to join. I've developed extremely basic android apps for the
emulator, but I am, or was, a full time java developer working on web
data gathering technology. I will be unemployed (planned) for the
Hello all,
I posted a demo this morning, I got 2 downloads and 7 reviews (I don't
know how thats possible) but how can I read the reviews if you don't
have the phone?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
It is possible to use the wifi service with complete funcionality in
the emulator or it only works in the device.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
On 20 Jan., 18:22, Dave Sparks davidspa...@android.com wrote:
We are working on improving media player error codes for the next
major SDK release.
Cool. Could you reveal what some of them are though until then? I'm
getting -1 and -4 a lot, and -44 iirc occasionally.
--
Allan Beaufour
Hmm. I'm going to feel stupid if this is the problem: I'm reinstantiating
the preferences object and its editor every time I load them and save/commit
them (i.e. within the onResume and onPause methods). Is that not a good idea
(aside from efficiency.. I mean in terms of the prefs being
Then again it doesn't make sense that the prefs remain persistent on my
phone and presumably a lot of other people's phones, otherwise I would be
getting more reports of this bug...
On Fri, Jan 23, 2009 at 11:17 AM, A T somecs...@gmail.com wrote:
Hmm. I'm going to feel stupid if this is the
The promise, reiterated Dec. 31, was early first quarter which by my
reckoning ends the first of February, after which it's mid first
quarter. Just joking, but I really hope it's soon, I'm getting a LOT
of complaints.
On Jan 23, 5:43 am, Sena Gbeckor-Kove s...@imkon.com wrote:
There is
I don't think that's a problem, I'm doing the same.
On Jan 23, 9:17 am, A T somecs...@gmail.com wrote:
Hmm. I'm going to feel stupid if this is the problem: I'm reinstantiating
the preferences object and its editor every time I load them and save/commit
them (i.e. within the onResume and
I believe this exact question was asked recently and it was said that this
is not possible...
I agree it would be nice, though.
On Fri, Jan 23, 2009 at 7:55 AM, elDoudou the.edouard.merc...@gmail.comwrote:
Sorry to insist, but we thought that a very benefit of Android is to
re-use other
The camera service has no concept of foreground activity. It simply
gives the camera to the app that requests it. If another app currently
owns the camera, it is notified when the camera is stolen.
I don't know all the rationale for that design decision. It's probably
not the way I would have
I've problem with memory of the bitmaps,
I'm creating a lot of bitmaps and then releasing them by recycle() and
after many retries I get:
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
How to get rid of this???
The problem is that even if i close the activity (call onDestroy()),
in
Where can I find a simple example application that uses the
Accelerometer Sensor?
I've seen the Open Intents applications, but I'd rather use the raw
Android API, at least until I understand it a little better. I'm
surprised at the lack of documentation.
thanks.
Has anybody else encountered this?
I've updated (uploaded a new version) of my app, TimeTracker, twice in
the past couple of months, and in both cases, the new upload has not
shown up in the by date sorted list of the Market app. When I
search for the app, I see the correct version in the
Hello.
I want to build recovery image. how can i compile this. plz help me
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I have developed one sample application using google map api.
I have created MAP API key for my machine. Now if I want to give it to
android handset users
then do they need to create their map api key also.
Please help me out.
Thanks
KRC
This code is found in:
src/com/android/email/mail/store/ImapStore.java
Okay, so I have a beef with the E-mail program provided by default and
I see room for change. My problem is that they use the IMAP command
LIST to list each folder, the problem with this is that, if you are
like me, with a
Hi !
To inquire a balance i have to dial #646# and it returns dialog
screen with balance information.
Is there any way to access this information.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Is it possible to generate R.java in any package (Where ever we want
to generate) or it should follow the package path specified in the
AndroidManifest.xml only...
Regards
Muni Reddy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I got quite a few questions about the Marketplace. Is there some sort
of source for answers on this, or some e-mail that Google responds to?
My biggest question is, I released my second version of my program
Radio's Diabetes Companion, is there any way to contact my current
users and let them
Hi Mark, if you are asking how to make a POST request then I would
have a look at the the java.net.URL and java.net.HttpURLConnection
classes.
Here is the gist of it:
URL u = new URL(http://your.remote.api...;);
HttpURLConnection http = (HttpURLConnection) u.openConnection();//
create an
I think what happens is that the activity's state is saved, the activity is
destroyed, and then it is recreated with its saved state. This is the same
thing that happens when the home button is pressed and the app is reopened.
This just what I have come to understand, and may be wrong.
Your thread will likely be killed in a bad way in onDestroy(). You should
therefore kill it yourself, for example in either onStop() or onDestroy().
Apps are killed, for the most part and from what I can tell when the back
button is used to exit the app, or the Home button is used and the system
The locking is done that way because as you move through the UI the next
activity receiving focus should be the one to get the camera, as soon as it
comes up. Otherwise if you switch from one activity using the camera
directly to another using the camera, the new one won't be able to access it
Then android's implementation has problem.
For example, if my application needs to create account, of cause, the
key board will open first. After user typed in user name and password,
then he clickes the create button.Request sends to server in a
thread. After that, he closes the keyboard, the
There are lots of examples of using the AlarmManager in ApiDemos, including
ones that use receiver. I suggest looking there.
Fwiw, using registerReceiver() with the alarm manager is generally pretty
pointless, since the main use of the alarm manager is to ensure your app
gets launched even if it
Hi Kwilliaa,
I've started an open source project that uses the accelerometer to
dispay a three axis artificial horizon here:
http://code.google.com/p/androidcompass/
You can download the finished product from the Market. It's called
'New Horizons'.
It's based on some detailed worked
Yes, the first app gets the permission.
Basically don't do this. That is why permission names, like so many of
these things, specify to use fully-scoped names, so you can ensure that no
other app conflicts with you.
On Fri, Jan 23, 2009 at 6:21 AM, Peli peli0...@googlemail.com wrote:
What
I rather agree with you!
In fact, I could not understand why Google designs like this. The
keyboard action could impact the rotation, but why changing rotation
impacts the activity? In my case, the thread is destroyed, which will
destroy all tasks in the thread. In worst case, the user will have
Thank you for taking the time to answer, even for bad news ;-)
--~--~-~--~~~---~--~~
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
It seems that there my be a bug, memory leak with the BitmapFactory
when decoding, and reading bitmaps from file. I, and many other
developers have noticed similar problems to what you describe. I
haven't been able to get any official confirmation that this is a
known bug, but it looks like a
Hi,
We have uploaded an update to our app on Android Market several days
ago, but some users complaining about no new updates found. It looks
like it takes some time for Android Market to be fully up-to-date in
all places.
Just wondering if any of you have encountered this problem? Is there
Yeah, threads are particularly fun to deal with in Android.
-Original Message-
From: Stanley.lei [mailto:xiaofeng.lei...@gmail.com]
Sent: Friday, January 23, 2009 11:52 AM
To: Android Developers
Subject: [android-developers] Re: Activity Issue on G1 phone
I rather agree with you!
In
Thanks Dianne.
On Jan 23, 10:45 am, Dianne Hackborn hack...@android.com wrote:
On Fri, Jan 23, 2009 at 7:47 AM, g1bb corymgibb...@gmail.com wrote:
I realized this right after I posted, by running a bunch of other apps
while my app was still running. It seems like 'setPersistent' on the
Yeah your app must first be installed for them to ever be granted that
permission. Otherwise, at the time other app is installed, the system
doesn't know anything about that permission, so it can't tell the user about
it in any way so it just can not grant it. If your app is installed after
I created a new Eclipse workspace and that seems to work fine. So now
it looks like the old one is corrupt. I suppose I can go through the
tedium of moving over all my Android projects to the fresh workspace,
but does anyone have any idea how to fix an Eclipse workspace with
this problem?
On
ApiDemos has an example in OS - Sensors
On Thu, Jan 22, 2009 at 9:52 PM, kwilliaa kevin.willi...@gmail.com wrote:
Where can I find a simple example application that uses the
Accelerometer Sensor?
I've seen the Open Intents applications, but I'd rather use the raw
Android API, at least
should this be considered as a bug for android application. Usally,
when people use keyboard, they are sending some information to server.
After that UI will be updated in call back.
On Jan 23, 10:20 am, James Patillo ja...@patillo.org wrote:
Yeah, threads are particularly fun to deal with in
Well, you can probably save the state of the thread when the activity is
destroyed then open a new thread when the activity is resumed/recreated and
restore the previous thread's state to the new one.
-Original Message-
From: cindy [mailto:ypu01...@yahoo.com]
Sent: Friday, January 23,
I am trying a custom TTF font in my app. I notice that the left ~4
pixels of the leftmost character (certain characters only) is cut off
in either a TextView or EditText. Does anyone know how I can get
around this problem?
I tried textview.setPadding(10, 2, 2, 2) but the leftmost character
This could be a problem with the custom TTF font itself.
On Jan 23, 10:53 am, j jac...@gmail.com wrote:
I am trying a custom TTF font in my app. I notice that the left ~4
pixels of the leftmost character (certain characters only) is cut off
in either a TextView or EditText. Does anyone know
Is there a specific reason you don't want to put your Activity in the
manifest? Understanding that may help provide a better suggestion for
you.
On Fri, Jan 23, 2009 at 5:54 AM, Mark Murphy mmur...@commonsware.com wrote:
AlexKar wrote:
Can I launch unregistered Activity directly from my
Try that. If I send it again, in case case I will get error from
server the user already exists. The request has sent to server.
Problem is that it could not update UI since it is already destroyed.
On Jan 23, 10:50 am, James Patillo ja...@patillo.org wrote:
Well, you can probably save the
How about a link to the thread, so other people who having same
problem can read the solution too?
On Jan 22, 11:32 pm, Svend Erix svenderiknyga...@gmail.com wrote:
OK, I found a thread dealing with this option (Including SQLite
database with application)
Pretty hard to write. Does anyone know a better and simple way to
implememnt it?
Thanks!
Cindy
On Jan 23, 11:22 am, cindy ypu01...@yahoo.com wrote:
Try that. If I send it again, in case case I will get error from
server the user already exists. The request has sent to server.
Problem is
For those of you cruising this group looking for developers, I now have a short
window to take proposals for Android development for pay.
If you are serious about needing some Android coding, whether a fully
functional application or just some help on a large project, inquire and let me
know
I believe that is the correct behavior.
If you update application,
it doesn't push it on top of the list.
Probably by date, it means the date you initially
published your application to Android Market.
On Jan 23, 7:56 am, Sean E. Russell seaneruss...@gmail.com wrote:
Has anybody else
Ask this question over at the android-platforms, sorry I didn't move
it there first, but I hadn't seen that it existed...
and the problem is not with the IMAP protcal, but much rather with the
command issued by the client, using LIST instead of LSUB. LSUb is part
of the IMAPv4 RFC.
On Jan 23,
You could try setImageBitmap passing a null.
On Jan 22, 9:31 pm, cindy ypu01...@yahoo.com wrote:
I could not find any API to remove the image displayed in ImageVIew.
Help!
On Jan 22, 11:16 am, cindy ypu01...@yahoo.com wrote:
Hi
How can we removed image displayed in Imageview?
That's how it works, yes. Otherwise it would be chaos, everyone
pushing out trivial updates so they can stay on top.
On Jan 23, 1:12 pm, wataru wataru2...@gmail.com wrote:
I believe that is the correct behavior.
If you update application,
it doesn't push it on top of the list.
Probably by
Sorry, Odessa.
I tried to include a link, but I don't know how to do that. So I just
specified the thraed's title in brackets (Including SQLite database
with application)
The full URL is:
HA :-)
Ok I see now :-)
On Jan 23, 10:51 pm, Svend Erix svenderiknyga...@gmail.com wrote:
Sorry, Odessa.
I tried to include a link, but I don't know how to do that. So I just
specified the thraed's title in brackets (Including SQLite database
with application)
The full URL
Finally, for something like a countdown timer, you really might want to
consider using the alarm manager so you don't need to keep your app running
at all while it is in the background. That is the kind of thing a well
behaving Android app will do. To be able to show the remaining time if
On Jan 22, 1:31 pm, Svend Erix svenderiknyga...@gmail.com wrote:
It is important that the application is fully functioning imeediately
after download. The user should not need to do anything further to use
it - so no second downloads.
Why don't you download and then execute the .sql
There's a bunch of discussions about this issue in this forum, just
dig a little and you will find what you need to know.
Also, Romain Guy posted a write-up about un-binding views (and
bitmaps) from activities.
http://android-developers.blogspot.com/2009/01/avoiding-memory-leaks.html
Admittedly,
Has sharing audio via mms been implemented? It works fine with
photos, but when I make an Intent with ACTION_SEND and type audio/*
no activity matches.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Where is the menu for APN settings? The one that you did not see. I
cannot see it either. Thanks.
On Dec 11 2008, 4:08 pm, Logan logan.green...@gmail.com wrote:
Sweet! Thanks - I didn't see the menu button for apn settings.
On Dec 11, 4:02 pm, Jean-Baptiste Queru j...@google.com wrote:
Is there a way to get list of applications installed so as to display
the icon images on my custom home screen. Does Android support iphone
like badge functionality - alerts displayed on application icon? If
no, would it be possible to build something similar in theory.
Thanks.
The PackageManager lets you do this. Look at the home screens sample code
we provide in the SDK for everything you need.
We don't have a concept of badges. If an app wants to get your attention,
it is does through the status bar / notification panel.
On Fri, Jan 23, 2009 at 1:36 PM, Neo
The alarm manager would probably be overkill for that. It might make more
sense to do this in a Service, which holds a partial wake lock to keep
itself running. Note that this will have a noticeably impact on battery
life because you are preventing the CPU from going to sleep, though I can't
Before hackbod and company get here... try android-discuss instead. Unless
you are writing code to fix all that, in which case its probably
android-platform.
On Fri, Jan 23, 2009 at 4:58 PM, derekca derek.cas...@gmail.com wrote:
Hi,
I know you all are swamped, probably overloaded with
Nevermind. Found it. For those who are Menu challenged like
myself, the breadcrumbs are:
Menu - Settings - Wireless Controls - Mobile Networks - Access
Point Names
Then you need to press 'Menu' and 'New APN' with the settings you can
find inside these threads for your carriers. Then press
Videoguy wrote:
Hi
Is it possible to build a GridView object in XML with 3 columns and 4
rows of Image buttons?
It doesn't seem to have similar containment relationship like
LinearLayout or RelativeLayout viewgroups.
GridView is a selection widget, closer in spirit to ListView or Spinner.
derekca wrote:
I know you all are swamped, probably overloaded with requests, but
it's really important that a number of issues get addressed promptly.
This list is for developers working on Android applications. Please post
diatribes like this to [android-discuss].
--
Mark Murphy (a
It would be but to do it correctly it would require new API in the
platform so that any Home screen implementation could use it. This is
something I'd like to have in the platform at some point.
On Fri, Jan 23, 2009 at 3:06 PM, Neo kataria.san...@gmail.com wrote:
Thanks Dianne, the samples app
Not sure what you're trying to accomplish, but you can use
View.setVisibility(View.GONE or View.INVISIBLE) to not display the
image.
On Jan 23, 12:55 pm, Sundog sunns...@gmail.com wrote:
Haven't tried SetImageBitmap to null, but I know SetImageResource to
null does not work.
I've been
So I'm trying to read some fairly large files on the phone in order to
create pretty path overlays on a map and I'm running into an odd issue
that probably has a simple solution.
The file I'm trying to parse through is 1.4M of straight text, and I
get an OOMException when it's around 80% through
1 - 100 of 116 matches
Mail list logo