[android-developers] Re: NullPointerException : String imageFileName = myFile.imageFileName.toString(); when imageFileName is null

2009-05-16 Thread Romain Guy
It couldn't have been working before 1.5. The only way to safely convert an object to a String without a NullPointerException is to use a StringBuilder/StringBuffer or use a String concatenation: String imageFileName = + myFile.imageFileName; Or better yet, explicitly check for null :) On

[android-developers] Re: Question for SDK developers - behavior of setFeatureInt

2009-05-16 Thread Romain Guy
And if you do anyway, don't complain if your app breaks in a future release :) On Fri, May 15, 2009 at 9:56 PM, Dianne Hackborn hack...@android.com wrote: Yeah that seems fine.  Just stay away from internal/private APIs (and reflection tricks to get to them!). On Fri, May 15, 2009 at 9:54

[android-developers] Re: Issue with orientation change: Dialog above activity with fixed orientation

2009-05-16 Thread André
Thank you for your answer, Dianne. Problem however is, that even the new Dialog themed activity won't adapt to an orientation change if the parent activity is fixed to portrait or landscape mode. It seems the reason is the transparent/transluscent background of it. Once I create an activity with

[android-developers] Sms Competition + 10 Tips On How To Get Rich Fast

2009-05-16 Thread meh.altaf
- Send Lucky Draw - SMS Competition [Pakistan Only...http://apnaapaisa.blogspot.com/2009/05/send-lucky-draw-sms-competition.html - The World's Billionaires Women 2009http://apnaapaisa.blogspot.com/2009/05/worlds-billionaires-women-2009.html - The Pakistan's Billionaires

[android-developers] Sharukh khan , kareena kapoor , shushmeta sen on Magazine cover

2009-05-16 Thread meh.altaf
http://filmi4u.blogspot.com/2009/05/kareena-kapoor-cover-girl-of-filmfare.html - Sushmita Sen in Good Housekeeping Magazine - May 2...http://filmi4u.blogspot.com/2009/05/sushmita-sen-in-good-housekeeping.html - Esha Deol Provogue Hot

[android-developers] Re: dialog is getting dismissed when I am flipping the device

2009-05-16 Thread jose toledo
I'm trying to use a managed dialog from inside a tab in a TabActivity and it is not behaving as I expected. The dialog is still being killed when I flip the screen. If I create the dialog from the TabActivity instead of its child (using getParent().showDialog() ) it is handled correctly. Is

[android-developers] Re: Errors on Windows 7

2009-05-16 Thread Al Sutton
Have you tried connecting an Android 'phone and using adb? I've never been able to get it adb to a device working on Vista, and despite moving from SP1 to SP2 RC, re-installing the driver, and everything else all I ever get is The device cannot start (Code 10) in device manager, so I'd be

[android-developers] Indication bar is just closed upon tapping the downloading item.

2009-05-16 Thread ritter.han
Hi all, The question of mine is about the behavior of indication bar. When you download some files in the browser, you can see the indication bar is showing downloading icons. When I tap the downloading icon after pulling down the indication bar, it's just closed and nothing

[android-developers] got problem while playing video in SDK 1.5 pre

2009-05-16 Thread manoj
Hi friends, I have written a small app which plays video well. Its working fine for some video files, for some files the app is unable to play. I got the log as follows: W/PlayerDriver( 542): Using generic video MIO E/PlayerDriver( 542): Command PLAYER_PREPARE completed with an error or info

[android-developers] Re: AppWidget issues

2009-05-16 Thread guruk
Thanks, thats a real HELP, - Roman Guy.. I like your Info, but please its not enough to know that a bug, would be great you all help us with Turnarounds. Now Jeff, one Question, i did not implemented you code right now. But does this remove still the Problem, that the broadcasts are still firing

[android-developers] Re: startActivity from subclass - strange problem

2009-05-16 Thread mscwd01
This problem is baffling me, I cannot work out why a call to startActivity() from the subclass of the running Activity causes this error. If I call startActivity() from the Activity itself, not the subclass of the Activity, it works fine. Any ideas? I've spent too long on this problem now ;) On

[android-developers] Re: About PinyinIME in android-1.5

2009-05-16 Thread moontain
OK. Thanks all for the replies. 2009/5/13 Qcshz Ihnus qcshzih...@googlemail.com On Mon, May 11, 2009 at 10:39 AM, moontain chen.worksp...@gmail.com wrote: Hi, When I get code with following repo init command to get the official android 1.5 code, I can't find the PinyinIME project,

[android-developers] Unable to receive intent on sending SMS

2009-05-16 Thread amer
I want to receive an intent describing the status whether SMS sent or failed. I have following code to send SMS: /** * MainActivity is my activity class, MessageAlertReceiver is a broadcast Receiver registered through manifest */ Intent intent = new Intent(MainActivity.this,

[android-developers] Re: Animation Xml Resource and CycleInterpolator tag: FAIL

2009-05-16 Thread TjerkW
Euhm.. Then tell me why this class exists: http://developer.android.com/reference/android/view/animation/CycleInterpolator.html An i just follow the documentation for specifying interpolators: http://developer.android.com/guide/topics/resources/available-resources.html#animation By the way, i

[android-developers] Re: Android 2d Shooter Game AirAttack Follow My Blog!

2009-05-16 Thread TjerkW
Nope On 10 mei, 05:49, Vincent Chan venc...@gmail.com wrote: Open Source? Vincent Chan On Sun, May 10, 2009 at 03:06, TjerkW tje...@gmail.com wrote: Hello Everybody! For anyone that is interested in following the development of my Android Game: AirAttack, i have started a blog

[android-developers] Re: Removing the default interpolator for xml based animation effects for views

2009-05-16 Thread TjerkW
This problem is related to my problem: http://groups.google.com/group/android-developers/browse_thread/thread/4b39da63e56fb7e8/d89d4ab8e4462f2f?lnk=gstq=interpolator#d89d4ab8e4462f2f It seams that android:interpolator=@android:anim/ linear_interpolator is not public... On 22 apr, 14:35,

[android-developers] Re: AppWidget issues

2009-05-16 Thread guruk
thanks but what is this extras.getInt when I copy your code extras is not defined maybe you have a short workaround for that: @Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {

[android-developers] Re: AppWidget issues

2009-05-16 Thread guruk
ok.. i am a bit further (extras = Bundle extras = intent.getExtras ();) :) but as i understood, So i just can handle when a widget come deleted. But that doesnt change anything in the fact, that the internal int[] appWidgetIds still list them all. Could I delete the deleted Widget from that

[android-developers] How to make second DDMS work on the PC which already running a DDMS?

2009-05-16 Thread gan
Hi: Not sure if anyone has same problem: When one person debugging android application on a PC, emulator-5554 === DDMS A === Eclipse A can communicate well. When the second person want to debug application on another emulator on the same PC emulator-5556 === DDMS B Eclipse B The DDMS B

[android-developers] Showing travel path which will mach the real road on map.

2009-05-16 Thread jagtap.jj
In the application gps points(lat, lon) are collected while device is moving. I am showing them as travel path on map with overlays. Now the problem is when showing the path between the two points which are at two road cross, it does not show path exactly on road, if the distance between two

[android-developers] How do we get the hardware id?

2009-05-16 Thread jade
I've looked through a lot of the Android code and I can't find a method to get the hardware id of the device where our app is installed. How do we access it from our apps? Thanks, Jade --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: How do we get the hardware id?

2009-05-16 Thread Mark Murphy
I've looked through a lot of the Android code and I can't find a method to get the hardware id of the device where our app is installed. How do we access it from our apps? Try getDeviceId() in TelephonyManager: http://developer.android.com/reference/android/telephony/TelephonyManager.html

[android-developers] Frame-by-frame animation issue

2009-05-16 Thread steve_macleod
Hi, I am attempting to animate an ImageView using frame-by-frame animation. I am using the following code: ImageView pacImageV = (ImageView) findViewById(R.id.pacAnim); pacImageV.setBackgroundResource(R.anim.pacanim); pacManCharAnim = (AnimationDrawable) pacImageV.getBackground();

[android-developers] Re: startActivity from subclass - strange problem

2009-05-16 Thread Dianne Hackborn
How can I help you if I have no idea what your code is doing? It might help to see the lines of the code in the exception. I certainly can't see how this has anything to do with being in a subclass -- like I said, you are calling this on a Context that isn't initialized, such as what would

[android-developers] The cell line color of GridView

2009-05-16 Thread awwa
I'm trying to set the cell line color of GridView. But I can't find the option from reference of GridView. Is there any ideas to specify the cell line color of GridView? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Uploading an image in a multipart message - sample code

2009-05-16 Thread Wouter
Hey! Thank you very much for sharing this great code! It helped me a lot! But I have on problem! I have created a ruby on rails webapp where I want to upload my image. On the website I can upload a image without a problem but when I want to upload the image with Android, the image cannot be

[android-developers] Re: AppWidget issues

2009-05-16 Thread guruk
:) now step by step i come closer. I can catch when a widget come deleted but still the phantom widgets are in the appWidgetIds listed Is there any way to delete this phantom widgets from my list or get a working list of the active installed widgets? or is the only way to make my own list of

[android-developers] Re: The cell line color of GridView

2009-05-16 Thread Romain Guy
No :) On Sat, May 16, 2009 at 9:55 AM, awwa awwa...@gmail.com wrote: I'm trying to set the cell line color of GridView. But I can't find the option from reference of GridView. Is there any ideas to specify the cell line color of GridView? Thank you. -- Romain Guy Android framework

[android-developers] Re: Animation Xml Resource and CycleInterpolator tag: FAIL

2009-05-16 Thread Romain Guy
Euhm.. Then tell me why this class exists: http://developer.android.com/reference/android/view/animation/CycleInterpolator.html The class exists yes, but not its equivalent XML tag. An i just follow the documentation for specifying interpolators:

[android-developers] AppWidgets: Dynamic value for updatePeriodMillis?

2009-05-16 Thread Michael Elsdörfer
The developer blog suggests that one might ask the user for a custom widget update interval: Consider updating as infrequently as possible, or letting your users pick a custom update frequency. http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html It's not

[android-developers] Re: AppWidgets: Dynamic value for updatePeriodMillis?

2009-05-16 Thread Tom Gibara
Letting the user select a frequency can be done by not specifying an updatePeriodMillis for the widget, but instead registering a broadcast receiver with the AlarmManager that pushes updates through the AppWidgetManager. It's not possible to change the size of a widget from that defined in its xml

[android-developers] Re: Animation Xml Resource and CycleInterpolator tag: FAIL

2009-05-16 Thread TjerkW
Thanks for the info, figured it out myself by now :-) Nice to see you working on android, i followed your weblog a time ago (a year or so) about Swing and cool UI stuff (i think you worked @ sun then)! Greetings, Tjerk On 16 mei, 20:44, Romain Guy romain...@google.com wrote: Euhm.. Then

[android-developers] Re: AppWidget issues

2009-05-16 Thread Tom Gibara
There are basically two ways to end up with phantom widgets being supplied to your WidgetProvider. In the first instance, its because the user chose to add a widget, but then cancelled its configuration. To partially overcome this problem, you can keep a list of all the widgets you know have been

[android-developers] Re: 1.5 ListView disabled items

2009-05-16 Thread Alexey Volovoy
No problem, i got to tell you it means a lot that you guys responding to the questions. Thanks. See you at I/O. On May 15, 5:59 pm, Romain Guy romain...@google.com wrote: Sorry for that :( On Fri, May 15, 2009 at 3:21 PM, Alexey Volovoy avolo...@gmail.com wrote: Romain, thanks for the

[android-developers] Re: Frame-by-frame animation issue

2009-05-16 Thread steve_macleod
OK, I have been looking into this some more, and it seems that the reference to my ImageView is null. My code is organised as follows: Activity onCreate sets an onClick event when the onClick event is activated, setContentView(layout_01) is executed (this is the xml file which contains the

[android-developers] Re: Animation Xml Resource and CycleInterpolator tag: FAIL

2009-05-16 Thread Romain Guy
Btw, in the meantime you can set any interpolator you want using Java code. I know it's not as nice as XML, but it helps. Also, you can create your own linear_interpolator.xml in your application's res/anim directory. You can copy this file:

[android-developers] LogCat problem with two emulators open

2009-05-16 Thread Ricardo
Hi all, I´ve created two AVD´s to test my application. So I have two emulators running in port 5554 and 5556. But the LogCat view shows the messages from both emulators. Even if you select just the process you desire in the Devices View, the LogCat still shows both messages.. is it a bug ?

[android-developers] Re: NullPointerException : String imageFileName = myFile.imageFileName.toString(); when imageFileName is null

2009-05-16 Thread chrispix
Actually it did work prior to 1.5, it appears it has been fixed. You should give it a whirl! Thanks for the heads up on that.. Trying to make the migration from .NET to Java and some things that appeared like they would work apparently have changed some. Thanks again! Chris On May 16, 1:02 am,

[android-developers] Re: problem when debugging android application with eclipse

2009-05-16 Thread Raphael
Are you talking about the DDMS perspective or the standalone DDMS? If you use eclipse, do not use the standalone DDMS program, use the DDMS perspective from within Eclipse. If you do that you do not need to manually select the program in the DDMS process list, the Eclipse plugin can

[android-developers] Re: Installing the USB driver for HTC Magic on Vista

2009-05-16 Thread Raphael
Once again: the ability to mount the SD card as a drive as nothing to do with debugging over ADB or requesting the ADB driver. The only thing that matters for ADB is whether you enabled Home Settings Applications Development USB debugging. Did you? R/ On Fri, May 15, 2009 at 5:26 AM,

[android-developers] Re: Problem creating a resource in eclipse

2009-05-16 Thread Raphael
Oops, looks like the menud is not declared correctly. I filed http://b.android.com/2687 for it. In the mean time, you can achieve the same by using the New Android XML File icon in the toolbar. R/ On Fri, May 15, 2009 at 10:29 PM, Makeable m...@makeable.co.uk wrote: I am trying to create a

[android-developers] Question regarding detecting view for touch event.

2009-05-16 Thread Lewis
Hi folks. I have two adjacent imagebuttons, I assign a custom OnTouchListener() to both of them. When a touch event occurs the OnTouchListener returns the view on which the touch event took place. My problem is that when a user touches one imagebutton then moves to another imagebutton, the

[android-developers] Re: Problem creating a resource in eclipse

2009-05-16 Thread Matt Williams
I hadn't even noticed the button was there! Thank you kindly :) On May 16, 11:04 pm, Raphael r...@android.com wrote: Oops, looks like the menud is not declared correctly. I filedhttp://b.android.com/2687for it. In the mean time, you can achieve the same by using the New Android XML File

[android-developers] Widgets - use (any) subclassed Views?

2009-05-16 Thread JP
I've started building a Widget for an app that is mostly map centric, i.e. consists of a screen-filling subclassed MapView, Overlay and so forth. The relevant information that is displayed by the map overlay actually fits into a Widget that uses one of the standard sizes, so it would make sense

[android-developers] Re: Question regarding detecting view for touch event.

2009-05-16 Thread Lewis
I suppose a simpler way of putting this is how can identify which View objects a user passes through in a single motion --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Question regarding detecting view for touch event.

2009-05-16 Thread Dianne Hackborn
You can't directly, this is how event dispatching in the hierarchy works (the view under the down event remains the target for the remainder of the motion). You might be able to do something with some custom dispatching code in the layout containing them, but exactly what you do will depend a lot

[android-developers] Re: NullPointerException : String imageFileName = myFile.imageFileName.toString(); when imageFileName is null

2009-05-16 Thread Dianne Hackborn
Seriously, this never ever worked: String imageFileName; String theString = imageFileName.toString(). Calling toString() on a null object has always and will always result in a NullPointerException. On Sat, May 16, 2009 at 2:41 PM, chrispix chris...@gmail.com wrote: Actually it did work

[android-developers] Re: Frame-by-frame animation issue

2009-05-16 Thread Dianne Hackborn
You probably shouldn't be doing this at all. Certainly, you shouldn't be touching the view hierarchy from another thread. I would expect what you are saying to actually work (and that you would get much more subtle errors), but it's hard to say without seeing the code and considering that there

[android-developers] Re: Widgets - use (any) subclassed Views?

2009-05-16 Thread Jeff Sharkey
Right, there is a specific list of framework views that can be used when building widgets: http://groups.google.com/group/android-developers/msg/a5247467151f5e3a And subclasses of those views aren't allowed, since you could include any arbitrary code in your subclass. (Because the widget's

[android-developers] Suggestion for 1.5 Error message regarding SD Card

2009-05-16 Thread RodgerWilko!
Hi, I've just spent a long time trying to figure out why my SD card has not been mounting in the new 1.5 SDK emulator. The cause was that I made a setting when I was using the 1.1 SDK in the project debug startup to have the -sdcard option with the emulator which over wrote the 1.5 AVD

[android-developers] Some Probleme with Tic Tac Toe

2009-05-16 Thread VREAUF51
Hello everybody !!! I'm learning Android and i want develope game Tic tac toe ( multiplayer and network ) ! But I don't know the best method to construct UI with large columns and row , play multiplayer on network ! Some body can help me ? merci d'avance !

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-16 Thread ndatta
I got the same emulator: ERROR: the user data image is used by another emulator. aborting message, albeit in a different context. I had an emulator instance running, and then hibernated my Win XP laptop. When I rebooted next, the laptop hung while restoring the hibernated image. So I had to force

[android-developers] Re: Android-SDK-1.5-Win-32: network connection beyond firewall

2009-05-16 Thread Nitin Gautam
This works like a charm :) for internet site ...But Intranet site stop working not able to browse internal sites. What to do? On Apr 30, 5:24 pm, Xeros zerosuni.sams...@gmail.com wrote: Hello, Mallikarjuna There's many of solution. (inserthttp_proxyinto settings.db, use - http-proxy option

[android-developers] Re: Webview Broken in 1.5 SDK?

2009-05-16 Thread superjet
I'm running into the same problem, but when I make this change (webview to webkit) I get a compile error saying it cannot be resolved. Ctrl-Shift-O doesnt bring in any new imports, so I'm at a loss as to how to get the compiler to recognize this. Can you shine some light? Many thanks. SJ On

[android-developers] Trouble redrawing a View, using OnKeyListener, onDraw and invalidate.

2009-05-16 Thread klirr
The green plane is shown on the golden-brown surface but when I press a key nothing happens. I want eventually be able to move the plane pressing 4 different keys + another one for shooting but that's easy if I can just get the thing moving in the first place. When I press a key in the emulator,

[android-developers] Drawing on the incoming call screen

2009-05-16 Thread GT
Is it possible to draw on the incoming call screen? I know that a few of the whitepages apps do it, but I would like to know how. Thank you for your time --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Use android.graphics

2009-05-16 Thread VREAUF51
I want use the methods in android.graphics to draw one board (board chess , ) Some body can help me ? --~--~-~--~~~---~--~~ 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: Refresh of MapView

2009-05-16 Thread abdalrahman.ewe...@googlemail.com
same problem is here , i have on my emulator a nice map, but when i deploy my application it keeps giving me this white bad grid i have no idea why is that contradiction, PS . i have checked my mapapi key, i have checked the internet connection i have checked the FINE access for location

[android-developers] Opening audio output failed

2009-05-16 Thread David
Hello Group, I'm working on Linux (Ubuntu if it matters, latest kernel). When I start the emulator I get the following message (without the quotes). emulator: warning: opening audio output failed I am unable to play any sound on my emulator - though doing so, does NOT cause the emulator to

[android-developers] ListView + SimpleAdaptor + ImageView = very slow

2009-05-16 Thread OTB
Hi, I have developed a ListActivity where each row of the list contain a drawable (downloaded from an url, cached locally and in memory). So, I use a custom SimpleAdaptor to fill the list. My problem is that the list is very slow. It seems like the component try to reuses a small number of row

[android-developers] Install Android on Windows XP

2009-05-16 Thread shane
HI, Anybody can send the link how to install Android SDK 1.5 on windows XP. I have install many times according to this link. http://www.buildcontext.com/blog/2008/11/21/android-sdk-browser-test-emulator-pc-google/ It is not displaying the simulator. Please suggest.

[android-developers] Re: Installing the USB driver for HTC Magic on Vista

2009-05-16 Thread matica
I'm in the same boat here, I can get the phone mounted as a drive but not as a device to test my apps on. I've tried all sorts to install the usb driver that came with the sdk perhaps it's G1 only. If anyone manages to get an htc magic listed under 'adb devices' plz let me know. I'm Vista 64 bit

[android-developers] ( problem for experts ) update/refresh list problem

2009-05-16 Thread Adem KARAKOLLU
I have two cursor, one of them from contact content provider, other one from database. id fields are sycnhorinzed.i want to show them in same column with two row in list. i m think that i have to use simpleCursorAdapter, because arrayadapter and other adapters can not show two cursor in a list.

[android-developers] why i cant have back my location ??!!!!! HELP

2009-05-16 Thread abdalrahman eweiwi
guys i am just following a simple example here where i need to get my location lat and longitude but its not working although its so simple i cant find where i fall but here is my code public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] How to obtain bitmap from data in onPreviewFrame method of previewCallback and display on surface using canvas

2009-05-16 Thread loril...@gmail.com
Hi there, I need to capture an image from camera and display on surfaceview for my project. I am trying to obtain bitmap from data in onPreviewFrame method of previewCallback and display on surface using canvas. Can someone please help me? Following steps were done: - created a Preview class

[android-developers] aidl remote service call namespace question

2009-05-16 Thread dev_rob
Hi android developers, I'm new to the great android platform, trying to get into RPC with aidl and services. I didn't find a sufficient answer to my problem in any posts, if there already is one, please excuse and point me to it, thanks. I made 2 projects. project 1 hast an activity that

[android-developers] Re: BUGS ? something strange about class SQLiteQueryBuilder

2009-05-16 Thread adadcalledrichard
I have just found the same issue (issue #2 in the above post), but maybe I can add some more insight. If I include this code in my ContentProvideer query method: snip / SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); snip / String _query = qb.buildQuery(projection, selection,

[android-developers] How to handle tall dialogs

2009-05-16 Thread Thomas
Hi group. I have a standard dialog with a headline, a label, a text field, another label and a DatePicker. They are laid out using a vertical LinearLayout. When the user slides the keyboard open, the dialog is rotated. Now, the dialog does no longer fit on the screen, it is to tall.

[android-developers] how to create push mail in android just like BIS and BES in Black Berry

2009-05-16 Thread mujoko mujoko
Hello all... I want to develop aplication for push mail, application server and client in android. How is the arsitecture? and Is there any kind tutorial for this case? On 5/16/09, mathiastck mathias...@gmail.com wrote: If the issue is you want portions of text to wrap with images in

[android-developers] Group para brasileiros

2009-05-16 Thread Gustavo / GMail
Amigos, (FOR BRAZILIAN) O que vocês acham de criarmos um group de sobre desenvolvimento de Android para brasileiros em português. Caso haja interessados eu mesmo crio o grupo. Obrigado. Gustavo São Paulo / Brasil --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: How to handle tall dialogs

2009-05-16 Thread Marco Nelissen
You could try using a different layout for landscape mode, where instead of: label textfield label datepicker you make it: label textfield label datepicker Would that work for your particular layout? On Sat, May 16, 2009 at 9:18 AM, Thomas kuenne...@googlemail.com wrote: Hi group. I

[android-developers] Re: SimpleCursorAdapter and blobs

2009-05-16 Thread zlu
+1 On Mar 30, 10:19 am, cannehal tomasz.l...@gmail.com wrote: I have similar issue. Cannot retrieve image from database (BLOB). As far as I know it should work without writing your own ViewBinder, because setImageView is doing all the work. Can someone help us with this issue? On 25 Mar,

[android-developers] Re: Help: View Not Shown After TableLayout

2009-05-16 Thread Romain Guy
Your TableLayout has height=fill_parent, it's therefore as tall as its parent, so there's no more room left on screen to show the TextView. On Sat, May 16, 2009 at 2:58 PM, efan e...@efansoftware.com wrote: I need show some text description after a TableLayout but it is not shown. Layout

[android-developers] Re: ListView + SimpleAdaptor + ImageView = very slow

2009-05-16 Thread Romain Guy
Could you show the code of your adapter? On Fri, May 15, 2009 at 5:09 PM, OTB erwan.allia...@gmail.com wrote: Hi, I have developed a ListActivity where each row of the list contain a drawable (downloaded from an url, cached locally and in memory). So, I use a custom SimpleAdaptor to fill

[android-developers] Re: NullPointerException : String imageFileName = myFile.imageFileName.toString(); when imageFileName is null

2009-05-16 Thread chrispix
Can you explain how it worked up until now? Maybe the file naming on the camera has changed? On May 16, 8:12 pm, Dianne Hackborn hack...@android.com wrote: Seriously, this never ever worked: String imageFileName; String theString = imageFileName.toString(). Calling toString() on a null

[android-developers] Re: Help: View Not Shown After TableLayout

2009-05-16 Thread Raphael
On Sat, May 16, 2009 at 8:59 PM, Romain Guy romain...@google.com wrote: Your TableLayout has height=fill_parent, it's therefore as tall as its parent, so there's no more room left on screen to show the TextView. and to fix that add an android:layout_wheight=0 to the table layout and a

[android-developers] Re: ListView + SimpleAdaptor + ImageView = very slow

2009-05-16 Thread Raphael
On Fri, May 15, 2009 at 5:09 PM, OTB erwan.allia...@gmail.com wrote: Hi, I have developed a ListActivity where each row of the list contain a drawable (downloaded from an url, cached locally and in memory). So, I use a custom SimpleAdaptor to fill the list. My problem is that the list is

[android-developers] Re: Help: View Not Shown After TableLayout

2009-05-16 Thread Raphael
On Sat, May 16, 2009 at 9:25 PM, Raphael r...@android.com wrote: On Sat, May 16, 2009 at 8:59 PM, Romain Guy romain...@google.com wrote: Your TableLayout has height=fill_parent, it's therefore as tall as its parent, so there's no more room left on screen to show the TextView. and to fix

[android-developers] Re: video play error

2009-05-16 Thread Marco Nelissen
On Sat, May 16, 2009 at 9:35 PM, N V nithi...@gmail.com wrote: HI to all       i am recorded a video with .mp4 format... and try to play on emulator through sdcard as well as streaming... But i will give error like cannot play the video I am using sdk 1.5... Can anyone help me what is

[android-developers] Re: video play error

2009-05-16 Thread Nithin Varamballi
Thanks for reply... But i tried another video i e test.mp4 through sdcard... But it works fine May emulator support all .mp4 files...? Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Install Android on Windows XP

2009-05-16 Thread Raphael
The official install instructions are here: http://developer.android.com/sdk/1.5_r1/installing.html Please describe what you did and what doesn't work as expected. Installing under XP is generally straightforward: - Check this is not an XP 64-bit (does that even exist?) - Install Eclipse for

[android-developers] Re: Use android.graphics

2009-05-16 Thread Raphael
Create a custom view, override onDraw and draw on the canvas. Look at the LunarLander sample for an example of custom view. R/ On Sat, May 16, 2009 at 12:44 PM, VREAUF51 v.r.e.au...@gmail.com wrote: I want use the methods in android.graphics to draw one board (board chess , ) Some body can

[android-developers] Re: Trouble redrawing a View, using OnKeyListener, onDraw and invalidate.

2009-05-16 Thread Raphael
Make sure your view has the focus: http://developer.android.com/reference/android/view/View.html#requestFocus() R/ On Sat, May 16, 2009 at 4:46 AM, klirr haskell...@gmail.com wrote: The green plane is shown on the golden-brown surface but when I press a key nothing happens. I want

[android-developers] Geo command

2009-05-16 Thread Dalvik
Anyone can help me on this? I installed android sdk 1.5, but in no where I can find the geo command. Where should I get one? Thanks very much. Dalvik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Install Android on Windows XP

2009-05-16 Thread Raphael
If you install via an ADT zip file, make sure you get the latest (0.9.1). Rather than using the zip file, use the update size in Eclipse to automatically get the latest version (https://dl-ssl.google.com/android/eclipse/). Remember that for most people this fails via https so just use the http

[android-developers] Re: Install Android on Windows XP

2009-05-16 Thread Nithin Varamballi
HI.. I installed 1.5sdk successfully... First remove older ADT files... And download the 0.9 ADT.. Its zip file.. After removing the old ADT following steps i followed... In eclipse 1- Help 2- Software updates 3- Available Software 4- Add site 5- Archive(add the ADTzip file located in your