[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Dianne Hackborn
http://developer.android.com/reference/android/content/Intent.html#putExtra(java.lang.String,%20int) And all of the other overloaded methods for various types. On Mon, Mar 23, 2009 at 10:40 PM, me tun a...@tpg.com.au wrote: How can I do that? Is there a reference you can point me to? On

[android-developers] Urgent help in getting screen coordinatesof a view

2009-03-24 Thread kavitha
Hi All, I need help in getting coordinates of a view on screen. I tried to print the view coordinates,they print value as 0. If i say v.getLeft() even that print it's value as 0. I am not understanding.Please help on this regard. Here is my code.I am trying to print view values in

[android-developers] Re: How to login to the root of Android Dev Phone 1?

2009-03-24 Thread havexz
THANKS ITS WOKRING..:) BTW is there a way i can access using the UI DDMS which comes with eclipse IDE.? On Mar 23, 10:40 pm, Jean-Baptiste Queru j...@android.com wrote: Run su in your shell, and you'll be running a root shell. JBQ On Mon, Mar 23, 2009 at 7:45 PM, havexz

[android-developers] Re: Error code

2009-03-24 Thread Eric Wong (hdmp4.com)
That's a great idea. Probably doesn't work work for Google when all employee have free food to start with..(right?) Cheers Eric On Mar 22, 6:42 pm, Al Sutton a...@funkyandroid.com wrote: I used to work for a company where anyone who checked in code that broke the build and didn't fix

[android-developers] Is Android browser supports Content-Encoding : gzip ???

2009-03-24 Thread Dilli
HI all I am developing a application which launches automatically when the user clicks on any link of pls / m3u in browser it works fine. But some links the response from server is like bellow it dos't launches my activity i founded that the difference is only Content-Encoding: gzip is extra

[android-developers] How to test camera on android

2009-03-24 Thread Harishkumar V
Hi, I have android running on beagle. I have usb webcam Logitect QuickCam Express connected to beagle board. The v4l2 driver recognizes the camera. Using v4l-info i can query the video device. Now, from android, if i run Camera.apk, only black and white checked screens (as like in emulator)

[android-developers] Returning from HTTP Intent.ACTION_VIEW

2009-03-24 Thread Chris Streeter
I have an application that needs to have a user visit a web page to authorize it. After spending time in the Browser the user should return the my application. Currently, I'm launching the Browser with: Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url.toString()));

[android-developers] Problem on creating Socket

2009-03-24 Thread guishenl...@gmail.com
Hi all, I'm working at an application about network and faced some problem.I did a client which will send some data to the server.But, if the server is not open, my client will in trouble. Here is the code and exact state: try{ Socket netSocket = new Socket(10.0.2.2, 9001); /

[android-developers] Re: how to get the current matrix mode?

2009-03-24 Thread Anton
Thomas, I just tested this using the glGetIntegerv method that takes an int array instead of a Buffer. It also returned 0 for me. So I dug into the source and found that the implementation of glGetIntegerv doesn't have a case for GL_MATRIX_MODE. And it sets the GL error to GL_INVALID_ENUM

[android-developers] Re: Problem on creating Socket

2009-03-24 Thread dillirao malipeddi
int SOCKET_TIMEOUT = 1; //10 sec InetSocketAddress myAddRess = new InetSocketAddress(url_connect,port ); //InetSocketAddress(InetAddress address, int port) try { //1. creating a socket to connect to the server Log.i(connecting to :+url_connect+], at port [+port+]);

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread tauntz
I just hope that this time the release date for the official SDK will be BEFORE the update hits the masses. Not like it was with the 1.1SDK - it was released way after 1.1 was released to end-users (the argument from Google was something in the lines of Hey, this is a small release with no mayor

[android-developers] Re: how to color key 2d sprite backgound?

2009-03-24 Thread Tazzer
A very interesting idea :) although I have my doubts that drawing with AvoidXfermode is not slower then drawing with alpha. Especially when drawing the complete background in this mode. If I have the time I certainly would like to try it. I now have the alpha issue working using the solution

[android-developers] Re: Problem on creating Socket

2009-03-24 Thread guishenl...@gmail.com
Thanks for your help, Dillirao! I have made it work! Here is my final code which can response within 10 seconds: try{ Socket netSocket = null; SOCKET_TIMEOUT = 1; InetSocketAddress myAddress = new InetSocketAddress(10.0.2.2, 9001 ); netSocket = new

[android-developers] Re: ListActivity.onListItemClick() only responds to trackball/dpad clicks

2009-03-24 Thread matthias
Hi, On Mar 23, 7:52 pm, droozen droozenr...@gmail.com wrote: Have you tried following the Notepad tutorial and this line in your onCreate method?         registerForContextMenu(getListView()); Why would I want to do that, I do not need a context menu. Maybe I didn't make myself clear

[android-developers] Re: how can i pick audio in startActivityForResult

2009-03-24 Thread zeeshan
Hi Experts, i need to select audio from my playlist which intent can help me? On Mar 23, 5:37 pm, zeeshan genx...@gmail.com wrote: Hi Experts, i need to select audio from my playlist which intent can help me? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: ListActivity.onListItemClick() only responds to trackball/dpad clicks

2009-03-24 Thread matthias
I found the problem: Removing the call to textView.setMovementMethod (LinkMovementMethod.getInstance()); in a TextView I use in the list item layout fixed the problem. Is that expected behavior? I think about raising a bug about this. --~--~-~--~~~---~--~~ You

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
Hey, Thank you for your answers! Indeed I am using a ListActivty.. The problem was I couldn't click on my listviews when i made several listviews.. But I made onclicklisteners for every listview and now it is working! THX On Mar 23, 7:56 pm, Romain Guy romain...@google.com wrote: And it's a

[android-developers] android:ellipsize for multi-line text?

2009-03-24 Thread Matthias
Hi, I noticed that android:ellipsize will always ellipsize a single line as soon as it doesn't fit the width of a TextView. That makes no sense however for multi-line TextViews, since you will then get something like this: some very long tex... this line fits. this one does not f... you get

[android-developers] Bundles and serializable objects - what is actually stored?

2009-03-24 Thread Matthias
Hi, I was wondering about the behavior of Bundles and serializable objects. If I put a serializable object into a bundle, what is serialized then, the reference to the object or the object itself? I always assumed that the object itself would be serialized to a byte stream when calling

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
I have one more question! I now have different Listviews and I have different contextmenu's for these listviews because they need different actions. But i want to do this for the options menu to. Can i create a different options menu listener for every listview? Wouter On Mar 24, 10:17 am,

[android-developers] Re: How can an app own two langues (English and German)

2009-03-24 Thread jokamax
https://groups.google.com/group/android-developers/web/localizing-android-apps-draft (post it link on the group ...) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] When is the Android Market available in the EU?

2009-03-24 Thread sdz
Hi, do you know when Merchants are able to sell their applications via the market from germany or other EU-Countries? I've heard that it will be announced till 30.03. Is this correct? Do you have any other information about it? Thank you --~--~-~--~~~---~--~~

[android-developers] Re: Is Android browser supports Content-Encoding : gzip ???

2009-03-24 Thread sdz
AFAIK you can't access gzip via Android OS, because your webserver delivers a Content audio/x-mpegurl. On 24 Mrz., 07:51, Dilli dilliraomca...@gmail.com wrote: HI all I am developing a application which launches automatically when the user clicks on any link of pls / m3u in browser it works

[android-developers] Re: Issue in android:duration in frame animation

2009-03-24 Thread Nithin
Thanks Romain for that input, actually i tried some weird things... anyway thanks for the information.. Nithin On Mar 19, 8:26 pm, Romain Guy romain...@google.com wrote: Note that the hardware also won't let you do more than 60 frames per second, so any duration lower than 15ms is useless.

[android-developers] Re: When is the Android Market available in the EU?

2009-03-24 Thread bouvetloz...@gmail.com
http://tinyurl.com/dnh8j4 --~--~-~--~~~---~--~~ 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

[android-developers] Re: When is the Android Market available in the EU?

2009-03-24 Thread sdz
So will I be able to sell applications at 1.04.09 in germany? On 24 Mrz., 12:21, bouvetloz...@gmail.com bouvetloz...@gmail.com wrote: http://tinyurl.com/dnh8j4 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Mark Murphy
tauntz wrote: We need an official SDK - and we need it as soon as the tree is stable enough (and way before it's pushed to the carriers/end-users) Please understand that Android is open source. There is no pushed to the carriers/end users -- hardware manufacturers are welcome to pull from the

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
Wouter wrote: I now have different Listviews and I have different contextmenu's for these listviews because they need different actions. But i want to do this for the options menu to. The options menu is for the activity. Context menus are for the widget. Can i create a different options

[android-developers] How can i check the mode of orientation?

2009-03-24 Thread Suman
Hi all... Thanks for replies. Can any one tell me by which method i can check the screen orientation? I mean i want to check whether it is land-scap mode or portrait mode. Thanks in advance. Suman. --~--~-~--~~~---~--~~ You

[android-developers] Re: When is the Android Market available in the EU?

2009-03-24 Thread bouvetloz...@gmail.com
Very unlikely. This is the latest official roadmap promised 3 months ago, but I'm totally sceptic. --~--~-~--~~~---~--~~ 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: Get scroll position in a list activity

2009-03-24 Thread Mark Murphy
Ivan Soto wrote: Do you have any article/tutorial about the placeholder images to share? I'm trying to find one with no luck. I have used the technique, but not in code I'm allowed to share. I do need to more formally write this up at some point, but I do not have anything immediately handy.

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread tauntz
Did you just say that Google is not pushing code/releases to tmo and that tmo pulls the public source at random points in time, adds dream specific bits and releases it to end-users? You do realize that all releases till today have come from a closed source project and not AOSP? (Even if Google

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Mark Murphy
tauntz wrote: Did you just say that Google is not pushing code/releases to tmo Of course Google doesn't push code/releases to T-Mobile. T-Mobile is a mobile carrier. and that tmo pulls the public source at random points in time, adds dream specific bits and releases it to end-users? HTC

[android-developers] HttpUrlConnection - Authentication

2009-03-24 Thread nEx.Software
I am beating my head against a wall trying to figure out why I cannot get Authenticated on my server whilst using HttpUrlConnection. I need to post a file in a post method and it seems I cannot do so with the DefaultHttpClient and a regular HttpPost (unless I am completely missing something?). I

[android-developers] Re: PendingIntent problem

2009-03-24 Thread info+farm
Hello Mr. Murphy, I searched for it before sending my post and looked at http://groups.google.com/group/android-developers/browse_thread/thread/6c0d72904ab4234e/9cc2ad4d8795e9a6?lnk=gstq=PendingIntent#9cc2ad4d8795e9a6 and

[android-developers] Re: HttpUrlConnection - Authentication

2009-03-24 Thread Mark Murphy
nEx.Software wrote: I am beating my head against a wall trying to figure out why I cannot get Authenticated on my server whilst using HttpUrlConnection. I need to post a file in a post method and it seems I cannot do so with the DefaultHttpClient and a regular HttpPost (unless I am completely

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Disconnect
On Tue, Mar 24, 2009 at 8:58 AM, Mark Murphy mmur...@commonsware.comwrote: tauntz wrote: Did you just say that Google is not pushing code/releases to tmo Of course Google doesn't push code/releases to T-Mobile. T-Mobile is a mobile carrier. and that tmo pulls the public source at

[android-developers] ClassLoader.isAncestorOf(ClassLoader) Bug

2009-03-24 Thread Daniel Janev
Hello All, Please someone from Google to comment this issue! My colleagues has found a bug in the java.lang.ClassLoader implementation of the cupcake tag of the Android platform. Here is a short descriptions: We try to invoke ClassLoader.getSystemClassLoader() in one of our OSGi

[android-developers] Re: Building user interfaces at runtime with layouts from server

2009-03-24 Thread Daniel
Thanks for your response. My use case is as follows: We have a server application which allows to be extended by plugins. Each plugin contributes a view and some logic. Until now, the only client we support is a web client. Every plugin contributes a jsf based xhtml page plus some java beans.

[android-developers] Re: ClassLoader.isAncestorOf(ClassLoader) Bug

2009-03-24 Thread Mark Murphy
Daniel Janev wrote: My colleagues has found a bug in the java.lang.ClassLoader implementation of the cupcake tag of the Android platform. Did you file this on http://b.android.com? That is the issue tracker for Android. I do not see your issue out there, so I strongly encourage you to file it

[android-developers] Re: HttpUrlConnection - Authentication

2009-03-24 Thread nEx.Software
Thanks for the lead Mark. I really appreciate it. I hope it gives me some insight. So, is my assessment right in that the HttpPost/ HttpClient route is not possible for this sort of thing currently? I see there used to be a MultipartEntity class which was removed with the 1.0 SDK. That looks like

[android-developers] Re: HttpUrlConnection - Authentication

2009-03-24 Thread Mark Murphy
nEx.Software wrote: Thanks for the lead Mark. I really appreciate it. I hope it gives me some insight. So, is my assessment right in that the HttpPost/ HttpClient route is not possible for this sort of thing currently? If by this sort of thing you mean pre-emptive HTTP authentication, it

[android-developers] Re: Get scroll position in a list activity

2009-03-24 Thread Streets Of Boston
I've done the same in my apps for ListView (whether they be in ListActivity or in a plain Activity) with good success. I use the java.util.concurrent's ExecutorService to obtain images: 1. Your getView(..) (or bindView/newView/etc) needs to assign an image/ thumbnail (bitmap) to an ImageView.

[android-developers] Re: ClassLoader.isAncestorOf(ClassLoader) Bug

2009-03-24 Thread Daniel Janev
Thanks Mark, I've posted the bug there. Mark Murphy wrote: Daniel Janev wrote: My colleagues has found a bug in the java.lang.ClassLoader implementation of the cupcake tag of the Android platform. Did you file this on http://b.android.com? That is the issue tracker for Android. I

[android-developers] How to get the handle for one pop-up dialog?

2009-03-24 Thread david liu
Hi All, Here I have one question about I want to get the handle for one popup dialog, such as, there is one Delete alertDialog pop up when you want to delete one picture. So could anyone have the good idea about this? Thanks, David --~--~-~--~~~---~--~~ You

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
Ok thanks On Mar 24, 12:48 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter wrote: I now have different Listviews and I have different contextmenu's for these listviews because they need different actions. But i want to do this for the options menu to. The options menu is for the

[android-developers] Re: custom cleanup on application uninstall

2009-03-24 Thread kingtut
Did anyone figure it out yet? I wanna do the same thing. On Feb 5, 5:34 am, shahzad ahmad shahzad.s.ah...@gmail.com wrote: Is there any mechanism in android to perform post uninstall functions ? Are there any functions which an application can override to perform custom cleanup when it is

[android-developers] Re: HttpUrlConnection - Authentication

2009-03-24 Thread nEx.Software
I saw that, but it adds so much unnecessary weight to my apk to include additional jars. I'll give the JTwitter thing a shot. Thanks. On Mar 24, 7:10 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote: Thanks for the lead Mark. I really appreciate it. I hope it gives me some

[android-developers] Multiplayer game

2009-03-24 Thread suhas
Hi All, I have developed a sports game which is single player. Now I want to have one more game mode which is multiplayer. My question is how can i do device to device connection in android using sets of api which can be : 1.Bluetooth - whose APIs are not currently available. 2.gtalkservice -

[android-developers] Re: Get scroll position in a list activity

2009-03-24 Thread Streets Of Boston
Here is a code-snippet. I may not compile, but i think you'll get the idea :-) [code] ExecutorService EXECUTOR = Executors.newFixedThreadPool(3); // max 3 worker threads. ... public View getView(final AbsListView listView, View convertView, int pos, long id) { ... ... final String imgUrl

[android-developers] Re: Get scroll position in a list activity

2009-03-24 Thread Ivan Soto
Thanks for explaining. Right now I'm using the efficient list method used on the ApiDemos so when the user scrolls it will refreshes the images that didn't load before. But if you don't move anything, even if the image is downloaded it won't redraw in the imageview. I will start reading about

[android-developers] http proxy and chunked encoding with emulator

2009-03-24 Thread m5p3nc3r
Hi All I am having a specific problem that is preventing me using the android SDK from work. We are using a MS Proxy here that all internet traffic has to go through. The problem seems to be when the emulator is trying to access a site that uses 'Transfer-Encoding: chunked' If I attempt to

[android-developers] Alias custom view path in XML

2009-03-24 Thread Ward Willats
Is there a way to alias the path to my custom view class (perhaps in its styleable) so I can say MyGreatView in the XML, instead of com.myco.myapps.MyGreatView (I played around with the months ago, namespaces and what-not, but never found a solution.) Just a nice to have thing. Thanks --

[android-developers] Re: Get scroll position in a list activity

2009-03-24 Thread Ivan Soto
I think that's what I'm looking for. Can't wait to give it a try after work. Although, I have another thread in my main Activity downloading all pictures. Thanks, I will give it a try. Ivan Soto Fernandez Web Developer http://ivansotof.com On Tue, Mar 24, 2009 at 8:37 AM, Streets Of Boston

[android-developers] Re: Alias custom view path in XML

2009-03-24 Thread Mark Murphy
Ward Willats wrote: Is there a way to alias the path to my custom view class (perhaps in its styleable) so I can say MyGreatView in the XML, instead of com.myco.myapps.MyGreatView (I played around with the months ago, namespaces and what-not, but never found a solution.) Just

[android-developers] Re: http proxy and chunked encoding with emulator

2009-03-24 Thread David Turner
That very well could be a bug in the chunk encoding support of the http rewriter within the emulator's proxy code. I could not test it against a lot of cases. Can you dump the output of emulator -debug-proxy when you try to connect to www.google.com through your proxy ? This will print out the

[android-developers] Re: Drawing ViewGroup content on a SurfaceView/SurfaceHolder Canvas

2009-03-24 Thread bleucalme
I want to do something similar. Did you find a solution? On Mar 13, 7:33 pm, Zia zia.cha...@gmail.com wrote: Hi, Wanted to know if its possible to draw ViewGroup contents on SurfaceView/SurfaceHolder canvas?  I'm trying to achieve fast 2D animation (using SurfaceView) alongside Android UI

[android-developers] How to read MMS messages? Possible or not?

2009-03-24 Thread Sebastian
Hello, i am unable to find updated information on how to read mms messages in android. I am able to query content://sms and content://mms. Content://mms contains a bunch of columns which i don't find information for. Atleast the returned Cursors seem to point to the mms in my phone. Now, how can

[android-developers] Re: Injecting HTTP header into all requests issued by the emulator

2009-03-24 Thread David Turner
the http proxy support code is in external/qemu/proxy/proxy_http_rewriter.c you should be able to modify it to inject the header you need. Apart from that, this is not supported by the current binary, so an alternative is to use a different proxy to do that. You can still use -debug-proxy to

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-03-24 Thread David Turner
On Thu, Mar 19, 2009 at 4:46 AM, Weizhong xwz7...@gmail.com wrote: If I leave apn type to blank, is that same to default? Actually I have tested with cmnet apn type blank, and cmwap apn type mms, it's not working either. I have been told that a blank is not the same than default. You must

[android-developers] Re: Google dev phone G1 activation problem

2009-03-24 Thread David Turner
Have you tried removing the mms related settings from the default APN, then add them back to the mms one ? On Thu, Mar 19, 2009 at 10:00 AM, HalfAsleep chri...@gmail.com wrote: If anyone gets their phone set up with telenor, including MMS, please let us know. I have got my phone working too

[android-developers] Re: http proxy and chunked encoding with emulator

2009-03-24 Thread m5p3nc3r
Sorry for the large blob, but here goes: http_service_connect: trying to connect to 209.85.229.147 on port 80 http_service_connect: using HTTP rewriter tcp:209.85.229.147:80(16): connecting tcp:209.85.229.147:80(16): connected to proxy tcp:209.85.229.147:80(16): socket pair created

[android-developers] Afterimage when using SURFACE_TYPE_PUSH_BUFFERS surface.

2009-03-24 Thread AndroidJimmy
Dears, I met a problem with video playback. My video playback activity was set to landscape. When I pressed the back key to leave the activity, There sometimes had afterimage of the video content about less than 1 sec on the screen (). The afterimage often transform to the portrait orientation.

[android-developers] api to install update apk in private-app folder

2009-03-24 Thread Zi Yong Chua
Hi fellow developers, I have a question with regards to an update feature that I am trying to put in my application. I am wondering if it is possible for an application to download a new apk and install it inside the /data/app- private folder (which i presume is for copy protected apps)? Cheers

[android-developers] Managed filer query creates 'attempt to acquire a reference on a close SQLiteClosable'

2009-03-24 Thread EboMike
I'm creating a managedQuery in the FilterQueryProvider.runQuery() of a ResourceCursorAdapter. That works fine, but if I set up a filter, then go to a different app, then go back to the app with the filter, the app crashes with 'attempt to acquire a reference on a close SQLiteClosable' in the

[android-developers] Re: api to install update apk in private-app folder

2009-03-24 Thread Mark Murphy
Zi Yong Chua wrote: I have a question with regards to an update feature that I am trying to put in my application. I am wondering if it is possible for an application to download a new apk and install it inside the /data/app- private folder (which i presume is for copy protected apps)? I do

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Jean-Baptiste Queru
1.1 was essentially a update of a few Google-proprietary bits on top of the same platform as 1.0. From the point of view of the Android platform (and therefore of the SDK as well), the differences between 1.0 and 1.1 are extremely minor. Cupcake is a branch name, it's not a released version. A

[android-developers] Re: http proxy and chunked encoding with emulator

2009-03-24 Thread David Turner
Thanks a lot, I could find a bug in the http rewriter source code. It is triggered by the Keep-Alive + chunked reply. I'll file a bug for it and start working on it. However, I'd like to be able to test it. Anyone knows a proxy that can be setup to answer this way ? On Tue, Mar 24, 2009 at 4:22

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Al Sutton
JBQ, Can you pass up the chain that the 'phrase ...you can be sure that you'll have an official SDK for a cupcake-originated release as soon as possible. should be planned to be a point in time (hopefully a couple of weeks) before a carrier releases a device with it on. I'm sure you're aware

[android-developers] Re: Multiplayer game

2009-03-24 Thread Robert Green
Well suhas, I believe bluetooth is currently impossible but perhaps cupcake adds capabilities to be able to talk to a peer? As for Wifi, you will need to roll your own code. This is because all games need custom networking code unless they are built from an engine which has it integrated. A

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Jean-Baptiste Queru
I'm personally involved in the relevant discussions, so you can rest assured that the people who need to know do know already. JBQ On Tue, Mar 24, 2009 at 8:47 AM, Al Sutton a...@funkyandroid.com wrote: JBQ, Can you pass up the chain that the 'phrase ...you can be sure that you'll have an

[android-developers] change background color on focus

2009-03-24 Thread zeeshan
Hi, i need to have the default selection color (orange), here is my code Button android:id=@+id/login android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=left

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread David Turner
Hmm.. Despite the fact that *this is what we want*, we cannot make a guarantee that the Cupcake SDK will be officially released strictly before the platform is available on retail phones. Properly testing and packaging a SDK takes a lot of time, we *may* encounter blocker bugs that have nothing

[android-developers] Re: api to install update apk in private-app folder

2009-03-24 Thread Zi Yong Chua
Its not possible to do the install or to install it in app-private may I ask? On Mar 24, 11:38 pm, Mark Murphy mmur...@commonsware.com wrote: Zi Yong Chua wrote: I have a question with regards to an update feature that I am trying to put in my application. I am wondering if it is possible

[android-developers] Re: How to change the tab icon dynamically

2009-03-24 Thread manoj
can any one please help me. Its requirement of the client. On Mar 24, 10:19 am, manoj manojkumar.m...@gmail.com wrote: Hi, I have a tab activity with 3 tabs. Each tab has a default icon. I want these icons have to be changed dynamically on each tab selected. I mean, each tab has two

[android-developers] Re: api to install update apk in private-app folder

2009-03-24 Thread Mark Murphy
Zi Yong Chua wrote: Its not possible to do the install or to install it in app-private may I ask? You cannot directly install anything. At best, you can hand the APK off to the system, and Android can install it, but I do not believe you can control where it gets installed (that's up to

[android-developers] Re: How to change the tab icon dynamically

2009-03-24 Thread Mark Murphy
manoj wrote: can any one please help me. Its requirement of the client. You can try holding onto the TabHost.TabSpec objects you create and call setIndicator() again when the icon changes. I have no idea if that will work. You might try subclassing TabHost and see if you can handle the icon

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread roland
Totally agree, Apple just release their 3.0 SDK beta for who has purchased iPhone Developer Program. The final version comes in June, so iphone developer has 3 months to familiar the new OS and let their applications get all the new features. I hope all of us, who are interested in Android, and

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
I now have another problem. i now have multiple listviews in my listactivity. When i reach the bottom of the screen one of the lists put scrollbars in the listview. But i cant scroll the whole activity! I cannot scroll when i have a long list.How can i fix this? putting the listviews in a

[android-developers] Localizing layouts?

2009-03-24 Thread BoD
Hi! Is it possible to localize layouts (in the same way you can have a 'por' and a 'land' layout? As you may know some languages are less 'verbose' than others, thus sometimes layout adjustments might be needed according to the current language. Thanks for your help.

[android-developers] Re: Implications of Using Non Standard Packages

2009-03-24 Thread jason.delport
Many thanks to both of you for your responses. Cheers, Jason On Mar 23, 5:30 pm, Dianne Hackborn hack...@android.com wrote: Also com.google.android.maps is an optional API provided by Google that is not part of Android, so there will be phones that don't have it.  This is why you need to

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
Wouter wrote: I now have another problem. i now have multiple listviews in my listactivity. When i reach the bottom of the screen one of the lists put scrollbars in the listview. But i cant scroll the whole activity! I cannot scroll when i have a long list.How can i fix this? putting the

[android-developers] ProgressDialog is not showing...

2009-03-24 Thread mat
Hi, I know that this is common problem, but still I cannot find the answer... I have two classes: InternetConnection extends Activity ConnectionChangeReceiver extends BroadcastReceiver From ConnectionChangeReceiver I'm calling InternetConnection method which is refreshing UI when Internet

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
Wouter wrote: I now have another problem. i now have multiple listviews in my listactivity. When i reach the bottom of the screen one of the lists put scrollbars in the listview. But i cant scroll the whole activity! I cannot scroll when i have a long list.How can i fix this?

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
Wouter wrote: I have multiple lists because every list uses another database adapter for getting data from a database. And also the onItemClick must be different for every list! Would i be able to still do this when I make one listview? You would only have one onItemClick and would have to

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Al Sutton
I'm personally involved in the relevant discussions... That phrase alone gives me some hope... :). Al. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Jean-Baptiste Queru Sent: 24 March 2009 15:57 To:

[android-developers] Re: http proxy and chunked encoding with emulator

2009-03-24 Thread m5p3nc3r
This is great news. If you want me to test anything here, I am more than happy to do this. (It would also mean that I get a working emulator before the official 1.1 r2 release :) On Mar 24, 3:42 pm, David Turner di...@android.com wrote: Thanks a lot, I could find a bug in the http rewriter

[android-developers] Re: Localizing layouts?

2009-03-24 Thread BoD
Thanks a lot, I saw this doc but I guess I read it a bit too fast, and I was unsure the suffixing applied also to layouts. Cheers! BoD On Mar 24, 5:27 pm, Mark Murphy mmur...@commonsware.com wrote: BoD wrote: Hi! Is it possible to localize layouts (in the same way you can have a 'por'

[android-developers] Re: Bundles and serializable objects - what is actually stored?

2009-03-24 Thread Dianne Hackborn
When you put a serializable into a bundle, the bundle holds on to the object reference UNTIL it needs to be marshalled across processes. At that point it will get serialized into a byte stream, the bundle will be written into a parcel, and the other side will receive a new bundle object with a

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Al Sutton
Dave, I understand the effort involved, but the choice for any SDK is really; a) Release the SDK before the devices and let developers test and prepare their apps. b) Allow users to start buying a device which may not properly run the applications available from Market. This is a

[android-developers] Re: No window to dispatch pointer action 1 onTouchEvent problem

2009-03-24 Thread mcmc
This is also happening to me. :( On a down click, i get No window to dispatch pointer action 0 When I let go of the mousem i get No window to dispatch pointer action 1 This happens after I hold the mouse down for a while... please help. On Feb 3, 7:23 am, ad avra...@gmail.com wrote: Does

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Ivan Soto
Completely agree, This is one of the main issues I see in the platform. I can understand when they say that different devices can run different versions/revisions of the OS but that's only causing a fragmentation of the platform which won't be any good for both users and developers. I can already

[android-developers] How about the GSM interface?

2009-03-24 Thread Loach
If I want to develop the android phone, how can I develop the RF driver? Where can I get the detail information? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Uncaught handler: thread main exiting due to uncaught exception

2009-03-24 Thread ragu
Hi when i am executing the code below in the android emulator i didn't faced any problems in contrast when i executed from the AIDL phone, my application got crashed any sugestions. public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) {

[android-developers] Please suggest Substitute for drawRegion in android

2009-03-24 Thread manohar
Hi All, I am converting a game from j2me to android. Instead of drawRegion i tried using bitmap. For translation 0 it works properly means TRANS_NONE. I am unable to get the out put for TRANS_MIRROR and TRANS_MIRROR_ROT180. pls any one can guide me on this. My drawRegion is some thing like

[android-developers] a issue about LCD display of Android porting on SAM9261 board

2009-03-24 Thread hua...@symbio-group.com
hi I am new to this group, just port Android to SAM9261-EK board, but LCD display is so coarse, is this the issue of LCD panel, or other? my LCD is TFT LCD 240x320. does some one have any clew for this? Thanks. Regards John --~--~-~--~~~---~--~~ You received

[android-developers] Calendar fail to launch in Cupcake 1.5

2009-03-24 Thread jerryfan2000
Hi, Is there anyone know why Calendar in Cupcake 1.5 fails to launch? I googled and found nothing about this issue. Is it. In addition, I got some error msg with logcat saying superclass of CalendarAppWidgetProvider was unable to resolve. However, I can't find CalendarAppWidgetProvider class from

[android-developers] Saving Stats to Textfile

2009-03-24 Thread jh
Hi, I would be an intermediate level Java programmer (more of a hobbyist). I want to create an app for android that counts stats during a football game. This is roughly the functionality: 1.User presses buttons representing each type of stat e.g. #1 for score, #2 for lost posession of ball etc.

[android-developers] No translucency when xml file present

2009-03-24 Thread jonlerne...@gmail.com
I am experiencing a very strange problem. In my application, I have a theme that I use for one of my activities: android:theme=@style/Theme.Translucent The theme is defined as follows: style name=Theme.Translucent parent=android:style/ Theme.Translucent item

[android-developers] GridView of Buttons

2009-03-24 Thread Robbo
Hello, I have used GridView for 2-dim grid of Buttons. My problem is, that a user may navigate through this grid's cells -- with use of arrow keys it is possible to move yellow rectangle and by pressing enter select cell (rectangle becomes orange for a moment). Everything is behind buttons which

  1   2   3   >