[android-developers] Re: SDK 2.0 Auto Dim Control?

2009-11-23 Thread Wes
@Dianne: my assumption was that he meant programmatically. Is that available? On Nov 23, 1:08 pm, Dianne Hackborn hack...@android.com wrote: Go to the screen settings and turn it off. On Mon, Nov 23, 2009 at 7:01 AM, Wes wes.beli...@gmail.com wrote: Good question.  I'd like to know too

[android-developers] Re: 2.0 AccountManager - Implementing a new account type with Google, Facebook and Exchange

2009-11-23 Thread Jerry Brady
Dan, My code and yours both work on the Droid, but there are some nasty side-effects. After adding an account with your application (or mine) whenever you visit the Accounts Sync settings screen, the system crashes hard and reboots. 11-23 13:21:34.863: WARN/dalvikvm(1011): threadid=13: thread

[android-developers] binding images from assets to a simpleCursorAdapter

2009-11-23 Thread JasonMP
Hello, I was poking around in the documentation for the simpleCursorAdapter and I read that if the simpleCursorAdapter doesn't identify your images as resources it will assume they are URIs. My question is how do i retrieve the URI for an image placed into the asset folder of my application? --

Re: [android-developers] binding images from assets to a simpleCursorAdapter

2009-11-23 Thread Mark Murphy
JasonMP wrote: I was poking around in the documentation for the simpleCursorAdapter and I read that if the simpleCursorAdapter doesn't identify your images as resources it will assume they are URIs. My question is how do i retrieve the URI for an image placed into the asset folder of my You

[android-developers] Re: ActivityGroup and subactivities Lifetime.

2009-11-23 Thread chentschel
Thanks Dianne. Did you mean that usage of ActivityGroup and childs activities are somehow discouraged.? I had a sort of tabs before (implemented by buttons in layout), but code was ugly and full of switch/case to handle changes to different views/adapters, etc. so I changed to ActivityGroup

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Mihai Fonoage
I see that you already received an answer for this in another thread. On Nov 23, 12:39 pm, JasonMP hyperje...@gmail.com wrote: I implemented a bit of code at the end there before you recycle the bitmap to open a fileoutput stream and write the image to the /data/ data/package/file directory

[android-developers] Re: Programmatically setting the layout_above value

2009-11-23 Thread Becca
Thanks Lior. That did the trick! LayoutParams param = new RelativeLayout.LayoutParams (LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT); param.addRule(RelativeLayout.ABOVE, R.id.footer); getListView().setLayoutParams(param); Becca On Nov 23, 1:32 pm, Lior lior.gon...@gmail.com wrote: Hi

Re: [android-developers] binding images from assets to a simpleCursorAdapter

2009-11-23 Thread Jason Mallet-Prevost
Hi Mark, I am trying it like this: ImageView.setImageUri(Uri.parse(file:///android_asset/image.jpeg)); and its displaying a blank screen. Am I missing something? On Mon, Nov 23, 2009 at 1:52 PM, Mark Murphy mmur...@commonsware.comwrote: JasonMP wrote: I was poking around in the

[android-developers] Re: Encrypting in PHP and Decrypting in Android

2009-11-23 Thread Timothy F
Get a really strong cup of coffee and check out http://java.sun.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html. Use CipherInputStream/OutputStream for encrypting. Not so sure on the PHP side, but http://www.devx.com/webdev/Article/37821 will help you out. On Nov 23, 1:13 pm,

Re: [android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread Rachel Blackman
My Droid has, sadly, spontaneously rebooted on me 4 times so far today, all while in the Gmail app. (Granted, this is the worst it has ever been.) :( I'm running Locale and Google Voice as services, so I suppose one of them might be the culprit... but I sort of doubt that. -- Sent from my Droid

Re: [android-developers] Re: ActivityGroup and subactivities Lifetime.

2009-11-23 Thread Dianne Hackborn
No, I'm just saying that this is implemented by a totally different piece of code than what implements top-level activities (which is only used by a few parts of the standard UI), so adjust your expectations accordingly. On Mon, Nov 23, 2009 at 11:06 AM, chentschel chentsc...@gmail.com wrote:

[android-developers] Looking for bar of button toggles (c.f. Google Maps car/transit/walk directions button)

2009-11-23 Thread jean-guys
We are looking for a UI view that imitates the functionality of the Google Maps directions screen UI control where it allows the user to pick the type of directions allowed, either Car, Transit or Walking. The widgit is essentially three buttons laid out horizontally with rounded corners only on

Re: [android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread Dianne Hackborn
Use adb logcat right after the boot to see in the log why the system crashed. Apps of course should not be able to make this happen, but sometimes there are bugs. Also I thought I heard somewhere that some Droids had memory problems, so you might want to consider seeing about having yours

Re: [android-developers] binding images from assets to a simpleCursorAdapter

2009-11-23 Thread Mark Murphy
Jason Mallet-Prevost wrote: I am trying it like this: ImageView.setImageUri(Uri.parse(file:///android_asset/image.jpeg)); and its displaying a blank screen. Am I missing something? Besides quotes around your string, no, I would have hoped that this would work. Beyond that, I do not know

[android-developers] Re: Prevent full-screen behaviour via the InputMethodManager

2009-11-23 Thread Michael
On Nov 23, 1:09 pm, Dianne Hackborn hack...@android.com wrote: This is up to the input method. Thanks Dianne. Just to clarify, are you saying that the input method manager delegates responsibility to the input method for determining when to go full screen, or are you referring to suppressing the

[android-developers] Am I using startManagingCursor correctly?

2009-11-23 Thread junker37
I have a cursor that I create in onCreate. As soon as I create it, I call startManagingCursor(cursor), however, if I start another activity and then go back to the original activity, all the data is gone. Do I need to do something special to create the cursor? I also download new data in a

Re: [android-developers] Am I using startManagingCursor correctly?

2009-11-23 Thread Mark Murphy
junker37 wrote: I have a cursor that I create in onCreate. As soon as I create it, I call startManagingCursor(cursor), however, if I start another activity and then go back to the original activity, all the data is gone. What kind of Cursor? How do you create it? -- Mark Murphy (a Commons

[android-developers] Re: Raw Audio Capture?

2009-11-23 Thread Steve
Check this out... http://emeadev.blogspot.com/2009/09/raw-audio-manipulation-in-android.html I tested it on my Droid and it will capture audio to a pcm file. On Nov 23, 12:54 pm, Wes wes.beli...@gmail.com wrote: I've read a lot of posts in this group regarding raw audio processing.  Most of

[android-developers] Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
I have built a widget that contains a button and an editable TextView (that behaves like an EditText) much like the native Google Search bar widget. How can I access the text that the user has typed into the TextView? In an Activity I would just use findViewById(), but of course I can't do that in

[android-developers] Re: binding images from assets to a simpleCursorAdapter

2009-11-23 Thread JasonMP
Well then I am probably doing this the wrong way. Essentially what i want to accomplish is for a user to be able to select a picture from the sdcard as an avatar/logo/profile pic/etc and have that image reference stored in my database. Is there an easy way to do this? On Nov 23, 3:05 pm, Mark

[android-developers] Re: Am I using startManagingCursor correctly?

2009-11-23 Thread junker37
An sqlitecursor, I create them like this: Cursor cursor = database.query(table, null, null, null, null, null, null); and Cursor cursor = database.rawQuery(table, null) On Nov 23, 2:47 pm, Mark Murphy mmur...@commonsware.com wrote: junker37 wrote: I have a cursor that I create in onCreate.  

Re: [android-developers] Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Mark Murphy
Susan wrote: I have built a widget that contains a button and an editable TextView (that behaves like an EditText) much like the native Google Search bar widget. How can I access the text that the user has typed into the TextView? In an Activity I would just use findViewById(), but of course

[android-developers] Our app is not visible on market for some devices

2009-11-23 Thread Klaus Kartou
Our app does not show up on the market on HTC Tattoo/Dragon devices. The manifest includes the following: uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/uses-permission uses-permission android:name=android.permission.INTERNET/uses-permission uses-permission

Re: [android-developers] Our app is not visible on market for some devices

2009-11-23 Thread Greg Donald
On Mon, Nov 23, 2009 at 3:10 PM, Klaus Kartou kar...@gmail.com wrote: Our app does not show up on the market on HTC Tattoo/Dragon devices. Copy protection bug. If you disable it your app will probably appear. -- Greg Donald http://destiney.com/ -- You received this message because you are

Re: [android-developers] Re: binding images from assets to a simpleCursorAdapter

2009-11-23 Thread Mark Murphy
JasonMP wrote: Well then I am probably doing this the wrong way. Essentially what i want to accomplish is for a user to be able to select a picture from the sdcard as an avatar/logo/profile pic/etc and have that image reference stored in my database. Is there an easy way to do this? I have

Re: [android-developers] Our app is not visible on market for some devices

2009-11-23 Thread Klaus Kartou
Thank you for your fast response! We havent activated copy protection, so that is not the issue. On Mon, Nov 23, 2009 at 10:11 PM, Greg Donald gdon...@gmail.com wrote: On Mon, Nov 23, 2009 at 3:10 PM, Klaus Kartou kar...@gmail.com wrote: Our app does not show up on the market on HTC

Re: [android-developers] Re: Am I using startManagingCursor correctly?

2009-11-23 Thread Mark Murphy
junker37 wrote: An sqlitecursor, I create them like this: Cursor cursor = database.query(table, null, null, null, null, null, null); and Cursor cursor = database.rawQuery(table, null) That should work fine, then, with startManagingCursor(). The Cursor will be called with requery()

Re: [android-developers] Re: binding images from assets to a simpleCursorAdapter

2009-11-23 Thread Jason Mallet-Prevost
Well I originally was going to take the image, scale it down, and store it in the assets so that the app always had a copy regardless of what happened to the original. But that isnt so important as just being able to get them into my adapter. The documentation for setImageView says that it will

Re: [android-developers] Re: binding images from assets to a simpleCursorAdapter

2009-11-23 Thread Mark Murphy
Jason Mallet-Prevost wrote: Well I originally was going to take the image, scale it down, and store it in the assets so that the app always had a copy regardless of what happened to the original. Note: you cannot modify the assets at runtime. They are stored in the signed-and-sealed APK, just

Re: [android-developers] Re: Prevent full-screen behaviour via the InputMethodManager

2009-11-23 Thread Dianne Hackborn
It is ultimately up to the input method about whether it will be fullscreen. It is only the input method that knows how much space it needs on screen, and thus whether it needs to run in fullscreen mode. On Mon, Nov 23, 2009 at 12:21 PM, Michael mikecg...@gmail.com wrote: On Nov 23, 1:09 pm,

[android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread blindfold
Wow, thanks Michael, I wasn't aware that there were so many reports of Droids crashing, with as I am writing this 222 replies to that single thread https://supportforums.motorola.com/thread/16278 that you refer to. There is a little comfort in that Droids crash also without my app's help, as I

[android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread blindfold
Wow, thanks Michael, I wasn't aware that there were so many reports of Droids crashing, with as I am writing this 222 replies to that single thread https://supportforums.motorola.com/thread/16278 that you refer to. There is a little comfort in that Droids crash also without my app's help, as I

[android-developers] Re: Am I using startManagingCursor correctly?

2009-11-23 Thread junker37
Ah, I am closing the database, because I thought I was getting exceptions if I didn't. I have a method: Cursor getCursor() which opens the database, performs the query, closes the database and returns the cursor. Is that not how I should be doing it? I checked out the examples you sited, but

[android-developers] Re: Reusing intents with notification/pending intents

2009-11-23 Thread jsdf
final int active = countActiveDownloads(); Notification note = new Notification(R.drawable.icon, Downloading +thread.title, System.currentTimeMillis()); PendingIntent i = PendingIntent.getActivity(this, 0, new Intent(DownloadService.this,

Re: [android-developers] Re: Am I using startManagingCursor correctly?

2009-11-23 Thread Mark Murphy
junker37 wrote: Ah, I am closing the database, because I thought I was getting exceptions if I didn't. I have a method: Cursor getCursor() which opens the database, performs the query, closes the database and returns the cursor. Is that not how I should be doing it? No. Open your database

[android-developers] Re: Our app is not visible on market for some devices

2009-11-23 Thread String
According to this thread: http://groups.google.com/group/android-developers/browse_thread/thread/bda3d385db2b44dc/0469bb9246b2170e apps with a manifest permission of CAMERA don't seem to appear on the Market from the Tattoo. No explanation yet of why, or if anyone from HTC/Google is aware of the

[android-developers] Re: Eclipse question

2009-11-23 Thread Tom B
is there a way that im missing here to make an android application with the onclick property because its not there when i start an android project plz help!!! On Nov 18, 9:46 am, kchoi kinam.of.kc...@gmail.com wrote: I created a Blog for using Eclipse for Android programming, though it's on

[android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
Mark, I know EditTexts aren't allowed in Widgets -- I have a TextView, not an EditText. (I say it behaves like an EditText because focusable and editable are set to true.) Additionally, displaying the TextView or editing text works perfectly. The only problem is that I don't know how to access it

Re: [android-developers] Re: Our app is not visible on market for some devices

2009-11-23 Thread Klaus Kartou
This thread is a follow up from that thread. I contacted Google´s market support about this issue, but haven't received a reply... I would really be interested in an official response to this issue. We have many people that complains about not being able to download our app. On Mon, Nov 23, 2009

[android-developers] Re: 2.0 AccountManager - Implementing a new account type with Google, Facebook and Exchange

2009-11-23 Thread Jerry Brady
Just filed a case for this: http://code.google.com/p/android/issues/detail?id=5009 On Nov 23, 1:47 pm, Jerry Brady jerry.br...@gmail.com wrote: Dan, My code and yours both work on the Droid, but there are some nasty side-effects.  After adding an account with your application (or mine)

Re: [android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Mark Murphy
Susan wrote: I know EditTexts aren't allowed in Widgets -- I have a TextView, not an EditText. (I say it behaves like an EditText because focusable and editable are set to true.) Additionally, displaying the TextView or editing text works perfectly. The only problem is that I don't know how

[android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
Wow, that's terrible news! Just to make sure I'm understanding you correctly, you mean that there's no way to, say, change the image in an ImageView or change the color of a Button programmatically? Thanks... On Nov 23, 4:51 pm, Mark Murphy mmur...@commonsware.com wrote: Susan wrote: I know

Re: [android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Mark Murphy
Susan wrote: Just to make sure I'm understanding you correctly, you mean that there's no way to, say, change the image in an ImageView or change the color of a Button programmatically? Sure you can, the same way you set the image in the ImageView or set the color in the Button in the app

[android-developers] Re: Accessing elements of a widget from the AppWidgetProvider

2009-11-23 Thread Susan
Well, bummer. =( That's a distinction I had never considered. Thanks for taking the time to answer! On Nov 23, 5:17 pm, Mark Murphy mmur...@commonsware.com wrote: Susan wrote: Just to make sure I'm understanding you correctly, you mean that there's no way to, say, change the image in an

[android-developers] Re: HTC Hero, missing applications from Market after firmware update

2009-11-23 Thread String
After getting reports as well of my own paid (and hence copy- protected) app being unavailable to Hero and Eris users, I've done some more investigation on this issue. I'm 95% sure now that the issue is that these handsets are stuck at Android v1.5, which uses the old (pre-donut) Market client.

Re: [android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-11-23 Thread Rachel Blackman
On Nov 20, 2009, at 6:09 PM, Padma wrote: Rachel: My understanding is that the contact Id in the Phone/Email table actually refers to the _ID in the ContactsContract.RawContacts table. You might want to first get the list of all Raw Contacts associated with the particular contact id and

Re: [android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread Rachel Blackman
On Nov 23, 2009, at 12:04 PM, Dianne Hackborn wrote: Use adb logcat right after the boot to see in the log why the system crashed. Apps of course should not be able to make this happen, but sometimes there are bugs. Unfortunately, I was out and about when the crashes happened, so had no

Re: [android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread Mark Murphy
Rachel Blackman wrote: On Nov 23, 2009, at 12:04 PM, Dianne Hackborn wrote: Use adb logcat right after the boot to see in the log why the system crashed. Apps of course should not be able to make this happen, but sometimes there are bugs. Unfortunately, I was out and about when the

[android-developers] Re: Am I using startManagingCursor correctly?

2009-11-23 Thread junker37
Thanks, that's how I originally had it. I must have misinterpreted the exceptions I was getting. It's working now. Thanks! On Nov 23, 4:15 pm, Mark Murphy mmur...@commonsware.com wrote: junker37 wrote: Ah, I am closing the database, because I thought I was getting exceptions if I didn't.

[android-developers] Re: Loading Object Hierarchy

2009-11-23 Thread matt parker
So, in case anyone encounters this issue, it turns out you can do this: int resourceId = (getResources().getIdentifier(my image name (no extension), drawable, my package name)); and then use the resourceId as normal. So, you can just put the name of the resource into the xml. On Nov 19, 11:07 

[android-developers] How to tell if we were force killed for memory, in onCreate()?

2009-11-23 Thread Mark Wyszomierski
Hi, If I follow the lifecycle docs correctly, an Activity won't get notified if it's force killed for memory? Example: In my app, I create a maps driving intent. I can see in the log output say something like: I/ActivityManager( 76): Low Memory: No more background processes When the user

[android-developers] sim cards and g1

2009-11-23 Thread Kenneth Adam Miller
I just bought a g1 phone and it says that the wireless (as in wifi) signal that I'm getting is very poor, but I'm connected to it with my laptop. is a sim card required to do anything more than wirelessly connect to satellites? -- You received this message because you are subscribed to the

Re: [android-developers] Re: Loading Object Hierarchy

2009-11-23 Thread Mark Murphy
matt parker wrote: So, in case anyone encounters this issue, it turns out you can do this: int resourceId = (getResources().getIdentifier(my image name (no extension), drawable, my package name)); and then use the resourceId as normal. So, you can just put the name of the resource into

Re: [android-developers] How to tell if we were force killed for memory, in onCreate()?

2009-11-23 Thread Mark Murphy
Mark Wyszomierski wrote: If I follow the lifecycle docs correctly, an Activity won't get notified if it's force killed for memory? Correct. In a true force kill scenario, Android needs RAM quickly and cannot rely upon you to do something quickly. But was does onDestroy() get called, so we

Re: [android-developers] sim cards and g1

2009-11-23 Thread Mark Murphy
Kenneth Adam Miller wrote: I just bought a g1 phone and it says that the wireless (as in wifi) signal that I'm getting is very poor, but I'm connected to it with my laptop. is a sim card required to do anything more than wirelessly connect to satellites? Ignoring the satellites reference, the

[android-developers] Re: When does ADC2 finish?

2009-11-23 Thread D.Garcia
Any news? Is anyone else able to rate other applications? I don't know if it is my ADC2 judging application that's wrong or the challenge is still going on. Terms and condition stated that tomorrow official results will be announced. Is there any official voice here about that? On Mon, Nov 23,

Re: [android-developers] How to tell if we were force killed for memory, in onCreate()?

2009-11-23 Thread Dianne Hackborn
No a kill for memory definitely does not remove activities from the stack. That is the whole reason for onSaveInstanceState et al to exist -- so when the user returns to the activity, and it needs to be recreated because its process had been killed, that it can properly restore itself to its

[android-developers] Accessing images from gallery

2009-11-23 Thread JasonMP
Hi, I'm a mess. I'm using the blow code to open the gallery and grab an image for an incon im gong to store in a database and access later to populate a listview attached to a simpleCursorAdapter. //inside contextmenu Intent intent = new Intent();

Re: [android-developers] Accessing images from gallery

2009-11-23 Thread Mark Murphy
JasonMP wrote: Hi, I'm a mess. I'm using the blow code to open the gallery and grab an image for an incon im gong to store in a database and access later to populate a listview attached to a simpleCursorAdapter. //inside contextmenu Intent intent = new Intent();

[android-developers] Re: How to tell if we were force killed for memory, in onCreate()?

2009-11-23 Thread Mark Wyszomierski
Ok, yes this is what I'm seeing. Looks like: MyActivity: startIntent(maps); .. logcat says low memory .. System maps intent starts up, looks good, user plays with it a bit. User now hits back button MyActivity: onCreate() gets called, instead of onResume(). on other phones, this works

Re: [android-developers] Re: When does ADC2 finish?

2009-11-23 Thread Dan Sherman
Not sure exactly where you're reading that (unless you just missed a few very important words), direct quote from: http://code.google.com/android/adc/adc2_terms.html * All potential Prize recipients will be announced on *or about* November 24, 2009. Two very important words there :) - Dan On

[android-developers] Re: Accessing images from gallery

2009-11-23 Thread JasonMP
Well the console view in eclipse spits this out when I start the emulator: ActivityManager: DDM dispatch reg wait timeout ActivityManager: Can't dispatch DDM chunk 52454151: no handler defined but other than that it runs fine. The errors start occurring on my actual phone when I test it there.

[android-developers] Re: How to tell if we were force killed for memory, in onCreate()?

2009-11-23 Thread Mark Wyszomierski
Hi Dianne, Thanks for the information, yeah I do see other kill statements like: I/ActivityManager( 76): Killing app com.google.android.apps.googlevoice (pid 7579) because provider com.tmobile.myfaves.MyFavesProvider is in dying process android.process.acore but I can't find one like that for

Re: [android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread Rachel Blackman
On Nov 23, 2009, at 4:04 PM, Mark Murphy wrote: Bear in mind that logcat is collected even when your device is not connected to a logcat client. Of course, it may still have been too long between the occurrence and when you could get to a logcat client, since logcat uses some sort of

Re: [android-developers] Re: 2.0 AccountManager - Implementing a new account type with Google, Facebook and Exchange

2009-11-23 Thread Dan Dumont
Nice, thanks for doing that!I'll star it, I hope we get a response soon. On Mon, Nov 23, 2009 at 5:32 PM, Jerry Brady jerry.br...@gmail.com wrote: Just filed a case for this: http://code.google.com/p/android/issues/detail?id=5009 On Nov 23, 1:47 pm, Jerry Brady jerry.br...@gmail.com

Re: [android-developers] Re: Accessing images from gallery

2009-11-23 Thread Mark Murphy
JasonMP wrote: Well the console view in eclipse spits this out when I start the emulator: ActivityManager: DDM dispatch reg wait timeout ActivityManager: Can't dispatch DDM chunk 52454151: no handler defined That is not DDMS. That is the console, roughly equivalent to the command-line

[android-developers] Re: handle back button

2009-11-23 Thread Craig
You can explicitly handle KEYCODE_BACK in your Activity's onKeyDown() function. -- 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

Re: [android-developers] Re: handle back button

2009-11-23 Thread Mark Murphy
Craig wrote: You can explicitly handle KEYCODE_BACK in your Activity's onKeyDown() function. Note that this is not recommended for Android 2.0 and forward. Use onBackPressed() if possible, or both onKeyDown() and onKeyUp() otherwise:

[android-developers] notifyDataSetInvalidated does *not* reset scroll position

2009-11-23 Thread ggcespia
In the 1.5 OS, the notifyDataSetInvalidated() not only invalidated the data source, but also reset the scroll position to the 'top' of the listview - so if you then called notifyDataSetChanged(), the ListView redrew with the new data *and* positioned the listview at the top. On the DROID in OS

[android-developers] Unable to access jarfile lib\archquery.jar

2009-11-23 Thread Gaurav
Hye When I create an AVD following the instructions from http://developer.android.com/guide/tutorials/hello-world.html ,the hello world tutorial , I get the following error. I have added the tools/ directory to the path environment system variables with Win7.

[android-developers] Testing

2009-11-23 Thread Demetris
-- 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 android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] ipc and user ids

2009-11-23 Thread dane131
well,i am quite confused with the user ids stuff and what they mean in the process level.In Linux,every process uses its own virtual address space and no process can write to the address space of another process.So the communication between two processes is conducted via IPC mechanims which are

[android-developers] Arbitrary positioning icon on a View

2009-11-23 Thread Eric
Hey all, I'm trying to figure out how to mimic the badge functionality of an iPhone app...in particular, I've got a gridview that has several icons, and based on the result of an AsyncTask, I'd like to position a new badge hovering over one of the icons. I've got the icon showing up using

[android-developers] Camera Flash - How to get it bright?

2009-11-23 Thread eclipsed4utoo
I have an app that uses the camera LEDs as a flashlight on the Motorola Droid. However, I noticed that when the Camera application uses the flash, it is much brighter than what I have. Any idea how to get mine that bright? Trying to look for the actual code for the takePicture method. Is that

[android-developers] Re: App Not showing up on Verizon DROID Phones

2009-11-23 Thread Jerry
Here are two more apps to add to your list. I have the Eris and can't find DroidESPN and Camera Zoom FX. I have tried both the search and QR scan and neither show up. Very, very frustrating. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Command to edit call.

2009-11-23 Thread yungbol
On the iPhone, there was an app that you can spoof your outgoing call as another number. What did they use to do this. i.e. I call Larry and on his phone it shows up as my mom. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Is there a limit in the rtsp redirect

2009-11-23 Thread kodeAssassin
Hi mjavadi, We have experienced a similar problem with the 1.6 2.0 Android releases, though this seems fixed in 1.5 release. There does not seem to be a fixed number, as sometimes there are 2 or even 3 redirects. As a work around, when the player is unable to play the url, we wrote a light RTSP

[android-developers] Re: Is there a limit in the rtsp redirect

2009-11-23 Thread Justin (Google Employee)
Yes, there is a limit in order to prevent redirect loops. In 1.5 there was no limit. After 1.5 I think the limit was set at 3 redirects, this limit will be raised in future releases to 8 I believe. Cheers, Justin Android Team @ Google On Nov 4, 10:52 am, mjavadi mike.jav...@napster.com wrote: I

[android-developers] Create an app to change lock screen?

2009-11-23 Thread Cheng Zhong
Hi, Does any one know how to create an app that can change/replace the default lock-screen? -- 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

Re: [android-developers] Create an app to change lock screen?

2009-11-23 Thread Dianne Hackborn
This is not officially supported. You can do hacks, but they are pretty likely to have one problem or another. On Mon, Nov 23, 2009 at 7:00 PM, Cheng Zhong hust.zch...@gmail.com wrote: Hi, Does any one know how to create an app that can change/replace the default lock-screen? -- You

Re: [android-developers] Re: How to tell if we were force killed for memory, in onCreate()?

2009-11-23 Thread Dianne Hackborn
The messages you are seeing are all a -reaction- from the activity manager about the kernel killing processes for memory. Also to respond to your previous post, this isn't a difference in behavior between devices, but more about available memory. If you have a device with more available memory

Re: [android-developers] ipc and user ids

2009-11-23 Thread Dianne Hackborn
They are allowed to do IPC between each other if the the things that check uids allow it. Your question is a little too general to answer more specifically than that. On Mon, Nov 23, 2009 at 12:51 PM, dane131 orestis...@gmail.com wrote: well,i am quite confused with the user ids stuff and what

[android-developers] Seg fault on Emulator startup?

2009-11-23 Thread garycode
Hi, When I start the emulator with the command emulator -avd Android2.0 it comes up with Segmentation fault (core dumped) if i start it without sound it works emulator -no-audio -avd Android2.0 I'm using Fedora Core 12 64bit. If i run emulator -verbose -avd Android2.0 i get this, emulator:

[android-developers] Multiple Services within a Process

2009-11-23 Thread Carter
This is probably a question for Dianne: The Android 2.0 SDK introduces the startForeground() API which makes it much less likely that a background service (and therefore a given process) will be killed. Suppose there are two services within a process, and one of those services has called

[android-developers] Re: abortAnimation on ListView

2009-11-23 Thread Alexander Lucas
I was having the same issue, and after reading through this thread (and some excessive experimentation) I found the following: -In my case it ended up working best that I not explicitly set focusable, focusable in touch mode, or clickable on anything- either on the list as a whole or on

[android-developers] How to access developer.android.com from China?

2009-11-23 Thread Fion Z
Hi, android-developers Anybody know how to access developer.android.com site from China mainland? This site is filtered by country's firewall. BR, Fion -- 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] Re: Prob with remote service:

2009-11-23 Thread for android
any help? On Mon, Nov 23, 2009 at 1:01 PM, for android forandr...@gmail.com wrote: I am binding a remote service from an activity and unbind the same on the onPause of the Activity,when the activity again restarts i bind the service .It does bind with the remote service and i am also

[android-developers] Re: Saving service killing without startForeground

2009-11-23 Thread Ash
At last I could find and fix the problem. The problem was after installing my package through ADT plug-in from Eclipse, for testing BOOT_COMPLETED event I had to restart the emulator every time, and when I run it again from Eclipse, my package receives the BOOT_COMPLETED event and starts running,

[android-developers] Force close in contact picker on Samsung Moment

2009-11-23 Thread Hans5
I have had several users report a force close from the contact picker activity on the Samsung Moment. I'm not sure if the Moment uses the standard Android contact picker or a custom one (though it looks like the standard one from the activity name). This is the code I am using to launch the

[android-developers] Re: How to access developer.android.com from China?

2009-11-23 Thread monkeypipi
try android http://androidappdocs.appspot.com Also you can get the offline version via SDK 2.0 On Nov 24, 1:03 pm, Fion Z fion200...@gmail.com wrote: Hi, android-developers   Anybody know how to access developer.android.com site from China mainland? This site is filtered by country's

[android-developers] How to switch between full screen and normal screen

2009-11-23 Thread 单单
Hi All, It is well known that we can make a full screen Activity (no status bar, no title bar) by 1. requestWindowFeature(Window.FEATURE_NO_TITLE); 2. getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); But the requestWindowFeature must

[android-developers] Re: Arbitrary positioning icon on a View

2009-11-23 Thread Nithin
Hi Eric, Try offsetLeftAndRight() and offsetTopAndBottom() on the imageView, to position it accordingly in the layout. But it is temporary only. Both these offset will reset in the next layout pass. Thanks On Nov 24, 1:53 am, Eric eden...@gmail.com wrote: Hey all, I'm trying to figure out

[android-developers] Re: When does ADC2 finish?

2009-11-23 Thread String
On Nov 24, 1:20 am, Dan Sherman impact...@gmail.com wrote: Not sure exactly where you're reading that In section 5 of http://code.google.com/android/adc/adc2_terms.html: Second Round Judging will be open until 11:59:59 P.M. P.T. on November 20, 2009 at the latest String -- You received this

[android-developers] Re: Create an app to change lock screen?

2009-11-23 Thread Cheng Zhong
Thank your, Dianne. Can you provide more detail information? I'd really want to write one On 11月24日, 上午11时05分, Dianne Hackborn hack...@android.com wrote: This is not officially supported.  You can do hacks, but they are pretty likely to have one problem or another. On Mon, Nov 23, 2009 at

[android-developers] Re: How can I access a data provider where permission is null?

2009-11-23 Thread Bamsen
Updated info. I am using PackageManager.queryContentProviders(null,0,0) to get my list of providers. When I try the URI: content://sync/settings I get a good result with records containing name and value. As far as I can see the information sync/settings is not in the record I get returned from

[android-developers] How to fill paricular portion of text content with chosen color

2009-11-23 Thread Archana
Hi.. I have set of text content.Suppose if i am clicking some where in between the text first time.Its intial value will be saved and on second time when i am clicking on some other point. The area between intial point and end point of text must be filled with selected color. How can i

[android-developers] Re: App Not showing up on Verizon DROID Phones

2009-11-23 Thread String
There seems to be a family of problems here, not necessarily related other than the symptom: Some apps are not visible from some handsets. For Hero, Eris, and other 1.5 phones, the problem is copy protection. Documented here:

Re: [android-developers] Re: When does ADC2 finish?

2009-11-23 Thread Dan Sherman
Sorry, completely missed that section, thanks for pointing it out :) Very interesting :) On Tue, Nov 24, 2009 at 1:27 AM, String sterl...@addressender.com wrote: On Nov 24, 1:20 am, Dan Sherman impact...@gmail.com wrote: Not sure exactly where you're reading that In section 5 of

[android-developers] How to increase virtual keypad size in donut

2009-11-23 Thread vinay H
Hello, Size of Virtual keypad buttons on my platform are very small compared to display size. It is very difficult to select each button with finger. How to increase the size of virtual keypad or button size? Though it covers more area in the display also no problem. Br, -vinay -- You received

[android-developers] Re: Our app is not visible on market for some devices

2009-11-23 Thread Per Sandström
I have seen other discussions where is seems as if the general consensus is that the market is bugged. Apps will simply arbitrarily not show for some phones. Our company has suffered the same way, and I have yet to find a solution. Two exact identical phones, both had just been factory

<    1   2   3   >