[android-developers] Multiple Eclipse projects no longer get included

2010-07-27 Thread junker37
Here's my setup. I have 1 project that has all the resources my application needs. This project has the android builder which produces the apk. This project references a few other projects that don't have resources. After updating my android SDK today, the apk that is produced no longer

[android-developers] Combining intents in Intent.createChooser

2009-11-24 Thread junker37
I would like to know how I can create a chooser for the user to select from either a video or a photo. I want them to be able to capture a new video/photo or select from existing videos/photos. With the following code, I get a chooser that allows for that, but also allows audio

[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

[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

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

2009-11-23 Thread junker37
, but they all get their cursor via the content resolver. On Nov 23, 3:18 pm, Mark Murphy mmur...@commonsware.com wrote: 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

[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: Data Retrieval in Android

2009-10-23 Thread junker37
It is important to note that you can't just package the database in your apk and start using it. You'll have to create it first (which creates an empty database at the path specified by Mark) and then manually perform the steps necessary to re-populate it. Based on a suggestion by Mark, I

[android-developers] Re: Shape with open border

2009-10-22 Thread junker37
I am wondering how to do this as well. Also, I can't seem to find where this is documented. On Oct 19, 4:19 am, Viktor Bresan viktor.bre...@gmail.com wrote: Hi all. I would like to have ashapethat has border only on 3 sides: top, left and right, i.e. I want bottom to be open.  How can I

[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-20 Thread junker37
This is what I have been using for a unique phone id. Settings.Secure.getString(contentResolver, Settings.Secure.ANDROID_ID); On Oct 20, 10:11 am, Greivin Lopez greivin.lo...@gmail.com wrote: Ok I see IMEI is not valid as a device identifier for Android devices.  What do you guys suggest to

[android-developers] How do I know when my view will be displayed?

2009-10-20 Thread junker37
I have a HorizontalScrollView, with a horizontal LinearLayout that contains my different Views. I want to know when the particular view is coming onto the screen so I can download an image for the view. So, when my HorizontalScrollView first loads, the first view is viewable, if the user

[android-developers] Re: onSearchRequested() doesn't call search activity in 1.5

2009-10-17 Thread junker37
Any ideas? I am attempting the same thing right now with 1.5 and am seeing the same behavior. On Oct 8, 6:42 am, Miguel Paraz mpa...@gmail.com wrote: Hi, The 1.5 AVD doesn't seem to follow the documentation in:http://developer.android.com/reference/android/app/SearchManager.html which

[android-developers] Re: How to determine if phone supports video capture?

2009-10-14 Thread junker37
Well, I couldn't find an official way to do this. The only way I know is to assume that all Android phones will support video capture, so if the phone is running 1.5 (3) or greater, it will support video capture. android.os.Build.VERSION.SDK_INT On Oct 12, 3:05 pm, junker37 junke...@gmail.com

[android-developers] How can I capture an image in Android and have it show up in the gallery?

2009-10-14 Thread junker37
I was capturing images before that were showing up in the gallery, but now they are not and I can't figure out why. Here is my code: ContentValues values = new ContentValues(); values.put(android.provider.MediaStore.Images.Media.IS_PRIVATE, false);

[android-developers] How to determine if phone supports video capture?

2009-10-12 Thread junker37
How can I determine if the phone my app is running on supports video capture? --~--~-~--~~~---~--~~ 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] How to bring up the keyboard from WebViewClient

2009-10-07 Thread junker37
Here's my problem. I have a WebView, but I don't want a new Intent to be launched when the page is redirected, so I wrote my own WebViewClient to handle this. However, I can't figure out how to get the WebViewClient to allow keyboard input. Clicking on an input box does not bring up the soft

[android-developers] Re: How to bring up the keyboard from WebViewClient

2009-10-07 Thread junker37
, junker37 junke...@gmail.com wrote: Here's my problem.  I have a WebView, but I don't want a new Intent to be launched when the page is redirected, so I wrote my own WebViewClient to handle this.  However, I can't figure out how to get the WebViewClient to allow keyboard input.  Clicking on an input box

[android-developers] Is there a way to determine which phone I'm running on?

2009-09-15 Thread junker37
Is there a way to get the phone type? For example, can I determine if the phone is a G1, or myTouch, etc? --~--~-~--~~~---~--~~ 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: Threads and Screen Orientation Change

2009-08-31 Thread junker37
Can you explain how to stop the android framework from destroying and re-creating the activity on a layout change? On Aug 31, 11:24 am, Marco Nelissen marc...@android.com wrote: On Mon, Aug 31, 2009 at 6:06 AM, ReubenHreuben.har...@gmail.com wrote: Having used Android for 4 months, and now

[android-developers] Re: Two applications, same package. How?

2009-08-28 Thread junker37
Ok, here's what I did. Seems to be working now, but someone please let me know if it will cause problems later. In my manifest, I specified each activity's full path, rather than a relative path: ie activity android:name=com.google.code.Activity versus activity android:name=.Activity In my

[android-developers] Two applications, same package. How?

2009-08-27 Thread junker37
What I am trying to do is install two applications, packaged from the same code, but with different names and different strings.xml files. I created the two apk files, however, when trying to install the second application, it fails because it says it's already installed. From what I can tell,

[android-developers] Transforming password text field

2009-07-29 Thread junker37
I can not get an EditText view to transform a password. Here's the creation of my view: final EditText passwordEditText = new EditText(context); passwordEditText.setTransformationMethod (PasswordTransformationMethod.getInstance());

[android-developers] Re: Transforming password text field

2009-07-29 Thread junker37
Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 29, 12:49 pm, junker37 junke...@gmail.com wrote: I can not get

[android-developers] Re: Transforming password text field

2009-07-29 Thread junker37
, junker37 junke...@gmail.com wrote: Thanks...That did it...I saw another post somewhere that setInputType (InputType.TYPE_TEXT_VARIATION_PASSWORD) was the way to do it for 1.5...Apparentl not. On Jul 29, 3:26 pm, Jack Ha jack...@t-mobile.com wrote: Have you tried removing the setInputType() call

[android-developers] Is there a way to determine which carrier the phone is using?

2009-07-27 Thread junker37
Is there a way to determine which carrier the phone is using. T- Mobile, Spring, ATT, etc? --~--~-~--~~~---~--~~ 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: Pausing VideoView when launching a new intent...

2009-07-24 Thread junker37
24, 5:44 am, Mark Murphy mmur...@commonsware.com wrote: junker37 wrote: I'm thinking that the buffer must be lost somewhere, so I now try to capture the current position via videoView.getCurrentPosition(), however, this is always returning 0. When are you calling getCurrentPosition()? I am

[android-developers] Re: Pausing VideoView when launching a new intent...

2009-07-24 Thread junker37
implemented yet? On Jul 24, 7:52 am, junker37 junke...@gmail.com wrote: I call getCurrentPosition on the onPause method of my activity.  So, what you're saying is maybe before onPause is called, the video has been stopped already?  That makes sense.  I'll look at th activity lifecycle again

[android-developers] Pausing VideoView when launching a new intent...

2009-07-23 Thread junker37
I have an activity that is showing a video and when the user clicks a button, a new activity is launched. When the video activity stops, I pause the video view. When the video activity starts up again, I try to resume the video view videoView.start(), however, the video starts over from the

[android-developers] Does LinearLayout support Gravity.RIGHT?

2009-07-06 Thread junker37
I can't seem to get views to float to the right inside a horizontal LinearLayout. Is this supported? --~--~-~--~~~---~--~~ 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] Where are files created in the simulator stored?

2009-06-22 Thread junker37
I'm wondering where files that are created while running in a simulator are stored. I'm running the 1.5 simulator on Windows Vista. The real reason I want to find the files is because I am downloading an png file and trying to create a bitmap via: Bitmap bitmap =

[android-developers] Re: Where are files created in the simulator stored?

2009-06-22 Thread junker37
, allowing you to browse through the filesystem. On Mon, Jun 22, 2009 at 5:36 PM, junker37 junke...@gmail.com wrote: Yeah, the file exists and I can read it in my code.  However, I want to verify it on my filesystem.  The path is /data/data/example.app/ files/4de67f137f7fa92bab63569f565c888 which

[android-developers] Change screen brightness immediately

2008-12-10 Thread junker37
Does anyone know how to change the brightness immediately? I'm looking for a response to: http://groups.google.com/group/android-developers/browse_thread/thread/432802c9ad58d4f5/8adbb7c9c129519a?lnk=gstq=brightness#8adbb7c9c129519a --~--~-~--~~~---~--~~ You

[android-developers] Re: How to launch browser activity?

2008-12-05 Thread junker37
Thanks a lot, that worked. I had tried that before, but without the protocol on the front, just www. That makes sense now. On Dec 4, 6:19 pm, Mark Murphy [EMAIL PROTECTED] wrote: junker37 wrote: I have been unable to find out how to launch the browser activity in 1.0_r1. startActivity

[android-developers] How to launch browser activity?

2008-12-04 Thread junker37
I have been unable to find out how to launch the browser activity in 1.0_r1. I've found a couple of posts giving examples of how to do it, but they seem out of date as some of the functions are no longer available. Here is what I have: Intent intent = new Intent();