[android-developers] Re: How to create blur surface from android.view.Surface?

2009-01-23 Thread Dianne Hackborn
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

[android-developers] Dial a USSD code

2009-01-23 Thread sabdart
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 #.

[android-developers] Re: Porting JMF - Native source code to android based

2009-01-23 Thread Paranoia
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 (

[android-developers] Re: Emulator's /dev/ttyS0

2009-01-23 Thread David Turner
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

[android-developers] Help!!!! How do I delete sms from inbox?

2009-01-23 Thread ipeg . student
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

[android-developers] unable to delete sms from inbox

2009-01-23 Thread ipeg . student
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

[android-developers] Re: automatic start using Alaram Manager problem

2009-01-23 Thread Honest
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

[android-developers] java.net.SocketException: unknown error - and yes, I have got permission.INTERNET set

2009-01-23 Thread Simon Brooke
[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

[android-developers] Re: Activity.showDialog/dismissDialog BUG

2009-01-23 Thread blindfold
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

[android-developers] web view scroll bar effect

2009-01-23 Thread saagar.par...@gmail.com
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

[android-developers] Loading a large list of contacts into a ListAdapter - making it responsive

2009-01-23 Thread Miguel Paraz
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

[android-developers] Re: Preferences not saved *sometimes*

2009-01-23 Thread A T
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

[android-developers] Webview's scroll bar

2009-01-23 Thread saagar.par...@gmail.com
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

[android-developers] Re: String resource issue

2009-01-23 Thread Sena Gbeckor-Kove
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

[android-developers] Re: how do i set bank information for receiving 70% rev?

2009-01-23 Thread Sena Gbeckor-Kove
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

[android-developers] Re: RecentCallsListActivity: adding a contextual menu extra entry

2009-01-23 Thread elDoudou
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 --~--~-~--~~~-

[android-developers] Time stamp in contacts.db

2009-01-23 Thread aditya marella
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

[android-developers] Camera.java

2009-01-23 Thread ANDREA P
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

[android-developers] Re: two threads, the main closes the DB but the second is still running and need to use the DB!

2009-01-23 Thread Mark Murphy
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

[android-developers] Re: start Activity without Manifest

2009-01-23 Thread Mark Murphy
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 --

[android-developers] Re: Preferences not saved *sometimes*

2009-01-23 Thread android_soft
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

[android-developers] Re: android.hardware.Camera - JPEG image of correct size but always black

2009-01-23 Thread Pascal Merle
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

[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-01-23 Thread moontain
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 >

[android-developers] Re: Screen Orientation change performance Question

2009-01-23 Thread android_soft
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

[android-developers] When does my thread die?

2009-01-23 Thread g1bb
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

[android-developers] Question on differing permission definitions

2009-01-23 Thread Peli
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

[android-developers] how to create the object of intentfilter

2009-01-23 Thread Honest
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

[android-developers] When the dev phone will be available in Greece

2009-01-23 Thread tasos.klei...@gmail.com
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

[android-developers] The issue in sendTextMessage

2009-01-23 Thread Stanley.lei
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

[android-developers] Activity Issue on G1 phone

2009-01-23 Thread Stanley.lei
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,

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread Mark Murphy
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

[android-developers] Re: When does my thread die?

2009-01-23 Thread Torgny
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

[android-developers] Re: When does my thread die?

2009-01-23 Thread g1bb
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

[android-developers] Developer looking for project to join

2009-01-23 Thread DanAtAndroid
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

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread Stanley.lei
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

[android-developers] Re: Developer looking for project to join

2009-01-23 Thread Mark Murphy
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

[android-developers] I don't have the phone, how can I read reviews?

2009-01-23 Thread novice
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

[android-developers] File permission issue

2009-01-23 Thread corjuela
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

[android-developers] WiFi service in emulator

2009-01-23 Thread corjuela
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

[android-developers] Re: Documentation of MediaPlayer error codes

2009-01-23 Thread Allan Beaufour
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 --~--~-~--~~--

[android-developers] Re: Loading a large list of contacts into a ListAdapter - making it responsive

2009-01-23 Thread Romain Guy
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

[android-developers] Re: Preferences not saved *sometimes*

2009-01-23 Thread A T
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)

[android-developers] Re: Preferences not saved *sometimes*

2009-01-23 Thread A 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

[android-developers] Re: how do i set bank information for receiving 70% rev?

2009-01-23 Thread Sundog
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

[android-developers] Re: Preferences not saved *sometimes*

2009-01-23 Thread Sundog
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

[android-developers] Re: RecentCallsListActivity: adding a contextual menu extra entry

2009-01-23 Thread A T
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

[android-developers] Re: android.hardware.Camera - JPEG image of correct size but always black

2009-01-23 Thread Dave Sparks
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

[android-developers] Re: Camera.java

2009-01-23 Thread Dave Sparks
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

[android-developers] Re: Documentation of MediaPlayer error codes

2009-01-23 Thread Dave Sparks
-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

[android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-01-23 Thread ad
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

[android-developers] Looking for Accelerometer Example

2009-01-23 Thread kwilliaa
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. --~--~-~--~~---

[android-developers] What about the Hebrew / Arabic

2009-01-23 Thread RTX
i know there are no too many Hebrew speakers in compare to Chinese but i Arabic is very common around the world please share a dissent answer with us since we cannot enjoy the android as we would like to when is it planned to be released ? or maybe we can compile it by ourselves ? any hint would

[android-developers] Updated app not showing up in Market's "by date" sorting?

2009-01-23 Thread Sean E. Russell
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 Mark

[android-developers] How to build recovery Image separately

2009-01-23 Thread Jay
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 android-developers@googlegro

[android-developers] Necessity of Map API Key

2009-01-23 Thread KRC
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 --~--~-~--~~~---~--~

[android-developers] Changing IMAP

2009-01-23 Thread nas061...@utdallas.edu
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 la

[android-developers] How to retrieve balance in G1

2009-01-23 Thread skywalker
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"

[android-developers] Generating path for R.java

2009-01-23 Thread A.Muni Reddy
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 th

[android-developers] Marketplace Questions

2009-01-23 Thread radiolistener
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

[android-developers] Re: SaxParser with POST to URL

2009-01-23 Thread Greg Krimer
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 H

[android-developers] Re: SaxParser with POST to URL

2009-01-23 Thread Greg Krimer
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 H

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread James Patillo
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. -Orig

[android-developers] Re: When does my thread die?

2009-01-23 Thread James Patillo
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

[android-developers] Re: android.hardware.Camera - JPEG image of correct size but always black

2009-01-23 Thread Dianne Hackborn
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 bec

[android-developers] Re: Marketplace Questions

2009-01-23 Thread Sundog
"Is there some sort of ... e-mail that Google responds to? " Heh. > 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 know that the Market Entry is updated? No. I did it with an "update"

[android-developers] Re: When does my thread die?

2009-01-23 Thread Dianne Hackborn
On Fri, Jan 23, 2009 at 7:47 AM, g1bb 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 > activity should most likely prevent this. Any ideas? DO NOT DO THAT. Please read this: http://code.goog

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread cindy
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, th

[android-developers] Re: how to create the object of intentfilter

2009-01-23 Thread Dianne Hackborn
There are lots of examples of using the AlarmManager in ApiDemos, including ones that use . 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 isn't ru

[android-developers] Re: Looking for Accelerometer Example

2009-01-23 Thread Reto Meier
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 exampl

[android-developers] Re: Question on differing permission definitions

2009-01-23 Thread Dianne Hackborn
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 wrote: > > What happens if 2 application

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread Stanley.lei
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

[android-developers] Re: RecentCallsListActivity: adding a contextual menu extra entry

2009-01-23 Thread elDoudou
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 uns

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-01-23 Thread Mark K
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 b

[android-developers] Android Market not up to date in all places? Bug?

2009-01-23 Thread focuser
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 an

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread James Patillo
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 f

[android-developers] Re: Question on differing permission definitions

2009-01-23 Thread Peli
But if I create a public permission in my namespace, and a third party application wants to use this permission, they would have to use my namespace for the permission. Now the user first installs the third party application. Then they'd better include the definition of my permission with their a

[android-developers] Re: When does my thread die?

2009-01-23 Thread g1bb
Thanks Dianne. On Jan 23, 10:45 am, Dianne Hackborn wrote: > On Fri, Jan 23, 2009 at 7:47 AM, g1bb 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 > > activity should most likely prevent

[android-developers] Re: Question on differing permission definitions

2009-01-23 Thread Dianne Hackborn
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 that,

[android-developers] Re: Eclipse problem with new projects

2009-01-23 Thread Nmix
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 Ja

[android-developers] Re: Looking for Accelerometer Example

2009-01-23 Thread Dianne Hackborn
ApiDemos has an example in OS -> Sensors On Thu, Jan 22, 2009 at 9:52 PM, kwilliaa 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 until I understand it

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread cindy
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" wrote: > Yeah, threads are particularly fun to deal with in Android. > > --

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread James Patillo
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, 20

[android-developers] UI question: TrueType Font rendering bug

2009-01-23 Thread j
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 stil

[android-developers] Re: UI question: TrueType Font rendering bug

2009-01-23 Thread j
This could be a problem with the custom TTF font itself. On Jan 23, 10:53 am, j 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 how I can get

[android-developers] Re: Changing IMAP

2009-01-23 Thread Andrew Stadler
Thanks for looking into this problem and making suggestions. However, can we please move this to android-platform, because that is a better forum for discussion of changes & work on the platform and the platform apps. We're ramping up on accepting changes (slowly, but surely) and patches are wel

[android-developers] Re: How to build recovery Image separately

2009-01-23 Thread Andrew Stadler
Jay- Please move this discussion to android-platform or android-porting. Thanks! Thanks, Andy On Fri, Jan 23, 2009 at 7:31 AM, Jay wrote: > > Hello. > > I want to build recovery image. how can i compile this. plz help me > > > > --~--~-~--~~~---~--~~ You rece

[android-developers] How to receive connectivity change notifications?

2009-01-23 Thread Kuba Lipiński
Hello, I would like my service to be started when the phone is connected to the Internet. I created a class MyReciever which extends BroadcastReceiver and starts my service when onReceive is called with intent android.net.conn.CONNECTIVITY_CHANGE as parameter. I added following lines to my appl

[android-developers] Re: start Activity without Manifest

2009-01-23 Thread Andrew Stadler
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 wrote: > > AlexKar wrote: >> Can I launch unregistered Activity directly from my provider? > > No. Any Ac

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread cindy
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" wrote: > Well, you can probably save the state of the th

[android-developers] Re: How to deploy large DB with my APK

2009-01-23 Thread Odessa Silverberg
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 wrote: > OK, I found a thread dealing with this option ("Including SQLite > database with application") > --~--~-~--~~~---~--~~ You

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread cindy
Pretty hard to write. Does anyone know a better and simple way to implememnt it? Thanks! Cindy On Jan 23, 11:22 am, cindy 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 that it could n

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread Dianne Hackborn
There are two reasons for this: 1. Both screen rotation and keyboard shown/hidden are configuration changes, which means that after the state changes the application's resources can have any arbitrary new values -- anything from specific strings (for ex in a particular language you may need a abbr

[android-developers] Developer Available

2009-01-23 Thread John Lauricella
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 wh

[android-developers] Re: Updated app not showing up in Market's "by date" sorting?

2009-01-23 Thread wataru
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" wrote: > Has anybody else encountered this? > > I've

[android-developers] Re: Changing IMAP

2009-01-23 Thread nas061...@utdallas.edu
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, 1:

[android-developers] Re: how to remove the image displayed in ImageView

2009-01-23 Thread mathiastck
You could try setImageBitmap passing a null. On Jan 22, 9:31 pm, cindy wrote: > I could not find any API to remove the image displayed in ImageVIew. > Help! > > On Jan 22, 11:16 am, cindy wrote: > > > Hi > > > How can we removed image displayed in Imageview? > > > Thanks! > > > Cindy > > --~--

[android-developers] Re: I don't have the phone, how can I read reviews?

2009-01-23 Thread mathiastck
http://www.cyrket.com/ On Jan 23, 8:02 am, novice wrote: > 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 --~--~-~--~~~---~--~-

[android-developers] Re: how to remove the image displayed in ImageView

2009-01-23 Thread Sundog
Haven't tried SetImageBitmap to null, but I know SetImageResource to null does not work. I've been meaning to ask this question, too. On Jan 23, 1:28 pm, mathiastck wrote: > You could try  setImageBitmap passing a null. > > On Jan 22, 9:31 pm, cindy wrote: > > > > > I could not find any API to

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread James Patillo
Excellent, thanks for the explanation Dianne. From: Dianne Hackborn [mailto:hack...@android.com] Sent: Friday, January 23, 2009 2:07 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: Activity Issue on G1 phone There are two reasons for this: 1. Both screen rotat

[android-developers] Re: Updated app not showing up in Market's "by date" sorting?

2009-01-23 Thread Sundog
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 wrote: > 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 mean

  1   2   >