Re: [android-developers] Video display not coming on Android1.6 SDK on OMAP3430 board

2010-01-04 Thread Anil Sasidharan
Hi, Since your Android port uses overlays for video output, please enable the overlay support in kernel and try. Warm Regards, Anil On Thu, Dec 17, 2009 at 2:40 PM, Ashu wrote: > Hi, > In porting android SDK 1.6, we are facing an issue with video display. > The board is unable to play

[android-developers] Re: adp1 seeing adhoc networks

2010-01-04 Thread moneytoo
Android does not support connecting to Ad hoc networks. It's possible but it's tricky - you have to have root, modify some files and manually specify all network details cause ad hoc network will not display in the search list. On Jan 5, 4:04 am, Ron wrote: > I'm trying to set up my adp1 to see a

RE: [android-developers] Re: ListActivity not updating on Database update.

2010-01-04 Thread Hjcheon
-Original Message- From: Lance Nanek Sent: Tuesday, January 05, 2010 1:31 PM To: Android Developers Subject: [android-developers] Re: ListActivity not updating on Database update. Have you tried calling requery on the underlying Cursor? On Jan 4, 8:00 pm, mac-systems wrote: > Hello,

[android-developers] Upgrade android OS from 1.5 to 2.0 in HTC Magic

2010-01-04 Thread RamaMohan
Hi all, I am Using HTC magic with android os 1.5 version.I want to upgrade the version to 2.0. Is it Possible to upgrade the android Os.If can upgrade,Please tell me how to upgrade the Android OS . Thanks Ram -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

2010-01-04 Thread RamaMohan
Hi all, I am using HTC Magic (android os 1.5) for my development testing. When i try to run any map application it is saying the following error. installation error: INSTALL_FAILED_MISSING_SHARED_LIBRAR

[android-developers] Re: How can i know internet data usage??

2010-01-04 Thread debnath68
hi , you can check Netsentry. It's an open source project on http://code.google.com . It calculates data usage. But what exactly it is doing for getting data usage I didn't get that yet. If you can find the procedure how it is done pls post on this thread. thanks, mitu On Jan 5, 10:27 am, "g...@

[android-developers] Sending market link in mail

2010-01-04 Thread sheik
Hi , i wanna know is it possible to send market link(market://details? id=) in the mail , that would direct user to the application(in android market). i was not able to send using tag as we do in html . Kindly guide on this issue . kindly let me know if the Q is not clear . Below is the code am

[android-developers] Using the BufferedInput and Output Stream classes with Bitmaps

2010-01-04 Thread Samuh
Does passing BufferedInputStream/BufferedOutputStream classes to the Bitmap functions like compress and decodeStream make these functions run any faster? Or does the underlying code for these function take care of wrapping a buffer around? Which one is better or faster of the belowmentioned or does

[android-developers] Re: How to open project with eclipse

2010-01-04 Thread debnath68
hi mobi coder, In src folder you will get an activity class. this is a class which will hold all the views and display. It is more like window screen with which user will interact. and you will get an xml file named main.xml in /res/layout folder where you will actually set the views and this main.

[android-developers] Start and Stop music on application launch and stop

2010-01-04 Thread Hassan Imtiaz
Hi, In my application i have several activities and i want to start background music whenever my *Application* is launched and stop music whenever *Application* is paused or stopped. Any help?. Regards, Hassan Imtiaz -- You received this message because you are subscribed to the Googl

[android-developers] Maps API in paid App

2010-01-04 Thread mikek
According to the terms for use of Google Maps API, http://code.google.com/apis/maps/terms.html Incorporating the Maps API into your application is free as long as the app is also free. Otherwise, you need a commercial license. A commercial license for $10K is a heck of a lot of $1.99 apps. Does a

[android-developers] Re: Outgoing text/sms

2010-01-04 Thread debnath68
Hi sunny25, AKAIK there is an intent for received sms which will be broadcasted when a sms is received to the phone and you can get it via BroadcastReceiver. But there is no intent for sent sms which should broadcast when a sms sent. In this regard I can suggest you to use contentProvider with this

[android-developers] Strange WebView "Web Page Not Available" behavior after application runs for a long time

2010-01-04 Thread Kenn Min Chong
Hey there! So, I have this simple app that contains a WebView object. My code basically tells my WebView object to load some pages every minute or so. The problem is, after the application runs for about 9-10 sites, every time I ask the WebView object to load a new URL I get a "Web page not avai

[android-developers] Re: ListActivity not updating on Database update.

2010-01-04 Thread Lance Nanek
Have you tried calling requery on the underlying Cursor? On Jan 4, 8:00 pm, mac-systems wrote: > Hello, > > i update a value in my Database in a Listview using a Context Menu. > The code so far seems to be ok. But everything i try to make the > update visible in the View failed. Anyone can point

[android-developers] How can i know internet data usage??

2010-01-04 Thread g...@devicedriven
Are there any inbuilt classes ya methods that help to count the number of bytes sent/received...I'm trying to develop a light weight browser and am doing this as an option.As mobile users are charged based on the bytes they browse..i think this is a mandatory requirement,,but the more i google it h

[android-developers] Re: Is that possible to get the current sample amplitude by MediaRecorder or other class

2010-01-04 Thread White Chen
Could anyone give me some suggestion? Thanks a lot.. -- 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 unsubscribe from this group, send email to android-developers+

[android-developers] Is that possible to get the current sample amplitude by MediaRecorder or other class

2010-01-04 Thread White Chen
Hi everyone, I have a media recorder, and want to record a media from mic and get it's amplitude sample. I want to try to get the correct and current amplitude instantaneously when calling some API. But there is just one API in MediaRecorde for getting amplitude: getMaxAmplitude, and it is used to

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
I would try DDMS and adb but the links you provided are not comming up on my computer. I can't get to any of the developer.android.com pages for some reason. I saw it in the help documentation before and looked there. Yes, it worked when I looked from within ddms File Explorer. I just don't see w

Re: [android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread Mark Murphy
> I meant... > I created the EMULATOR with an > > On Jan 4, 10:11 pm, BiiG wrote: >> new to java and android, but not programming... not sure how to push/ >> pull or use anything other than WinImage to manage and see what's in >> the sd card. >> >> I created the image with an sd card from within

[android-developers] Selection

2010-01-04 Thread Business Talk
What's the best way to implement a selection? is it to use a ListActivity to display a list of items to select from, display the activity with a startActivityForResult and implement the onListItemClick which would return the selected item and close the activity. Or is it to use the Dialog? -- You

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
I meant... I created the EMULATOR with an On Jan 4, 10:11 pm, BiiG wrote: > new to java and android, but not programming... not sure how to push/ > pull or use anything other than WinImage to manage and see what's in > the sd card. > > I created the image with an sd card from within eclipse and I

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
new to java and android, but not programming... not sure how to push/ pull or use anything other than WinImage to manage and see what's in the sd card. I created the image with an sd card from within eclipse and I can open the .img file with WinImage so I assume it's not corrupt or anything. > OK

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
I tried the environment.getExternalStorageDirectory() and it created an empty file too. try { FileWriter fw = new FileWriter (Environment.getExternalStorageDirectory().getPath() +"/ thissucks.txt"); BufferedWriter out = new BufferedWriter(fw); out.write("stupiddfdsfsgfghhjkjgfdfgf"); out.c

Re: [android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread Mark Murphy
> 1. I've seen that and will try it. But everything was fine until one > day, it just stopped working > > 2. yes, i have the propper permissions. OK, can you manipulate the SD card image from anything else: adb push/pull, DDMS file manager, etc.? Perhaps your emulator doesn't have an image, or the

[android-developers] adp1 seeing adhoc networks

2010-01-04 Thread Ron
I'm trying to set up my adp1 to see a device on an adhoc network. I'm largely using the procedure outlined in: http://forum.xda-developers.com/showthread.php?t=444004&page=2 The problem is that not only is the phone not connecting to the adhoc network, it appears to not even see it. When lookin

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
1. I've seen that and will try it. But everything was fine until one day, it just stopped working 2. yes, i have the propper permissions. 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-

Re: [android-developers] can't write to sdcard anymore

2010-01-04 Thread Mark Murphy
> I've been developing this one app for a few months now with eclipse. > I've had no problem writing to the sdcard in the past. Now it just > creates an empty file when the following code is used: > > > > try { > FileWriter fw = new FileWriter("/sdcard/shootme.txt"); > > BufferedWriter out = new B

[android-developers] can't write to sdcard anymore

2010-01-04 Thread BiiG
I've been developing this one app for a few months now with eclipse. I've had no problem writing to the sdcard in the past. Now it just creates an empty file when the following code is used: try { FileWriter fw = new FileWriter("/sdcard/shootme.txt"); BufferedWriter out = new BufferedWriter(fw)

[android-developers] Re: EditText hint shows extra spaces when inputType="textpassword"

2010-01-04 Thread csyperski
I am seeing the same behavior, did you find any fix for this? On Dec 23 2009, 7:22 am, GDroid wrote: > Hi, > > Just wondered, am I the only one to encounter this "strange" behavior. > > When placing an EditText inside my activity and setting its > inputType="textPassword"  as follow: > >        

[android-developers] How to perform the animation in viewgroup

2010-01-04 Thread Luke
Hi all I am trying to perform the animation on widget in my program. (Use Layout A) My widget has at least one viewgroup(Layout B) and imageview (View C). --- Layout B Layout A ---| (Layout A => Widget (Layout B , ImageView))

[android-developers] Re: URLSpan string problem

2010-01-04 Thread SimV01
--got it, my code error in start, end of setSpan... On Jan 4, 7:23 pm, SimV01 wrote: > ... > URLSpan("[123]"); > ... > >  - when being displayed in my TextView only changes the color of > "[123" and only makes "[123" clickable. If I retrieve the URL with > getURL it returns "[123]" as expected -

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Matt Kanninen
The Droid, and HTC's main line being G1 MyTouch and Hero are all popular handsets that work fine as dev phones. It doesn't seem like the other Android handsets are seeing much usage right now, based on the analytics I've seen. But I would choose carefully in picking which phones to develop on, a

Re: [android-developers] Contacts: annot find symbol for getContentResolver().query ???

2010-01-04 Thread Frank Weiss
Which class are you expecting to have implemented the getContentResolver method? On Mon, Jan 4, 2010 at 4:01 PM, James wrote: > OK, I know this must be really simple but I must be continually > overlooking the obvious. I'm trying to compile the code below and > javac keeps saying: > > [javac]

[android-developers] ServiceConnectionLeaked warning

2010-01-04 Thread Mike Collins
I'm getting a ServiceConnectionLeaked message that I don't understand. There are 3 activities and a remote service, all the activities use the same remote service. The main window, activity 1, starts up, auto-starts the service and binds to it. The user then starts activity 2 to do something. Th

[android-developers] ListActivity not updating on Database update.

2010-01-04 Thread mac-systems
Hello, i update a value in my Database in a Listview using a Context Menu. The code so far seems to be ok. But everything i try to make the update visible in the View failed. Anyone can point me whats wrong there ? I use a ViewBinder to map the Layout for each row. Row Layout: ?xml version="1.0"

[android-developers] URLSpan string problem

2010-01-04 Thread SimV01
... URLSpan("[123]"); ... - when being displayed in my TextView only changes the color of "[123" and only makes "[123" clickable. If I retrieve the URL with getURL it returns "[123]" as expected - why does the defined URLSpan in the TextView not include all of the colors? Is there a way to correc

[android-developers] Contacts: annot find symbol for getContentResolver().query ???

2010-01-04 Thread James
OK, I know this must be really simple but I must be continually overlooking the obvious. I'm trying to compile the code below and javac keeps saying: [javac] Compiling 3 source files to /usr/home/jim/src/2android/ ExcuseMe/bin/classes [javac] /usr/home/jim/src/2android/ExcuseMe/src/com/jw/E

Re: [android-developers] Android development with PHP

2010-01-04 Thread Miguel Morales
You can write an applications backend in php, but why would you want to use php to write for the phone? The main language is java though apps can be written in c/perl/python/lua, but no php yet afaik. On Jan 4, 2010 12:13 PM, "androidbeginner" wrote: Is it possible create android applications u

[android-developers] Re: Update Tab-Content when clicking Tab

2010-01-04 Thread VBMichi
Thx!! On Jan 4, 3:46 pm, "Mark Murphy" wrote: > > Hi again, > > > nobody has an idea? :( > > See setOnTabChangedListener() on TabHost. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html -- You received this message because

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread JP
On Jan 4, 11:44 am, Mark wrote: > Any phone can work as a dev phone.   Some are better suited than others however. There's a least one consumer level device (I cannot remember which) that didn't dump logs. Then there might be driver issues. -- You received this message because you are subscri

[android-developers] Re: Why is my eclipse up to date with 2.0.1 but no android tools appear in the UI?

2010-01-04 Thread ClarkBattle
I am installing on Windows 7. Window > Preferences...> Android is not there, even though the tools are installed. Reinstalling Eclipse does not fix the problem. On Jan 4, 1:10 pm, ClarkBattle wrote: > I was completely set up with android 2.0 and eclipse.  Everything > worked fine.  Then I tri

[android-developers] Re: Reliable GPS location

2010-01-04 Thread Lance Nanek
You can call Location#getTime to see when the fix returned by LocationManager#getLastKnownLocation was taken. The getLastKnownLocation method doesn't start the GPS, so the fix may be from a long time ago, and not be a good indicator of the current location. The accuracy of the fix refers to the ac

[android-developers] Why is my eclipse up to date with 2.0.1 but no android tools appear in the UI?

2010-01-04 Thread ClarkBattle
I was completely set up with android 2.0 and eclipse. Everything worked fine. Then I tried to upgrade to 2.0.1 and now eclipse wont show any of the android plug in stuff. There is nothing in the IDE relating to android anymore. No AVD, no android projects, nothing. If I go to Help -> Install N

[android-developers] Re: Problems with the JavaBinder (!!! FAILED BINDER TRANSACTION!!!)

2010-01-04 Thread Moritzz
I forgot to add that after this message, the widget is not updated anymore. It stays the way it looks like in the moment the message appears and even when I force another update, it's not changed anymore. If I remove and add it again, it works for a while, until the message appears again. On Jan

Re: [android-developers] Re: Launch navigation app with an Intent - [DS]

2010-01-04 Thread Declan Shanaghy
This code will work on any SDK. What matters here is the version of google maps that is on the device. The navigation features were added in google maps version 3.2.1 as far as i know. On Sun, Jan 3, 2010 at 9:28 AM, kautilya wrote: > Hi Declan , > > Thanks for your code . it's working very w

[android-developers] Problems with the JavaBinder (!!! FAILED BINDER TRANSACTION!!!)

2010-01-04 Thread Moritzz
Hello, I currently have a lot of problems with this error. I programmed a widget and a service that runs in the background. This service is updating the widget on different occasions (position changed, screen turned on, timer based...) with images and text it's loading from a server. After a coupl

[android-developers] Upgrade to 1.0

2010-01-04 Thread Oliver
Have an issue where I've tried to update to the paid version, before removing the beta. Beta pops up asking to update as it has expired but links to a 404 error. Market asks if I want to install 1.0 and does, but beta still shows up with it's Error. I've uninstalled 1.0, had to refund to do it, and

[android-developers] Problem using org.apache.commons.net with Android

2010-01-04 Thread rackham
Hello all. I have been successfully using the org.apache.commons.net.telnet package with my android app, but i have run into a problem. I have an instance of TelnetClient, which works fine, but when i call TelnetClient.disconnect it just hangs and nothing happens at all. A small test case...hang

[android-developers] Debugging the framework

2010-01-04 Thread Matan
Hi, I did the following: Modified frameworks/base/services/java/com/android/server/ KeyInputQueue.java and flashed it to my G1. Rebuilt Deployed to the G1 Created a demo test app Started debugging the demo app from Eclipse with one breakpoint in a central location in KeyInputQueue.java and another

[android-developers] scrollview resize when childview is scaled with animation

2010-01-04 Thread mj
hi android-devs, here what iam trying to do in my android 1.6 app. 1. have a view (e.g. imageview) in a (horizontal)scrollview because my image is big. 2. adapted a zoombuttoncontroller to the scrollview to be able to zoom in and out using the zoomcontrol view capabilities. 3. to zoom the child vi

[android-developers] Audio Playback Error

2010-01-04 Thread sparky
I've written an app. that uses the MediaPlayer, but every so often I see this error: ERROR/AudioMIO(3733): latency could NOT be set !! set it later When it happens, the audio goes silent and the only way to get the audio back is to stop and restart (release and create a new MediaPlayer instance).

[android-developers] Reliable GPS location

2010-01-04 Thread nr1
Hi, i know how to get the calculated GPS position via getLastKnownLocation (). As tests show, this function really always returns the last known location, so it doesn't matter if there is a gps fix available. How can i check if the returned location is reliable? I tried it with getAccurracy(), bu

[android-developers] Android development with PHP

2010-01-04 Thread androidbeginner
Is it possible create android applications using PHP? can we port php code in to the android applications? -- 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 unsubscri

[android-developers] Re: Emulator error after upgrade to win7

2010-01-04 Thread Tim Ellison
I have the same issue Mark. Did you figure out a solution? On Dec 9 2009, 8:23 pm, mh wrote: > After reinstalling Eclipse and the Android development components I am > getting the following error upon running the emulator on a virtual > device: > > qemu: fatal: exponent 255 too big > > R00=0

[android-developers] How use speex or jspeex in android

2010-01-04 Thread Petr Vytlačil
Hi, please can anybody help me how use speex or jspeex in android? I need stream voice from MIC on server and use this codec. THX Petr -- 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@

[android-developers] Re: Does Android support IPv6 now?

2010-01-04 Thread Steinar H. Gunderson
On 31 Des 2009, 05:46, mundou wrote: > I don't know if real Android system can support IPv6 protocol stack. I > compiled my own kernel with IPv6 configured as "build-in" and then > tested it under the emulator in SDK, and it could not get an IPv6 > address. I got "No IPv6 router present" in dmesg.

[android-developers] About Monkey Scripting option

2010-01-04 Thread pradeep
Hi I would like to tell every body that it is possible to simulate a sequence of events on emulator using monkey scripting option "-f" . It is successful on android 2.0 sdk Regards, Pradeep -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: Java Question about reflection

2010-01-04 Thread jotobjects
On Jan 2, 5:02 pm, Frank Weiss wrote: > For your first issue, can you refactor to use singleton Factory instead and > make the "factory methods" non-static? Example: > > MyFactory factory = MySubclassedFactory.getInstance(); > MyWidget = factory.createMyWidget(); This and the Builder pattern su

RE: [android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Tommy Hartz
Wonderful, I'll look around in the help files online and figure out settings need to be adjusted. Thanks again for the help Respectfully, Tommy Hartz | DBA WEBPRO   the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277  | Toll 888.999.4887 ***

RE: [android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Tommy Hartz
Thank you for you advice. I'll just go with Verizon for the company dev phone. Respectfully, Tommy Hartz | DBA WEBPRO   the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277  | Toll 888.999.4887

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Vladimir
You wiil be able to install your apps on non dev phone OTA or over USB without issues. On Jan 4, 9:35 pm, "Tommy Hartz" wrote: > Ok, how would I be able to install my apps on the non dev phone? Is there a > crack kind of like jail breaking and iPhone or would I need to upload it to > the android

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Mark
Any phone can work as a dev phone. It doesn't need to be unlocked or rooted or anything. You just have to enable a few things in the phone settings. There is nothing "special" about the Google dev phones, they are just phones you can buy directly from Google if you don't feel like buying one fro

[android-developers] how can i save my overlays?

2010-01-04 Thread Stefan
Hello, I have following problem with my application: in my main activity, i listen for gps points and show them on my map. if i want to describe a important point, i open a second activity with a EditText and i can save the description and finish this second activity (to write text, i change to la

RE: [android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Tommy Hartz
Ok, how would I be able to install my apps on the non dev phone? Is there a crack kind of like jail breaking and iPhone or would I need to upload it to the android market place and install it that way? Respectfully, Tommy Hartz | DBA WEBPRO   the web people ™ Savannah GA. - 912.9

Re: [android-developers] Re: Reminder: IRC office hours tomorrow

2010-01-04 Thread Megha Joshi
Thanks ..we will be adding those answers in a few days. 2009/12/29 theSmith > Thanks for those Megha. > > Is there any plan to add responses to the 12/17 and 12/22 meetings? I > find this an excellent resource issues/problems/insight that I think > should be available. > > -theSmith > > On Dec

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread schwiz
I remember reading a hack somewhere a long time ago to enable the phones on verizon, but honestly if you are going to spend that much money on buying a dev phone, might as well save up an extra 100 bucks and buy yourself a droid if you are going with verizon. On Jan 4, 1:07 pm, "to...@webpro.com"

[android-developers] Android Dev Phone with Verizon?

2010-01-04 Thread to...@webpro.com
I know the dev phones are sim unlocked will they also work with non sim carriers like verizon? -- 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 unsubscribe from this

[android-developers] Re: Can someone with a Motorola Droid call AccountManager.getAccounts() please?

2010-01-04 Thread Mariano Kamp
Any update on this one? Does it work again? How do you it fails? I think I am in a similar situation. I get back an auth token, but when using it accessing the Google Reader API it is not accepted. On Jan 4, 12:10 am, polyclefsoftware wrote: > I'm about to tear my hair out. The authToken I was

[android-developers] Re: Loading entire Asset folder

2010-01-04 Thread Andrew Huff
No one has any ideas about this? On Jan 2, 10:50 am, Andrew Huff <702reco...@gmail.com> wrote: > Also I've been thinking something like ContentProvider or > PackageManager would be useful for doing this but I'm not exactly sure > the best way to implement this > > On Jan 2, 10:48 am, Andrew Huff <

[android-developers] Re: create app that comes with a widget and the program

2010-01-04 Thread Albert
Thanks Mark for your answer, maybe I didn't make myself very clear, the widget is the application, when added to home screen it launches a configuration activity to let the user set his/her preferences, after that's done it will run a service updating the widget. If you click the widget you will go

[android-developers] Re: Two onCreate (and onDestroy) invocations on orientation chage

2010-01-04 Thread Business Talk
It's not just 1.6. the higher versions do the same. It looks like rotation does more than just updetes the UI. I also failed to find any reference to this problem. On Jan 4, 8:16 am, Pawel Kapala wrote: > Hello. > > With following simple code (on clean, new android project): > > public class Rota

[android-developers] Create an .apk progamatically

2010-01-04 Thread tsimmi
Hi! The problem is this: I make an internet connection to some url and receive an HttpResponse with an app_example.apk. Then I want to create a file (an .apk) in the sdcard with this data so that this downloaded application can be installed later. How can I convert the HttpResponse to an .apk f

[android-developers] setFocusableInTouchMode(false) AND Keyboard ??

2010-01-04 Thread guruk
Hi, I use: webview.setFocusableInTouchMode(false); for my WebView to avoid that Orange Border when I click a Link. But now when I click into a Formfield the virtual Keyboard does not open :( So how can I avoid that Orange Border around Links while clicking on them and at the same Time the Virtua

[android-developers] Re: AudioTrack - Clicking Sound

2010-01-04 Thread Business Talk
After, repeated effort at sound synthesis I have decided to go back to pre=generated sounds. It's much too computationally expensive. My question is; does AudioTrack use pure pcm of it uses wave. I have this clicking sound and I think it's because I am using wave and the wave is pcm plus same heade

[android-developers] Re: Earnings For u!!! Gifted

2010-01-04 Thread jayakumaran . b
Wanted Internet job workers. You can earn $750- $1000 daily. These are genuine Internet jobs. Only serious enquires please. For more details visit : https://time2rich.com/jayavithya -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] No Adobe Flash support for Eclair!?!

2010-01-04 Thread chris harper
Thank you Dianne Thanks for the information on Flash. It gave me the direction I needed and it is good to know where Flash and Android stand. In another year or two who knows right? I been studying the Lunar Lander example as far as the graphics and it looks like a good way to go and I started a

Re: [android-developers] regex error with splitting strings

2010-01-04 Thread Dan Sherman
Two things: 1) Not positive, but you might be missing delimiters, which would turn that into .split("/+/"), which would still be wrong 2) + is a regex special character, meaning "1 or more", you want to escape it as a literal: .split("/\+/") Again, not sure if you need the delimiters... - Dan

Re: [android-developers] Re: pass checkbox status between activities

2010-01-04 Thread Mark Murphy
> Step #2: In contact_list.java class, ListView items with checkboxes, > and two buttons "OK" and "CANCEL". When OK button is pressed, pass the > names of ListView items that are checked, to the first activity > (send_to.java) > > setResult(RESULT_OK, Intent data); > > How do I bu

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2010-01-04 Thread teryz
I have a problem using Android SDK Updater (revision 4). For the record I'm under win xp 32-bits, jdk 1.6. I set up the "Force https://... sources to be fetched using http:// This seemed to work fine but as I am behing a (corporate) proxy I also filled the proxy server and port settings, howeve

[android-developers] Re: pass checkbox status between activities

2010-01-04 Thread Abhi
Hi Mark, Can you give me an example? I have been looking for a sample app for better understanding. First Activity: send_to.java Second Activity: contact_list.java Step #1: In send_to.java, on Button Press, Intent newIntent = new Intent(v, contact_list.class); startActivityFor

[android-developers] Re: Android and VOIP

2010-01-04 Thread JP
On Jan 3, 10:12 pm, Android Development wrote: > For SIP/VoIP, playing from a static resource on the device is hardly a > requirement. Clarification: Static in the sense that it points to only a single provider. -- You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2010-01-04 Thread Stefan Klumpp
Thanks. That helped. On Jan 4, 3:07 pm, Lance Nanek wrote: > > Is there anything else where > > I have to make the change API 4 -> 3 other than the project > > properties? > > Yes, the uses-sdk element in > AndroidManifest.xml:http://developer.android.com/intl/zh-TW/guide/topics/manifest/uses-sd

[android-developers] Re: Problem in accessing ConnectionManager.getAllNetworkInfo()

2010-01-04 Thread Namrata
@Mark, it worked..thanks a lot..it was just a typo which i overlooked.. On Jan 4, 8:07 pm, Namrata wrote: > I am writing 1 application which has one service class. This service > class uses ConnectionManager.getAllNetworkInfo() api to access network > related info. > But if I use this api i get e

[android-developers] Problem in accessing ConnectionManager.getAllNetworkInfo()

2010-01-04 Thread Namrata
I am writing 1 application which has one service class. This service class uses ConnectionManager.getAllNetworkInfo() api to access network related info. But if I use this api i get error like 01-04 20:05:58.243: WARN/System.err(711): java.lang.SecurityException: ConnectivityService: Neither user 1

Re: [android-developers] Problem in accessing ConnectionManager.getAllNetworkInfo()

2010-01-04 Thread Mark Murphy
> I am writing 1 application which has one service class. This service > class uses ConnectionManager.getAllNetworkInfo() api to access network > related info. > But if I use this api i get error like > 01-04 20:05:58.243: WARN/System.err(711): java.lang.SecurityException: > ConnectivityService: Ne

[android-developers] Problem in accessing ConnectionManager.getAllNetworkInfo()

2010-01-04 Thread Namrata
Hi guys, I am writing 1 application which has one service class. This service class uses ConnectionManager.getAllNetworkInfo() api to access network related info. But if I use this api i get error like 01-04 20:05:58.243: WARN/System.err(711): java.lang.SecurityException: ConnectivityService: Neit

[android-developers] Re: New in android developement

2010-01-04 Thread ROHIT
On Jan 3, 10:54 pm, Neilz wrote: > Dear Rohit. > > When you have found your answers, please come back here and post them > so we can all share in your new found knowledge. > > Thanx in advance... ;-) Q. Handler and Looper? Handler The most flexible means of making an Android-friendly backgrou

Re: [android-developers] Re: Update Tab-Content when clicking Tab

2010-01-04 Thread Mark Murphy
> Hi again, > > nobody has an idea? :( See setOnTabChangedListener() on TabHost. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: Update Tab-Content when clicking Tab

2010-01-04 Thread VBMichi
Hi again, nobody has an idea? :( Regards On Jan 3, 4:02 pm, VBMichi wrote: > Hi, > > I've three Tabs: > > mTabHost = getTabHost(); > mTabHost.addTab(mTabHost.newTabSpec("tab_1").setIndicator > ("Name1").setContent(R.id.tab1)); > mTabHost.addTab(mTabHost.newTabSpec("tab_2").setIndicator > ("Name

[android-developers] Re: Question concerning List view's getCheckedItemPositions() method

2010-01-04 Thread reyden
I just bumped into this problem myself. Looks like a bug, but maybe it's just undocumented and work as intended. Hopefully someone can clarify this... On Dec 9 2009, 10:23 am, cire wrote: > Hi guys, > > I had the following scenario: > -I'm using a list view in multiple  choice mode to enable a us

[android-developers] Re: ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2010-01-04 Thread Lance Nanek
> Is there anything else where > I have to make the change API 4 -> 3 other than the project > properties? Yes, the uses-sdk element in AndroidManifest.xml: http://developer.android.com/intl/zh-TW/guide/topics/manifest/uses-sdk-element.html Changing the build target in the project properties does

Re: [android-developers] Blank screen displayed after downloading from Android Browser.

2010-01-04 Thread Ederson Ferreira
Why don't you try to download the music file by yourself? I mean, starting a thread and opening a HTTP connection to the music URL. In this way, your application will take control over the entire operation. Regards, Éderson On Mon, Jan 4, 2010 at 11:44 AM, Farida Khan wrote: > Does anyone have t

Re: [android-developers] Blank screen displayed after downloading from Android Browser.

2010-01-04 Thread Farida Khan
Does anyone have the solution for this? Regards Farida Khan On Wed, Dec 16, 2009 at 8:24 PM, Binu Geevarghese wrote: > Hi all, > > We are developing an application that requires a download of a music > file (mp3). > We are using the Browser Activity for the same. > > The Browser Activity is invo

[android-developers] [Donut-1.6] Two onCreate (and onDestroy) invocations on orientation chage

2010-01-04 Thread Pawel Kapala
Hello. With following simple code (on clean, new android project): public class RotationTest extends Activity { private static final String LOGTAG = "RotationTest"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCon

[android-developers] Re: Logs from framework.jar

2010-01-04 Thread Michael Scott
Yes, that did it! Thank you! What(where) sets classes to log to the "radio" buffer? /MS On Jan 2, 7:28 pm, jotobjects wrote: > try - > >      logcat -b radio > > See adb settings here - > >      http://developer.android.com/guide/developing/tools/adb.html#logcat > > On Jan 2, 10:24 am, jotobjects

[android-developers] Re: exclusion filter not being respected - resources are being included in apk

2010-01-04 Thread guiha...@gmail.com
I've opened a bug report. guich -- 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegro

[android-developers] get the currently displayed activity's name using service

2010-01-04 Thread Niraj
Hi, Is it possible to have the currently displayed activity's name and to access the resources the activity is using? I am trying to write the service that will display the name of the current activity and the resources it is using. Thanks in advance, Niraj -- You received this message because

[android-developers] Re: ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2010-01-04 Thread Stefan Klumpp
I've a similar problem: [2010-01-04 13:44:18 - Tato]ERROR: Application requires API version 4. Device API version is 3 (Android 1.5). [2010-01-04 13:44:18 - Tato]Launch canceled! I started my application with API version 4, but then changed it to API version 3 (via project properties -> Android).

Re: [android-developers] Menu Item Name

2010-01-04 Thread Mark Murphy
> I added 2 menus. > > menu.add(0, 1, 0, "Start"); > menu.add(0, 2, 0, "Stop"); > > public boolean onOptionsItemSelected(MenuItem item) > { > switch (item.getItemId()) { > case 1: > if(item.getTitle().equals("Start")) > { >

Re: [android-developers] create app that comes with a widget and the program

2010-01-04 Thread Mark Murphy
> I am trying to find a way to create a widget and the program on the > same app so that i can give the user the choice to add to the home > screen either the dynamic widget or the normal program, same > functionality for both except that the widget would run a service to > update every x hours and

  1   2   >