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 ne
-1 is a general failure that usually comes from somewhere in OpenCore.
Unfortunately a lot errors end up as -1 by the time they bubble up.
-4 is PVMFErrNotSupported, which also seems to be a catch-all that
usually occurs during prepare() and probably means that OpenCore found
something it didn't
If you are looking for the camera application source code, you'll find
it on android.git.kernel.org in the packages/apps project.
On Jan 23, 5:47 am, ANDREA P wrote:
> There is Camera application in Android Emulotor...
>
> The application code is Camera.java but I don't know where is it
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 des
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 wrote:
>
> Sorry to insist, but we thought that a very benefit of Android is to
> re-use other Activities via Intents. Any one
I don't think that's a problem, I'm doing the same.
On Jan 23, 9:17 am, A T 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 onPause methods). Is
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 wrote:
> There is currently no way t
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 wrote:
> Hmm. I'm going to feel stupid if this is the problem: I'm reinsta
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 persistent)
You have to do the query in a background thread yourself. ListActivity
doesn't do any heavy work, only what's needed to fill the screen with
data.
On Fri, Jan 23, 2009 at 3:55 AM, Miguel Paraz wrote:
>
> Hi,
> I need to load Contacts.Phones.CONTENT_URI and
> Contacts.ContactMethods.CONTENT_EMAIL
On 20 Jan., 18:22, Dave Sparks 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
--~--~-~--~~--
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
I'm trying to run from an app a script that it's located in the Data/
data/ directory and i'm having problems setting the exec.
attribute for that file. Is there any trick in the implementation of
the permission method??? or is there anything special at the moment
of creating such file. Thank
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
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
It's so interesting!
Thanks
On Jan 23, 11:21 pm, Mark Murphy 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 method. But to my
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 li
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 wrote:
> Your application background process might get killed
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 and
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 ca
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,
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
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 gam
I tried to use AlaramManager . First i used 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 create the
What happens if 2 applications (one that offers a permission, and one
that uses it), define a permission in different ways?
Application A:
Application B:
How are permissions enforced if the definitions given for the same
permission MYPERMISSION differ in application A and application B?
(i
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 adva
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
Does anybody have any clues on how to fix this issue?
2009/1/21 moontain
> 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
> cupcake/development/tools/eclipse/scripts/build_server.sh on another Linux
>
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
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 pm
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 --
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
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
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
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
--~--~-~--~~~-
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 checko
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 w
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, sen
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 wrote:
>
> Trying to post this again... Can you save your preferences when t
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 thous
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 be
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 wrote:
> Hi guys,
...
> Has anyone experienced that and does
[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. W
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 fr
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 subs
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 android-developers@googlegro
start the emulator with "emulator -qemu -serial "
this will connect /dev/ttyS2 in the emulated system to your host device.
On Thu, Jan 22, 2009 at 11:31 AM, coolio wrote:
>
> Hi,
>
> When I adb shell to emulator, I can see /dev/ttyS0. In my program, I
> can open this device but the device is no
hi, can you tell me when android will publish it?
On Jan 23, 3:48 pm, Dave Sparks 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 wrote:
>
> > I am creating an Android application which uses the JMF (
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 #.
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. wrote:
>
> Hi, how do I create blur surface from android.view.Surface?
>
> I found this flag but there is no construc
101 - 150 of 150 matches
Mail list logo