[android-developers] Re: Content on emulator

2009-09-17 Thread Jack Ha
You can either take some pictures with the Camera app or use adb push to upload some pictures to the /sdcard. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those

[android-developers] Re: Terminate call programmatically

2009-09-17 Thread Jack Ha
You cannot hangup/terminate call programmatically. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do

[android-developers] Re: SMS intent does not fill in number

2009-09-17 Thread Jack Ha
Try: sendIntent.putExtra(address, 123456); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do

[android-developers] Re: Button.setTextColor, how to make it work? Options

2009-09-17 Thread Jack Ha
For example, button.setTextColor(Color.CYAN) should work. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do

[android-developers] Re: Signing apps

2009-09-17 Thread Jack Ha
I don't see anything wrong with that. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: Technology: parse + handling xml files

2009-09-16 Thread Jack Ha
The layout XML documents are actually parsed at build time into a binary representation and pre-processing is also being done at that time as well. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions

[android-developers] Re: Widget and views

2009-09-16 Thread Jack Ha
Try: TextView tv = (TextView)findViewById(R.id.myTxt); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do

[android-developers] Re: How to create an app which will install other .apk

2009-09-16 Thread Jack Ha
); startActivity(intent); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want 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

[android-developers] Re: problems with the usage of sdcard iso in android sdk 1.6

2009-09-16 Thread Jack Ha
uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/ -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: LinearLayout update view

2009-09-16 Thread Jack Ha
Try ll.invalidate() -- Jack Ha Open Source 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 Sep 16, 9:22 pm

[android-developers] Re: How to enable cookie

2009-09-14 Thread Jack Ha
Try: CookieManager cookieManager = CookieManager.getInstance(); cookieManager.setAcceptCookie(true); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those

[android-developers] Re: how can i refresh my adapter

2009-09-12 Thread Jack Ha
Try notifyDataSetChanged(). notifyDataSetInvalidated() will cause the entire content of ListView to disappear. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those

[android-developers] Re: Zoom of android

2009-09-12 Thread Jack Ha
Assuming you are referring to the MapView, the maximum zoom in level is 21 and the minimum is 1. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely

[android-developers] Re: Signed vs. Unsigned

2009-09-12 Thread Jack Ha
Your app needs to be digitally signed. If you use Eclipse with the ADT plugin, skip to the Compiling and signing with Eclipse ADT section. Otherwise, follow the instructions to export an unsigned .apk and then sign it with jarsigner. -- Jack Ha Open Source Development Center ·T· · ·Mobile

[android-developers] Re: Split Method

2009-09-12 Thread Jack Ha
Here is an example: String[] list = TextUtils.split(a:b:c, :); You need to import android.text.TextUtils like you said. -- Jack Ha Open Source Development Center ·T· · ·Mobile· stick together The coverage you need at the price you want The views, opinions and statements in this email

[android-developers] Re: SearchManager

2009-09-12 Thread Jack Ha
= queryIntent.getAction(); if (Intent.ACTION_SEARCH.equals(queryAction)) { String s = queryIntent.getStringExtra (SearchManager.QUERY)); } -- Jack Ha Open Source Development Center ·T· · ·Mobile· stick together The coverage you need at the price you want The views, opinions

[android-developers] Re: How can implement EditText on android app widget

2009-09-10 Thread Jack Ha
Not sure what kind of help you are looking for here. At present, EditText is not supported as a RemoteView due to difficulties in handling its focus and touch events correctly in the Home screen. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need

[android-developers] Re: TableLayout

2009-09-02 Thread Jack Ha
Use android:layout_span -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want 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

[android-developers] Re: How to find out whether the time format is 24-hour format ?

2009-09-02 Thread Jack Ha
Try DateFormat.is24HourFormat() -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent

[android-developers] Re: Custom ListView With a lable on top

2009-09-02 Thread Jack Ha
This is because you set the layout_height to fill_parent for the textview above the listview. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely

[android-developers] Re: Get Selected Value from Spinner

2009-09-02 Thread Jack Ha
spinner.getSelectedItem() -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want 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

[android-developers] Re: how to block the dropdown list in autocompletetextview?

2009-09-02 Thread Jack Ha
Can you call dismissDropDown() right after you call setText()? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do

[android-developers] Re: multiple selection in drop down list -spinner like widget

2009-09-02 Thread Jack Ha
You probably can create your own SpinnerAdapter for the Spinner. In getDropDownView() for that SpinnerAdapter, you determine what is displayed for each drop down view such as the combination of a TextView and a CheckBox. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together

[android-developers] Re: NullpointerException

2009-08-26 Thread Jack Ha
It could also be that setContentView() is not being called before findViewById(). -- Jack Ha Open Source 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

[android-developers] Re: How do you populate a spinner from a cursor

2009-08-25 Thread Jack Ha
}); adapter.setDropDownViewResource( android.R.layout.simple_spinner_dropdown_item); spinner.setAdapter(adapter); -- Jack Ha Open Source 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

[android-developers] Re: android 1.5 to google maps API

2009-08-24 Thread Jack Ha
Can you post the logcat exception stack track here? -- Jack Ha Open Source 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

[android-developers] Re: android Hello mapview

2009-08-24 Thread Jack Ha
Just continue to follow step 9 and 10. Step 8 is just for declaring the necessary variables. -- Jack Ha Open Source 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

[android-developers] Re: How to look up position in spinner from string array?

2009-08-24 Thread Jack Ha
Can you just save the position instead? -- Jack Ha Open Source 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 Aug 24

[android-developers] Re: populating a ListView in xml...

2009-08-21 Thread Jack Ha
You can create the list item template in XML but you still need to write some code to populate the list. -- Jack Ha Open Source 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

[android-developers] Re: unable to add a new layout xml file.

2009-08-21 Thread Jack Ha
The wizard issue that you encountered is already in the bug database. http://code.google.com/p/android/issues/detail?id=3508 -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely

[android-developers] Re: My emulator is running 100% CPU, it's annoying..

2009-08-21 Thread Jack Ha
Which platform are you running your emulator on? -- Jack Ha Open Source 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

[android-developers] Re: ADC2

2009-08-21 Thread Jack Ha
Check this link: http://www.meetup.com/svandroid/messages/7262249/ -- Jack Ha Open Source 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

[android-developers] Re: Looking for sample of video capture with preview

2009-08-20 Thread Jack Ha
Check out the following link: http://www.anddev.org/viewtopic.php?p=24723#24723 -- Jack Ha Open Source 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

[android-developers] Re: Empty Lists

2009-08-19 Thread Jack Ha
/no_notes/ /LinearLayout -- Jack Ha Open Source 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 Aug 19, 6:42 am, Eurig Jones

[android-developers] Re: List of running process.

2009-08-19 Thread Jack Ha
Are you trying to do this programmatically? -- Jack Ha Open Source 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

[android-developers] Re: MapActivity in android 1.5

2009-08-19 Thread Jack Ha
I would recommend to take a look at the HelloMapView tutorial: http://developer.android.com/guide/tutorials/views/hello-mapview.html -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely

[android-developers] Re: how to build adb.exe for windows.

2009-08-19 Thread Jack Ha
ADB is part of the SDK. You probably should follow the instructions in android_src/development/docs/howto_build_SDK.txt to rebuild the SDK. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely

[android-developers] Re: writing to sdcard

2009-08-19 Thread Jack Ha
You can always do the following check in your code: if (android.os.Environment.getExternalStorageState().equals( android.os.Environment.MEDIA_MOUNTED)) { // SD card is present and writable } -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions

[android-developers] Re: Atomic SQLite Example

2009-08-19 Thread Jack Ha
You can take a look at the NewsDroid tutorial at: http://www.helloandroid.com/node/110?page=0%2C1 -- Jack Ha Open Source 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

[android-developers] Re: display on map

2009-08-19 Thread Jack Ha
First, take a look at the HelloMapView tutorial: http://developer.android.com/guide/tutorials/views/hello-mapview.html You can also find other Map related tutorials here: http://www.anddev.org/viewforum.php?f=18 -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together

[android-developers] Re: writing to sdcard

2009-08-19 Thread Jack Ha
I don't believe user can change the sdcard write permissions. -- Jack Ha Open Source 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

[android-developers] Re: specify layout_height as a percentage of parent?

2009-08-19 Thread Jack Ha
There is no support for specifying a width or height as a percentage. You probably can use android:layout_weight to achieve what you wanted. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely

[android-developers] Re: ListView details indicator

2009-08-19 Thread Jack Ha
Sorry, you have to create your own custom list item. In addition, there's no such drawable available in the SDK. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity

[android-developers] Re: How to change /sdcard to be not a read-only file system

2009-08-19 Thread Jack Ha
It seems like the sdcard is not available. Did you specify the -sdcard when you run the emulator? Or did you enter the SDCard data when you created the AVD? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those

[android-developers] Re: How to change /sdcard to be not a read-only file system

2009-08-19 Thread Jack Ha
If you do a adb shell and cd /sdcard, do you see any files in / sdcard? -- Jack Ha Open Source 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

[android-developers] Re: Upgrading from SDK 1.1 to 1.5 - map API key not valid?

2009-08-19 Thread Jack Ha
Do you see any error messages in the logcat output? -- Jack Ha Open Source 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

[android-developers] Re: Overlaying text on a bitmap

2009-08-14 Thread Jack Ha
Code snippet for drawing text on a bitmap: Canvas mCanvas = new Canvas(mBitmap); mCanvas.drawText(...); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity

[android-developers] Re: Why calendar APP don't run in Android 1.5?

2009-08-13 Thread Jack Ha
Assuming you are referring to running the Calendar app in the emulator. The reason is that the Google Service is not available. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely

[android-developers] Re: how to play video from raw folder?

2009-08-13 Thread Jack Ha
Try MediaPlayer.create() -- Jack Ha Open Source 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 Aug 13, 8:17 am

[android-developers] Re: GridView inside a Linear Layout displayed in a tab

2009-08-13 Thread Jack Ha
Did you call setContentView() before findViewById()? If not, your mGrid will most likely be null. -- Jack Ha Open Source 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

[android-developers] Re: how to play video from raw folder?

2009-08-13 Thread Jack Ha
Where did the null exception occur? Stack trace? -- Jack Ha Open Source 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

[android-developers] Re: R.arawable visuals

2009-08-12 Thread Jack Ha
Try this link: http://kapsencode.com/android_drawable/ If you extract android.jar, you will also find them under the res/ drawable directory. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author

[android-developers] Re: can someone help with hello world?

2009-08-12 Thread Jack Ha
Can you post your complete file here? -- Jack Ha Open Source 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 Aug 12

[android-developers] Re: Sending data to android dev phone using 3G connection

2009-08-12 Thread Jack Ha
Your phone is most likely behind a NAT when it is on 3G. -- Jack Ha Open Source 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

[android-developers] Re: The SDK documentation problems of package android.widget.ListView

2009-08-11 Thread Jack Ha
http://code.google.com/p/android/issues/detail?id=2366 -- Jack Ha Open Source 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

[android-developers] Re: dynamically add checkbox

2009-08-11 Thread Jack Ha
You can create an empty LinearLayout and call its addView() function to add the checkboxes dynamically in your code. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: sdk for windows from source code

2009-08-11 Thread Jack Ha
Please refer to section 3 (Building an SDK for Windows) in the {Android_Root}/devlopement/docs/howto_build_SDK.txt file. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: How to simulate a MMS message on android emulator?

2009-08-11 Thread Jack Ha
You can't simulate a MMS message on the emulator. -- Jack Ha Open Source 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

[android-developers] Re: list with multiple selection

2009-08-10 Thread Jack Ha
Take a look at List11.java in ApiDemos. -- Jack Ha Open Source 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 Aug 10

[android-developers] Re: questions about tabHost

2009-08-10 Thread Jack Ha
You can't remove a tab currently. To answer your second question, you can do something like this: mTabHost.addTab(mTabHost.newTabSpec(tab_test1).setIndicator (one).setContent(R.id.content); LinearLayout id=...@+id/content″ android:orientation=”vertical” android:layout_width=”fill_parent”

[android-developers] Re: can ListActivity and Tab widget can use in one activity?

2009-08-10 Thread Jack Ha
listview.setAdapter(new MyListAdapter(this)); -- Jack Ha Open Source 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

[android-developers] Re: How to debug Java apps without any IDE?

2009-08-09 Thread Jack Ha
You won't be able to run the Calendar app since the Google Service is missing. -- Jack Ha Open Source 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

[android-developers] Re: Related to Home Key

2009-08-09 Thread Jack Ha
Without seeing your code, it is difficult to point out where the problem would be. -- Jack Ha Open Source 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

[android-developers] Re: read csv file

2009-08-09 Thread Jack Ha
with line } } catch (IOException ex) { // handle exception } finally { try { is.close(); } catch (IOException e) { // handle exception } } -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together

[android-developers] Re: Inserting Images in Text Field along with the Text

2009-08-09 Thread Jack Ha
Not sure what you mean here by adding an image to a text field. Can you elaborate on that? -- Jack Ha Open Source 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

[android-developers] Re: Multitouch API for the Hero ??

2009-08-09 Thread Jack Ha
The current version of the SDK doesn't support multi-touch. -- Jack Ha Open Source 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

[android-developers] Re: Trouble with signing apk

2009-08-09 Thread Jack Ha
Did you compile your application in release mode and then sign the .apk with your private key? http://developer.android.com/guide/publishing/app-signing.html#releasemode -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email

[android-developers] Re: BitmapFactory Image from ZipFile

2009-08-09 Thread Jack Ha
(); } catch (IOException e) { e.printStackTrace(); } -- Jack Ha Open Source 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

[android-developers] Re: How to send Email with the stock GMail app

2009-08-09 Thread Jack Ha
Typically, you would want to show the proper interface for the user to pick how to send your data: http://www.openintents.org/en/node/121 Or you could write an SMTP client from scratch: http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/ -- Jack Ha

[android-developers] Re: Change in String.format between 1.1 and .15?

2009-08-09 Thread Jack Ha
It works fine for me in 1.5. What's your dataOut_d value? -- Jack Ha Open Source 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

[android-developers] Re: How to find my apps´ locati on

2009-08-09 Thread Jack Ha
Not sure what you mean here by finding the location of your other apps. Can you please elaborate on that? -- Jack Ha Open Source 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

[android-developers] Re: About Canvas

2009-08-09 Thread Jack Ha
1. You can have three custom views on one screen and they each have their own Canvas 2. You can divide one canvas into many parts as you like as you have full control of what you want to draw on it -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions

[android-developers] Re: Trouble with signing apk

2009-08-09 Thread Jack Ha
Right-click your project in the Package Explorer and select Android Tools-Export Unsigned Application Package. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity

[android-developers] Re: I want more text in Preference summary

2009-08-09 Thread Jack Ha
I believe the Preference summary text is limited to 2 lines due to consistency. -- Jack Ha Open Source 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

[android-developers] Re: can ListActivity and Tab widget can use in one activity?

2009-08-09 Thread Jack Ha
Not sure what you mean one is on the left side and the other is on the right side. Are you thinking about having the List widget as the content of one of the tabs like the Contacts app? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements

[android-developers] Re: errors please help any body

2009-08-08 Thread Jack Ha
It seems like your web server encountered an unexpected condition that prevented it from fulfilling the request. Did you check the web server log? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author

[android-developers] Re: How to extract views ( e.g. combobox, edit box) from a WebView?

2009-08-08 Thread Jack Ha
You might want to take a look at the WebView's onChildViewAdded() method. -- Jack Ha Open Source 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

[android-developers] Re: read csv file

2009-08-08 Thread Jack Ha
Try getResources().getXML() -- Jack Ha Open Source 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 Aug 8, 9:46 am

[android-developers] Re: Draw a Circle when the user touches the screen

2009-08-02 Thread Jack Ha
Please take a look at the FingerPaint example in ApiDemos. -- Jack Ha Open Source 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

[android-developers] Re: Text Invalide question

2009-08-02 Thread Jack Ha
This link might help solve your problem: http://android-developers.blogspot.com/2009/05/painless-threading.html -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: Cursor position in EditText?

2009-08-02 Thread Jack Ha
It could be related. If possible, can you please post your code here? -- Jack Ha Open Source 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

[android-developers] Re: Date AND Time Picker

2009-07-31 Thread Jack Ha
android:id=@+id/date_picker android:layout_width=wrap_content android:layout_height=wrap_content / TimePicker android:id=@+id/time_picker android:layout_width=wrap_content android:layout_height=wrap_content/ /LinearLayout -- Jack Ha Open Source

[android-developers] Re: About to receive the mms

2009-07-31 Thread Jack Ha
Do you have the following in your AndroidManifest.xml file? uses-permission android:name=android.permission.RECEIVE_MMS/ -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: Unhandled Exception

2009-07-30 Thread Jack Ha
Did you call setContentView() in onCreate()? BTW, why did you instantiate the buttons inside onClick()? -- Jack Ha Open Source 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

[android-developers] Re: access sms messeges

2009-07-30 Thread Jack Ha
Take a look at this link: http://code.google.com/p/android-smspopup/source/browse/trunk/SMSPopup/src/net/everythingandroid/smspopup/SmsPopupUtils.java -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those

[android-developers] Re: Database problems...

2009-07-30 Thread Jack Ha
I don't see that you have CREATE_TABLE_COMPUTERS defined. -- Jack Ha Open Source 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

[android-developers] Re: Can i make a Gallery to Vertical insted of Horizantal ?

2009-07-30 Thread Jack Ha
No. Gallery doesn't support vertical mode. -- Jack Ha Open Source 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

[android-developers] Re: Listview Tabhost

2009-07-30 Thread Jack Ha
Can you post your logcat output with the stack trace? -- Jack Ha Open Source 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

[android-developers] Re: Intercept home button?

2009-07-30 Thread Jack Ha
You won't be able to detect that as KeyEvent.KEYCODE_HOME can't be intercepted. It is for internal use only. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity

[android-developers] Re: How to use inbuilt application in my own Application

2009-07-29 Thread Jack Ha
Take a look at the HelloMapView tutorial and go from there: http://developer.android.com/guide/tutorials/views/hello-mapview.html -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely

[android-developers] Re: how to add a line drawing to ListView?

2009-07-29 Thread Jack Ha
Don't do this: UnderlinedView underlinedView = (UnderlinedView) convertView; Instead create your own MyUnderlinedTextView class by extending TextView. holder.text = (MyUnderlinedTextView) convertView.findViewById (R.id.text); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile

[android-developers] Re: ListView convertView recycler showing duplicates?

2009-07-29 Thread Jack Ha
If you can post your code here, the better people can help you. -- Jack Ha Open Source 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

[android-developers] Re: Why I got the error Sorry, this video cannot be played

2009-07-29 Thread Jack Ha
What is the format of your video? -- Jack Ha Open Source 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, 9:33

[android-developers] Re: Transforming password text field

2009-07-29 Thread Jack Ha
Have you tried removing the setInputType() call? -- Jack Ha Open Source 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

[android-developers] Re: Correct intent to launch gallery / video camera

2009-07-28 Thread Jack Ha
VideoCamera doesn't exist before Cupcake. -- Jack Ha Open Source 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

[android-developers] Re: Attach multiple images

2009-07-28 Thread Jack Ha
As far as I know, it only supports one attachment as Intent.putExtra() will replace any existing value for the given key. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: how to avoid activity restart at keyboard open or close

2009-07-28 Thread Jack Ha
I don't believe you can avoid that. Your code just needs to handle it correctly. -- Jack Ha Open Source 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

[android-developers] Re: could i get email recieve notification from intents?

2009-07-28 Thread Jack Ha
No, you won't be able to receive new email arrival notification. -- Jack Ha Open Source 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

[android-developers] Re: display thumbnail images from sdcard

2009-07-28 Thread Jack Ha
Your code seems to work fine. Did you see any errors in the logcat output? Did you specify the sdcard image? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity

[android-developers] Re: is it possible to display a multi column list ?

2009-07-28 Thread Jack Ha
There's no built-in data grid component. -- Jack Ha Open Source 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 28

  1   2   >