[android-developers] Re: audio recording to split (small) files without dropping or overlapping samples

2009-01-16 Thread Dave Sparks
I was just guessing that maybe the OP's use case wasn't actually recording small files, but rather he was running into a limitation in the framework and searching for a workaround. On Jan 16, 3:35 pm, Dan Bornstein wrote: > On Thu, Jan 15, 2009 at 5:16 PM, Dave Sparks wrote: > > I am pretty sur

[android-developers] Re: audio recording to split (small) files without dropping or overlapping samples

2009-01-16 Thread Dave Sparks
OK, now I see where you going with it. :) What you want is coming in Cupcake. There is a streaming interface for audio input and output that gives you an array of audio samples you can do your signal processing on. If you need something for SDK 1.0, there is a MediaRecorder function called getMa

[android-developers] Re: What is OpenCore

2009-01-16 Thread Dave Sparks
OpenCore is the media playback and authoring engine used to render most (but not all) of the media content for Android. As an application developer, you don't access it directly, you access it through the MediaPlayer interface. On Jan 16, 11:18 pm, Tez wrote: > Hi, > > Can anyone tell me what is

[android-developers] Hypotheses for why I can't find a ContentProvider

2009-01-16 Thread Tim Bray
I've written a ContentProvider, stealing heavily from NotePadProvider, I've got the in the manifest, Its CONTENT_URI is com.example.writer.Story/chapters, then when I try to use to use that in a managedQuery(), the cursor comes back null and in the logcat it says E/ActivityThread( 5236): Failed

[android-developers] What is OpenCore

2009-01-16 Thread Tez
Hi, Can anyone tell me what is OpenCore and how do i use it? cheers, Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googl

[android-developers] Transferring a file between emulator instances

2009-01-16 Thread Tez
Hi, I wanted to transfer a file stored on the sdcard of one emulator to another emulator instance. I thought of using the standard Java TCP/IP sockets mechanism. My question is, Is there any other way of accomplishing the transfer and What might be the most efficient way of doing this? Cheers, E

[android-developers] How to handle orientation changing of VideoView/MediaPlayer?

2009-01-16 Thread Urakagi
Hi, I'm writting a Video Player, and I wonder how can I handle orientation changing of VideoView/MediaPlayer. I wrote it without special issues, then it always restart when orientation changes since Activity is destroyed and recreated. But the App "Video Player" can rotate screen with only a littl

[android-developers] Re: Streaming videos in Emulator

2009-01-16 Thread rktb
RTSP streaming has an issue on the Android emulator. That could be the reason why you are not able to stream. Also, mp3 streaming over RTSP protocol is currently not supported by the mediaplayer. In general, HTTP streaming is supported (for both mp4 and mp3) and working well on the emulator. Ple

[android-developers] Re: Streaming videos in Emulator

2009-01-16 Thread Tez
Hi, You mentioned that you were able to "stream" mp3 files. I was wondering how you did this and was this streaming done like something similar to RTP? Cheers, Earlence On Jan 16, 12:48 pm, And-Rider wrote: > Is it possible to stream videos in an android emulator?... > > I tried streaming an m

[android-developers] Re: Creating a JAR that contains references

2009-01-16 Thread Dianne Hackborn
You can't do that, resources can't be linked from another .jar. (Actually resources can't even exist in a .jar, that is a key part of what makes an .apk and .apk and not just a plain .jar). On Fri, Jan 16, 2009 at 2:32 PM, stephen.lloyd.h...@googlemail.com < stephen.lloyd.h...@googlemail.com> wro

[android-developers] Re: Android browser is really slow/buggy when clicking on checkboxes

2009-01-16 Thread Andrew Stadler
This is probably better discussed on android-discuss (if interested in talking about the browser) or android-platform (if you're interested in trying to fix it...) See http://source.android.com/discuss for more information. On Fri, Jan 16, 2009 at 12:44 PM, Chister Nordvik wrote: > > Hi! > >

[android-developers] Re: Background resource doesnt scroll when viewgroup is scrolled

2009-01-16 Thread Rohit
What do you mean I need to handle it myself? Do I need to just have an ImageView act as a background image or is there a set of translation transformations that I need to apply to the view? Rohit On Jan 16, 3:16 pm, Romain Guy wrote: > The background is not supposed to scroll. You will have to

[android-developers] Re: Android Dev Phone 1

2009-01-16 Thread Jo Rhett
Ken, seriously. SIM cards are used by GSM networks. Verizon uses CDMA technology, which doesn't use SIM cards. The G1 Android (a GSM device) will never, ever, ever work on a Verizon network. Wrong technology. You can't get there from here. There probably isn't a reason that Verizon ca

[android-developers] Where can i see deployed Android Apps from webt?

2009-01-16 Thread http://www.ooftish.com
Are there any URL link where I can browse all the deployed Android Apps? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googl

[android-developers] Re: WebView html form POST problem

2009-01-16 Thread Fred Grott(shareme)
Sorry my mind is tired..I know I am missing something in your description Each time the webview loads pages are they al in webview or does any loading open a new browser view? You will know because the title bar of borwser flashes during the page load and says browser On Jan 16, 6:06 pm, ArtJ

[android-developers] Re: VerifyError importing JDBC PostgreSQL Driver

2009-01-16 Thread fadden
On Jan 15, 6:58 pm, Neil wrote: > I am new to Android development, and somewhat new to Java, but have a > good amount of C++ knowledge. I am having trouble using imported .jar > files to use in my code. I am trying to use the PostgreSQL JDBC driver > with my application, and I cannot create a con

[android-developers] Re: I fail to understand 'silent' priority in logcat

2009-01-16 Thread Fred Grott(shareme)
Not sure have not run into a situation where I want LogCat silent On Jan 16, 5:34 pm, "hmmm" wrote: > In the for adb logcat command docs there is: > S - Silent (highest priority, on which nothing is ever printed) > I don't understand this priority, could you, possibly, help me to understand >

[android-developers] WebView html form POST problem

2009-01-16 Thread ArtJin
Hello everyone. I am observing interesting behavior when using WebView to display HTML forms. The description of the problem is little confusing, but I am trying to make it as short, and as understandable as possible. Here is the description of the problem. 1) I have a web page called example.php

[android-developers] Re: SAXParser doesn't resolve Entitiy-References ( EntityResolver )

2009-01-16 Thread plusminus
I did so. The Stream now gets live altered so what was before: ... ="&ref;" now becomes ... ="&ref;" The funny thing is what ends up in the SAX-Parsers parameter is just : "ref;". Evertything between AMPERSANDS and SEMICOLONS gets removed by the SAX-Parser... o_O Or it gets magically resolved wi

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
Oh then you should not worry, it's probably a new API introduced in cupcake. No reason to deal with it in 1.0 then. On Fri, Jan 16, 2009 at 3:58 PM, Ian wrote: > > Thanks for trying to help; unfortunately that doesn't work in SDK > 1.0r2 -- there's no IWallpaperService (or WallpaperService). > P

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Ian
Thanks for trying to help; unfortunately that doesn't work in SDK 1.0r2 -- there's no IWallpaperService (or WallpaperService). Presumably it will in future. Cheers! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: audio recording to split (small) files without dropping or overlapping samples

2009-01-16 Thread Dan Bornstein
On Thu, Jan 15, 2009 at 5:16 PM, Dave Sparks wrote: > I am pretty sure that won't work. Why do you want to record a bunch of > small audio files without dropping samples? Not that this is a target that Android explicitly caters to, but my portable digital recorder can be set to record fixed-leng

[android-developers] I fail to understand 'silent' priority in logcat

2009-01-16 Thread hmmm
In the for adb logcat command docs there is: S - Silent (highest priority, on which nothing is ever printed) I don't understand this priority, could you, possibly, help me to understand better? Thank you! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: audio recording to split (small) files without dropping or overlapping samples

2009-01-16 Thread Matt Flax
we are implementing a sound level meter. For privacy reasons, we don't want the audio lying around on the disk. We could do it on the fly without recording to disk, however I don't think that is possible with the sdk ... is it ? Matt On Fri, Jan 16, 2009 at 12:16 PM, Dave Sparks wrote: > > I am

[android-developers] Re: EARN 100$ PER DAY WITH CJ

2009-01-16 Thread De San Nicolas Jean Philippe
it"s cheap 2009/1/13 namratamo...@gmail.com > > EARN 100$ PER DAY WITH CJ > > http://megalinesolutions.googlepages.com/cj_1 > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: Am I root?

2009-01-16 Thread Beni
Okay, thanks a lot:). Do you think there's a way for me getting back the first package? On Jan 16, 7:39 pm, "Justin (Google Employee)" wrote: > First, I think that package is actually older than what was on the > developer phone, but I could be wrong. > > Second, that image was not designed for

[android-developers] Re: Background resource doesnt scroll when viewgroup is scrolled

2009-01-16 Thread Romain Guy
The background is not supposed to scroll. You will have to handle this yourself. On Fri, Jan 16, 2009 at 2:57 PM, Rohit wrote: > > Hi, >I have a custom ViewGroup that has chilren views. I set the > background of that view to a png image by calling setBackgroundResource > (id). This view is l

[android-developers] Re: Query font name from a TextView

2009-01-16 Thread Khuong
Yes. TextView#getTypeface( ) gives me the handle to the Typeface object, but Typeface doesn't provide a way to get font name information. What I'm trying to do is to query the text metrics (font name, font size, type, widget width, widget height, string id, and etc) for all TextView widgets for a

[android-developers] Re: Android Dev Phone 1

2009-01-16 Thread Paul
I didn't think Verizon had SIM cards either. Is it possible the card you're referring to is the miniSD card? They're about the same size. On Jan 16, 6:53 am, Kenneth Loafman wrote: > I'm not sure how it would work without one.  I have a Motorola Razor with > Verizon.  There's a small card in t

[android-developers] Background resource doesnt scroll when viewgroup is scrolled

2009-01-16 Thread Rohit
Hi, I have a custom ViewGroup that has chilren views. I set the background of that view to a png image by calling setBackgroundResource (id). This view is larger than the screen size. On touch events (move) I want to scroll the view to show the rest of the view. I got the scrolling to work how

[android-developers] Re: Query font name from a TextView

2009-01-16 Thread Al
I think they use Serif and Sans Serif (and their formatted variants) seeing how there's no mention of any other fonts inside the Typeface class. Have you tried calling TextView#getTypeface()? On Jan 16, 7:12 pm, Khuong wrote: > Hi, > > Is there a way to know what font (name) is being used for

[android-developers] How do I get the user's name?

2009-01-16 Thread UBZack
Hi all, does anybody know how to get the user's name? I tried the java.lang.System call: String userName = System.getProperty("user.name"); But it returns an empty string, both on the device and emulator. Is getting the device's user name possible? Thanks for any help you can give. -UBZack -

[android-developers] Creating a JAR that contains references

2009-01-16 Thread stephen.lloyd.h...@googlemail.com
Hi, I've been trying to create (and include in a new application) a JAR file, I've seen all the information on the web regarding how to do this in Eclipse. All seems to go well and I can add my newly created JAR and even debug into it from an app that I've added it to. The problem I am having is

[android-developers] ProgressBar in Webview

2009-01-16 Thread Chris Chiappone
Is there an easy way to show a indeterminate progressBar ontop of a webview. I can create a progress bar but the webview shows up below it. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: orange in R.color ?

2009-01-16 Thread Dianne Hackborn
You can't do that, you have to set the entire background to a Drawable that provides the entire frame as well as background of the content area. On Fri, Jan 16, 2009 at 1:49 PM, gsmd wrote: > > Thanks! Could you plz suggest how to dynamically set TextView > background to orange? Googling for set

[android-developers] Re: orange in R.color ?

2009-01-16 Thread gsmd
Thanks! Could you plz suggest how to dynamically set TextView background to orange? Googling for setCompoundDrawables doesn't lead to any solution. TIA. On Jan 16, 11:31 pm, "Dianne Hackborn" wrote: > It's not a color, it's a drawable. > > On Fri, Jan 16, 2009 at 1:26 PM, gsmd wrote: > > > Wher

[android-developers] API for creating missing thumbnail files?

2009-01-16 Thread GiladH
Hey, My app queries the MediaStore (field = MediaStore.Images.Thumbnails.DATA) to obtain an image's thumbnail file. Every now & again, especially, when it comes to new pictures, that file is simply missing. Is there an API that will allow my app to generate the missing thumbnail file? If not -

[android-developers] Re: orange in R.color ?

2009-01-16 Thread Dianne Hackborn
It's not a color, it's a drawable. On Fri, Jan 16, 2009 at 1:26 PM, gsmd wrote: > > Where's the color used for selection e.g. in ListView? > TIA. > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to p

[android-developers] orange in R.color ?

2009-01-16 Thread gsmd
Where's the color used for selection e.g. in ListView? TIA. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubs

[android-developers] Re: Want to step into the SDK Android code - how to?

2009-01-16 Thread hmmm
Oh, so it's possible! Thanks I'll try then! - Original Message - From: "Khuong" To: "Android Developers" Sent: Saturday, January 17, 2009 12:18 AM Subject: [android-developers] Re: Want to step into the SDK Android code - how to? > > These posts will show you how to setup the source

[android-developers] Re: Want to step into the SDK Android code - how to?

2009-01-16 Thread hmmm
I thought, if I download some Android SDK sources from android.com then I setup some paths or whatever - so I will be able to step into the code, no? Like, I'm able to step into some MFC C++ library source code when doing some VC++ programming, so not so in java why then? - Original Message

[android-developers] Re: Want to step into the SDK Android code - how to?

2009-01-16 Thread Khuong
These posts will show you how to setup the sources folder for Eclipse. http://blogs.zdnet.com/Burnette/?p=706 http://blog.michael-forster.de/2008/12/view-android-source-code-in-eclipse.html http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/ On Jan 16, 3:04 pm, "hmmm

[android-developers] Re: Want to step into the SDK Android code - how to?

2009-01-16 Thread Josh Dobbs
I don't believe it's possible. On Fri, Jan 16, 2009 at 1:04 PM, hmmm wrote: > Hello, > > I'm doing some debugging and thought it would be great if I could step into > the Android SDK source code. > However, I can't figure out how to setup whatever I should setup in Eclipse > to achieve this. >

[android-developers] Want to step into the SDK Android code - how to?

2009-01-16 Thread hmmm
Hello, I'm doing some debugging and thought it would be great if I could step into the Android SDK source code. However, I can't figure out how to setup whatever I should setup in Eclipse to achieve this. If anybody did the same before, could you, please, advise? Thank you! --~--~-~--~

[android-developers] Re: how to send AT command to android phone?

2009-01-16 Thread David Turner
the short answer is that this is not possible. The Android GSM stack is already talking to the modem through the AT comment channel. The AT protocol is not designed to allow several clients to talk to the modem, the latter assumes it only talks to a single device, and is very state-full. If you w

[android-developers] Re: Why Android?

2009-01-16 Thread hmmm
I did some programming in Symbian and now I'm doing some Android stuff and for me Android is much easier in comparison with Symbian. This is because Symbian has some real weird limitations and some real annoying stuff to remember like those push/pop stack things and no exceptions in constructor

[android-developers] Android browser is really slow/buggy when clicking on checkboxes

2009-01-16 Thread Chister Nordvik
Hi! I have made an app that shows a list of RSS feeds at the main screen. One of the reasons is to be able to generate polls for the users and host them on my webserver. The Android browser is close to unusable when clicking checkboxes. At least on my device. The behavior that I am experiencing:

[android-developers] Re: Android Dev Phone 1

2009-01-16 Thread Jeff Smith
Verizon is a CDMA carrier. G1 is a GSM device. The network types are incompatible. You can therefore not use a G1 device on Verizon's network. Jeff Smith -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Kenneth Loafm

[android-developers] Re: working with /cache/recovery/command

2009-01-16 Thread surferdude
Ah, sorry. Will do that now. On Jan 16, 12:00 pm, Jean-Baptiste Queru wrote: > You should be asking this question on android-platform, so that people > coming here to discuss application development with the SDK don't get > lost in the gory details of the underlying platform. > > Thanks, > JBQ >

[android-developers] Re: working with /cache/recovery/command

2009-01-16 Thread Jean-Baptiste Queru
You should be asking this question on android-platform, so that people coming here to discuss application development with the SDK don't get lost in the gory details of the underlying platform. Thanks, JBQ On Fri, Jan 16, 2009 at 11:50 AM, surferdude wrote: > > Hello, > > I'm trying to create m

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-16 Thread Dianne Hackborn
On Thu, Jan 8, 2009 at 4:26 AM, Mike Hearn wrote: > * The directory names are a bit odd - why do they have an extraneous > 'r' in them? The way this works is that each component of the directory name must be uniquely identifiable. So to be able to distinguish between the language and region tw

[android-developers] working with /cache/recovery/command

2009-01-16 Thread surferdude
Hello, I'm trying to create my own OTA update utility for Android and was wondering if anyone knew anything about working with /cache/recovery/ command. I read through some of the source code for the recovery system and it seems as if I add "--update_package=location:file" to this file and reboot

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
I just looked at the source code of Home and it's different from what you said it is. Here is the code I have: IBinder binder = ServiceManager.getService(WALLPAPER_SERVICE); IWallpaperService wallpaperService = IWallpaperService.Stub.asInterface(binder); This should work perfectl

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
Well the wallpaper service is used only to tell the pictures app how big the wallpapers should be. If you handle wallpapers yourself (kinda like what Launcher does in its own wallpaper activity), then you don't need this. Anyway, the wallpaper service should be public, or there should at least be

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Ian
> The problem is that before we make an API public we have to be sure > that we won't have to change it later. Once public, an API has to be > maintained "forever." That's why we try to proceed with caution :) Yup, that's fair enough. (I'm going through the same process myself... ;-) As long as

[android-developers] Re: Error: Read and parse xml file

2009-01-16 Thread Moto
A little more info would be helpful... Also, It would be interesting to see your ExampleHandler... -Moto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-16 Thread pjv
At the moment my thoughts are mainly going towards an android-xml-to- po-converter tool. This would be very useful since gettext is a quite ubiquitous translation tool in the open source world. See my related feature request at Launchpad: https://bugs.launchpad.net/rosetta/+bug/275290. On 15 jan,

[android-developers] Query font name from a TextView

2009-01-16 Thread Khuong
Hi, Is there a way to know what font (name) is being used for a TextView widget? I've looked at the Typeface class, but it doesn't offer a way to retrieve the familyName attribute. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
We unfortunately had to cut a few corners to be able to release Android 1.0 as you know it. We are terribly sorry for this and we definitely want the standard applications to use only public APIs. It is however better for these apps to use private APIs for a little while rather than make APIs publ

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Ian
Thanks for the info, Romain. I guess that explains things. But doesn't that violate the principle of "Apps are created equal", as stated on the Android home page? If the built-in apps have access to these "secret" APIs that I can't use, then how are my apps equally able to do such things as set

[android-developers] Re: How to create Android's Activity from some provider?

2009-01-16 Thread Dianne Hackborn
Don't. You can show notifications from outside of the main UI flow (for background events happening). Doing other UI is generally a really bad user experience. On Fri, Jan 16, 2009 at 12:22 AM, AlexKar wrote: > > Hi! Please give me some advices. How I can show MessageBox (it's > AlertDialod,To

[android-developers] Re: Regarding

2009-01-16 Thread James Yum
Hi Naina, The log would be more helpful to you. You can use either adb logcat: http://code.google.com/android/reference/adb.html#logcat or DDMS: within eclipse Window > Open Perspective > DDMS. Cheers, James On Fri, Jan 16, 2009 at 2:01 AM, Naina K wrote: > Hi, > > This is Naina. I went throu

[android-developers] Re: why people claim the function onCreate public?

2009-01-16 Thread Mark Murphy
cindy wrote: > onCreate is defined as a protected function in Activity. But for all > the sample code, in the class extends from > Activity class, it has been declared as public function. > > @Override > public void onCreate(Bundle icicle) { > super.onCreate(icicle); > ..} > > Is that uncommon

[android-developers] Re: Getting platform source that matches the SDK?

2009-01-16 Thread Romain Guy
Hi, Some APIs in the source code are marked with a special tag called @hide. All fields, methods and classes marked @hide are considered private APIs and not part of the SDK. On Fri, Jan 16, 2009 at 9:46 AM, Ian wrote: > > Sorry for what may be a dumb question, but I'm trying to figure out > ho

[android-developers] Re: why people claim the function onCreate public?

2009-01-16 Thread Romain Guy
Both work but in theory it's better to keep the visibility protected. On Fri, Jan 16, 2009 at 10:37 AM, cindy wrote: > > onCreate is defined as a protected function in Activity. But for all > the sample code, in the class extends from > Activity class, it has been declared as public function. >

[android-developers] Re: Am I root?

2009-01-16 Thread Justin (Google Employee)
First, I think that package is actually older than what was on the developer phone, but I could be wrong. Second, that image was not designed for the developer phone. While I think its possible to use root with that system version, its not straightforward or officially supported. Regards, Justin

[android-developers] why people claim the function onCreate public?

2009-01-16 Thread cindy
onCreate is defined as a protected function in Activity. But for all the sample code, in the class extends from Activity class, it has been declared as public function. @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); ..} Is that uncommon? --~--~-~--~~--

[android-developers] Re: touch hanging

2009-01-16 Thread cindy
I have same problem on G1. How about other developers using G1? On Jan 16, 12:27 am, Osman Ahmed Osman wrote: > Hello, > This may not be the right avenue, but I'm not sure what is. > The touch functionality on my screen will often stop working (ie the phone > doesn't recognize touches, but t

[android-developers] Library to convert an rtmp stream to rtsp?

2009-01-16 Thread dar
Does anyone know of a library or component which can be used to open and convert an RTMP video stream to RTSP to be used with the MediaPlayer object? Specifically looking to use this on the G1 with the current sdk. --~--~-~--~~~---~--~~ You received this message be

[android-developers] Re: AutoCompleteTextView for contacts

2009-01-16 Thread Odessa Silverberg
Well instead of using try SimpleCursorAdapter sAdapter = new SimpleCursorAdapter (this, R.layout.menulist_complexitem, cursor, new String[] { Pe

[android-developers] Re: AutoCompleteTextView: Need help.

2009-01-16 Thread Odessa Silverberg
You can also get the Cursor to the selected item by using Cursor c = (Cursor)parent.getItemAtPosition(position); and simply get the name by using String name = c.getString(nameColumIndex); On Jan 15, 11:22 pm, Andrew Stadler wrote: > Don- > > Here is one way to do this: > > In your activity d

[android-developers] Am I root?

2009-01-16 Thread Beni
Hi Guys, >From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? Anyways, a few days ago I updated my G1 with this package: https://android.clients.google.com/updates/signed-kila-ota-115247-prereq.TC4-RC19+

[android-developers] Need Help Using Table Layout

2009-01-16 Thread siva
Hi All, I am newbie to google android development. I have gone through some examples given in the android downloads.I have to develop a application which requires data to be displayed dynamically. Where each row should split into cells and each cell should act as a view means in each row i would

[android-developers] Error: Read and parse xml file

2009-01-16 Thread Sabi
Code I am using as: /* Create a new TextView to display the parsingresult later. */ TextView tv = new TextView(this); try { /* Create a URL we want to load some xml-data from. */ URL url = new URL("http://www.anddev.org/images/tut/basic/

[android-developers] Why Android?

2009-01-16 Thread work.jonsm...@googlemail.com
I need to develop a network security auditing application for the use on a Smartphone. As this is for my final year dissertation project, I need some primary research and it would be really good to get feedback on why I should choose Android over any other Smartphone operating system from people t

[android-developers] Why Android

2009-01-16 Thread work.jonsm...@googlemail.com
Hi all I need to develop a network security auditing application for the use on a Smartphone. As this is for my final year dissertation project, I need some primary research and it would be really good to get feedback on why I should choose Android over any other Smartphone operating system from

[android-developers] touch hanging

2009-01-16 Thread Osman Ahmed Osman
Hello, This may not be the right avenue, but I'm not sure what is. The touch functionality on my screen will often stop working (ie the phone doesn't recognize touches, but the keypad/buttons still work fine). The only way to fix this, afaik, is a reboot, which is annoying to do several times

[android-developers] How to create Android's Activity from some provider?

2009-01-16 Thread AlexKar
Hi! Please give me some advices. How I can show MessageBox (it's AlertDialod,Toast) from my location provider. More general question is How to create or launch Android's Activity from some provider. --~--~-~--~~~---~--~~ You received this message because you are su

[android-developers] Am I root?

2009-01-16 Thread Beni
Hi Guys, >From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? Anyways, a few days ago I updated my G1 with this package: https://android.clients.google.com/updates/signed-kila-ota-115247-prereq.TC4-RC19+

[android-developers] Error : Using XMLReader parse the XML file

2009-01-16 Thread Sabi
Code I am using: URL url = new URL("http://www.anddev.org/images/tut/basic/ parsingxml/example.xml"); /* Get a SAXParser from the SAXPArserFactory. */ SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser();

[android-developers] Am I root?

2009-01-16 Thread Beni
Hi Guys, >From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? Anyways, a few days ago I updated my G1 with this package: https://android.clients.google.com/updates/signed-kila-ota-115247-prereq.TC4-RC19+

[android-developers] Am I root?

2009-01-16 Thread Beni
Hi Guys, >From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? Anyways, a few days ago I updated my G1 with this package: https://android.clients.google.com/updates/signed-kila-ota-115247-prereq.TC4-RC19+

[android-developers] Re: how to send AT command to android phone?

2009-01-16 Thread enri
Have you found any info on this, I'm looking to do essentially the same thing On Jan 3, 9:53 pm, barqw wrote: > such as ATH.THANKS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: application will crash when G1 changed to landscape display

2009-01-16 Thread cindy
Thanks Mark. What is the difference of using "runOnUiThread()" and Handler? When application is running, it will create a main thread. using post will send a message to thread/message queue. does android have a dedicated thread for UI? Thanks! On Jan 15, 5:55 pm, Mark Murphy wrote: > cindy w

[android-developers] Re: Capturing the PictureWasTaken event

2009-01-16 Thread GiladH
Hey Dave, issue solved by periodically polling the mediaStore, as you suggested. Tnx, GiladH --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Getting platform source that matches the SDK?

2009-01-16 Thread Ian
Sorry for what may be a dumb question, but I'm trying to figure out how to get source code for Android which actually matches the SDK. For example, I'd like to get the camera app and build a customized version that I can run on the G1. When I download the platform, the code I get doesn't build in

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-16 Thread Dianne Hackborn
On Fri, Jan 16, 2009 at 2:43 AM, whitemice wrote: > android:name="test.TheirContentProvider" > android:authorities="myComponentNamespace.theirApplicaitonNamespace" > > > > > The meta data name is a global namespace to all applications, so you must qualify it. You should do it something

[android-developers] Re: Debugging on the Dev 1

2009-01-16 Thread Faber Fedor
Has anyone been able to use their Dev 1 Phone on their Linux boxen? I can't get my CentOS 5 (udev version 95) or my Ubuntu 8.04 (Heron, udev 117) under VMware to see the device ('adb devices' lists nothing). My Macbook can, unfortunately, see it, so I know the phone if functional. The CentOS mach

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Dianne Hackborn
On Fri, Jan 16, 2009 at 9:01 AM, Bobbie wrote: > 3) My intent wasn't to create a thread for each key, I just needed to > make sure the keystrokes were posted in order, so I thought this was > the best way to do it. Actually, putting each thing to do in a separate thread ensures that you have no

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Mark Murphy
Bobbie wrote: > Here are my replies, next to the number I am answering for your post: > > 1) Yes, after every keystroke, I can change that if need be to update > on a timer instead (would that be a better way to do it?) Most chat applications wait until , or a button click, or something to indic

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread A T
Waiting for the threads to join in this case sort of defeats the purpose of having the threads... but, yea, the LinkedBlockingQueue sounds like the solution you need. Just wanted to second that... On Fri, Jan 16, 2009 at 12:01 PM, Bobbie wrote: > > > Your code snippet is useful, but since it is

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Bobbie
> Your code snippet is useful, but since it is a part of a larger project, > some of my comments may be completely wrong. So, your patience is requested. > > 1. Do I understand your flow correctly -- you are sending an HTTP POST > after *every keystroke*? After all, onKeyUp() will get called after

[android-developers] Re: UI Freezing Issue

2009-01-16 Thread Mark Murphy
Bobbie wrote: > I am trying to do a real-time chat application (where the Android > user's text shows up real-time in a web interface running in a browser > on someon'es PC). Right now I'm having it post the text in a textbox > using "onKeyUp" and running it in a background thread (using > "threa

[android-developers] Re: newbie question

2009-01-16 Thread Stoyan Damov
Take a look at the flags of Paint's constructor for antialiasing, dithering, etc. When you draw a bitmap you pass a paint parameter to the Canvas.drawImage method. HTH, Stoyan On Fri, Jan 16, 2009 at 5:59 PM, Romkin wrote: > > Argh, i see it is simple as well, drawBitmap does it automatically,

[android-developers] Re: Getting the phone number.................

2009-01-16 Thread Dan
I'm not sure if that is what Pratap was after - if you want to access your contact list from the phone the video mentioned should help you out but if you are looking to get the actual phone number of the device, take a look at this thread http://groups.google.com/group/android-developers/browse_f

[android-developers] Re: Streaming videos in Emulator

2009-01-16 Thread John Lauricella
The emulator does not have a video player installed, so it can't play video. If you get the "Sorry, this video cannot.." message, that means you probably did your code correctly, there just is no video player available to the system. I bet if you try that out on a real phone, it will work.> Date

[android-developers] UI Freezing Issue

2009-01-16 Thread Bobbie
I am trying to do a real-time chat application (where the Android user's text shows up real-time in a web interface running in a browser on someon'es PC). Right now I'm having it post the text in a textbox using "onKeyUp" and running it in a background thread (using "thread.join()" so it doesn't

[android-developers] Re: newbie question

2009-01-16 Thread Romkin
Argh, i see it is simple as well, drawBitmap does it automatically, the only problem it doesn't do anti-alising like iphone does it. On 13 Jan, 15:20, Sundog wrote: > ImageViews are capable of scaling themselves... see > > http://code.google.com/android/reference/android/widget/ImageView.Sca...

[android-developers] Re: SAXParser doesn't resolve Entitiy-References ( EntityResolver )

2009-01-16 Thread Daniel Janev
So, if you want to use the SAXParser you can write a wrapper of the stream it uses and to change any & with & :) Another possible solution is to find parser which can parse correct all data with &. plusminus wrote: > I can't (properly) do so, because I do not serve the data. > > Best Regards, >

[android-developers] Re: SAXParser doesn't resolve Entitiy-References ( EntityResolver )

2009-01-16 Thread plusminus
I can't (properly) do so, because I do not serve the data. Best Regards, plusminus On 16 Jan., 08:41, Daniel Janev wrote: >         Hi Guys, > > Why don't you try to escape the &? I've had same problems with kXML > parser for MIDP and escaping the "&" with & everything works fine. > > > > plusm

  1   2   >