RE: [android-developers] Is it possible to develop and upload Android 2.1 apps onto Motorola backflip?

2010-04-27 Thread Tommy
I currently have a backflip and droid and see no problems using either for developement. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Monday, April 26, 2010 8:53 PM To:

[android-developers] code for capturing screenshot of android device

2010-04-27 Thread Sudheendra
can somebody give me tips on how to take a screenshot of the android phone using code ( not with DDMS, i mean with in code i have to write a logic to take a screen shot , i have no idea which classs i have to use for this ) Thanks , Sudhi -- You received this message because you are

[android-developers] Re: webview touch problem

2010-04-27 Thread Maps.Huge.Info (Maps API Guru)
It's hard to tell if and where a mistake may have been made without seeing your html... Are you using touch or click events? -John Coryat Radar Now! What Zip Code? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread Maps.Huge.Info (Maps API Guru)
From what I understand, it's only possible with rooted phones. -John Coryat -- 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: How to warn user when back button is pressed to navigate out of my application?

2010-04-27 Thread Nicholas Albion
My first thought was to suggest that you rethink if you really need to do this - maybe your app isn't going to be as important to your users as you may think. But then, I been frustrated in the past by games which exit in the middle of the game if you press too far right... Maybe you should

[android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread Sudheendra
Rooted phones ??? what does it mean On Apr 27, 11:39 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: From what I understand, it's only possible with rooted phones. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: How do ListViews exactly work?

2010-04-27 Thread Pal
Hi Moto, at this moment I'm working on my own custom ListView implementation so I can share some investigations I've found about ListView internals. 1) First of all ListView is adapter view that means that it uses adapter object to get it's child views - take a look at ArrayAdapter.getView(int,

[android-developers] CoreException thrown by IProject.build

2010-04-27 Thread Ricardo Gladwell
Hi Guys I'm writing my own eclipse plug-in[1] that integrates with the Eclipse Android Development Tools (ADT). However, I'm getting a CoreException (Project target not loaded yet.)[2] thrown when I attempt to call IProject.build on an Android project: IProject project = importProject(...);

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-27 Thread Richard
They're stressed because they're waiting for phones too :P On Apr 26, 10:36 pm, Lim Sim lim@gmail.com wrote: Come on.  why is everybody taking this so seriously?? lighten up guys. It's a freaking joke. Why the persistent negativity?? On 26 April 2010 16:32, James O'Brien

[android-developers] Re: How to warn user when back button is pressed to navigate out of my application?

2010-04-27 Thread Xiongzh
Some of my customers are accustomed to use the back button to go back to the previous activity. Some complained that they often navigate out of the application by pressing back button. I think it would be nice to customers if they can be warned. Thanks for your suggestion. How do think the

[android-developers] Re: How to warn user when back button is pressed to navigate out of my application?

2010-04-27 Thread patbenatar
You can override onBackPressed in your Activity. This is called when the user presses the back button, before your Activity is finished by the system. You could pop a dialog asking the user to confirm this action, if they hit yes you call through to the super and the Activity gets finished, if

[android-developers] Re: How to warn user when back button is pressed to navigate out of my application?

2010-04-27 Thread patbenatar
Wait I'm a bit confused... If the user wants to hit the back button to go back to the previous Activity, I'm assuming you're talking about a previous Activity within your app? This functionality is native to Android and should be maintained throughout your app. If you start an activity for result

[android-developers] Re: Extracting colors from Themes?

2010-04-27 Thread patbenatar
Do you need to be doing this programatically? You could always take a screenshot of your phone [either using DDMS on a non-rooted device or the PicMe app on a rooted device] and then grab the colors using Photoshop or any image editing software. Another option, again not programmatic, would be to

[android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread String
On Apr 27, 7:54 am, Sudheendra sudhindra.ma...@gmail.com wrote: Rooted phones ??? what does it mean Sounds like you need to do a bit of basic research first... http://lmgtfy.com/?q=root+android String -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to warn user when back button is pressed to navigate out of my application?

2010-04-27 Thread Xiongzh
Yes, I have keep in back stack what should in the back stack. But sometimes customers just want to navigate to the activity in the bottom of the stack, i.e, the first view the see, the main view I assume. They are not intent to leave my application. That's why they ask for a confirmation when

[android-developers] Re: How to warn user when back button is pressed to navigate out of my application?

2010-04-27 Thread Xiongzh
But it's totally transparent to the customer, isn't it? The activity should be in the very top of the Android stacks. So it would be bring up again quickly. On Apr 27, 3:28 pm, patbenatar patbena...@gmail.com wrote: Restarting the Activity in onStop sounds incredibly intrusive for your user

[android-developers] Re: code for capturing screenshot of android device

2010-04-27 Thread Sudheendra
Thanks String , Thanks John ... So using rooted phone how can i do it On Apr 27, 12:38 pm, String sterling.ud...@googlemail.com wrote: On Apr 27, 7:54 am, Sudheendra sudhindra.ma...@gmail.com wrote: Rooted phones ??? what does it mean Sounds like you need to do a bit of basic research

[android-developers] Re: ApiDemos/Graphics/CamerPreview Nexus One force close

2010-04-27 Thread blindfold
Thanks for sharing, wurp! Having to work like that is incredibly messy though, and not having a Nexus One to test on I would not want to depend on complex code like that even if it works. I hope someone can shed more light on what is going on here and either fix the bug (Google?) or explain what

[android-developers] How to overlay a GLSurfaceview on a surfaceview?

2010-04-27 Thread Paolo
Hi there, is there anyone who knows how to overlay a GLSurfaceview on a Surfaceview? The Surfaceview is used for the camera preview. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Unparsed aapt error

2010-04-27 Thread Kantesh
Hey still i coudn get rid of it.. On Mar 16, 6:57 pm, Patrick Noffke patrick.nof...@gmail.com wrote: Hi all, I found some old posts on this problem, and I was having a similar issue, so I thought I'd share what I learned. I was getting this error after modifying an XML file, and I was

[android-developers] Re: Unparsed aapt error

2010-04-27 Thread Kantesh
Hey please help.. i followed u.. but still cudn get rid of it..its showing error in java file.. werever r.layout is there.. On Apr 22, 1:02 am, Christopher tys...@gmail.com wrote: Doing Project Clean in Eclipse helped clear up the problem for me. -- You received this message because you are

[android-developers] Re: webview touch problem

2010-04-27 Thread Kumar Bibek
This is indeed an issue I guess. Well, let me re-frame the problem. Say, you have a long page which you load on the WebView. Now you start scrolling. Before the scrolling stops, tap on the web view, and the scrolling will stop automatically. After this point, try to execute some JS code from

[android-developers] Need MMSH Protocol library

2010-04-27 Thread brian karlo gutierrez
Hello everyone,     Do you know any way on how to play a stream using mmsh protocol? It seems android at default cannot play mmsh streams. Any idea or inputs on how to start? Thanks, Brian -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Is it possible to develop and upload Android 2.1 apps onto Motorola backflip?

2010-04-27 Thread Giri Senji
Thanks Tommy. Cheers, Giri Senji phone g=415-Say-Giri/ On Mon, Apr 26, 2010 at 11:11 PM, Tommy droi...@gmail.com wrote: I currently have a backflip and droid and see no problems using either for developement. -Original Message- From: android-developers@googlegroups.com

[android-developers] Is there another way to show soft keyboard automatically?

2010-04-27 Thread taehun zzang
when turn on other activity page, I want to show soft keyboard automatically. i get this source, but I don't know why use part of delay? I want to know WHY, and is there other way to show the softkeyboard? InputMethodManager imm; @Override public void onCreate(Bundle icicle) { TimerTask myTask

[android-developers] CPU pegged in AudioTrack triggers reboot

2010-04-27 Thread Jonas Petersson
Dear experts - including Nikolay, Last week Chander Pechetty mentioned bug 6478 in a different thread and as it seemed to cause the same issues I experience now and then, I've tried to capture the logs and today I succeeded. The symptoms are that while playing Bebbled the phone somtimes

[android-developers] Animating the background of a LinearLayout

2010-04-27 Thread Marc Poppleton
Hello, Is there a way of being notified when a TransitionDrawable has finished its transition? I'm looking for a way to animate the background of a LinearLayout, switching it back and forth between two images thus creating a pulsating effect. TransitionDrawable works nicely, butonce. I tried

[android-developers] Re: ListView focus behaving different when using minSdkVersion=3

2010-04-27 Thread jason.delport
Thank you for taking the time out to respond to my question. Much appreciated. Cheers, Jason On Apr 26, 8:04 pm, Streets Of Boston flyingdutc...@gmail.com wrote: However Eclipse shows a warning that the minSdkVersion is lower than the targetSdkVersion version. Do you know if this can cause

Re: [android-developers] How to scroll/move text within TextView on home screen widget ?

2010-04-27 Thread ravindra singhai
Hi, I tried with both options ( android:maxLines=1 android:scrollHorizontally=true ), but it didn't work Thanks This is how my Textview layout xml file looks like:- LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent

[android-developers] Re: About AdSense for Mobile Applications

2010-04-27 Thread ko5tik
Google will accept your app if you got enough hitsa ( last time I checked, it was 100K daily ) Go for admob instead: http://admob.com ( and you will land by adsense once they are bought by google ) On Apr 26, 2:41 pm, s-hiro...@hirookaservice.co.jp s- hiro...@hirookaservice.co.jp wrote: Nice

Re: [android-developers] Need MMSH Protocol library

2010-04-27 Thread dillirao malipeddi
however, let me tell you, after doing all mms/mmsh.. you get wma streams... where wma codec is not supported by android On Tue, Apr 27, 2010 at 2:33 PM, brian karlo gutierrez brikz...@yahoo.comwrote: Hello everyone, Do you know any way on how to play a stream using mmsh protocol? It

Re: [android-developers] DownloadManager - simultaneous multiple downloads

2010-04-27 Thread sunersky
it support mutiple downloads,but i dont know how many that can go at same time. On Tue, Apr 27, 2010 at 12:59 AM, chris r chrisr0...@gmail.com wrote: Does the browser download manager supports simultaneous mutiple downloads? If yes, is there a limit on the maximum number of downloads that can

Re: [android-developers] Animating the background of a LinearLayout

2010-04-27 Thread skink
Marc Poppleton wrote: Hello, Is there a way of being notified when a TransitionDrawable has finished its transition? I'm looking for a way to animate the background of a LinearLayout, switching it back and forth between two images thus creating a pulsating effect. TransitionDrawable works

Re: [android-developers] J2ME converting/translation to Android

2010-04-27 Thread dillirao malipeddi
motorola is giving tools for free to convert j2me to android... enjoy On Mon, Apr 26, 2010 at 1:25 AM, ricardocunha ricardocu...@gmail.comwrote: Hi, I want to know if exists a converter for a j2me source-code to android. Listen, it´s not a runner, like a midp runner for android, it ´s a

Re: [android-developers] custom seekbar

2010-04-27 Thread dillirao malipeddi
layer-list xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@android:id/background shape corners android:radius=5dip / gradient android:startColor=#ff9d9e9d android:centerColor=#ff5a5d5a

Re: [android-developers] video conversion from .flv to .mp4

2010-04-27 Thread dillirao malipeddi
ffmpeg -i *input.flv* -f mp4 -vcodec mpeg4 -r 15 -s 320x240 -acodec aac -ac 2 -ab 64 -ar 44100 *output.mp4* On Wed, Mar 24, 2010 at 4:09 PM, Guru gurudut...@gmail.com wrote: I have been trying to convert .flv to .mp4 in the server with ffmpeg ,and stream it through the android browser:-This

Re: [android-developers] Re: How can I use VideoView to streaming without buffering?

2010-04-27 Thread dillirao malipeddi
use low bit rate encoding... so that, even at low bandiwdths it works in the rtsp handshake, make sure, you provide codec params in DESCRIBE request/response.! On Thu, Apr 22, 2010 at 5:20 PM, Chirag chirag_vaish...@hotmail.com wrote: When you want live video streaming, second case is fine.

Re: [android-developers] Re: How can I use VideoView to streaming without buffering?

2010-04-27 Thread dillirao malipeddi
if u r using dss use sdp file with proper params to rtsp client understand the params.. key is encode low bit rate! On Tue, Apr 27, 2010 at 4:41 PM, dillirao malipeddi dillir...@arijasoft.com wrote: use low bit rate encoding... so that, even at low bandiwdths it works in the rtsp handshake,

Re: [android-developers] Re: Live stream latency

2010-04-27 Thread dillirao malipeddi
Arijasoft has developed android LiveStreaming SDK for Android. Its able to stream to all RTSP servers and verified with VLC and DSS ( darwin streaming server). you can request the android LiveStreaming SDK . Thanks On Wed, Apr 14, 2010 at 9:39 PM, Android dev gian23...@gmail.com wrote: Until

Re: [android-developers] Streaming video from Android handset - code examples anywhere?

2010-04-27 Thread dillirao malipeddi
Arijasoft has developed android live streaming sdk, which streams from android device to any RTSP server from android device --- rtsp server; Please contact: cont...@arijasoft.com thanks On Tue, Feb 16, 2010 at 11:01 PM, jussi69 jussiniemin...@gmail.com wrote: Hi, I'm in the process of

Re: [android-developers] custom seekbar

2010-04-27 Thread dillirao malipeddi
save this xml in drawable folder and set it as ProgressDrawable to seek bar On Tue, Apr 27, 2010 at 4:27 PM, dillirao malipeddi dillir...@arijasoft.com wrote: layer-list xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@android:id/background shape

[android-developers] Re: convert a image into Base64 format

2010-04-27 Thread Gubatron
It looks like you're sending a POST request for every line you're encoding. If you're trying to do it in one shot, then why have a while statement? In any case, do not do it in one shot, use buffered streams instead, it could happen that your image is too big, so you're better off reading that

[android-developers] Using same sqlite database from multiple Activities and Services

2010-04-27 Thread goosedroid
I have been trying to find a discussion on the best way to handle a common sqlite database which is shared by multiple Activities (or multiple Activities and Services). This is all in the same application. It seems that if each Activity has: void onCreate() { SQLiteDatabase db =

[android-developers] Re: Deploy a build for a specific resolution

2010-04-27 Thread tobias429
Hi Viorel, Filtering by OS is quite simple. You can specify in your application's manifest the target, minimum or maximum OS version your application needs, e.g.: uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4/ The market will show your app then only to phones that have the

[android-developers] Re: Game stutters when drawing outside screen

2010-04-27 Thread tobias429
Is the image that you are drawing exactly the same size as the screen area that you are filling? I noticed in my games that resizing of images is apparently an incredibly costly operation with Android. As soon as I draw a bitmap and the OS has to adjust the size of it, the game begins to stutter

[android-developers] Re: Animating the background of a LinearLayout

2010-04-27 Thread Marc Poppleton
Thanks, I'll see what I can do with a custom Drawable. On 27 avr, 12:53, skink psk...@gmail.com wrote: Marc Poppleton wrote: Hello, Is there a way of being notified when a TransitionDrawable has finished its transition? I'm looking for a way to animate the background of a LinearLayout,

Re: [android-developers] The function getLine1Number always return a empty. why?

2010-04-27 Thread Mark Murphy
perrot wrote: I was tried to get the phone number in a real device.But the function getLine1Number always return a empty string.Why? How do I get the phone number in a read device? getLine1Number() usually returns a value off of the SIM card. Sometimes this is the correct phone number.

[android-developers] Re: how to add progress bar with media Player??????

2010-04-27 Thread ulqui
up :p On 23 avr, 13:12, ulqui habibedday...@yahoo.fr wrote: up On 22 avr, 13:45, ulqui habibedday...@yahoo.fr wrote: up please i tried public void updateTime(){     int ttld=mMediaPlayer.getDuration();          int nowd=mMediaPlayer.getCurrentPosition();          int

[android-developers] Something wrong here... using simplest project

2010-04-27 Thread Adrian Vintu
Hi all, I am getting that annoying 'Something wrong here, didn't expect package name to be resumed' for the most basic Android project. Thing is, it only appears on the emulator but not on my Android 1.6 device. I don't know what to do. Is the emulator broken? Am I missing something here? This

[android-developers] Re: Uploading large files - using setChunkedStreamingMode

2010-04-27 Thread ferobert
Hi Carmen, I run into the same OutOfMemoryError issue when uploading video files of several MB within my app. I decided to look into this for the next version of the app. So, in the unlikely event you still haven't found a solution for this, here is how I get an answer from the server,

[android-developers] Insert animation between video playback?

2010-04-27 Thread Abhi
Hello I am not sure if this makes any sense. But what I really want to do is to insert some animation snippets (1-2 secs) in between my Video playback to try and give the users a transitional effect while watching videos. My questions really is whether I can do this while the videoview is running

[android-developers] Error getting GPS location on Droid + android 2.0 sdk

2010-04-27 Thread mudit
Hi all I am trying develop an application which shows user current location. To find user's current location i am using following code: import android.location.Location; import android.location.LocationListener; import android.location.LocationProvider; import android.os.Bundle; public class

[android-developers] Re: How to warn user when back button is pressed to navigate out of my application?

2010-04-27 Thread Zigurd
Maybe an audible cue that they are about to navigate back out? But, as others have said, that navigation should have no bad consequences, so the user need not be aware of it. While a home navigation in the option menu is not desirable, that would be one way to enable your users to return to the

[android-developers] Switching video files dynamically

2010-04-27 Thread Abhi
HI I am trying to switch between two video files dynamically, but as soon as I set the path for the second video file during playback of the first, the app either hangs or force closes. This is what I am doing if(mVideoView.getCurrentPosition()2000) //switch to other video after 2 secs.

[android-developers] Re: How to warn user when back button is pressed to navigate out of my application?

2010-04-27 Thread Streets Of Boston
I would strongly advise against fighting the normal stack-based work- flow of android activities. If the user pressed the back-key, he/she probably wants to 'go back'. Don't fight your customer on this. Don't try to break or modify the work-flow model of Android. But, if you must, you could warn

[android-developers] Re: Game stutters when drawing outside screen

2010-04-27 Thread Peter
@ko5tik I didnt know about clipping, but that might be the solution for me. If I use clipping on the Canvas I only have to draw the image once (as you suggested in your first post). Thanks! I dont think providing a background hi-res will work, because the OS 'zooms in' on a bigger screen.

Re: [android-developers] change margin of a view after it has been rendered

2010-04-27 Thread TreKing
On Mon, Apr 26, 2010 at 3:33 PM, nou inghedebr...@gmail.com wrote: Is it possible at all? workaround? Maybe this? http://developer.android.com/intl/fr/reference/android/view/ViewGroup.MarginLayoutParams.html

Re: [android-developers] Using same sqlite database from multiple Activities and Services

2010-04-27 Thread Martin Obreshkov
I my app i there is service which is working in background and it's holding the instance of sql connection. When no activities are using the service it's destroyed and the connection is closed. On Tue, Apr 27, 2010 at 2:48 PM, goosedroid alexrhel...@gmail.com wrote: I have been trying to find a

Re: [android-developers] How to set Connection mode?

2010-04-27 Thread Martin Obreshkov
Take a look at http://developer.android.com/reference/android/net/ConnectivityManager.html . On Tue, Apr 27, 2010 at 9:38 AM, vikky vikash19852...@gmail.com wrote: Hi all, I want to provide option to users...for Connection mode with web server for services(XML).. How can i set the

Re: [android-developers] Progress Dialog is not showing

2010-04-27 Thread TreKing
On Sun, Apr 25, 2010 at 3:02 AM, Bipin Sutariya bipin.sutar...@gmail.comwrote: Can anyone help me in this? You're blocking the main thread with your getFriends() call which prevents the dialog from showing. You will have to put that in a separate thread, or use an AsyncTask.

[android-developers] Re: how to connect android phone to pc using adb

2010-04-27 Thread applesquash
Did you install the SDK USB driver? On Apr 26, 9:38 pm, karteek kartee...@gmail.com wrote: @Rogerio My OS is ubuntu.And I already used these commands.But the device is not getting displayed under ./adb devices. @AJ I have the Driver CD that came with the phone.But,it is for Windows,the

[android-developers] [OpenGL] change coodinate system

2010-04-27 Thread Paolo
Is it possibile to change the corrdinate system of openGL? Now i have the origin in the botton-left corner, with the x-axis points to right, the y-axis points to up and the z-axis points to me. I want the origin in the botton-right corner, with the x-axis point to left, the y-axis point to up

[android-developers] Widget with scrollable list of items

2010-04-27 Thread Timo Prill
hi, i cannot find any example of a widget showing a scrollable list of items (e.g. text) since the widget api says there is no listview, no scrollview etc.. at all, how to implement a scrollable list inside a widget? for example a list like friends-stream from HTC shows or many other widgets

[android-developers] AsyncTask and progressUpdate()

2010-04-27 Thread MobDev
Hi, I am using an AsyncTask to start out a sequence of events to retrieve data from the net, parse this data and then write it to the Database... I have divided my code into several modules, one for networking operations (which is used for retrieving the data), one for xml- parsing, and one for DB

[android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-27 Thread Mike
I've done both. And yet the spam continues... On Apr 26, 7:47 pm, polyclefsoftware dja...@gmail.com wrote: You also have the option to flag an app as inappropriate, which might not be a bad idea. On Apr 26, 8:06 pm, Zsolt Vasvari zvasv...@gmail.com wrote: When you unistall the game in

[android-developers] Re: Using same sqlite database from multiple Activities and Services

2010-04-27 Thread Federico Paolinelli
On 27 Apr, 13:48, goosedroid alexrhel...@gmail.com wrote: I have been trying to find a discussion on the best way to handle a common sqlite database which is shared by multiple Activities (or multiple Activities and Services). This is all in the same application. It seems that if each

Re: [android-developers] AsyncTask and progressUpdate()

2010-04-27 Thread Mark Murphy
MobDev wrote: Hi, I am using an AsyncTask to start out a sequence of events to retrieve data from the net, parse this data and then write it to the Database... I have divided my code into several modules, one for networking operations (which is used for retrieving the data), one for xml-

[android-developers] Re: J2ME converting/translation to Android

2010-04-27 Thread Mihai Fonoage
Hmm, do you have a link to those tools? On Apr 27, 6:56 am, dillirao malipeddi dillir...@arijasoft.com wrote: motorola is giving tools for free to convert j2me to android... enjoy On Mon, Apr 26, 2010 at 1:25 AM, ricardocunha ricardocu...@gmail.comwrote: Hi, I want to know if

Re: [android-developers] Widget with scrollable list of items

2010-04-27 Thread Romain Guy
Hi, This is not supported by the framework. HTC achieves this by using widgets that work only with their home screen application. On Tue, Apr 27, 2010 at 8:42 AM, Timo Prill timo.pr...@googlemail.com wrote: hi, i cannot find any example of a widget showing a scrollable list of items (e.g.

[android-developers] Re: Can't dispatch DDM chunk 52454151: no handler defined

2010-04-27 Thread Christopher
I am receiving this same error, on the Hello World app. Anyone know what's going on here? On Apr 2, 9:54 am, snorlaks wgruszczyn...@gmail.com wrote: Hello, Im new to android and after installing SDK and all plugins to the eclipse ad trying to run sample app (hello worl) I have an emulator

Re: [android-developers] Re: Can't dispatch DDM chunk 52454151: no handler defined

2010-04-27 Thread Mark Murphy
Christopher wrote: I am receiving this same error, on the Hello World app. Anyone know what's going on here? Usually, that is a benign message, meaning the adb daemon and AVD are slightly incompatible. For example, if you have an Android 2.1 installation with the latest tools, and you try

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-27 Thread code_android_festival_way
Hmm does really no one got an idea what could be wrong here? Regards On 25 Apr., 19:44, code_android_festival_way festival.s...@googlemail.com wrote: Well you are right that this will drain the battery pretty heavily. At the moment I am using the broadcast which gets fired every n seconds and

[android-developers] Re: change margin of a view after it has been rendered

2010-04-27 Thread nou
It doesn't work. That's to change the margin at instantiation time. I already have an element on the page which I retrieve like this LinearLayout el = (LinearLayout) findViewById(R.id.xxx); I'd like to change the margin of the element which is ALREADY rendered thanks On Apr 27, 3:22 pm,

[android-developers] Re: HTC Incredible no default external storage?

2010-04-27 Thread webmonkey
It appears to be a serious issue for developers, see: http://www.androidauthority.com/index.php/2010/04/23/nice-htc-droid-incredible-photos-and-application-issues/ It mentions: For those of you interested, the internal 8GB of storage on the phone is mounted at /emmc (r/w mode, of course) and

[android-developers] Layout Scaling

2010-04-27 Thread Sanjay
Hello, I would like to know that is there any way to scale the layout so that activity/application's UI fits in to provided rendering area? I come across with the WindowManager.Layout.FLAG_SCALED in SDK but don't know which is the most appropriate class in Android Framework to use it? Could

Re: [android-developers] Layout Scaling

2010-04-27 Thread Mark Murphy
Sanjay wrote: Hello, I would like to know that is there any way to scale the layout so that activity/application's UI fits in to provided rendering area? I come across with the WindowManager.Layout.FLAG_SCALED in SDK but don't know which is the most appropriate class in Android Framework

Re: [android-developers] Re: change margin of a view after it has been rendered

2010-04-27 Thread Mark Murphy
nou wrote: It doesn't work. That's to change the margin at instantiation time. I already have an element on the page which I retrieve like this LinearLayout el = (LinearLayout) findViewById(R.id.xxx); I'd like to change the margin of the element which is ALREADY rendered That's what

[android-developers] Re: SocketChannel, broken pipe exception - Cupcake only

2010-04-27 Thread moju27
Some more information : I get the same thing with the emulator. The exception happens on a : socketChannel.write(output). My code previously opens the socketChannel with the InetSocketAddress of my server, allocates my buffers and serializes the data. Not sure it really helps, but here is the

Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-27 Thread Justin Giles
I've had to mark about 15-20 comments in my apps as pocket empires spam over the past week. It's getting kind of tiring. On Tue, Apr 27, 2010 at 10:48 AM, Mike michaeldouglaskra...@gmail.comwrote: I've done both. And yet the spam continues... On Apr 26, 7:47 pm, polyclefsoftware

Re: [android-developers] How to get ListView behavior inside a ScrollView?

2010-04-27 Thread TreKing
On Sun, Apr 25, 2010 at 11:14 AM, eehouse ho...@gmail.com wrote: I've tried going in two directions, each of which might work but has a ways to go still. How about option 3: don't use a listview in that same activity. Instead, provide a button or something the user can click to see the

[android-developers] Re: WebView and Native Browser

2010-04-27 Thread thrusty
After some further experimentation, it looks like you can in fact load gmail for mobile in a WebView by first loading: http://m.gmail.com/ (note the lack of https!) which then redirects to a login page, and you subsequently can view the main gmail page. I tried something similar with my

Re: [android-developers] Problems with start a Map Activity from other Activity

2010-04-27 Thread TreKing
On Thu, Apr 8, 2010 at 4:08 PM, Carlos Moreira c.lesh...@gmail.com wrote: I have problems and didn't work. What are the problems and how doesn't it work? On Mon, Apr 26, 2010 at 3:00 AM, Munki83 pwilco...@googlemail.com wrote: My mapactivity works fine when used standalone but can't be

[android-developers] ListView with multiple layouts formats in it

2010-04-27 Thread noid
I'm trying to create a ListView that has different layouts in it. Basically headers which contain only one string, and then items under the headers that have a string and a picture. So something like HEADER A img1 : item A1text img2 : item A2 text img3 : item A3 text HEADER B img1 : item B1text

[android-developers] Re: How do ListViews exactly work?

2010-04-27 Thread Moto
Hi Pavel, Thanks for your reply! I agree with some of the information you provided. So it seems ListView is keeping track of the list state. To name a few; scroll position, visible items, user input. I guess the main idea here is in order to create a completely custom ListView we need to

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-27 Thread Arnon
Another day have passed... and nobody outside of US got his phone... :'( On Apr 27, 10:19 am, Richard rtaylor...@googlemail.com wrote: They're stressed because they're waiting for phones too :P On Apr 26, 10:36 pm, Lim Sim lim@gmail.com wrote: Come on.  why is everybody taking this

Re: [android-developers] ListView with multiple layouts formats in it

2010-04-27 Thread Mark Murphy
noid wrote: I'm trying to create a ListView that has different layouts in it. Basically headers which contain only one string, and then items under the headers that have a string and a picture. So something like HEADER A img1 : item A1text img2 : item A2 text img3 : item A3 text

Re: [android-developers] Multiple - multiple choice dialogs/activities, questionnaire, one question at the time

2010-04-27 Thread TreKing
On Mon, Apr 26, 2010 at 2:35 PM, John Smith jsmith...@gmail.com wrote: So, my problem is I have multiple questions, one to be presented each time, and I need to wait for one to be responded so I can ask the next one. How do I accomplish this? I would not use Dialogs for this. One thing you

Re: [android-developers] Hello~~! I have a some question that how to get airplane mode.

2010-04-27 Thread TreKing
On Sun, Apr 25, 2010 at 11:46 PM, sumiface sumif...@gmail.com wrote: Using Settings.System.Airplane_Mode_ON? Sure? Why don't you try it and see what happens? Also, I'm sure reading the documentation will give you some answers as well.

Re: [android-developers] Activity does not load after first run?

2010-04-27 Thread TreKing
On Sat, Apr 24, 2010 at 5:15 PM, Valce charley.w...@gmail.com wrote: I hit run, the emulator opens up, and nothing happens at startup. Does log show any warnings or errors? Are you leaving the emulator up and running between app launches? (You should be)

[android-developers] Decimal only keypad

2010-04-27 Thread Siva G
I want to have input type for the text boxes that only takes numbers and decimal point. Input type of Number or Decimal, still brings the full keypad and the buttons are small. Input type of Phone does the trick, but not all phones have a comma or a dot to enter the decimal point. What is the

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-27 Thread TreKing
On Tue, Apr 27, 2010 at 12:29 PM, Arnon arnonse...@gmail.com wrote: Another day have passed... and nobody outside of US got his phone... :'( I think it's time you all gave up, let this thread die, and move on with your lives. If the phone ever does show up it will be a nice surprise one day.

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-27 Thread nikhil
I dont know what kind of alarm manager or partial wakelock system have you set up but I would surely advise you to refer to Mark's wakefulintentservice. If you can get hold of it correctly, you should not face any problem with the notification. You may require broadcast receiver only to start the

Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-27 Thread TreKing
On Mon, Apr 26, 2010 at 8:06 PM, Zsolt Vasvari zvasv...@gmail.com wrote: When you unistall the game in Android Market, you have the option to mark it as spammy and give a reason why. Instead of complaining on here, perhaphs being a bit more proactive could be helpful. On Mon, Apr 26, 2010

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-27 Thread Teo
I almost agree.. But take my case, i'm only using an emulator to maintain a free popular app, and with existing fragmentation it's getting increasingly hard... I'd buy an Android phone myself if there wasn't talk about a free phone, but i wouldn't want to pay money for one and have a 'nice'

Re: [android-developers] Dialog not responding to fill_parent setting

2010-04-27 Thread TreKing
On Mon, Apr 26, 2010 at 8:32 PM, Jeffrey jeffisagen...@gmail.com wrote: How do I fix this? Try changing the dialog's theme? - TreKing - Chicago transit tracking app for Android-powered devices

[android-developers] Custom CheckBox ignoring scaleType?

2010-04-27 Thread Ozymandias
I have a checkbox that I made, and I have replaced the android:button graphic with my own. It works fine except it stretches the image even though it's sized exactly the same as the checkbox. scaleType seems to be totally ignored as well. If I set the same graphic as the android:background, it

[android-developers] Boardroom Projectors

2010-04-27 Thread Tom Opgenorth
This is probably not the best place to ask this question, but thought I would try anyway. I'm looking to do an introductory presentation to a local user group on Android programming. I was wondering if there was a way to attach or hook-up an ADP1/HTC Dream to projector or something, so that

[android-developers] RelativeLayout vertical center issue in Android OS 1.5

2010-04-27 Thread Greg Giacovelli
Hi, I found this thread http://groups.google.com/group/android-developers/browse_thread/thread/125dd6c435aa7cad/c19724a514558af7 which seems to be closed. I don't think it's an actual solution, it's more of a we needed this to work now. I am having the same issue where the centerVertical seems to

Re: [android-developers] Re: Can't dispatch DDM chunk 52454151: no handler defined

2010-04-27 Thread Xavier Ducrohet
This is slightly different, but yes it is benign. When installing/launching app, the tools use java based tools on the device to perform these operation (shell command 'am' and 'pm' which stand for activityManager and packageManager). Because these apps run in VM, they show up on DDMS which then

[android-developers] Get phone country/area code, anyone?

2010-04-27 Thread Gustavo
Hi, I know that I can get some informations from the Sim card by using the TelephonyManager class, but I couldn't find any specific method to get its country and area code, and also if the user is on roaming the area code would probably change to the location he currently is. Any help would be

  1   2   3   >