[android-developers] is android supports rtsp streaming

2009-02-11 Thread Harishkumar V
Dear All, I am trying to play video using rtsp streaming, but it does not work, it displays "sorry this video cannot be played". in the mailing list, i have seen many like this similar have been posted regarding rtsp streaming. i have a doubt whether android supports rtsp streaming of video usin

[android-developers] Re: View the "data" directory on the G1

2009-02-11 Thread Dan Raaka
if its permission issue .. get "su" access .. search for "getting root on G1" -Dan On Feb 11, 10:35 pm, ivan wrote: > How does one view the "/data" directory on the G1? > > I've tried multiple different ways.  Using adb from the command prompt > gives a permission denied message. > > Is there a

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

2009-02-11 Thread Stoyan Damov
On Thu, Feb 12, 2009 at 2:32 AM, Dianne Hackborn wrote: > On Wed, Feb 11, 2009 at 3:22 PM, Stoyan Damov > wrote: >> >> 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

[android-developers] Answer Call

2009-02-11 Thread Bobbie
I am using the following code to do an automatic answer of a call, but it doesn't seem to be working... Intent answercall = new Intent(Intent.ACTION_ANSWER); startActivity(answercall); I get the call state of "ringing," but it never answers... Am I doing this wrong? If so, examles of how to do

[android-developers] Answer Call

2009-02-11 Thread Bobbie
I am using the following code to do an automatic answer of a call, but it doesn't seem to be working... Intent answercall = new Intent(Intent.ACTION_ANSWER); startActivity(answercall); I get the call state of "ringing," but it never answers... Am I doing this wrong? If so, examles of how to do

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

2009-02-11 Thread yukinoba
I have a new question for this: Can there have multiple databases created in the same application or service? I have 2 databases, one for query and store the information about phone numbers, and one for the names. However, the ealier one works fine, and the later one stucks in the method and neve

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

2009-02-11 Thread Mark L. Chang
On Feb 11, 10:47 pm, Dan Raaka wrote: > 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 anyo

[android-developers] View the "data" directory on the G1

2009-02-11 Thread ivan
How does one view the "/data" directory on the G1? I've tried multiple different ways. Using adb from the command prompt gives a permission denied message. Is there any way to get around this denial of access? --~--~-~--~~~---~--~~ You received this message becau

[android-developers] Re: Gallery and setSelection

2009-02-11 Thread Alexey
Ok everything is being called correctly with setSelection. However in my case i'm not getting callback because i'm at item 0 in the gallery. Then i'm adding a view to the adapter, to the top and try to set a selection. And it doesn't trigger callback, because, i think , from gallery point of view

[android-developers] Re: Solved Preferences Reset Problem

2009-02-11 Thread JP
Personally it would be good enough for me to just work as expected... On Feb 11, 2:06 pm, Eric B wrote: > It would be really cool if we could plug in different "Preference" storage > solutions. --~--~-~--~~~---~--~~ You received this message because you are subsc

[android-developers] Re: MediaRecorder Sound Quality?

2009-02-11 Thread g1bb
Thanks, Dave. On Feb 11, 9:12 pm, Dave Sparks wrote: > 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 wrote: > > > Hello, > > > I

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

2009-02-11 Thread Naina K
Hi, Thanks for replying. Yes, i have to use two separate activities to display screens. No I am not using the finish() in the first activitiy :-( To be frank as I am still learning this android development, I am not getting how to use two different activities to display screens. I just know that

[android-developers] recreating webview display with capture picture

2009-02-11 Thread Bob
Hi, Does anyone have an example on how to recreate a webview display by using the capturepicture() method? Can I save the resulting object in SQLLite and how do I put it on the canvas? Thanks, Bob --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Re: Recording Audio with MediaRecorder on G1

2009-02-11 Thread Dave Sparks
I looked over the code and didn't see anything obvious. You won't see anything in the log unless an error occurs - we try to minimize logging in production code. Run adb bugreport and take a look at the kernel log. You should see something like this: <6>[ 820.265000] adsp: opening module AUDPRE

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-11 Thread Dave Sparks
I think we'll be able to give you something that will meet your needs. It's always a balancing act between taking the time to get the API just right and getting a product to market. Keep making suggestions, we are listening. On Feb 11, 4:08 am, blindfold wrote: > Thank you David, I feel relieve

[android-developers] Re: how to get the first frame of a video file ?

2009-02-11 Thread Dave Sparks
There is no support for thumbnail extraction in SDK 1.0. It's coming in Cupcake as an adjunct to video record. On Feb 11, 7:30 am, Freepine wrote: > Opencore has a frame and metadata utility, and there is also an API as > android.media.MediaMetadataRetriever.captureFrame() > in Java layer, but i

[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 wrote: > Hello, > > Is anyone else experiencing poor playback quality on files recorded > w

[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 wrote: > hi, all > > i wonder how to get camera object in android, if there are two or more > cameras in a te

[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 wrote: > can u pls send the code for ur

[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 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 wrote: > > > > > Well it's pretty clear that event is not firing, my question is how

[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 W/

[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 wrote: > Does Google has any plan for other format support , as avi, rm? > > On 1月15日, 下午1时27分, rktb wrote: >

[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 wrote: > yeah, I am having the same problem, still haven't found a solution. > > On Feb 10, 1:26 pm, "tranbinh.b...@gmail.com" > > wrote: > > Dear all, > > I have just upgraded the SDK version to 1.1. > > But after that, I can not see thejavadocof the methods.

[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] 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] 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 wrote: > Given that you are posting this to both android-developers and > android-platform, I have n

[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 wh

[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" 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 wrote: > > > Oh, and I just realized (too late, sorry)

[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: 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: 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 al

[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 wrote: > At this point I can't give any schedule estimate. > > JBQ > > > > On Tue, Feb 10, 2009 at 4:22 AM, c

[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. wrote: > > I have a SurfaceView that is covering a

[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 wrote: > David wrote: > > Hey guys, I need some help with reading the contents of a file. I have > > a plaintext file called

[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 lis

[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 pa

[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); setContentView

[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] 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:

[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 gr

[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 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 want that view ge

[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 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 AAC+),

[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 wrote: > setSelection doesn't generate any events, so your listener never hear > anything.

[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 wrote: > More information: > > Most of the data (surname) here are utf-8 encoded, does this cause the > error? > Could anyon

[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 wrote: > Starting this past weekend,

[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 "H

[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, 百合的味道 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 listitem,it lose > focus,

[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 ArrayAdapter{ public SimpleStringAda

[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 to

[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 wrote: > 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 about broken updates,

[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, Ma

[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, an

[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: 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 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, Josh wrote: > > I

[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 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 > limit, I need to

[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 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 worked fin

[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 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 Google Groups "Android

[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 Lipińs

[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 wrote: > Ii know that I am supposed to add application/vnd.android.package- > archive mime type

[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 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 wrote: > > > Hi,

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

2009-02-11 Thread Sundog
By "screens", do you mean separate activities displaying screens? That's the first thing. Only activities will work correctly with the back button. If you are properly doing it with two separate activities, how are you calling the second one? Are you using a finish() in the first activity? If so,

[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 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 wrote: > > Is it possible to have a vertical Seek

[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 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 view, instead

[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 wrote: > Hi, > > I have anapplicationwith main view having a search button. On > clicking the search button, search results are displayed in a text > view. When

[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 sit

[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 G

[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: 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: 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 wrote: >    Since Google is run by developers, that timeline was specified in > 'deve

[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 wrote: > Hi i have a gallery created from code and it has > OnItemSelectedListener . > I set selected item from

[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, 1

[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] 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 nee

[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] 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: 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 wrote: > Is it possible to have a vertical SeekBar? I would want this for a > tilt control slider. --~--~-~--~~~---~--~~ You received this message b

[android-developers] How to process a MJPEG stream?

2009-02-11 Thread Jared
Anyone have a code example on how to connect to a MJPEG stream, and update an ImageView? I am surprised that the browser doesn't support displaying a MJPEG stream, as it supports JPEG images. Also does anyone know if they plan on adding this feature to the browser in a future release? In case you

[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 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 did have a choice

[android-developers] Re: How to iterate a View 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 wrote: > findV

[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: 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 th

[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: How to iterate a View for a specific view id?

2009-02-11 Thread Romain Guy
findViewById() On Wed, Feb 11, 2009 at 2:17 PM, steele johnson 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 some type > o

[android-developers] How to iterate a View 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: 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 Sh

[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 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 > t

[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 wrote: > > Hi Romain, > > will code like this work or be broken in Cupcake? : > > Uri uri = Uri.parse("content://" + android.provider.Settings.AUTHORITY > + "/favorites"); > ContentResolver cr = getCo

[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 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

[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 I'l

[android-developers] Re: viewable area

2009-02-11 Thread Dianne Hackborn
I don't think we have an example in ApiDemos of writing a custom layout manager, but you can certainly look at the code of the ones included with the platform. At any rate, you don't look at the Canvas for any kind of layout, that can be arbitrarily sized for whatever reason. Currently it is big

[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, yo

[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 st

[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 fu

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread Mark Murphy
kolby wrote: > Hmmm, > >String test = "some text \"#00ff00\">in green"; >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. You need to Uri-escape

[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 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 dont see a

[android-developers] Re: Some bugs of WebView

2009-02-11 Thread kolby
Hmmm, String test = "some text in green"; 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 dynamic web app. Michael On Feb 11, 3:14 pm, M

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

2009-02-11 Thread fadden
On Feb 10, 9:38 pm, Android 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 failed, > err=22 This someti

[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 wrote: > dear all: [...] See my reply to your other (identical) posting: http://groups.google.com/group/android-porting/browse_thread/thread/22f34f48412992b2/1f12fc018f640cac#1f12fc018f640cac --~--~-~--~~~---~--~~ You received thi

  1   2   3   >