[android-developers] How to get sms message from intent

2009-02-11 Thread David Hu
Hello, everyone I am using the Telephony class to get messages ( Telephony.Sms.Intents.getMessageFromIntent(Intent intent)). But I can't find the class Telephony from its package(android.provider), there is an error named The import android.provider.Telephony cannot be resolved when import

[android-developers] G1 Fax software

2009-02-11 Thread abcarb
Are there any plans to develop the capability of receiving faxes on the G1? I work with a significant number of old-school businesses where fax is still a primary means of communications (despite my begging). Thank you. --~--~-~--~~~---~--~~ You received this

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

2009-02-11 Thread Eric B
Make sure you add android:presistent=true to your PreferenceScreen element in your preferences xml file. Thanks, Eric On Jan 23, 8:17 am, A T somecs...@gmail.com wrote: Hmm. I'm going to feel stupid if this is the problem: I'm reinstantiating the preferences object and its editor every time

[android-developers] Re: Problem with list divider

2009-02-11 Thread Justin Grammens
Does anyone know if this is supposed to be fixed in the latest 1.1 SDK Release or will we have to wait for Cupcake? I seem to still be having this problem even after upgrading to 1.1. Thanks for any information. On Jan 8, 7:13 pm, Romain Guy romain...@google.com wrote: It's not a transparency

[android-developers] Re: build_server.sh failed to build ADT 0.9.0 on Mac OS

2009-02-11 Thread notmaxx
Hi I just commented that lines in couple places and set ECLIPSE_ROOT to / Applications/eclipse then run this script again, it works for me now On Feb 4, 9:32 pm, qwerty enetconsult...@comcast.net wrote: Hi, I am trying to buildADT0.9.0 onMacOSby running build_server.sh under:

[android-developers] How to customize android button's look and feel

2009-02-11 Thread Meryl Silverburgh
Hi, Can you please tell me how can I customize android button's look and feel? e.g. by default, it uses a grey round rectangle as the border and it has 'orange' background when it has focus. Can you please tell me how can i config that in my application? Thank you.

[android-developers] Re: How to customize android button's look and feel

2009-02-11 Thread Meryl Silverburgh
I found the 'btn_default_selected.9.png' 'btn_default_press.9.png' images, but I am still not sure how the 'borders' are drawn. Thank you for any tip. On Wed, Feb 11, 2009 at 11:20 AM, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, Can you please tell me how can I customize android

[android-developers] Re: Spinner with Editable Text

2009-02-11 Thread mathiastck
I suggest you create your own SpinnerAdapter for the spinner. In getDropDownView for that SpinnerAdapter you determine what is displayed for each drop down view. On Feb 10, 1:21 pm, Inderjeet Singh inder...@gmail.com wrote: I would like to create a spinner where a user can edit the text for

[android-developers] Re: Is VideoView Broken?

2009-02-11 Thread Brendan
Ahhh. Thanks for your response. The emulator's behavior makes a lot more sense now. I'll try out what you suggest. Is this in the documentation anywhere? I looked around and everything I can find seems to say that video and audio are handled the same way. Maybe I just missed it, but if not this

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread kolby
Interestingly enough, whilke it might work when browsing to a web page, it doesn't when you deliver the content by calling loadData on the WebView object. It gives the error: 02-11 14:04:00.802: DEBUG/skia(7323): xxx jpeg error 53 Not a JPEG file: starts with 0x%02x 0x%02x on the LogCat.

[android-developers] Custom Class and File I/O

2009-02-11 Thread clarkbriancarl
I understand that Android uses an applicaiton ID for File I/O when using openFileInput and openFileOutput. My question is if I create an instance of a class in the Activity onCreate like the following and do some file IO from the new class, why does it fail? If I make the MyClass an inner class

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread kolby
Tried it again, and in loadData it doesn't work with or without the quotes. However, this worked: htmlhead/headbodysome text font color=rgb(0,255,0)some text/ font/body/html Michael On Feb 11, 2:06 pm, kolby kolbys...@gmail.com wrote: Interestingly enough, whilke it might work when browsing

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread kolby
Mark, unfortunately, no dice on this either. Still doesn't accept the color setting in hex. Michael On Feb 11, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote: kolby wrote: Interestingly enough, whilke it might work when browsing to a web page, it doesn't when you deliver the content

[android-developers] Margin-problem with changed layout for titlebar

2009-02-11 Thread $§Kalle§$
I am using the following Layout for the titlebar with a blue backround color RelativeLayout android:id=@+id/RelativeLayout01 xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread Mark Murphy
kolby wrote: Interestingly enough, whilke it might work when browsing to a web page, it doesn't when you deliver the content by calling loadData on the WebView object. It gives the error: 02-11 14:04:00.802: DEBUG/skia(7323): xxx jpeg error 53 Not a JPEG file: starts with 0x%02x

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread Mark Murphy
kolby wrote: Mark, unfortunately, no dice on this either. Still doesn't accept the color setting in hex. public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); browser=(WebView)findViewById(R.id.webkit);

[android-developers] Re: System log buffer size

2009-02-11 Thread fadden
On Feb 11, 5:15 am, AGA alex.agranov...@gmail.com wrote:  I have the following problem: I'd like to see the system log of two days ago and I cannot. I see only 3 last hours. How can I configure the system log size, location, severity? The logs are held by a kernel device; the entries are in

[android-developers] Re: Java Compatibility problems with getFields method in Android java.lang.Class

2009-02-11 Thread fadden
On Feb 11, 4:54 am, sancane sanc...@gmail.com wrote: I oberved that: public Field[]  getFields() Returns an array containing Field objects describing all fields which are defined. That's array is sorted as attributes are declared in the main Class in sun jdk. For example, next Class is

[android-developers] Re: Sampling

2009-02-11 Thread clark
Thanks Dave. I appreciate the update as to when we'll be seeing this functionality. As a developer, I appreciate the work you and the rest of the Android team are doing to support us all. I realized a couple of my posts have sounded a bit impatient and I must apologize for that. You all have

[android-developers] Re: (fix?) We're on the simulator; assuming data is connected ???

2009-02-11 Thread fadden
On Feb 10, 7:00 pm, eric_mellon zhfzh...@gmail.com wrote: dear all: [...] See my reply to your other (identical) posting: http://groups.google.com/group/android-porting/browse_thread/thread/22f34f48412992b2/1f12fc018f640cac#1f12fc018f640cac

[android-developers] Re: Failed sending reply to debugger: Broken pipe error

2009-02-11 Thread fadden
On Feb 10, 9:38 pm, Android sunil.mahar...@lntinfotech.com wrote: I am getting the below two errors, can someone help me, why these errors i am getting. These are happening in two different processes -- the pid is in parenthesis. 02-11 10:56:12.120: ERROR/dalvikvm(334): pthread_setspecific

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread kolby
Hmmm, String test = htmlhead/headbodysome text font color= \#00ff00\in green/font/body/html; web.loadDataWithBaseURL(data:///some/text/,test, text/html, utf-8, ); only gives me some text and nothing in green. Saving to a file just to make the html parser work seems excessive for a

[android-developers] Re: It is now MID-Q1, where are the Paid Apps?

2009-02-11 Thread Mariano Kamp
Well, at least it would be nice to get some information about all the details before they open it up. On Wed, Feb 11, 2009 at 10:35 AM, Annkur emum...@gmail.com wrote: I heard they are rolling out paid apps this week ... http://blog.wired.com/gadgets/2009/02/paid-apps-comin.html But I still

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread Mark Murphy
kolby wrote: Hmmm, String test = htmlhead/headbodysome text font color= \#00ff00\in green/font/body/html; web.loadDataWithBaseURL(data:///some/text/,test, text/html, utf-8, ); only gives me some text and nothing in green. Aha! JBQ wrote: LoadData loads your data as a data: Uri.

[android-developers] Re: It is now MID-Q1, where are the Paid Apps?

2009-02-11 Thread Sundog
I would love to believe it but I don't. That's simply quoting the Wall Street Journal article we already knew about, and my private theory is that someone assumed that early first quarter meant by Feb 15 at latest... as many of us probably did. I'm not holding my breath. At some point in the

[android-developers] Over-the-air upgrade WTF

2009-02-11 Thread Stoyan Damov
I know it's totally off-topic post but since there are Google engineers hanging on this list who might be interested in the fact that the latest upgrade is VERY buggy I have no choice but to rant a bit. Today, I got an upgrade for my G1 and it totally screwed my calls. When somebody calls me I

[android-developers] Re: viewable area

2009-02-11 Thread Sundog
144 buttons is an awful lot. Makes me cringe. It will probably be unusably slow and consume gobs of memory. Creditably to the Android developers, you are incorrect. It runs blindingly fast and has a very small footprint. So far 84,000 users like it just fine. If you knew what the app was, you'd

[android-developers] Re: Solved Preferences Reset Problem

2009-02-11 Thread JP
Some more testing showed that the problem is not completely gone (in my case). This is one of the last things I have on my list now... I've been pushing this out but I suppose I'll work around all that now and drop the preferences in a Sqlite database table. This will the master copy now and

[android-developers] Re: Customize desktop icon

2009-02-11 Thread dple...@googlemail.com
Hi Romain, will code like this work or be broken in Cupcake? : Uri uri = Uri.parse(content:// + android.provider.Settings.AUTHORITY + /favorites); ContentResolver cr = getContentResolver(); Cursor c = cr.query(uri, new String[] { _id, intent }, null, null, null); thanks! On 11 Feb., 19:48,

[android-developers] Re: viewable area

2009-02-11 Thread Sundog
I'll go one farther and say you probably need a custom view object so that you can draw the entire area for the buttons as one object and map touch event coordinates to the correct virtual button. Heh. Surely you're not saying Java doesn't scale? ;)

[android-developers] Re: Customize desktop icon

2009-02-11 Thread Romain Guy
It will break (it will have no effect.) On Wed, Feb 11, 2009 at 2:04 PM, dple...@googlemail.com dple...@googlemail.com wrote: Hi Romain, will code like this work or be broken in Cupcake? : Uri uri = Uri.parse(content:// + android.provider.Settings.AUTHORITY + /favorites); ContentResolver

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Sundog
I hesitate to reply because this really IS the wrong place for this, but I've had similar experiences since the update. On Feb 11, 2:26 pm, Stoyan Damov stoyan.da...@gmail.com wrote: I know it's totally off-topic post but since there are Google engineers hanging on this list who might be

[android-developers] Re: Solved Preferences Reset Problem

2009-02-11 Thread Eric B
I've fought doing that myself, especially because you can't use the PreferenceActivity and have to redo your entire UI. It would be really cool if we could plug in different Preference storage solutions. One could be the SharedPreferences object, but another could be a database. By having a

[android-developers] How to iterate a ViewGroup for a specific view id?

2009-02-11 Thread steele johnson
Hello, I'm looking for a simple method to search a ViewGroup for a specific view given the id. This ViewGroup could have nested ViewGroups as well, so it needs to be recursive. Anyone know if Android as some type of view iterator? I can't seem to find anything. Thanks

[android-developers] Re: How to iterate a ViewGroup for a specific view id?

2009-02-11 Thread Romain Guy
findViewById() On Wed, Feb 11, 2009 at 2:17 PM, steele johnson jsal...@gmail.com wrote: Hello, I'm looking for a simple method to search a ViewGroup for a specific view given the id. This ViewGroup could have nested ViewGroups as well, so it needs to be recursive. Anyone know if Android as

[android-developers] Re: How to get sms message from intent

2009-02-11 Thread Mark K
You don't need to use the telephone class, use a Broadcast reciever to grab messages as thay come in, as such public void onReceive(Context context, Intent intent) { // if the abort command is issued this will execute when the next message is received.

[android-developers] Re: Apple Why G1 Has No 3.5mm Headphone Input?

2009-02-11 Thread Mark K
What the patent issue really means is that an OEM manufacturer outside the US, with no US assets will implement the mult-touch interface, if no US company is willing to. We really need patent reform in this country, our bass-ackwards patent laws are preventing competition, and short changing

[android-developers] Re: Is VideoView Broken?

2009-02-11 Thread Marco Nelissen
Audio and video *are* handled the same way. The problem you're running in to is twofold: 1) The string res/raw/yourfile.ext is a relative path to a file and does not refer to a resource compiled in to your apk. If you want to refer to a resource, you generally use its resource ID, e.g. something

[android-developers] Re: How to iterate a ViewGroup for a specific view id?

2009-02-11 Thread steele johnson
Hmm, that didn't work for me after dynamically inserting a layout. I had to call that on the inserted layout for it to find it within its children. If I call it from the parent, it does not work even though I know it has been added to a child layout. On Feb 11, 5:20 pm, Romain Guy

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Marco Nelissen
On Wed, Feb 11, 2009 at 1:26 PM, Stoyan Damov stoyan.da...@gmail.com wrote: I know it's totally off-topic post but since there are Google engineers hanging on this list who might be interested in the fact that the latest upgrade is VERY buggy I have no choice but to rant a bit. In fact, you

[android-developers] Re: Vertical SeekBar?

2009-02-11 Thread Jared
I am still interested in solving this. Does anyone have an idea on how to accomplish this? On Feb 8, 2:00 pm, Jared jared.h...@gmail.com wrote: Is it possible to have a vertical SeekBar? I would want this for a tilt control slider. --~--~-~--~~~---~--~~ You

[android-developers] Problem reading file

2009-02-11 Thread David
Hey guys, I need some help with reading the contents of a file. I have a plaintext file called 'test' in my app's files/ directory. I have this code to read it: public String loadFile(String filename) { try { FileInputStream

[android-developers] Re: Problem reading file

2009-02-11 Thread Mark Murphy
David wrote: Hey guys, I need some help with reading the contents of a file. I have a plaintext file called 'test' in my app's files/ directory. I have this code to read it: public String loadFile(String filename) { try {

[android-developers] Re: Problem reading file

2009-02-11 Thread Mark Murphy
David wrote: Hey guys, I need some help with reading the contents of a file. I have a plaintext file called 'test' in my app's files/ directory. I have this code to read it: public String loadFile(String filename) { try {

[android-developers] How to manually show the EditTextPreference dialog?

2009-02-11 Thread Kuba Lipiński
Hi, I have a Preferences dialog with some EditTextPreference elements. The preference values can be edited by end-users when they click on the particular item. However, at the first application launch, I would like to create a sort of wizard to guide the end-users through the configuration. I

[android-developers] Gallery and setSelection

2009-02-11 Thread Alexey
Hi i have a gallery created from code and it has OnItemSelectedListener . I set selected item from the code by mGallery.setSelection(idx); and expect a callback into my onItemSelected But it't doesn't happen - how i can trigger onItemSelected to get hit from code ? thanks Alex

[android-developers] Re: It is now MID-Q1, where are the Paid Apps?

2009-02-11 Thread Mark K
Since Google is run by developers, that timeline was specified in 'developer time', in developer time mid Q1 = late Q1 to mid Q2 . :) At least you have plenty of time to get your apps ready, which is nice since we're also running on 'developer time'. M On Feb 11,

[android-developers] Re: Gallery and setSelection

2009-02-11 Thread Sundog
setSelection doesn't generate any events, so your listener never hear anything. I think someone worked out a way to inject an event but I can't find it now. On Feb 11, 4:02 pm, Alexey avolo...@gmail.com wrote: Hi i have a gallery created from code and it has OnItemSelectedListener . I set

[android-developers] Re: It is now MID-Q1, where are the Paid Apps?

2009-02-11 Thread Sundog
Let's hope not; finance people, investors, phone buyers, industry analysts etc. don't understand developer time. By mid Q2 here's one developer that will have given up and moved on. On Feb 11, 4:06 pm, Mark K mark.ka...@gmail.com wrote:    Since Google is run by developers, that timeline was

[android-developers] Re: Cant go back to previous page from webview page.

2009-02-11 Thread Komal
This is my class where i m using web view,,please have a look at its settings. package android.News; import android.app.Activity; import android.os.Bundle; import android.webkit.WebSettings; import android.webkit.WebView; public class DetailData extends Activity { WebView browser;

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Stoyan Damov
My other choice was to rant in the forest and hope someone would hear the clap of my hands. Who shall I rant to? T-Mobile? They could care less - they don't manufacture the device and they don't develop the OS. HTC? They don't develop the OS. I don't see how would T-Mobile be responsible for the

[android-developers] Re: Wallpaper

2009-02-11 Thread Rohit
Talking to myself here :( Here is what I figured out. The wallpaper is saved in /data/data/ com.android.settings/files/wallpaper and yes there is a wallpaper service. Rohit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] hosting apk files on godaddy shared windows hosting

2009-02-11 Thread Josh
Ii know that I am supposed to add application/vnd.android.package- archive mime type in iis however i have to access to this. I have emailed godaddy asking them to add it but i just wanted to see if anyone knows of an alternate method that i could use to allow my users to download this from my

[android-developers] Re: How to prevent my application being closed on clicking the back button on emulator

2009-02-11 Thread Komal
Hello NewDev, I am facing the same problem.do u have solution of it???if u have then please post it. Thanx. On Feb 5, 9:47 pm, NewDev kna...@gmail.com wrote: Hi, I have anapplicationwith main view having a search button. On clicking the search button, search results are displayed in a text

[android-developers] Re: How to prevent my application being closed on clicking the back button on emulator

2009-02-11 Thread Dianne Hackborn
Implement onKeyDown() to catch the back button. On Thu, Feb 5, 2009 at 2:47 AM, NewDev kna...@gmail.com wrote: Hi, I have an application with main view having a search button. On clicking the search button, search results are displayed in a text view. When I hit the back button at this

[android-developers] Re: Vertical SeekBar?

2009-02-11 Thread Dianne Hackborn
Probably copying the seek bar code and modifying it to work how you want. On Wed, Feb 11, 2009 at 2:37 PM, Jared jared.h...@gmail.com wrote: I am still interested in solving this. Does anyone have an idea on how to accomplish this? On Feb 8, 2:00 pm, Jared jared.h...@gmail.com wrote: Is

[android-developers] Re: Get keycode of letter

2009-02-11 Thread Al
Excellent, that worked like a charm, thanks. On Feb 11, 5:53 pm, Dianne Hackborn hack...@android.com wrote: This is the class used to perform mappings with the key character map: http://code.google.com/android/reference/android/view/KeyCharacterMap... On Wed, Feb 11, 2009 at 7:46 AM, Al

[android-developers] Re: hosting apk files on godaddy shared windows hosting

2009-02-11 Thread Al
What http server are you using? I know for Apache, you can use AddType inside .htaccess. There will probably be equivalents to this for whatever software GoDaddy is using. On Feb 11, 11:26 pm, Josh joshdo...@gmail.com wrote: Ii know that I am supposed to add application/vnd.android.package-

[android-developers] Re: How to manually show the EditTextPreference dialog?

2009-02-11 Thread Al
Hi, you could use a standard layout with EditText and other elements and then use SharedPreferences class (http://code.google.com/android/ reference/android/content/SharedPreferences.html) to edit() and commit () whatever value they enter to the preferences file. On Feb 11, 10:59 pm, Kuba

[android-developers] Re: Flipping from one screen to another

2009-02-11 Thread Al
Have a look at the ViewFlipper class. On Feb 11, 4:01 pm, karthik mknarayan1...@gmail.com wrote: i wanted to flip from one screen to another,Can anyone help me how to start with. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: package isn’t signed corr ectly error on customer install - Market problem??

2009-02-11 Thread Al
Hi, have you tried verifying the signed apk? Maybe the file got corrupted while uploading or something? On Feb 11, 5:25 pm, Jeff jlb...@gmail.com wrote: A customer wrote me that his upgrade of my app would not install and gave the following error: package isn’t signed correctly The install

[android-developers] Re: Webview increasing MAXFILESIZE

2009-02-11 Thread Fred Grott(shareme)
This page: http://code.google.com/android/reference/android/content/ContentResolver.html On Feb 11, 3:16 am, Amilask amil...@gmail.com wrote: Hi all, I am new to android platform. I need to increase the max file size (8096) in webview. In a thread I  saw that if i need to increase that

[android-developers] Re: hosting apk files on godaddy shared windows hosting

2009-02-11 Thread Josh Dobbs
It's running Windows Server On Wed, Feb 11, 2009 at 3:52 PM, Al alcapw...@googlemail.com wrote: What http server are you using? I know for Apache, you can use AddType inside .htaccess. There will probably be equivalents to this for whatever software GoDaddy is using. On Feb 11, 11:26 pm,

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Bill Zimmerly
I would like to rant about it too now too... After the updates, I plug in my Android Dev Phone 1... C:\ adb devices List of devices attached C:\ Will this be fixed soon Google? T-Mobile? Open Handset Alliance? I can no longer run adb -d shell since the device cannot be found!

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Mark Murphy
Bill Zimmerly wrote: I would like to rant about it too now too... After the updates, I plug in my Android Dev Phone 1... C:\ adb devices List of devices attached C:\ Have you restarted the adb server process? If not, try running adb kill-server, then run adb devices again, and see if

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Bill Zimmerly
This is what I got, Mark... Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\adb kill-server C:\adb devices * daemon not running. starting it now * * daemon started successfully * List of devices attached C:\ ...still no luck. :( On Feb 11, 6:18 pm, Mark

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Dianne Hackborn
On Wed, Feb 11, 2009 at 3:22 PM, Stoyan Damov stoyan.da...@gmail.comwrote: Who shall I rant to? T-Mobile? They could care less - they don't manufacture the device and they don't develop the OS. HTC? They don't develop the OS. Actually the G1 is T-Mobile's phone, and they do very much care

[android-developers] new to maps.. need help with locating position

2009-02-11 Thread Zi Yong Chua
Hi guys, I am trying to create a free app to indicate the nearest hospital/atm/ banks or whatever not for the city I am in. The problem i have not is generating the code to pull the location of such places. Can someone enlighten me how to ask the system to search for the location, if I manage

[android-developers] listview lose focus when touch

2009-02-11 Thread 百合的味道
hi all, now l have a listview,the item in listview is tablelayout.when listitem can focus when i use the trackball,but when i touch the listitem,it lose focus,why? my adapter is extended ArrayAdapter like this public class SimpleStringAdapter extends ArrayAdapterTableLayout{ public

[android-developers] Re: listview lose focus when touch

2009-02-11 Thread Romain Guy
That's normal: http://android-developers.blogspot.com/2008/12/touch-mode.html On Wed, Feb 11, 2009 at 5:09 PM, 百合的味道 lbf20080...@tom.com wrote: hi all, now l have a listview,the item in listview is tablelayout.when listitem can focus when i use the trackball,but when i touch the

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Bill Zimmerly
Okay, I restored my ADP1 from backups and have my system back again. Phew! Here is what I get now... Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\adb devices List of devices attached HT846GZ39323device C:\ ...now here's to hoping that another OTA

[android-developers] Re: Market numbers are weird the last few days

2009-02-11 Thread Mark K
Since the update users are prompted by there status bar to update all applications that are installed, and have an update avialble, that probably explains the increase in traffic due to update downloads. Mark On Feb 9, 8:57 pm, Jay-andro jayan...@gmail.com wrote: Starting

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-11 Thread yukinoba
Could someone give a little bit information about any possible solution or hint? I have searched in this forum and nothing about this topic :-( On 2月11日, 下午6時44分, yukinoba ckmagic...@gmail.com wrote: More information: Most of the data (surname) here are utf-8 encoded, does this cause the

[android-developers] Re: Gallery and setSelection

2009-02-11 Thread Alexey
Well it's pretty clear that event is not firing, my question is how to get it to fire. I'm adding/removing a TextView to a gallery and want that view get selected in the gallery. On Feb 11, 5:09 pm, Sundog sunns...@gmail.com wrote: setSelection doesn't generate any events, so your listener

[android-developers] Re: the android's built in video player, supports which file format

2009-02-11 Thread waterblood
Does Google has any plan for other format support , as avi, rm? On 1月15日, 下午1时27分, rktb yend...@pv.com wrote: Did you really mean pm4 or mp4? pm4 -- I don't know what this is avi -- To the best of my knowledge, we don't have support for this currently. Audio -- AAC (AAC-LC, AAC+, Enhanced

[android-developers] Re: Gallery and setSelection

2009-02-11 Thread Sundog
I was trying to make clear WHY it didn't fire. Hopefully the person who solved it before will see this. On Feb 11, 6:43 pm, Alexey avolo...@gmail.com wrote: Well it's pretty clear that event is not firing, my question is how to get it to fire. I'm adding/removing a TextView to a gallery and

[android-developers] Re: the android's built in video player, supports which file format

2009-02-11 Thread Urakagi
No matter which video player, they all can only support mp4/3gp and WMV7/8. I'm really sad to get one star because of that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] How to bring a existing activity to foregroung when the application icon in program list is clicked

2009-02-11 Thread Jiang
When the application icon in program list is clicked, create a new activity if the activity does not exist, or bring the existing activity to foreground. I tried to add add launchMode to manifest but that does not take effect, The related part of manifest like: activity

[android-developers] Is there any way to Abort the instrumentation test case

2009-02-11 Thread Anshul
I have an instrumentation test case that is waiting for an incoming call. I would like to abort this test case after some time from outside of this test case. Is there any argument to adb shell am instrument command that will stop the on going instrument test case? Thanks, -Anshul

[android-developers] Re: new to maps.. need help with locating position

2009-02-11 Thread Zi Yong Chua
I am working on this code, it returns no error but it doesnt display maps on the emulator... it doesnt seem to be able to find the mapview @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] SurfaceView transparent through to its parent?

2009-02-11 Thread Blake B.
I have a SurfaceView that is covering a portion of its parent, a RelativeLayout. I have a background image covering the full RelativeLayout area, and this is my Activity's main layout. I would like to have the SurfaceView be transparent so that I can see through to the background image on its

[android-developers] Help! About Notification list problem

2009-02-11 Thread Ernest
Hi,folk I want to ask one question: If my notification show in the notification list, when user select it, is it possible to show some custom menu without lanuch any activity. I try to make the notification start a special theme activity looks like a context menu,but the notification

[android-developers] Re: Problem reading file

2009-02-11 Thread David
Unfortunately, that didn't solve my problem. Any other help? P.S. I tried that tutorial in normal java and it worked, but not in android. On Feb 11, 5:51 pm, Mark Murphy mmur...@commonsware.com wrote: David wrote: Hey guys, I need some help with reading the contents of a file. I have a

[android-developers] Re: SurfaceView transparent through to its parent?

2009-02-11 Thread Dianne Hackborn
The surface view is actually BEHIND your window, and a hole punched in the window for you to see it. You thus can put things on top of it in your window, but nothing in your window can appear behind it. On Wed, Feb 11, 2009 at 6:46 PM, Blake B. bbuckle...@yahoo.com wrote: I have a SurfaceView

[android-developers] Re: Where is a system-image for DP1?

2009-02-11 Thread cpedia
Is this really the official release of ADP 1.1? http://andblogs.net/2009/02/new-adp1-update-official-with-google-voice-and-more/comment-page-1/ On Feb 10, 8:55 pm, Jean-Baptiste Queru j...@android.com wrote: At this point I can't give any schedule estimate. JBQ On Tue, Feb 10, 2009 at

[android-developers] Re: Where is a system-image for DP1?

2009-02-11 Thread Disconnect
That post was updated earlier today with more information - the image that was found 'way back when' was the stock holiday bonus phone image for googlers. The new OTA update is the rc33-equiv for those phones. (So nothing yet for adp1 except the backup images jf pulled 'way back when' or this

[android-developers] Re: Over-the-air upgrade WTF

2009-02-11 Thread Bill Zimmerly
Okay, I restored my ADP1 from backups and have my system back again. Phew! ...now here's to hoping that another OTA Holiday Update isn't forthcoming on the development phone - unless it has a button allowing me to say I don't want it and don't bother me again about it.

[android-developers] Re: Attn Google - How does licensing work in transitioning from a free app to a paid app?

2009-02-11 Thread snctln
I am not a Google employee but I hope you don't mind if I chime in In the Developer Distribution Agreement it says 3.3 You may also choose to distribute Products for free. If the Product is free, you will not be charged a Transaction Fee. You may not collect future charges from users for copies

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-11 Thread JS
Does ADP 1.1 holiday image includes Google Latitude? On Feb 10, 8:00 am, shimo...@gmail.com shimo...@gmail.com wrote: Hi, Is there a link to instructions on how do I use this ZIP to update my ADP1 device ? TIA On Feb 10, 4:36 pm, Disconnect dc.disconn...@gmail.com wrote: Oh, and I

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2009-02-11 Thread Shibbs
Hi guys, Just want to give another angle to it... which was successfully run tested. Yesterday while streaming video cam images { through socket - getting bitmaps at a good refresh rate} we where getting this nasty Out of memory error and as one the posting suggested to recycle the bitmaps

[android-developers] Re: limit screen size of an application ..

2009-02-11 Thread Dan Raaka
I think the platform is more appropriate .. I will look into the classes your mentioned .. particularly the IME windows is more tune to what i want .. -Dan On Feb 4, 10:43 pm, Dianne Hackborn hack...@android.com wrote: Given that you are posting this to both android-developers and

[android-developers] multiclass UIs in application and class constructors

2009-02-11 Thread automerc
Is it possible to have the android load up another UI from a different class through a Onclicklistener? What I mean is that if I have two UI classes (c1 using m1.xml and c2 using m2.xml). Is there a way to load the c2 UI though the onlicklistener set on a button? When I was programming in java

[android-developers] display the device screen on the PC

2009-02-11 Thread Dan Raaka
I has seen someone write an java app to show the device screen on the PC - realtime thru repeated frame grabs. It used the same method as used by the eclipse DDMS perspective to capture the screen shot of the connected device or emulator. Can anyone post the link again .. ??.. -Dan

[android-developers] Re: Problem with SDK 1.1 - can not see javadoc

2009-02-11 Thread g1bb
Same here! On Feb 10, 7:45 am, NJ neerhajnjo...@gmail.com wrote: yeah, I am having the same problem, still haven't found a solution. On Feb 10, 1:26 pm, tranbinh.b...@gmail.com tranbinh.b...@gmail.com wrote: Dear all, I have just upgraded the SDK version to 1.1. But after that, I can

[android-developers] Re: the android's built in video player, supports which file format

2009-02-11 Thread Dave Sparks
We have no plans to support those formats. Android manufacturers always have the option of including other file formats and codecs if the demand is there. On Feb 11, 5:57 pm, waterblood guoyin.c...@gmail.com wrote: Does Google has any plan for other format support , as avi, rm? On 1月15日,

[android-developers] Problem with customer view

2009-02-11 Thread Allie
Hi: I am trying to use my customer view and got the following error. I wonder if anyone can give me some advice. Thanks. I/ActivityManager( 50): Starting activity: Intent { comp= {com.example.android. apis/com.example.android.apis.view.ChiralList} } D/AndroidRuntime( 381): Shutting down VM

[android-developers] Re: Gallery and setSelection

2009-02-11 Thread Munish
can u pls send the code for ur query? On Feb 12, 7:24 am, Sundog sunns...@gmail.com wrote: I was trying to make clear WHY it didn't fire. Hopefully the person who solved it before will see this. On Feb 11, 6:43 pm, Alexey avolo...@gmail.com wrote: Well it's pretty clear that event is

[android-developers] Re: Gallery and setSelection

2009-02-11 Thread Alexey
I don't make a query i have a Gallery with custom adapter. I'm adding new item to the adapter by removing all items and putting everything back, along with new item. Now i want to set selection in my gallery to that new item. On Feb 11, 10:04 pm, Munish munish.sha...@lntinfotech.com wrote: can

[android-developers] Re: how to get camera object for double camera

2009-02-11 Thread Dave Sparks
SDK 1.0 only has support for one camera. When we have demand for a second camera from an Android partner, we'll add a new API so that you can select the camera. On Feb 11, 1:35 am, Link link.li...@gmail.com wrote: hi, all i wonder how to get camera object in android, if there are two or more

[android-developers] Re: MediaRecorder Sound Quality?

2009-02-11 Thread Dave Sparks
The codec is AMR-NB with an 8KHz sample frequency. In the Cupcake release we will provide access to the raw 16-bit PCM stream so you can do your own encoding or signal processing. On Feb 11, 9:18 am, g1bb corymgibb...@gmail.com wrote: Hello, Is anyone else experiencing poor playback quality

<    1   2   3   >