[android-developers] Re: How to open or close the soft keyboard by code

2009-07-27 Thread Zsolt Váradi
On Mon, Jul 27, 2009 at 4:59 AM, Rainrainli1...@gmail.com wrote: Thanks Evan I'm sorry to forgot to say that may SDK is 0.9 Beta,so the inputmethod class is not inclued,besides that,i want to open or close the key board not using in an activity.Could you tell me some way else to solve my

[android-developers] Re: How can I create this type of Rectangle??

2009-07-27 Thread sagar
yes saurav, I mean parallelogram. Nightwold has given the solution. let me try it..Will update here!! On Jul 25, 11:49 pm, Nightwolf mikh...@gmail.com wrote: One solution is to create a path and add lines to it to form a rectangle you need. Another way is to rotate canvas itself. On Jul 25,

[android-developers] Rectangle intersection problem.

2009-07-27 Thread Sagar
Hi all, I check rectangle intersection when an object intersects with that rectangle. Now I create a parellelogram using Path class. How can I check intersection now?? The problem right now is: -- | _| |_ | | _| |_ | |

[android-developers] how to specify setWallpaper() for landscape mode???

2009-07-27 Thread Sagar
Hi, I just used setWallpaper() method. It is working. But when orientation changes image gets cropped. So how can I provide landscape version of the image?? Is there any way to provide landscape version of the wallpaper?? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Dev Phone not available anymore

2009-07-27 Thread arnouf
Ok thanks for your answer. Do you think that google provide new dev phone (HTC or others) soon? Regards On 26 juil, 21:35, Brian Conrad brianjto...@gmail.com wrote: I'm also wondering if they are going to make some of the newer phones available to developers instead?  The G2 (Magic) or even

[android-developers] For google employees

2009-07-27 Thread arnouf
Hi, The Google Dev Phone is out of stock and not available for a long time. Does google think to provide new Dev phone - official root phone - by HTC, Samsung, Motorola or others soon? Regards --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] ImageView

2009-07-27 Thread peeyush varshney
Hi, I want to show set of images like Toast when i click on Button. it should be like ..first Image then second n next and last and disappeared . -- Thank Regards Peeyush Varshney --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How to open or close the soft keyboard by code

2009-07-27 Thread Rain
Thanks for your response. I've tried to use the IInputMethod.showsoftinput/hidesoftinput in Ubuntu for compiling,but it can't go through and feeds back that the class IInputMethod can not be found. Else i search the class in source code and find it.So could you tell me why? On 7月27日, 下午2时07分,

[android-developers] Re: Beginner Application Development

2009-07-27 Thread Yusuf T. Mobile
Hi timf999, Android uses a different GUI library instead of Swing, although there are some similarities. I recommend you go though some tutorials, as well as look at the demo app that comes with the SDK called ApiDemo. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and

[android-developers] Re: Multitouch support in Donut?

2009-07-27 Thread Al Sutton
http://bit.ly/DX8VP for further clarification. 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, 152-160 City Road, London, EC1V 2NX,

[android-developers] Re: paid support

2009-07-27 Thread Yusuf T. Mobile
Google doesn't. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 25, 4:27 am, Honest honestsucc...@gmail.com

[android-developers] Back navigation for database stored web pages

2009-07-27 Thread Aracos
Greetings all, I have a problem with the Back navigation within my web-view. Here is what I would like to have: On the device there is a database containing some web-pages. The User is able to search the content of the database and view the stored pages. Those pages contain some links. If the

[android-developers] Deadlock in GLSurfaceView

2009-07-27 Thread Pieter
We are developing an application that uses a GLSurfaceView to display 3D objects. We regularly get the Application Not Responding dialog. Inspection of the dumped threads reveals something that looks suspiciously like a deadlock. I have added the three thread dumps involved below. The first

[android-developers] strings.xml, styled string with params issue

2009-07-27 Thread skink
hi, all i want to do is to define string in strings.xml like this: hello b%s/b the problem is that i cannot simply get such SpannedString since if i have any rich tag like b/b i have to use Resources.getText(id) and if i have any params like %s i have to use Resources.getString(id, Object...)

[android-developers] Re: DD command

2009-07-27 Thread Francesco Pace
Thanks Roman, but I have to execute DD command with my java application, Can I execute DD (with busybox) from java? 2009/7/27 Roman roman.baumgaert...@t-mobile.com You can find dd within the busybox tool kit for Android. http://benno.id.au/blog/2007/11/14/android-busybox -- Roman

[android-developers] Rendering by reading vertices from File

2009-07-27 Thread javame_android
Hi, We have a project based on 3D Streaming. We have our own 3D studio, its plugin are available for 3d Max and Maya. After creating model in 3ds Max or Maya, we need to export it into .q3z file structure. Now, this .q3z file is placed on the server and by calling it from Android Player this

[android-developers] External payments

2009-07-27 Thread Giulio
Hi, does any of you know if it is possibile to 1) Deploy an application for free 2) Collect donations or payments for additional services outside the Market (e.g. Paypal or Operator billing)? Thanks, Giulio --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Android Toast Duration

2009-07-27 Thread Sydney
Toast.LENGTH_LONG and Toast.LENGTH_SHORT are not numbers of milliseconds. If you print out the values you get: Toast.LENGTH_LONG = 1 Toast.LENGTH_SHORT = 0 If you give a value other than 1 or 0, it seems to default to LENGTH_SHORT. Toast.LENGTH_LONG is ~4 seconds Toast.LENGTH_SHORT is ~2.5

[android-developers] Re: Android Toast Duration

2009-07-27 Thread Urs Grob
actually its 3.5 seconds and 2 seconds: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/java/com/android/server/NotificationManagerService.java#l74 -- Urs On Mon, Jul 27, 2009 at 11:02 AM, Sydneysydney.p...@gmail.com wrote: Toast.LENGTH_LONG and

[android-developers] Re: Android Toast Duration

2009-07-27 Thread skink
Any ideas to increase that duration? as Dianne said, use Dialog for that but if you really, really, really want Toast for that there is a dirty, tricky workaround (hack) of showing the same Toast in say two seconds after the first time Toast was shown. something like this:

[android-developers] Re: How to add the animated GIF file as an UI element to android application?

2009-07-27 Thread Desu Vinod Kumar
http://www.anddev.org/how_to_play_gif_file_in_android-t3492.html go through these u can get some information.. On Wed, May 20, 2009 at 6:09 AM, mathiastck mathias...@gmail.com wrote: APIDemos has an example of such. You can google this list for more info. On May 19, 5:51 am, elgoog

[android-developers] Movie.decodeStream(is) is returning NULL after updating to 1.5 SDK .

2009-07-27 Thread Arvish
Hello Guys, I cannot play any Giff in 1.5 SDK . If somebody have any idea how to do this, let me know. Thanks in advance, Arvish --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: animated GIF support

2009-07-27 Thread Desu Vinod Kumar
http://www.anddev.org/how_to_play_gif_file_in_android-t3492.html go through this. On Fri, Apr 24, 2009 at 1:16 PM, nasam p.nami...@gmail.com wrote: please help me to resolve this error -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148

[android-developers] Re: How to show the search bar

2009-07-27 Thread Jeff Sharkey
Are you defining res/xml/searchable.xml, and then referencing it in your manifest through a meta-data tag? Here's a working example in the Music app: http://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=blob;f=res/xml/searchable.xml;hb=cupcake

[android-developers] Re: How can i show email notification?

2009-07-27 Thread android.vinny
HI Thanks for response . from where can i get that new mail is getting not notifivation how to show ,.how can i notify that new mail . On Jul 24, 10:47 pm, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: The Android SDK has a feature for

[android-developers] referencing projects in eclipse

2009-07-27 Thread Bart van Wissen
I'm working on two projects. One is essentially a library, and the other is an application using that library. Now from the application project, I want to use the library's classes, so I added that project to the required projects under java build path. It seems to compile fine, but at runtime, I

[android-developers] video screen disappeared after launch new task

2009-07-27 Thread sleith
hi, i tried to play video using media player, and it run ok like at the example at api demos. but the problem is, when i trigger something that launch a new task (for example click button that will dial number) and then back to it's task, the video screen is gone, only sounds is playing. i

[android-developers] About SurfaceView

2009-07-27 Thread Bishesh Manandhar
1)Which is better for developing a game --a)Using XML layouts b)Using Custom layouts with Surface view 2) while making a custom view using Surface view... do we need to have a secondary thread to implement the

[android-developers] Re: Deadlock in GLSurfaceView

2009-07-27 Thread David Turner
It's hard to know without more details about what operations your threads are doing, and in what order. On Mon, Jul 27, 2009 at 10:10 AM, Pieter s...@gamesquare.nl wrote: We are developing an application that uses a GLSurfaceView to display 3D objects. We regularly get the Application Not

[android-developers] Re: Rotate A View Permanently

2009-07-27 Thread Jeff Sharkey
It's actually really easy, and you don't need to use animations. I did something like this recently by using a wrapper layout that adjusts the Canvas and any MotionEvents. (You could also use this approach rotate the entire layout to any arbitrary angle.) I think romainguy told me to use

[android-developers] Re: Flipping / Rotating TextView (or layout) upside-down

2009-07-27 Thread Jeff Sharkey
Ugh double-post. I just responded in the other thread with an alternative approach that doesn't require animations. j On Sun, Jul 26, 2009 at 3:51 PM, Romain Guyromain...@google.com wrote: All you have to do is set the fillAfter property of the animation to true. On Fri, Jul 24, 2009 at

[android-developers] Re: External payments

2009-07-27 Thread Mark Murphy
Giulio wrote: Hi, does any of you know if it is possibile to 1) Deploy an application for free 2) Collect donations or payments for additional services outside the Market (e.g. Paypal or Operator billing)? So long as you do not distribute the application through the Android Market, that

[android-developers] regarding notify playing sound animation

2009-07-27 Thread android.vinny
Hi I need to notify when the new email get to the inbox how can i get the notification fromt he inbuilt email client without writing the email client prog. i need to show the animation on the scree not in the layout it should shouls the animation on main screen or an screen what we

[android-developers] how do detect HSPA network ?

2009-07-27 Thread Tushar
Hi, My application needs to detect network connection type. When I run my application of developer device with 1.1 , it is able to detect network as UMTS . But on in HTC Magic, it's not able to detect UMTS network. On main screen it shows network as H which I guess means HSPA. As I

[android-developers] Why force java 1.5?

2009-07-27 Thread Chih-Wei
Recently the build system will check if java version is 1.5, and stop if the version mismatch. I'm unhappy with such unnecessary checking. My system is Fedora 11, I can use its default java compiler, openjdk 1.6, to compile Android without problem. In fact I just removed the unnecessary

[android-developers] Re: External payments

2009-07-27 Thread Giulio
I was referring to applications deployed within the market, and you are right it is probably borderline, my understanding of the TC is that 1) You cannot ask for money for the application itself 2) You can ask for money for other applications which you can sell through your application But could

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Mark Murphy
Chih-Wei wrote: Recently the build system will check if java version is 1.5, and stop if the version mismatch. No, it doesn't. It probably checks for the Sun compiler, since the system requirements say that is required: http://developer.android.com/sdk/1.5_r3/requirements.html But I use

[android-developers] Re: How do i run the emulator?

2009-07-27 Thread Fred Grott(shareme)
Info is here: http://developer.android.com/guide/developing/tools/emulator.html Fred Grott http://mobilebytes.wordpress.com On Jul 24, 6:03 pm, popetorak popeto...@gmail.com wrote: How do i run the emulator? --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Fred Grott(shareme)
Given the use of Harmony java classes it may be that harmony targeted their stuff for sun java 1.5 compliance..but that is just a guess On Jul 27, 6:59 am, Mark Murphy mmur...@commonsware.com wrote: Chih-Wei wrote: Recently the build system will check if java version is 1.5, and stop if

[android-developers] How can i catch the notification from in built mail in mobile?

2009-07-27 Thread android.vinny
Hi i need to cacth the the in built mail in mobile when a new mail arrived to our mobile i need to show some message how can i cacth the notification please help me regarding this .. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Fred Grott(shareme)
I seem to made a good Guess..Apache Harmony targets sun java 5 compliance.. Fred Grott http://mobilebytes.wordpress.com On Jul 27, 6:59 am, Mark Murphy mmur...@commonsware.com wrote: Chih-Wei wrote: Recently the build system will check if java version is 1.5, and stop if the version

[android-developers] About Android Email architecture ??

2009-07-27 Thread Chris
Can anyone suggest any link or any other help, regarding the android email architecture. Any sort of help will be most welcome. Thanks a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: referencing projects in eclipse

2009-07-27 Thread Fred Grott(shareme)
I am not sure if there is an easy solution You would have to modify the build script that Android SDK uses through Eclipse ADt to comle your library proejct first for input into yoru main project's compile task.. path to build script ADt plugin uses:

[android-developers] Debugging a service

2009-07-27 Thread Ne0
Hi, I have written activity that starts a service that can be accessed remotely (similar to the Remote service API sample), it compiles and appears to run fine. The service has a LoctaionManager and a TelephonyManager that detect GSM and GPS location changes and should send a string back to any

[android-developers] Re: referencing projects in eclipse

2009-07-27 Thread Fred Grott(shareme)
whoops, last step.. once you modify everything..in Eclipse IDE change your java builder to point to that modified build script to use as your java builder.. On Jul 27, 4:38 am, Bart van Wissen bartvanwis...@gmail.com wrote: I'm working on two projects. One is essentially a library, and the

[android-developers] Re: Debugging a service

2009-07-27 Thread Mark Murphy
Ne0 wrote: I am having trouble getting the service to output debug info using Log.d(TAG, OUTPUT) so i can debug some issue's i'm having. Can anyone tell me how i should go about getting a service to output some text to the logcat file? or any other pointers on debugging it? Services can log

[android-developers] Re: mysterious ant build error

2009-07-27 Thread Fred Grott(shareme)
You should see my posts about Customizing the SDK as I cover that subject :) In fact maybe it should be covered somewhere ..would make nice ebook chapter on android programming Fred Grott http://mobielbytes.wordpress.com On Jul 26, 5:04 am, skink psk...@gmail.com wrote: On Jul 26, 12:50 am,

[android-developers] Re: HTC Hero has multi-touch. SDK support?

2009-07-27 Thread CraigsRace
Thanks Romain. Sad news, but at least it is news. Apologies for spreading an incorrect rumour. Please keep us posted on any multi-touch developments. Cheers. On Jul 26, 9:26 am, Romain Guy romain...@google.com wrote: Donut is NOT Android 2.0 and there's no multi-touch support in Donut. On

[android-developers] Re: mysterious ant build error

2009-07-27 Thread Mark Murphy
Fred Grott(shareme) wrote: You should see my posts about Customizing the SDK as I cover that subject :) In fact maybe it should be covered somewhere ..would make nice ebook chapter on android programming Yeah, if there were only somebody out there who was publishing ebooks on Android

[android-developers] Starting service in separate thread

2009-07-27 Thread Lutz Schönemann
Hi, i have a little frontend showing a list of items that it will retrieve from a service. I want that service to be started in a separate thread so the UI is still responding to user interaction while waiting for that service to call a callback method. What is the best way to start the

[android-developers] A problem for arm-eabi-gdb to load sharedlibrary

2009-07-27 Thread Jill Zhou
Dear all, It seems that Android prebuilt arm-eabi-gdb will have problem to load some shared library. arm-eabi-gdb will load the shared library to wrong address, such as 0xfff?. Then we can't set trace the breakpoints of these libraries. We got the warning message like these: .dynamic

[android-developers] userdata-qemu.img Help

2009-07-27 Thread ashkash
Is it possible to extract the files and data out of userdata-qemu.img from the emulator? I have tried it with the unyaffs tool, but it does not seem to work. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Starting service in separate thread

2009-07-27 Thread Mark Murphy
Lutz Schönemann wrote: Hi, i have a little frontend showing a list of items that it will retrieve from a service. I want that service to be started in a separate thread so the UI is still responding to user interaction while waiting for that service to call a callback method. What

[android-developers] Re: mysterious ant build error

2009-07-27 Thread Fred Grott(shareme)
If I could find some recent Andorid Dev contracts I could probably put out a rough draft as a Knol article since my developing AndCooper Build tool has sharpened by ANT/Android Sdk knowledge.. For example, if you develop the ANt build scripts one way you can have the script be flexible enough to

[android-developers] Re: File Browser Integration

2009-07-27 Thread johnny
Thank you very much!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Two SurfaceViews in a FrameLayout

2009-07-27 Thread Chris
Hi, I have two SurfaceViews in one FrameLayout. So they are stacked upon another. What I want to achieve is to use the lower SurfaceView as kind of background that is changing heavily, and the upper SurfaceView as annotation overlay. So the upper SurfaceView has a (small) number of quickly

[android-developers] Re: [URGENT]Drag Screen like Android Home Screen

2009-07-27 Thread Flavio Montenegro Filho
I'm sorry, but I did not understand the link. Have some topic especially within the link? Thank you and I'm waiting for a answer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Starting service in separate thread

2009-07-27 Thread Lutz Schönemann
How should I design a method that needs a few seconds to return a result? Even if I put the call to that method inside a separate thread it will not return faster. Am 27.07.2009 um 16:07 schrieb Mark Murphy: Lutz Schönemann wrote: Hi, i have a little frontend showing a list of items

[android-developers] Re: Starting service in separate thread

2009-07-27 Thread Mark Murphy
Lutz Schönemann wrote: How should I design a method that needs a few seconds to return a result? Even if I put the call to that method inside a separate thread it will not return faster. That is difficult for me to answer in the abstract. The goal behind the separate thread is so you can

[android-developers] Instrumentation on the virtual keyboard.

2009-07-27 Thread Mathieu Plourde
Hello devs, I'm using Intrumentation to invoke keystrokes and mouse events, but I have a problem when trying to do so on the virtual keyboard. If the virtual keyboard pops up and I want to send a mouse event to click on a character of the keyboard, I get that error/warning in the console:

[android-developers] Is there a way to start updating all apps in a row ?

2009-07-27 Thread e-satis
For now, updating Android apps is a pain : you must go to the android market my download section (and not in the Manage Application system setting section, which is very counter intuitive), then scroll to each app needing an update, clic on it, run the update, and go back, then clic on the next

[android-developers] Can't find file with OpenFile

2009-07-27 Thread Lorenz
Hi, I've a problem with method openFileOutput(), I can't find the file or the directory where the file is stored..the code is: import java.io.BufferedWriter; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter;

[android-developers] Re: Starting service in separate thread

2009-07-27 Thread Lutz Schönemann
So, do you think that it is a good idea to design the UI that it wait's for callbacks from the service? Am 27.07.2009 um 16:44 schrieb Mark Murphy: Lutz Schönemann wrote: How should I design a method that needs a few seconds to return a result? Even if I put the call to that method inside

[android-developers] Support for German / Polish Characters

2009-07-27 Thread Nick
I have an RSS Reader widget and I cannot seem to figure out how to set the encoding of the RemoteViews text view to unicode so that it can support German / Pol Characters pulled from the web. How should I implement this? --~--~-~--~~~---~--~~ You received this

[android-developers] multiple selections in a gridview

2009-07-27 Thread michael m
I'm trying to use the GridView class to select multiple images from a list. I've tried a number of things but haven't been able to get any results yet. I'd be much appreciated if anyone who knows how to do this could give me a couple of hints. Or let me know if it can't be done with the

[android-developers] Re: Starting service in separate thread

2009-07-27 Thread Mark Murphy
Lutz Schönemann wrote: So, do you think that it is a good idea to design the UI that it wait's for callbacks from the service? I would use the expression responds to callbacks, not waits for callbacks, as waits for implies blocking the UI thread. -- Mark Murphy (a Commons Guy)

[android-developers] Re: Can't find file with OpenFile

2009-07-27 Thread Charlie Collins
Files created with Context.openFileOutput are in the context they were created in. 99% of the time you don't really care what that physical location is, you just retrieve the same file using the name with Context.openFileInput. If memory serves the actual physical location is /data/data/

[android-developers] Re: video screen disappeared after launch new task

2009-07-27 Thread sleith
any idea? On Jul 27, 4:42 pm, sleith raysle...@gmail.com wrote: hi, i tried to play video using media player, and it run ok like at the example at api demos. but the problem is, when i trigger something that launch a new task (for example click button that will dial number) and then back to

[android-developers] Re: Can't find file with OpenFile

2009-07-27 Thread Charlie Collins
I didn't see Mark's reply before I posted mine, sorry. As always, Mark is on top of this group ;). On Jul 27, 11:16 am, Charlie Collins charlie.coll...@gmail.com wrote: Files created with Context.openFileOutput are in the context they were created in. 99% of the time you don't really care

[android-developers] Re: DD command

2009-07-27 Thread Roman
Francesco, You could first make sure to install dd on your system and then you always can execute command line tools Runtime rt = Runtime.getRuntime(); Process pr = rt.exec(busybox put in what you want to do); -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views,

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Romain Guy
We recently changed our build system to force you to use javac 1.5. While you can build the system with javac 1.6 (and you can certainly build apps with 1.6), many members of the Android team still need to use javac 1.5 for various reasons (mostly because Mac OS X.) If someone uses javac 1.6, we

[android-developers] Re: Rotate A View Permanently

2009-07-27 Thread Romain Guy
Your solution might not always work because you do not save/restore the Canvas in dispatchDraw(). On Mon, Jul 27, 2009 at 2:46 AM, Jeff Sharkeyjshar...@android.com wrote: It's actually really easy, and you don't need to use animations.  I did something like this recently by using a wrapper

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Mark Murphy
Romain Guy wrote: We recently changed our build system to force you to use javac 1.5. Which build system? SDK apps, or Android OSP? I seem to be able to build SDK apps with Java 1.6 without complaint on 1.5r3. I may have misinterpreted the OP -- I assumed he was talking about the SDK, since

[android-developers] Re: Can't find file with OpenFile

2009-07-27 Thread Lorenz
Sorry guys, but I can't find the folder /data..I use Eclipse and type: file- openFile but i'm unable to find /data/data/myfile.. How can I do in eclipse to find it? On 27 Lug, 17:19, Charlie Collins charlie.coll...@gmail.com wrote: I didn't see Mark's reply before I posted mine, sorry.  As

[android-developers] Re: Buying a anroid Dev in Canada?

2009-07-27 Thread Tom Opgenorth
Yup - it is a crazy fee, depending on the exchange rate it's about half the cost of the phone. When I got my ADP1 I had it shipped to my in-laws in the U.S. I brought it home with me on a visit. If you're gone from Canada more than a week you get a $750.00 duty free allowance so you're okay

[android-developers] Re: is possible mapview and list exist in same activity

2009-07-27 Thread HeHe
beside the suggestion from Cao Minh, you could also do some try-n- error experiment on your layout xml file of the map activity. i have a gut feeling that HorizontalScrollView may fit more of your purpose because . i don't know, though. On Jul 26, 10:18 am, tstanly tsai.sta...@gmail.com wrote:

[android-developers] Re: Movie.decodeStream(is) is returning NULL after updating to 1.5 SDK .

2009-07-27 Thread niko001
Hi Arvish, This issue has been documented before (although I don't know if it's officially listed as a bug yet), I haven't found a way around this yes, either (apart from splitting the gif into several pngs,, i.e. one png per frame). Best regards, Niko On 27 Jul., 11:28, Arvish

[android-developers] Re: Is there a way to control the Android phone or do a automated test using a remote PC?

2009-07-27 Thread chicochen
Thanks for your feedback, so how can we comunicate with the APP UI like automated testing tool - qtp does If it is the way, maybe I will try to write such a useful tool. On 7月27日, 上午8时59分, James 030440...@163.com wrote: For a emulator,you can telnet localhost 5554 to send instructions.As to a

[android-developers] Re: Can't find file with OpenFile

2009-07-27 Thread Lorenz
Any idea? On 27 Lug, 17:31, Lorenz lorenzoteod...@gmail.com wrote: Sorry guys, but Ican'tfindthe folder /data..I use Eclipse and type: file-openFile but i'm unable tofind/data/data/myfile.. How can I do in eclipse tofindit? On 27 Lug, 17:19, Charlie Collins charlie.coll...@gmail.com

[android-developers] Re: will donut be available for the mytouch 3g, or just the g1?

2009-07-27 Thread niko001
Donut is not a specific version, just a code branch, but it features should be implemented by all carriers and it should be available for all Android devices, but implementation times will likely vary (i.e. when you will actually get an update-notification). On 26 Jul., 17:24, azn bl1tzkr13g

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Dianne Hackborn
The original poster was talking about the platform build system, so sent this to the wrong place and caused some confusion. Chih-Wei, for future reference, questions related to the platform (as opposed to the SDK) should be posted to android-porting. On Mon, Jul 27, 2009 at 8:25 AM, Mark Murphy

[android-developers] Re: invoking the dialer multiple time

2009-07-27 Thread flohier
Quick additional question regarding the problem I'm facing: Is it possible to kill the process running the dialer and restart it ? Thanks, On Jul 26, 6:45 am, flohier floh...@gmail.com wrote: Dear All, I wrote an app that places an outgoing call via the ACTION_CALL intent. After the

[android-developers] the mediaplayer with mediacontroller issue

2009-07-27 Thread tstanly
hi all, this question I have post for twice, but nobody answer, Is someone success use mediaplayer with mediacontroller?? or is there have a alternative tools or methods to play music, and have the mediacontroller workly? thanks --~--~-~--~~~---~--~~ You

[android-developers] Re: Rotate A View Permanently

2009-07-27 Thread Jeff Sharkey
Ah yes, that's what I was missing. :) j On Mon, Jul 27, 2009 at 8:22 AM, Romain Guyromain...@google.com wrote: Your solution might not always work because you do not save/restore the Canvas in dispatchDraw(). On Mon, Jul 27, 2009 at 2:46 AM, Jeff Sharkeyjshar...@android.com wrote: It's

[android-developers] Unicode characters via resource element

2009-07-27 Thread Jason Van Anden
I posted this in beginner to no avail. Perhaps this is one for developers ... I want to use unicode characters in a toast. I can do this via code. I am not having any luck associating this as a resource element. Is this impossible or am I using the wrong syntax? This is what I have tried to

[android-developers] Re: Flipping / Rotating TextView (or layout) upside-down

2009-07-27 Thread jhoffman
Yeah my apologies on the double-post... I wasn't aware of the moderation on new posters when I tried to post. I thought maybe the internet ate my first post. Really sorry to double post, but thank you both very much for your help, I'll try those approaches now! On Jul 27, 2:49 am, Jeff Sharkey

[android-developers] Problem :can't read a file, can't comunicate with a server

2009-07-27 Thread Lorenz
Hi guys, I've some problems: 1)first I'm not able to read a file:( 2)second seems that my code that have to simulate a Client can't connect to my server. maybe I'm wrong something, Ip address(I think it is right)? I have set the virtual device on port 5554 (the default)..I need to redirect the

[android-developers] QVGA screen resolution applications

2009-07-27 Thread skink
hi, i have general question about Cupcake (or any other later relase): do you, when writing apps, consider running them on qvga device? although Dianne wrote here http://groups.google.com/group/android-developers/msg/73ded3ba1fe7139e that qvga is not supported i still see in Cupcake sdk qvga

[android-developers] Re: Instrumentation on the virtual keyboard.

2009-07-27 Thread Dianne Hackborn
Sorry, no you can't do this. The soft keyboard is owned by another application and one application can't inject events into another. On Mon, Jul 27, 2009 at 7:48 AM, Mathieu Plourde mat.plou...@gmail.comwrote: Hello devs, I'm using Intrumentation to invoke keystrokes and mouse events, but I

[android-developers] Re: Two SurfaceViews in a FrameLayout

2009-07-27 Thread Dianne Hackborn
Sorry, you can't do this -- because surface views are very special and not really views (the surface is a separate window Z-ordered with your own), their Z-ordering does not match your views. A surface view is a big, heavy object; you are not intended to treat SurfaceView like a regular view in

[android-developers] Re: About Android Email architecture ??

2009-07-27 Thread Dianne Hackborn
Um. There is an app, and it does e-mail. Oh and there is also another app from Google, that does gmail. Sorry at the platform level there isn't much more architecture than that. :} On Mon, Jul 27, 2009 at 5:39 AM, Chris narendrasingh.bi...@gmail.comwrote: Can anyone suggest any link or any

[android-developers] Re: Is there a way to control the Android phone or do a automated test using a remote PC?

2009-07-27 Thread Dianne Hackborn
You create an .apk with an Instrumentation class (implementation deriving from that, with an instrumentation declaration for it on the manifest), and use adb shell am instrument to run it. I think there are some examples of doing this around, but don't know them off-hand. On Mon, Jul 27, 2009 at

[android-developers] Re: DD command

2009-07-27 Thread Francesco Pace
Thanks Roman, but, when I install busybox, Can I execute DD command? Example : Runtime rt = Runtime.getRuntime(); Process pr = rt.exec(busybox dd if=. of=.); With busybox, Can I execute dd command athought I don't have Root permissions? 2009/7/27 Roman roman.baumgaert...@t-mobile.com

[android-developers] Re: Add Share on chooser Send Menu

2009-07-27 Thread Cibele
One person from my work found this answer and I think it should be public. To be able to use my application that sends files to other Social Networks I just need to register my intent application using the following intent-filter on Manifest.xml ... intent-filter action

[android-developers] Re: How to simulate a TrackBall Event in emulator?

2009-07-27 Thread hap 497
On Sat, Jul 25, 2009 at 2:49 AM, lucky4me bakhtiyo...@gmail.com wrote: See Controlling the Emulator http://developer.android.com/guide/developing/tools/emulator.html#controlling Toggle trackball mode - F6, then you can use mouse as trackball Thank you. But how can I tell if the track ball

[android-developers] Re: QVGA screen resolution applications

2009-07-27 Thread Dianne Hackborn
QVGA is not supported in 1.5, so I wouldn't take any experience you have running the emulator like that to be a strong evidence of things working how they would on an actual QVGA device that might appear some time in the future running something later than 1.5. So you could maybe use it to see if

[android-developers] Re: [URGENT]Drag Screen like Android Home Screen

2009-07-27 Thread Dan Bornstein
On Sun, Jul 26, 2009 at 5:49 AM, Flavio Montenegro Filho filhovi...@gmail.com wrote: [URGENT]Drag Screen like Android Home Screen Just as an etiquette note, putting a screaming URGENT in your subject line is off-putting and probably as likely to get the opposite effect than the one you intend.

[android-developers] Re: DD command

2009-07-27 Thread Lexi Kern
Yeah if you need root permissions is an interesting question. But if you don't have root permmissions you can't copy things to sd-card, right? So where do you copy the file(s) then? By usb-connection or wireless? On Mon, Jul 27, 2009 at 8:27 PM, Francesco Pace paxa...@gmail.com wrote: Thanks

[android-developers] How to use jdb? Deferring breakpoint ... It will be set after the class is loaded.

2009-07-27 Thread James
I prefer to not use Eclipse, but I do like its ability to set breakpoints, query values, and step through programs. I believe that this is possible using a combination of ddms and jdb, but I have not been able to set a breakpoint. Here's what I do: 1. I start the emulator: emulator -avd

[android-developers] Re: QVGA screen resolution applications

2009-07-27 Thread skink
On Jul 27, 9:13 pm, Dianne Hackborn hack...@android.com wrote: QVGA is not supported in 1.5, so I wouldn't take any experience you have running the emulator like that to be a strong evidence of things working how they would on an actual QVGA device that might appear some time in the future

  1   2   >