[android-developers] Re: help: button.setBackgroundColor

2009-05-06 Thread Sukitha Udugamasooriya
Romain Guy , Thanks. Seems it is a long process to change the original assets. You meant from the Android source code rite? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Re: How to get current date ??

2009-05-06 Thread Daehoon Jeon
In Android we can get current date like this : private TextView mDateDisplay; private Button mPickDate; private int mYear; private int mMonth; private int mDay; static final int DATE_DIALOG_ID = 0; @Override protected void onCreate(Bundle savedInstanceState) {

[android-developers] Re: Alternatives to Android Market

2009-05-06 Thread Al Sutton
Jose, You're more than welcome to list your app at AndAppStore.com Regards, Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 1

[android-developers] Re: Obtaining/calculating process CPU usage.

2009-05-06 Thread Sachin pandhare
Hello Dianne, Which functionality may break in future releases? Is it executing the command using runtime? "String cmd = "top -n 1"; process = runtime.exec(cmd);" or something else in this code segment? thanks, Sachin On May 5, 9:44 pm, Dianne Hackborn wrote: > This is very likely to break in f

[android-developers] EditText with multiple listners

2009-05-06 Thread Raja Nagendra Kumar
We have a few actions to be taken based on edit and based on focus lost on a Text Filed, Hence we made sure this View object listens to both some thing like this fieldEdit.addTextChangedListener(fileList); fieldEdit.setOnFocusChangeListener(fileList); In this context, when the field is edited an

[android-developers] doc updates

2009-05-06 Thread Raja Nagendra Kumar
Hi, Looking for the doc on events related to TextWatcher at http://developer.android.com/reference/android/text/TextWatcher.html#afterTextChanged Not clear on the order of calling of methods afterTextChanged and onTextChanged, also the intent of which one should be used as opposed to others. Fr

[android-developers] Re: already set uses-sdk but market won't accept

2009-05-06 Thread anuraguni...@yahoo.com
ok i will try putting right under but that is non-sense, why should order of nodes matter in manifest and official doc doesn't say anything abt it? Any one from android-dev listening?? On May 7, 2:36 am, Mariano Kamp wrote: > You need to put it in the right place. > More info here:http://lmgtfy

[android-developers] Android Emulator Frozen! :(

2009-05-06 Thread mcmc
Hello all, My code compiles, but when I try running the emulator, it does not get past the splash screen... does anyone know how I can fix this? I need all the help I can get - quite desperate here... :( Thanks a bunch. mcmc --~--~-~--~~~---~--~~ You received thi

[android-developers] Re: Weird bug when saving picture to file system!?

2009-05-06 Thread Streets Of Boston
You have to wait until the mediascanner posts a callback when you it is done. I wrote a wrapper around this behavior, which you can call by this example: // msListener's 'ready(...)' method is called when the imgUri has been scanned completely. MediaScannerNotifier.run(getApplicationContext()

[android-developers] How to create Multiple tabs, one after another?

2009-05-06 Thread Prajkti
Hi all, In my application, i want to create multiple tabs. For example, i have a button on clicking which should create one more tab,(just like Mozilla browser). I searched on Internet as well as Android Documentation.. but did not get any clue... Can anybody please help me..?? --~--~-~--

[android-developers] Re: download a apk file from the server

2009-05-06 Thread JP
Sorry looks like I'm trigger happy today, but finally: If you want to integrate the download of that app in the calling app, you can call the built-in web browser with the URL of the app you want to download. On May 6, 8:31 pm, JP wrote: > And once installed, you can call it through an intent fr

[android-developers] Re: Alternatives to Android Market

2009-05-06 Thread Streets Of Boston
Handango.com MobiReach.com (mobihand.com) slideme.com and a bunch of others :) On May 6, 10:51 pm, Jose de Paula Eufrasio Junior wrote: > I know that this list's objective is not to talk about the Market, but if I > need a developer's POV... > I just now discovered I can't even signup on the Ma

[android-developers] Re: download a apk file from the server

2009-05-06 Thread JP
And once installed, you can call it through an intent from another app On May 6, 8:30 pm, JP wrote: > Yes, it's possible. You have to add the application/ > vnd.android.package- > archive mime type on the server side. There's been a few discussions > about this topic in this forum. Search for "M

[android-developers] Re: download a apk file from the server

2009-05-06 Thread JP
Yes, it's possible. You have to add the application/ vnd.android.package- archive mime type on the server side. There's been a few discussions about this topic in this forum. Search for "MIME" to dig out old threads. On May 5, 9:36 pm, ainilife wrote: > hi all: > i want to download a apk

[android-developers] Re: New to Android

2009-05-06 Thread JP
Exactly; there are multiple installations of Java on a single machine. On May 6, 4:33 pm, Wendal Chen wrote: > If it is not working , try to uninstall your JDK 1.3 . > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[android-developers] Persistent service question

2009-05-06 Thread adumitru007
Hello, I have a remote service started with startService() from a BroadcastReceiver that catches BOOTUP_COMPLETED, at phone power up. I also have a service controller with startService() and stopService() that works perfectly when no client is bound to the service. When I bind to my service from

[android-developers] list chaos

2009-05-06 Thread Jason Proctor
anyone seeing crazy list behaviour? i'm not seeing my own posts (though others are - sometimes, and they're not in my spam folder), stuff gets delivered way out of order (but with up to date send times, so it's not a mail issue), batches of posts get released in the middle of the night or at r

[android-developers] Alternatives to Android Market

2009-05-06 Thread Jose de Paula Eufrasio Junior
I know that this list's objective is not to talk about the Market, but if I need a developer's POV... I just now discovered I can't even signup on the Market being from Brazil, so what other alternative I have to distribute my software? It's free/GPL software so I don't even care about payment meth

[android-developers] Re: Why The sdk create myself diffent donload from release

2009-05-06 Thread Disconnect
the official sdk is closed source. 2009/5/6 dycl3 > > hello: > > I build the android source code , user "make sdk" build a sdk for > user, but there some diffent frome the sdk I am donwnload as release. > 1. some app lost such as Space parts、Dev tools and so on. > 2. amr no sounde. > > must att

[android-developers] Swipe "tab" view

2009-05-06 Thread Alan Jones
Hi All, I want to make a View which takes up part of the screen, is swipable (swipeable?) but where each screen width section may scroll vertically (i.e. have a different length of content from the others). Above it there'd be a header and tabs (to give an alternative to a swipe gesture for non-

[android-developers] How to display a group of pictures?

2009-05-06 Thread yves...@gmail.com
I want to pick only 5 pictures (there are more than 20 in the same folder) to be displayed in a slideshow. I can use Intent.Action_View and then use setDataAndType with one uri, and it worked. But how to add 5 pictures into it? --~--~-~--~~~---~--~~ You received thi

[android-developers] Why The sdk create myself diffent donload from release

2009-05-06 Thread dycl3
hello: I build the android source code , user "make sdk" build a sdk for user, but there some diffent frome the sdk I am donwnload as release. 1. some app lost such as Space parts、Dev tools and so on. 2. amr no sounde. must attentino is i use the same avd, but the sdk tools are diffenent. any

[android-developers] Re: android system make. error 45

2009-05-06 Thread Andrew Shomette
I'd like to chip in and say that I also have the error... I am also running 64-bit 9.10 ubuntu. I am a newb, but I can help a bit... First, is it only on this specific version of Ubuntu? Does anyone else have this error on another system? Second, I modified the file Scroller.java, line 365 fr

[android-developers] Re: Using Google protobufs on Android

2009-05-06 Thread Jeff Sharkey
Oh, I didn't realize it wasn't in the SDK. In that case, be sure to use a different package name when you copy the code. It might appear to use the version pre-loaded by zygote just fine, but that would break in the future if we update the library. j On Wed, May 6, 2009 at 5:18 PM, Dianne Hac

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-06 Thread jseghers
On May 6, 2:49 pm, Dianne Hackborn wrote: > [B]e aware that if you do this by sending to a registered broadcast receiver, > you can cause security holes because other people can also register for the > broadcast and send a broadcast to your client. Am I safe by doing the following: Caller has a

[android-developers] Re: How to capture key events from on screen keyboard?

2009-05-06 Thread Dianne Hackborn
The only way to do this is to disable the InputConnection by returning null from onCreateInputConnection, in which case the IME will go into compatibility mode and deliver text as raw input events. Note that this severely limits what it can do. On Wed, May 6, 2009 at 4:39 PM, Yan Shi wrote: > >

[android-developers] Re: Using Google protobufs on Android

2009-05-06 Thread Dianne Hackborn
This is not available in the SDk, you will need to compile a copy into your app. On Wed, May 6, 2009 at 5:15 PM, Inderjeet Singh wrote: > > This is great! Is it available only in cupcake or older versions as well? > > Thanks > Inder > > On Wed, May 6, 2009 at 5:08 PM, Jeff Sharkey wrote: > > >

[android-developers] Re: Using Google protobufs on Android

2009-05-06 Thread Mark Murphy
Jeff Sharkey wrote: > There is a nice tight version of the protobuf library that ships with > the Android platform. It's got a tiny footprint, and is actually > pre-loaded by zygote so that all apps benefit. > > http://android.git.kernel.org/?p=platform/external/protobuf.git;a=tree;f=src/com/goo

[android-developers] Re: Using Google protobufs on Android

2009-05-06 Thread Inderjeet Singh
This is great! Is it available only in cupcake or older versions as well? Thanks Inder On Wed, May 6, 2009 at 5:08 PM, Jeff Sharkey wrote: > > There is a nice tight version of the protobuf library that ships with > the Android platform.  It's got a tiny footprint, and is actually > pre-loaded b

[android-developers] Re: Using Google protobufs on Android

2009-05-06 Thread Jeff Sharkey
There is a nice tight version of the protobuf library that ships with the Android platform. It's got a tiny footprint, and is actually pre-loaded by zygote so that all apps benefit. http://android.git.kernel.org/?p=platform/external/protobuf.git;a=tree;f=src/com/google/common/io/protocol;hb=cupc

[android-developers] Re: xattr for yaffs2 to use SELinux on Android

2009-05-06 Thread Yuichi
Thank you, I will post other places again. On 4月28日, 午後4:44, "Jun'ichi Hirayama" wrote: > Hi Yuichi > > I think this topics should disscussed other ML > ,android-platform,android-framework,android-porting,and android-discuss. > > I recomend you post this message to these ML. > > BR Jun'ichi > >

[android-developers] Re: How to capture key events from on screen keyboard?

2009-05-06 Thread Yan Shi
Hi I use the default InputMethodService. Can this be done? On May 7, 7:22 am, androidcrew wrote: > Hi, > > please post your code which is involved with the keyboard process. > typically you need an eventlistener which you have to overwrite. > > On 7 Mai, 01:02, Yan Shi wrote: > > > Anyone plea

[android-developers] Re: Child TextView in ScrollView with large amount of text pushes other views off the screen

2009-05-06 Thread Romain Guy
You set the scrollview to have a height of wrap_content, which means "be as big as you need to be to show your children." What you want instead is a height of 1.0 and android:layout_weight="1.0" On Wed, May 6, 2009 at 4:02 PM, Mike wrote: > > OK, I give up.  I am trying to create an activity lay

[android-developers] Using Google protobufs on Android

2009-05-06 Thread Inderjeet Singh
Anyone tried using protobuf (http://code.google.com/p/protobuf/) on Android? I noticed that the protobuf library jar was over 200k and that seems a bit too much. Has anyone experiemented with a stripped down version that only does data conversion and skips services? Thanks Inder --~--~-~

[android-developers] Re: New to Android

2009-05-06 Thread Wendal Chen
If it is not working , try to uninstall your JDK 1.3 . On May 7, 6:06 am, Mark Murphy wrote: > BriBri wrote: > > While trying to create an AVD for my first Eclipse-made Android app, I > > get the same java.lang.UnsupportederrorClassVersionError...49.0 error > > as in the OP. > > > At that time,

[android-developers] Re: Help! A problem occur when I want to create AVD(Android vitual device ) file.

2009-05-06 Thread Wendal Chen
Pls check by this : javac --version if it lower than JDK 5.0 , pls update to the lastest version , or check th path BTW , You can check you class file by commandline: javap -verbose bar.class if the version show "major.minor version 49.0" , it means your class file is JDK 5.0 On Apr 19,

[android-developers] Re: Transport Data between Android and PC application

2009-05-06 Thread Wendal Chen
I am using XML-RPC . On May 6, 10:13 pm, Tom wrote: > Hi, > > I have a webapp running on a PC using a MySQL database. > I would like to transport data between my webapp and an android > application. > > Can you explain how to do this? > Which protocols may I use? > Wich permissions may I give to

[android-developers] Re: How to capture key events from on screen keyboard?

2009-05-06 Thread androidcrew
Hi, please post your code which is involved with the keyboard process. typically you need an eventlistener which you have to overwrite. On 7 Mai, 01:02, Yan Shi wrote: > Anyone please? > > On May 6, 11:09 pm, Yan Shi wrote: > > > Still need help... > > > On May 6, 7:53 pm, Yan Shi wrote: > >

[android-developers] Re: Get image URI from camera?

2009-05-06 Thread Mark Murphy
Anna PS wrote: > What I don't know is what > to launch when the user clicks on it. A modified version of the Camera > class, or something like MediaStore.ACTION_IMAGE_CAPTURE? I haven't used the latter, so I can't comment on it. > I need to (a) display the photo as a thumbnail on the activity's

[android-developers] Re: Get image URI from camera?

2009-05-06 Thread Anna PS
Thanks Mark (sorry to have two separate threads going on here). I'll take a look at the code in your book. If I succeed, I'll post my code here for others to use. Links from other readers also much appreciated. Best wishes, Anna On May 7, 1:03 am, Mark Murphy wrote: > Anna PS wrote: > > Thank

[android-developers] Re: Get image URI from camera?

2009-05-06 Thread Anna PS
> > - From the home screen, have a big button saying "Click here to take a > > photo" > > You might be able to do that with an AppWidget in 1.5, but otherwise, > there is no means of doing a "big button" on the home screen. Sorry, my fault, I'm not being clear. What I mean is that I want to star

[android-developers] Re: Get image URI from camera?

2009-05-06 Thread Mark Murphy
Anna PS wrote: > Thanks Mark. I've tried to intercept the Camera class's onKeyDown > event to save a picture and take the URI back to my home activity - > code below. There is no onKeyDown() in the Camera class. http://developer.android.com/reference/android/hardware/Camera.html > Unfortunately

[android-developers] Re: How to capture key events from on screen keyboard?

2009-05-06 Thread Yan Shi
Anyone please? On May 6, 11:09 pm, Yan Shi wrote: > Still need help... > > On May 6, 7:53 pm, Yan Shi wrote: > > > Still need help. I found there a flag in KeyEvent: > > KeyEvent.FLAG_SOFTKEYBOARD. But how can I receive this keyevent? The > > key listener I registered never received any key eve

[android-developers] Child TextView in ScrollView with large amount of text pushes other views off the screen

2009-05-06 Thread Mike
OK, I give up. I am trying to create an activity layout that has a top level vertical linear layout like so: http://schemas.android.com/apk/res/ android" android:id="@+id/mainLayout" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fil

[android-developers] Re: Get image URI from camera?

2009-05-06 Thread Mark Murphy
Anna PS wrote: > Ugh. The more I search for answers, the more baffled I get... > > Here's what I need to do: > > - From the home screen, have a big button saying "Click here to take a > photo" You might be able to do that with an AppWidget in 1.5, but otherwise, there is no means of doing a "bi

[android-developers] Re: Get image URI from camera?

2009-05-06 Thread Anna PS
Thanks Mark. I've tried to intercept the Camera class's onKeyDown event to save a picture and take the URI back to my home activity - code below. Unfortunately, this is crashing with "Java.Lang.UnsupportedOperationException: Unknown URI: content://media/external/images/media". Can you advise? A

[android-developers] Re: Get image URI from camera?

2009-05-06 Thread Anna PS
> I need to start the Camera activity from within my application, take a > picture, and return the photo URI to another activity. Ugh. The more I search for answers, the more baffled I get... Here's what I need to do: - From the home screen, have a big button saying "Click here to take a photo"

[android-developers] Re: Get image URI from camera?

2009-05-06 Thread Mark Murphy
Anna PS wrote: > I need to start the Camera activity from within my application, take a > picture, and return the photo URI to another activity. > > Surely this should be straightforward? But the Camera API sample code > doesn't show how to get the URI. I can't find the answer on this > forum, ei

[android-developers] Re: android system make. error 45

2009-05-06 Thread cary
Wow. This was frustrating. I was having the exact same problem. I am a nube to the Java and eclipse stuff and on top of that I had to get Ubuntu 9.04 for AMD 64 Dual Core running. Anyway, the Error 45 is generated in the build/coreidroiddocs.mk make file if javadocs command fails. The error g

[android-developers] Search by Voice - Not in HTC Magic!!

2009-05-06 Thread moa
Looking on here at the video; http://www.android.com/releases/ and reading the pdf that came with my new htc magic (uk vodafone). there should be a "voice search" option, which show as a "mic" icon after the search box. This does not seem to be here on my phone Is the uk vodafone 1.5 cupcake

[android-developers] Re: Update widget from code

2009-05-06 Thread Jeff Sharkey
When building the widget update, you can pack the appWidgetId into the PendingIntent. Through the setData() Uri usually works best. j On Wed, May 6, 2009 at 12:18 PM, Carlos wrote: > > Hello, > > I have a widget like the jeff's example. > And i don't understand how to identify each widget (s

[android-developers] Get image URI from camera?

2009-05-06 Thread Anna PS
Hi, I need to start the Camera activity from within my application, take a picture, and return the photo URI to another activity. Surely this should be straightforward? But the Camera API sample code doesn't show how to get the URI. I can't find the answer on this forum, either. Can anyone help

[android-developers] Re: Weird bug when saving picture to file system!?

2009-05-06 Thread L'\tty
Thanx for the hint! Could you possibly be so kind to post me the code for scanning a file manually. I tried it but anyhow, I get an exception because it seems that I am not connected to the Media Scanner service although I called the connect() method. --~--~-~--~~~---~-

[android-developers] How to customize the zoom controls?

2009-05-06 Thread androidcrew
Hi, can someone tell my, how i can customize the map zoom controls with user generated graphics? With setBackground, i can set the background but i can not find any functionality to reset the controlbuttons. thx for help --~--~-~--~~~---~--~~ You received this mes

[android-developers] Re: how to set EditText 's password attribute in the code

2009-05-06 Thread Dianne Hackborn
In 1.5 the way to do this is with setInputType(). On Wed, May 6, 2009 at 2:56 PM, Mark Anacker wrote: > > look at the setTransformationMethod() - for instance, to turn password > mode on: > > myEditText.setTransformationMethod > (android.text.method.PasswordTransformationMethod.getInstance()); >

[android-developers] Re: New to Android

2009-05-06 Thread Mark Murphy
BriBri wrote: > While trying to create an AVD for my first Eclipse-made Android app, I > get the same java.lang.UnsupportederrorClassVersionError...49.0 error > as in the OP. > > At that time, the $ java -version said I had: > java version 1.3.1_01 > Java (TM) 2 Runtime Environment, Standard Edit

[android-developers] Re: Help! A problem occur when I want to create AVD(Android vitual device ) file.

2009-05-06 Thread Mark Murphy
BriBri wrote: > Per the Android Dev Downloading and Installing instructions, I > installed JDK 6.0 (v13). This may be the format version that is not > supported, but then again the error message says "Unsupported > major.minor version 49.0". I don't know what the heck they are talking > about...an

[android-developers] Re: how to set EditText 's password attribute in the code

2009-05-06 Thread Mark Anacker
look at the setTransformationMethod() - for instance, to turn password mode on: myEditText.setTransformationMethod (android.text.method.PasswordTransformationMethod.getInstance()); On May 5, 7:17 pm, rain wrote: > There's a "password" attribute  in the xml file , but i want set the > password

[android-developers] in TableRow

2009-05-06 Thread longhairedsi
Hi, I have a problem trying use within a table row. Any android: atributes applied to the widget within the include are ignored. Here's is a test I put together. The two buttons outside the table layout render correctly(adjusted width and height), the one's inside do not. Strangely, the cust

[android-developers] Re: Advice for remote service returning value from http transaction

2009-05-06 Thread Dianne Hackborn
We aware that if you do this by sending to a registered broadcast receiver, you can cause security holes because other people can also register for the broadcast and send a broadcast to your client. On Wed, May 6, 2009 at 1:24 PM, jseghers wrote: > > On further investigation, I see that the Pend

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-06 Thread Dianne Hackborn
View takes care of updating the drawable state as appropriate. There are methods on view you can override what it sets, but I don't think there is any API you can call to just force it to something. On Wed, May 6, 2009 at 2:04 PM, alex wrote: > > Ok, from pure conceptual point that IS selection

[android-developers] Re: API for reading the framebuffer

2009-05-06 Thread Dianne Hackborn
Sorry, no. On Wed, May 6, 2009 at 10:40 AM, Helios wrote: > > I am trying to see if user applications can READ the framebuffer e.g. / > dev/graphics/fb0. > I find that there is a permissions flag > "android.permission.READ_FRAME_BUFFER", but there is no API, which can > be used to grab the frame

[android-developers] Re: How to Disable Onscreen Keyboard

2009-05-06 Thread Dianne Hackborn
Go to settings and disable the IME. On Tue, May 5, 2009 at 7:22 PM, MikaSue wrote: > > I have downloaded SDK 1.5 and now when I enter a edittext field, this > annoying onscreen keyboard pops up. Is there a way to disable it in > the emulator? It's very annoying and slows my development down. >

[android-developers] Re: Transport Data between Android and PC application

2009-05-06 Thread alex
P.S. The second choice is to serialize the data and store it on SD card, then restore it on Android. On May 6, 5:13 pm, Tom wrote: > Hi, > > I have a webapp running on a PC using a MySQL database. > I would like to transport data between my webapp and an android > application. > > Can you explai

[android-developers] Re: Transport Data between Android and PC application

2009-05-06 Thread alex
I use REST over http (get, put, post, delete, google for it) + xml serialization (xmlpullparser which is built-in on Android) to do smth like this. The permission will obviously be internet access. On May 6, 5:13 pm, Tom wrote: > Hi, > > I have a webapp running on a PC using a MySQL database. >

[android-developers] Re: already set uses-sdk but market won't accept

2009-05-06 Thread Mariano Kamp
You need to put it in the right place. More info here: http://lmgtfy.com/?q=minSdkVersion On Wed, May 6, 2009 at 2:31 PM, anuraguni...@yahoo.com < anuraguni...@yahoo.com> wrote: > > i have already set minSdkVersion in my manifest xml. > here is the appt dump > E: manifest (line=2) >A: android

[android-developers] Re: Does cupcake support Webview with Gears ?

2009-05-06 Thread j
What is the reasoning behind not supporting Gears within a webview? Is there a security reason? Thanks On Apr 14, 3:42 pm, Grace Kloba wrote: > Still only for browser. > > Grace > > On Monday, April 13, 2009, Kumaravel Kandasami > > wrote: > > Does  anyone know whether Android 1.5 SDK supports

[android-developers] How to Disable Onscreen Keyboard

2009-05-06 Thread MikaSue
I have downloaded SDK 1.5 and now when I enter a edittext field, this annoying onscreen keyboard pops up. Is there a way to disable it in the emulator? It's very annoying and slows my development down. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] API for reading the framebuffer

2009-05-06 Thread Helios
I am trying to see if user applications can READ the framebuffer e.g. / dev/graphics/fb0. I find that there is a permissions flag "android.permission.READ_FRAME_BUFFER", but there is no API, which can be used to grab the frame buffer. Is there a plan to provide an API for reading the frame buffer

[android-developers] Creating multiple tabs :one after another

2009-05-06 Thread Prajkti
Hi all, In my application, i want to create multiple tabs. For example, i have a button on clicking which should create one more tab,(just like mozilla browser). I searched on Internet as well as Android Documentation.. but did not get any clue... Can anybody please help me..?? --~--~-~-

[android-developers] Unable to get Hello World working

2009-05-06 Thread Manglu
Hi, I donwloaded 1.1 release and tried to use eclipse as my development tool. Iteration #1 Things did not work as it complained that the platforms folder is not found. I didn't knwo what to do as the downloaded zip file looked good to me. Iteration #2 DOwnloa

[android-developers] download a apk file from the server

2009-05-06 Thread ainilife
hi all: i want to download a apk file from my server and run this apk file in my application. i want to know is that possible. if it can, please post the sample code. thank you very much. --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-developers] Re: conversion to dalvik format failed with error 1

2009-05-06 Thread kenjkelly
OK, This morning my 1.5 Android build worked (I did not get the " Conversion to Dalvik format failed with error 1", "no classfiles specified" errors). I did a Project "Clean..." and build and the errors came back. I fake-modified a file and did a build with NO clean, and the errors did not occur.

[android-developers] Video with MediaRecorder

2009-05-06 Thread Jason Proctor
just a tiny fyi here is that i did manage to get video recording working fine in my app. there is however a problem if the surface view fills its parent and the parent is the entire screen. if that happens, then the camera's view of things gets resized but nobody tells the codec, and hence the

[android-developers] [Help] Transport Data between Android and PC application

2009-05-06 Thread Tom
Hi, I have a webapp running on a PC using a MySQL database. I would like to transport data between my webapp and an android application. Can you explain how to do this? Which protocols may I use? Wich permissions may I give to android application? Regards Tom --~--~-~--~~--

[android-developers] how to set EditText 's password attribute in the code

2009-05-06 Thread rain
There's a "password" attribute in the xml file , but i want set the password attribute through the code. actually , In my project all Views are generated on the fly. do not using the xml files. --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] API for reading the framebuffer

2009-05-06 Thread Helios
I am trying to see if user applications can READ the framebuffer e.g. / dev/graphics/fb0. I find that there is a permissions flag "android.permission.READ_FRAME_BUFFER", but there is no API, which can be used to grab the frame buffer. Is there a plan to provide an API for reading the frame buffer

[android-developers] send mail with format html

2009-05-06 Thread Jonathan Alonso - Softdinet Ltda
Hi, I need send mail with format html used intent.EXTRA_TEXT Intent intent = new Intent(Intent.ACTION_SEND); intent.putExtra(Intent.EXTRA_EMAIL, to.getText().toString()); intent.putExtra(Intent.EXTRA_SUBJECT, subject.getText().toString()); intent.putExtra(Intent.EXTRA_TEXT, " http://www.gp-impo

[android-developers] Can't get even the Hello World to work

2009-05-06 Thread Manglu
Hi, I donwloaded 1.1 release and tried to use eclipse as my development tool. Iteration #1 Things did not work as it complained that the platforms folder is not found. I didn't knwo what to do as the downloaded zip file looked good to me. Iteration #2 DOwnloa

[android-developers] Re: Help! A problem occur when I want to create AVD(Android vitual device ) file.

2009-05-06 Thread BriBri
I get the same error when I try to create an AVD...and I can't solve it either. I believe this is what is preventing me from Running the simple HelloAndroid program in Eclipse. So I can't do any Android developing until I resolve this AVD creation issue. According to the Android Dev Guide, java.l

[android-developers] google market application

2009-05-06 Thread igourd
Hi, in the android release, i didn't find google market application preinstalled, how do I have that application? (currently we are making new android phone), do i need the license from google? if do, any process to apply for that? Thanks Igourd --~--~-~--~~~---~--~

[android-developers] Devlopers here comes the Testers

2009-05-06 Thread Ninad
Hi everyone, I am Ninad as i mentioned my name., I have some strange questions for you but it might be useful for all of Us.. I am into the testing field since last 6 years and observed that most of the OS devolopers have their testcases online like... For Symbian http://developer.symbian.com/w

[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-05-06 Thread pis4vlg
I think this is the right answer. When face the same problem, I fixed it after clean the project. thanks to Raphael vincent On Apr 29, 1:31 am, Raphael wrote: > The first time you convert an old project to the 0.9 ADT with 1.5 SDK, > you should try to use Project > Clean if you see any error o

[android-developers] Re: New to Android

2009-05-06 Thread BriBri
While trying to create an AVD for my first Eclipse-made Android app, I get the same java.lang.UnsupportederrorClassVersionError...49.0 error as in the OP. At that time, the $ java -version said I had: java version 1.3.1_01 Java (TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01) Java Ho

[android-developers] How to change the default menu ?

2009-05-06 Thread midelti
Hello, When the menu button is pressed, we obtain the the default menu in the bottom of the screen, my objective is to change the posisition of this menu. I extracted the sources of Menu ( menubuilder + iconmenuview + etc) from the source of Android . When i instanciate a new IconMenuView this one

[android-developers] Re: New to Android

2009-05-06 Thread BriBri
Thanks, I have the same problem and I think the JDK 5 or 6 install is the problem too. My problem is that I HAVE installed JDK 6 (update 13), A quick look in the Add/Remove Programs app shows Java(TM) SE Development Kit 6 Update 13 is installed...HOWEVER when I do $ java -version, I get: java ve

[android-developers] Re: Problems in using android to developing facebook applications .

2009-05-06 Thread Mad Donde
I'm having the same problem here. Looks like it happens when you try to add jaxb-api-2.1.jar and stax-api-1.0-2.jar to the classpath. I found on the internet this link, http://code.google.com/p/android/issues/detail?id=314 where they fixed the error Conversion to Dalvik format failed with error 2

[android-developers] Re: Update widget from code

2009-05-06 Thread Carlos
Hello, I have a widget like the jeff's example. And i don't understand how to identify each widget (same type). getAppWidgetIds() returns a tab, how to catch the good id when i touch mywidget 1 or mywidget 2? Do you know a solution? Charles On Apr 23, 12:05 am, Al wrote: > That worked, thank

[android-developers] How run a apk in the app

2009-05-06 Thread ainilife
hi all: i want to download a apk file from my server and run this application in my app. is this possible? if it can , please post some sample code. thank you all. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[android-developers] resuming extant Activity with different intent

2009-05-06 Thread Jason Proctor
i'm seeing some weirdness and just wanted to confirm my understanding/theories about intents and activity lifetimes. i have a broadcast receiver which signs up to get phone state notifications. when the phone rings, i construct a new intent, put the phone details in its extras, set its NEW_TAS

[android-developers] Urgent Need : Android Developer

2009-05-06 Thread Mohammed Ahmed
Hi, We have an immediate requirement for an Android Developer in Redwood Shores, CA Responsibilities: * Perform hand coding with Android * This position is responsible for translating business data requirements into conceptual, logical, and physical data models using Erwin Data Modeler. Requ

[android-developers] Detecting new video

2009-05-06 Thread kiriri
Hello, I'm trying to detect when new videos are taken. I'd succeeded to detect new photo using the intent filter action "com.android.camera.NEW_PICTURE" in a receiver but I don't know how I can detect new videos. Thanks for your help. --~--~-~--~~~---~--~~ You rec

[android-developers] help me

2009-05-06 Thread Jonathan Alonso - Softdinet Ltda
Hi, I send mail in html format, I'm doing with intent.extra_text but I do not work, please help me Thanks Jonathan Alonso Tel: 8008035 Skype: softdinet Bogotá, Colombia --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] Re: Development in G1 in Ubuntu 9.04

2009-05-06 Thread Luis E. Yupangui
This helped my out as well, Thank Yous sir! On Apr 29, 12:04 pm, Jean-Baptiste Queru wrote: > Try to call your file 51-android.rules. > > (I think something changed in 9.0.4 where a module that the android > stuff relies on is also initialized at step 50 which ends up being too > late). > > JBQ

[android-developers] Re: Emulator Camera Issues in 1.5

2009-05-06 Thread Chih-Wei
I have the same issue with 1.5 SDK. Screen goes blak and camera app times out. I traced into the code "onCreate" at Camera.java try { openCameraThread.join(); loadServiceThread.join(); } catch (InterruptedException ex) { } It seems that "loadServiceThread

[android-developers] Spinner Questions

2009-05-06 Thread Dladu
Hello, I am trying to add two spinners on a page with a submit button for an episode guide like program. I am trying to make it so the first spinner "seasons" controls the second spinner "episodes" (As there if different # of episodes each season) So far I have the two spinners using the following

[android-developers] AudioFlinger and SoundPool

2009-05-06 Thread akito
Hi, I am getting an error message for playing sound file using SoundPool class when the rate of playback exceeds 1.5. I can speed down the playback as low as 0.25, so speeding down is not a problem. I found this forum discussing about the crash report for playback rate for version 1.1. http://gr

[android-developers] Re: conversion to dalvik format failed with error 1

2009-05-06 Thread kenjkelly
I'm not sure I know what you mean Justin: I had a project that worked fine on earlier SDK's now it has the " no classfiles specified Conversion to Dalvik format failed with error 1" after moving to 1.5. I created the AVD for 1.5 google, the same as the sdk I selected. I am using Java 1.6.0_12.

[android-developers] [Help] Transport Data between Android and PC application

2009-05-06 Thread Tom
Hi, I have a webapp running on a PC using a MySQL database. I would like to transport data between my webapp and an android application. Can you explain how to do this? Which protocols may I use? Wich permissions may I give to android application? Regards Tom --~--~-~--~~--

[android-developers] already set uses-sdk but market won't accept

2009-05-06 Thread anuraguni...@yahoo.com
i have already set minSdkVersion in my manifest xml. here is the appt dump E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x2 A: android:versionName(0x0101021c)="1.1.0" (Raw: "1.1.0") A: package="com.askagent.webcritic" (Raw: "com.askagent.webcritic") E: applica

  1   2   3   >