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
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
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
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
, 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
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
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
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
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
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
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
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
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);
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
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
, 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
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
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
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
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,
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());
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
, 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
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
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
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
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
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
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 =
,
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
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
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
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();
33 matches
Mail list logo