[android-developers] Re: Is your Android app on Archos Market ?

2009-10-20 Thread niko20
Hi, Maybe I will wait until I find out if you really stole the code for your app store from the andAppStore developers. At least that is the current allegation. -niko On Oct 20, 3:55 am, arnouf arnaud.far...@gmail.com wrote: If you  have developed or if you are developing applications, and

[android-developers] Re: How to get unique handset device id?

2009-10-20 Thread Mark Murphy
Wayne Wenthin wrote: It doesn't appear to be.The Archos 5 is only returning 4 bytes I believe. If someone that is more familiar with this could speak up it would be cool. I would assume that the ID's are governed by the OHA if they are truly unique. ANDROID_ID is definitely more than

[android-developers] Re: 3D MapView - Is it possible?

2009-10-20 Thread Miles
I could easily create my own but I guess using Google map tiles would be against the TOS, even if I did display the necessary legal text/ acknowledgments at the bottom of the screen? On Oct 20, 6:24 pm, Mark Murphy mmur...@commonsware.com wrote: mscwd01 wrote: Is there a way to manipulate a

[android-developers] stop the Google wave invitation replies? ta

2009-10-20 Thread Jason Proctor
i think it's safe to assume by now that the OP has run out of invitations. even if you think not, you might want to reply directly to him rather than polluting the list. -- jason.vp.engineering.particle --~--~-~--~~~---~--~~ You received this message because

[android-developers] Problem with setting a previously transparent backgrount white in onPageFinished

2009-10-20 Thread Matt Kanninen
I have a webview which I like to be transparent, until the first page loads. I set it transparent like so: mWebView.setBackgroundColor(0); then I set it to use this WebViewClient private class OurWebViewClient extends WebViewClient { public void

[android-developers] Re: Google wave invitations...?

2009-10-20 Thread Marco Nelissen
This thread has now seen almost a hundred people saying me too!. Seriously people, what part of I have 16 invitations did you not understand? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Signing error when installing SDK into eclipse

2009-10-20 Thread Xavier Ducrohet
This is normal. Xav On Mon, Oct 19, 2009 at 8:07 PM, Hortinstein hortinst...@gmail.com wrote: I was installing the SDK today and it warned me that the package contained unsigned software... I followed installation instructions...is this normal? -- Xavier Ducrohet Android SDK Tech

[android-developers] Re: Text wrapping around image

2009-10-20 Thread Matt Kanninen
I spent a fair amount of time doing the same thing. Html.fromHTML is helpful, but it seems to basically take each img tag it encounters and add it to the textview like a character. So you can have one line of text to the left, and one line to the right, but you cant have multiple lines of text

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-20 Thread Kiran
Experts, Any help here? Thanks On Oct 20, 8:23 am, Kiran kiran.julapa...@gmail.com wrote: Hi, I have the following code in Oncreate of my activity: *** *    static String linkUrl = http://www.google.com/;;  

[android-developers] Re: Keep pressing screen slow down the app very much

2009-10-20 Thread Matt Kanninen
Is this really the best way to solve this problem? Sleeping in an on*Event just sounds wrong. On Oct 19, 8:50 pm, Nightwolf mikh...@gmail.com wrote: Try this solution public boolean onTouchEvent(final MotionEvent event) {                 try {                         Thread.sleep(50);    

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-20 Thread Mark Murphy
Kiran wrote: Experts, Any help here? static String linkUrl = http://www.google.com/;; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); PowerManager pm = (PowerManager) getSystemService

[android-developers] TabHost crash (was: hardcoded borders)

2009-10-20 Thread Jason Proctor
anyone any ideas about this? did the XML layout rules for TabHost change in 1.5? i now don't have anything at all in my onCreate() beyond the super() call, and i still get the same TabHost crash. thanks in advance. Tough to tell without seeing your code. If you're not using TabActivity, be

[android-developers] Re: TabHost crash (was: hardcoded borders)

2009-10-20 Thread Mark Murphy
Jason Proctor wrote: anyone any ideas about this? did the XML layout rules for TabHost change in 1.5? i now don't have anything at all in my onCreate() beyond the super() call, and i still get the same TabHost crash. thanks in advance. Your FrameLayout needs to be a child of TabHost, not

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-20 Thread Kiran Julapalli
Thanks Mark, I am acquiring a wakelock as the error points to giving up a wake lock. No other specific reason. I am not sure how to use Async task. Can you give me any pointer? -Kiran On Tue, Oct 20, 2009 at 1:16 PM, Mark Murphy mmur...@commonsware.com wrote: Kiran wrote: Experts, Any help

[android-developers] Re: onTrackballEvent hogging CPU time.

2009-10-20 Thread TonyDoc
Thanks James, I've been struggling with this for a few days. This helps a lot. Ta, Tony --~--~-~--~~~---~--~~ 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: Activity launch timeout even with wakelock

2009-10-20 Thread RichardC
Maybe it's trying to access an external website during the processing of onCreate. Try pulling this on a worker thread. -- RichardC On Oct 20, 7:28 pm, Kiran Julapalli kiran.julapa...@gmail.com wrote: Thanks Mark, I am acquiring a wakelock as the error points to giving up a wake lock. No

[android-developers] Re: Memory leak or feature

2009-10-20 Thread jotobjects
What happens if you override finish() to see if it gets called? What does Dianne mean by let the system finish the activity, i.e., what causes finish() to be called? On Oct 20, 1:48 am, Mika mika.ristim...@tkk.fi wrote: So has anybody been able to test the sample app and found the leak. To me

[android-developers] Re: How to get unique handset device id?

2009-10-20 Thread RichardC
Given that people are rooting phones and producing their own custom platform builds I cannot see how any field can be relied on to be unique across all devices. -- RichardC On Oct 20, 6:26 pm, Mark Murphy mmur...@commonsware.com wrote: Wayne Wenthin wrote: It doesn't appear to be.    The

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-20 Thread Dianne Hackborn
On Tue, Oct 20, 2009 at 11:28 AM, Kiran Julapalli kiran.julapa...@gmail.com wrote: I am acquiring a wakelock as the error points to giving up a wake lock. That message is about the activity manager releasing its internal wake lock because it has given up on hearing back from the application

[android-developers] TabHost crash (was: hardcoded borders)

2009-10-20 Thread Jason Proctor
Jason Proctor wrote: anyone any ideas about this? did the XML layout rules for TabHost change in 1.5? i now don't have anything at all in my onCreate() beyond the super() call, and i still get the same TabHost crash. thanks in advance. Your FrameLayout needs to be a child of TabHost, not

[android-developers] Re: Place an icon in status bar (not notification)

2009-10-20 Thread Dianne Hackborn
Applications can't put icons on the right side. There are lots of examples in ApiDemos for the ways you can post notifications/icons. On Tue, Oct 20, 2009 at 2:38 AM, Adrián adryan...@gmail.com wrote: Hi all, I want to place an icon in the status bar when my service is started. I know how

[android-developers] enableMyLocation() return false

2009-10-20 Thread lei
When I called enableMyLocation() on onResume() method, it returns false. Does anyone know why? I've added permission of LOCATION and GPS, the map Api Key is correct. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] tes

2009-10-20 Thread abdul gafur
tes ... this is first.thx --~--~-~--~~~---~--~~ 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] How to make a listview with selectable children stop scrolling on touch event?

2009-10-20 Thread Alexander Lucas
As a work around to the issue where a list item isn't focusable if it has a focusable child item (a comment by Romain Guy was that this was intended behavior, for accessibility reasons) I simply filled the listItem with two children, each of which is focusable - There's nowhere to directly touch

[android-developers] Basic game structuring with two threads?

2009-10-20 Thread Mika
Hello people. I've gone through several Android examples, tutorials and generally just played around with the system. Now I'm in a need of help concerning a making of a game for Android, more specifically structuring the design. I'm going to use OpenGL to render everything. Generally when I have

[android-developers] Just beginning

2009-10-20 Thread Kate
Currently I have a tmobile behold, and I am replused by the operating touch wiz system. What do i need to do to get the android operating system on my phone. I am new to this, but find it very intresting. I have read alot but am unsure of the how- to process. Please help.

[android-developers] Unable to simulate network delay/speed

2009-10-20 Thread kllrnohj
An app I'm developing opens a TCP socket connection to a server. That works great, no problems. What I want to do is simulate network delay and slow speeds, but the changes don't do anything. I telnet in to the emulator console just fine and can set the delay and speed changes, but they don't

[android-developers] Re: Devices information using Wifi API

2009-10-20 Thread kllrnohj
What you want to do isn't possible using any standard mechanism. You could open an HTTP connection to the admin console of the access point (eg, 192.168.0.1) and pull the information out of there, but you would need to know the username/password of the admin console as well as what page the

[android-developers] Inputs group id 1004

2009-10-20 Thread Ashish Srivastava
hi i wanna know if BIND_INPUT_METHOD would give my app the group id 1004 (Inputs) this is written on the android developers website -- Must be required by input method services, to ensure that only the system can bind to them. or should i use READ_INPUT_STATE Allows an application to

[android-developers] Re: Multiple Screen Support, 1.5 and 1.6

2009-10-20 Thread Dianne Hackborn
On Tue, Oct 20, 2009 at 7:25 AM, polyclefsoftware dja...@gmail.com wrote: When I first started Android development, I was a bit worried about how things would progress as new hardware configurations came out. I hope it doesn't get any more complicated than this. My guess is that most indie

[android-developers] Re: How to save my custom view's state

2009-10-20 Thread RichardC
The framework calls your application when it wants you to save or restore your state, so you do not call these methods. See step 7 in the Notepad tutorial: http://developer.android.com/guide/tutorials/notepad/notepad-ex3.html -- RichardC On Oct 20, 4:27 pm, fhucho fhu...@gmail.com wrote: Hi,

[android-developers] Re: Basic game structuring with two threads?

2009-10-20 Thread RichardC
Have you looked at the LunarLander sample in the SDK: android-sdk-windows-1.6_r1\platforms\android-1.6\samples\LunarLander -- RichardC On Oct 20, 7:39 pm, Mika mts...@googlemail.com wrote: Hello people. I've gone through several Android examples, tutorials and generally just played around

[android-developers] Re: TabHost crash (was: hardcoded borders)

2009-10-20 Thread Mark Murphy
Jason Proctor wrote: can't shake that crash in TabHost.dispatchWindowFocusChanged(), however. seems very convinced that mCurrentView is null. mCurrentView comes from the tab spec's content strategy, i have two TextViews with tab1 and tab2 IDs, nothing special, copied direct from your

[android-developers] Re: How to get unique handset device id?

2009-10-20 Thread Mark Murphy
RichardC wrote: Given that people are rooting phones and producing their own custom platform builds I cannot see how any field can be relied on to be unique across all devices. Good point. ANDROID_ID is stored in a SQLite database IIRC, so you do not even need to replace the firmware to hack

[android-developers] TabHost crash (was: hardcoded borders)

2009-10-20 Thread Jason Proctor
I can state positively that the layout shown there works on 1.5 and 1.6. You can grab full projects with that layout from: http://commonsware.com/Android/ (scroll down and click on the Source Code link in the Details section, on the right side of the page) Look at Fancy/Tab, Fancy/DynamicTab,

[android-developers] Re: How to get unique handset device id?

2009-10-20 Thread Wayne Wenthin
Sorry Mark I misread your earlier post. I don't know where I got a number from ;-) On Tue, Oct 20, 2009 at 12:00 PM, Mark Murphy mmur...@commonsware.comwrote: RichardC wrote: Given that people are rooting phones and producing their own custom platform builds I cannot see how any

[android-developers] Re: TabHost crash (was: hardcoded borders)

2009-10-20 Thread Mark Murphy
Jason Proctor wrote: ok now i see the problem. i'm extending TabActivity, and your examples extend the regular Activity and set up the TabHost manually. when i do it your way, things start to behave. Now that's curious. is TabActivity deprecated then? i thought that was the preferred way.

[android-developers] TabHost crash (was: hardcoded borders)

2009-10-20 Thread Jason Proctor
No, that should still be supported, AFAIK. But, since it doesn't buy you much, you may as well stick with what's working for you and be done with the matter. i wish it worked! now i'm seeing the other problems - TabHost complaining it can't find views that are clearly there, ListViews inside

[android-developers] MediaPlayer.Create returns null on some Android handsets?

2009-10-20 Thread Chister Nordvik
Hi! I have a background service that plays a sound when an event has happened with the following code: 1. MediaPlayer mp = MediaPlayer.create(getBaseContext(), R.raw.theEnd); 2. mp.start(); But sometimes I see from my errorlogs that people are getting a nullpointer on line nr 2 here. My music

[android-developers] Re: Unable to simulate network delay/speed

2009-10-20 Thread Dan Sherman
Unfortunately I haven't found a solution. The delay looks to only affect initializing connections (if you have a 10sec delay on the emulator, you'll see it take 10 seconds to connect the socket). We built a workaround in-app that delayed outgoing/incoming packets by a constant amount. I haven't

[android-developers] Re: neighbor cell information yields odd results with 3G

2009-10-20 Thread Jimmy
The MNC and MCC can be parsed from the serving cell information (it works in 2G and seems to work in 3G as well) from the telManager.getNetworkOperator() and the neighbor LACs can be parsed from NeighboringCellInfo string. So most of the info is there. It's just the 3G neighbor info that is

[android-developers] Re: MediaPlayer.Create returns null on some Android handsets?

2009-10-20 Thread Marco Nelissen
There seems to be a problem with some Hero builds (but not all of them) that causes playback from resources to not work quite right. On Tue, Oct 20, 2009 at 12:29 PM, Chister Nordvik cnord...@gmail.com wrote: Hi! I have a background service that plays a sound when an event has happened

[android-developers] Do maps always need GPS?

2009-10-20 Thread Ken H
Just want to make sure I'm not missing something because I'm having trouble making this work for some reason. If I use a map, do I need to setup the LocationManager and GPS criteria and all? I just need a map to paint on. I'm building an activity that displays location data collected and stored

[android-developers] Re: Do maps always need GPS?

2009-10-20 Thread Mark Murphy
Ken H wrote: If I use a map, do I need to setup the LocationManager and GPS criteria and all? No. Android might start up the location manager system (e.g., you add MyLocationOverlay to the project), but you do not have to use it yourself directly. I just need a map to paint on. I'm building

[android-developers] Re: How to save my custom view's state

2009-10-20 Thread fhucho
I tested it and the methods aren't called automatically. I was talking about View.onSaveStateInstatnce, not Activity.onSaveStateInstatnce(). On Oct 20, 8:53 pm, RichardC richard.crit...@googlemail.com wrote: The framework calls your application when it wants you to save or restore your state,

[android-developers] Re: Do maps always need GPS?

2009-10-20 Thread Wayne Wenthin
You can use coarselocation too. That way you don't have to wait so long for an update. On Tue, Oct 20, 2009 at 1:02 PM, Ken H hunt1...@gmail.com wrote: Just want to make sure I'm not missing something because I'm having trouble making this work for some reason. If I use a map, do I need to

[android-developers] Re: How to save my custom view's state

2009-10-20 Thread fhucho
Probably the best way to do this is to call those methods from the Activity's methods onSavedStateInstance() and onRestoreInstanceState (). On Oct 20, 10:06 pm, fhucho fhu...@gmail.com wrote: I tested it and the methods aren't called automatically. I was talking about

[android-developers] Re: Do maps always need GPS?

2009-10-20 Thread Ken H
That is a good idea, thank you! I'm just having the usual Easy things are hard, hard things are easy problem. :) On Oct 20, 1:07 pm, Wayne Wenthin wa...@fuligin.com wrote: You can use coarselocation too.   That way you don't have to wait so long for an update. On Tue, Oct 20, 2009 at 1:02

[android-developers] Re: Unable to simulate network delay/speed

2009-10-20 Thread kllrnohj
That's the thing, I'm not getting *any* delay whatsoever. I set it to the highest it would go (15 seconds) and I connected, sent, and received all in under ~300ms - there was no noticeable delay whatsoever. Setting the speed has no apparent affect either, and turning on and off the data

[android-developers] Re: Memory leak or feature

2009-10-20 Thread jotobjects
Hi Mika - One more question - why do you expect the system to close the Activity and free the memory? Even though the Activity is not visible the system can keep it alive unless it needs to free memory. I think you would need to finish() the Activity yourself or fill up memory in the Service

[android-developers] Re: How to get unique handset device id?

2009-10-20 Thread Wayne Wenthin
wow replying to myself... So as I was reading other posts here I came across an idea. We (well I am) are talking about the ANDROID_ID as if it were a MAC. I haven't looked but if the phone supports Wi-Fi wouldn't it need an MAC? Going to look at the SDK docs now. On Tue, Oct 20, 2009 at

[android-developers] Re: DB Cursor not working

2009-10-20 Thread Yayo
The query not workin' is this one: select word._id, word.word from word where length(word.word) between ? and ? the first one (the count) responds with the correct number of rows. but the select to fetch the words does not. :/ On 19 oct, 18:27, Marco Nelissen marc...@android.com wrote: On Mon,

[android-developers] Re: Layout with all cells the same size

2009-10-20 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Gibara wrote: Try setting the width of every child in your LinearLayout to 0, and their weights to 1. Yup, that works. Thanks! (But good grief, it's hardly intuitive. I'd have never have thought of that on my own.) - -- ┌─── dg@cowlark.com

[android-developers] InputMethodManager: how to detect when soft input is gone?

2009-10-20 Thread extrapedestrian
When I press back button, soft input keyboard is gone. How can I detect this event in my activity? --~--~-~--~~~---~--~~ 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: Unable to simulate network delay/speed

2009-10-20 Thread David Turner
Sounds like a bug. Which exact version of the SDK are you using, and on which platform? On Tue, Oct 20, 2009 at 1:17 PM, kllrnohj kllrn...@gmail.com wrote: That's the thing, I'm not getting *any* delay whatsoever. I set it to the highest it would go (15 seconds) and I connected, sent, and

[android-developers] ListViews in tabs

2009-10-20 Thread Jason Proctor
well, i'm sorry to bang on about this all the time. are there caveats to putting ListViews in tabs? something to do with a ListView's infinite height (kinda) etc? scrolling views in tabs? the symptom i'm seeing is that a ListView will draw over the tabs in the TabHost. i've tried making them

[android-developers] Re: ListViews in tabs

2009-10-20 Thread Mark Murphy
Jason Proctor wrote: well, i'm sorry to bang on about this all the time. are there caveats to putting ListViews in tabs? Nope. I have an application that has four ListViews in four tabs on its main activity. the symptom i'm seeing is that a ListView will draw over the tabs in the

[android-developers] Re: uninstall an application

2009-10-20 Thread Roman ( T-Mobile USA)
For being able to uninstall an application you need a permission DELETE_PACKAGES which can only be used by the system or by the application having the same signature. This means you won't be able to uninstall third party application if you don't have the corresponding signature. If it is

[android-developers] Re: Unable to simulate network delay/speed

2009-10-20 Thread kllrnohj
I'm developing against Android 1.5 (SDK 3), but it happens on both a 1.5 and 1.6 AVD in the emulator. I'm using the latest 1.6 r1 SDK. emulator -version reports version 1.11 (build_id DRC65-12945) On Oct 20, 3:07 pm, David Turner di...@android.com wrote: Sounds like a bug. Which exact version

[android-developers] Re: Unable to simulate network delay/speed

2009-10-20 Thread kllrnohj
I forgot to mention this is on Windows Vista On Oct 20, 3:07 pm, David Turner di...@android.com wrote: Sounds like a bug. Which exact version of the SDK are you using, and on which platform? On Tue, Oct 20, 2009 at 1:17 PM, kllrnohj kllrn...@gmail.com wrote: That's the thing, I'm not

[android-developers] Re: Preference screen for IME

2009-10-20 Thread Spektor Yaron
to answer my own question from Aug 28th: if you put this code in the method.xml you should have the settings screen up and running in no time, you should of course define the Prefs Activity in the Manifest.xml input-method xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: Layout with all cells the same size

2009-10-20 Thread Tom Gibara
It's interesting how intuitions vary :) It seems immediate to me, it's a consequence of the fact that views don't exceed their fixed dimensions and weightings mop-up free space. Tom. 2009/10/20 David Given d...@cowlark.com -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Gibara wrote:

[android-developers] Re: Memory leak or feature

2009-10-20 Thread Dianne Hackborn
I am pretty sure the standard music app doesn't leak, so I wonder if you are somehow measuring things incorrectly. On Fri, Oct 16, 2009 at 2:11 AM, Mika mika.ristim...@tkk.fi wrote: Hi Dianne, This is what I assumed also. Do you have any ideas where the leak could be in the sample app that

[android-developers] How do I know when my view will be displayed?

2009-10-20 Thread junker37
I have a HorizontalScrollView, with a horizontal LinearLayout that contains my different Views. I want to know when the particular view is coming onto the screen so I can download an image for the view. So, when my HorizontalScrollView first loads, the first view is viewable, if the user

[android-developers] Re: adding and reading new attributes from/to a declare-styleable

2009-10-20 Thread Spektor Yaron
answering my own question again here: the problem below was because the parse was no longer on the Keyboard tag but was on one of the key tags it could not look back a the values defined by the keyboard. once i got that and moved the code to a place where the keyboard is parsed it started working.

[android-developers] Re: Memory leak or feature

2009-10-20 Thread Lance Nanek
If you just need the activity cleaned up immediately for testing purposes then there is an app on the emulator called Dev Tools that might help. Run the app, choose the Development Settings option, then check the Immediately destroy activities option. On Oct 20, 4:23 pm, jotobjects

[android-developers] HTC Hero, DDMS, and screen captures?

2009-10-20 Thread Mark Murphy
Anyone out there have a Hero and a copy of DDMS handy? Can you get screen captures to work? I can't seem to get my Hero to serve up screenshots to DDMS from Android 1.6. My G1 (Android 1.6) and Ion (Android 1.5) work fine, but the Hero just gives me a Screen not available error message. It

[android-developers] ListViews in tabs

2009-10-20 Thread Jason Proctor
Nope. I have an application that has four ListViews in four tabs on its main activity. *something* seems different. i can swap out the ListViews for other kinds of view, and everything looks fine. switch back to a ListView, and boom. Your ListViews then are not children of your FrameLayout,

[android-developers] the if_nameindex is missing

2009-10-20 Thread Debbie
Hi, I'm porting a linux (FC9) user space application to Android. The original code uses if_nameindex() which lists out all the network interfaces and their indices. the data structure struct if_nameindex and function prototype if_nameindex() are defined in /usr/include/net/ if.h. However, these

[android-developers] MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread sirdan
In 1.6 I do the following to stream an mp3 shoutcast stream: MediaPlayer mp = new MediaPlayer(); try { mp.setDataSource(http://xxx.net/my.mp3;); mp.prepare(); } catch(Exception ex) { alert(ex.getMessage());

[android-developers] Very urgent

2009-10-20 Thread IPEG Student
Hello can any body tell me how can i delete this string. I have used this coding. temp = temp1.replace(temp1.substring(temp1.indexOf(Address2= ),temp1.indexOf(Address2=) + temp1.indexOf(; )), ); //*temp* = temp1. //*temp* =

[android-developers] Re: HTC Hero, DDMS, and screen captures?

2009-10-20 Thread Xavier Ducrohet
The current DDMS only expect screenshorts coming from 16bit (565) framebuffers. It's possible some of those devices use a different format and either disabled the feature in adbd (device-side) or didn't but don't send the format in a way that DDMS doesn't understand. Xav On Tue, Oct 20, 2009 at

[android-developers] Re: HTC Hero, DDMS, and screen captures?

2009-10-20 Thread Mark Murphy
Xavier Ducrohet wrote: The current DDMS only expect screenshorts coming from 16bit (565) framebuffers. It's possible some of those devices use a different format and either disabled the feature in adbd (device-side) or didn't but don't send the format in a way that DDMS doesn't understand.

[android-developers] Re: Just beginning

2009-10-20 Thread kevin.hooke
you need an Android phone, like the G1 or myTouch3g, or one of the other upcoming Android phones coming later this year. On Oct 20, 11:37 am, Kate katerave...@gmail.com wrote: Currently I have a tmobile behold, and I am replused by the operating touch wiz system.  What do i need to do to get

[android-developers] Re: MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread Marco Nelissen
On Tue, Oct 20, 2009 at 12:08 PM, sirdan sirda...@gmail.com wrote: In 1.6 I do the following to stream an mp3 shoutcast stream:        MediaPlayer mp = new MediaPlayer();        try {                mp.setDataSource(http://xxx.net/my.mp3;);                mp.prepare();        }        

[android-developers] ProximityAlert problem

2009-10-20 Thread Stefan
hello, i am developing a navigation software. I read some gps points out of a gpx file. Now i want to know, if i am near a gps point (for example 50m). So i use the addProximityAlert function. My problem is the order. I start with the first gps point, so i only want to know, if i am near the

[android-developers] Re: MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread Moto
Wait with android 1.6 now you can stream progressively? If yes than can we also stream AAC+ content? On Oct 20, 6:58 pm, Marco Nelissen marc...@android.com wrote: On Tue, Oct 20, 2009 at 12:08 PM, sirdan sirda...@gmail.com wrote: In 1.6 I do the following to stream an mp3 shoutcast stream:

[android-developers] ListViews in tabs

2009-10-20 Thread Jason Proctor
well the solution was to leave the TabHost to its own devices. in a somewhat weird departure from usual Android layout habits, i made everything inside the TabHost fill_parent, then just balanced the weight of the TabHost against other top-level elements in the layout. does layout_weight not

[android-developers] ListViews in tabs

2009-10-20 Thread Jason Proctor
i take it back. the real fix was adding paddingTop=62px to the FrameLayout. is this what makes the room for the TabWidget? feels a little odd... -- jason.vp.engineering.particle --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Mutex issues.. :(

2009-10-20 Thread Moto
Could someone point me to the right place? Here is the pseudo code: Mutex mx = new Mutex(); public void TurnLightsOff() { if (mx.aquire(ID_1) == false) { // run some code mx.release(); } } public void TurnLightsOn() { if (mx.aquire(ID_2) == false) { // run some code

[android-developers] Re: ListViews in tabs

2009-10-20 Thread Mark Murphy
Jason Proctor wrote: i take it back. the real fix was adding paddingTop=62px to the FrameLayout. is this what makes the room for the TabWidget? feels a little odd... It is what I got working way back when, though I think 65px may be a better height, and I have not yet tested the theory on

[android-developers] Re: MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread Marco Nelissen
I'm not sure how you jumped to that conclusion. progressive streaming has worked since 1.0, for some specific media formats. progressive streaming is not the same as shoutcast streaming though. On Tue, Oct 20, 2009 at 4:13 PM, Moto medicalsou...@gmail.com wrote: Wait with android 1.6 now you

[android-developers] Re: MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread Moto
lol well I guess the first person that posted maid me believe such was possible.. grgrgr! lol.. Well I'll stick to my old methods... Chears! On Oct 20, 7:43 pm, Marco Nelissen marc...@android.com wrote: I'm not sure how you jumped to that conclusion. progressive streaming has worked since

[android-developers] Market style buttons

2009-10-20 Thread DavidG
Is there any documentation that explains how to create buttons in the style of the new market app on the top of the screen? I'm not sure if they're actually buttons or tabs, but I want to recreate that button style in my app (flat gradient buttons that dynamically fill the entire height/width

[android-developers] Re: How to add external static libraries to Android.mk?

2009-10-20 Thread Dimitris
I have the exact same problem and error message. Can someone describe the difference between STATIC and SHARED library? Please help! On Sep 24, 11:00 pm, mmj may.mari...@gmail.com wrote: Anyone who knows the reason please help.It is very urgent. Please be kind enough to share your insights!!!

[android-developers] Re: Market style buttons

2009-10-20 Thread Mark Murphy
DavidG wrote: Is there any documentation that explains how to create buttons in the style of the new market app on the top of the screen? Step #1: Create GradientDrawables with the gradients you want for the various states (normal, pressed, etc.), perhaps through shape XML drawable files.

[android-developers] Floating Point Support -- Determine at runtime?

2009-10-20 Thread joelt
Is there a way to determine if the system supports floating point? That way, I could choose between two algorithms to use. Joel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread sirdan
Marco, thanks for the info. By level 3, I meant API Level 3. If android doesn't support it natively in 1.5, does anyone know if there is code available to do it? On Oct 20, 6:58 pm, Marco Nelissen marc...@android.com wrote: On Tue, Oct 20, 2009 at 12:08 PM, sirdan sirda...@gmail.com wrote:

[android-developers] MapView.postInvalidate() triggers redundant call to onDraw()?

2009-10-20 Thread JP
While optimizing code I found that, somehow inherently, a single call to com.google.android.maps.MapView.postInvalidate() triggers two calls to com.google.android.maps.onDraw(), within a single event cycle. This of course noticeable slows down Overlays that display a lot of elements on a MapView,

[android-developers] Android search in pictures (Informational post)

2009-10-20 Thread Satya Komatineni
As I have been looking into the android quick search box, here is a series of pictures that digs into the nature of the new Android Search. http://www.satyakomatineni.com/akc/display?url=DisplayNoteIMPURLreportId=3325ownerUserId=satya These pictures should be helpful as you read through the

[android-developers] Re: Very urgent

2009-10-20 Thread kevin.hooke
If you tell us a bit more about what you're trying to do then someone might be able to help you? On Oct 20, 2:50 pm, IPEG Student ipeg.stud...@gmail.com wrote: Hello      can any body tell me how can i delete this string. I have used this coding. temp =

[android-developers] Photostream app: BitmapFactory decodeByteArray() vs decodeStream()

2009-10-20 Thread kevin.hooke
I've been trying to use BitmapFactory decodeStream() to load jpegs from Flickr. This code works in the emulator but returns null when run on my MyTouch3g: URL url = new URL(sourceUrl); URLConnection conn = url.openConnection(); conn.connect(); InputStream is = conn.getInputStream();

[android-developers] youtube API

2009-10-20 Thread tstanly
hi all, is there have youtube API or lib (like jar file) in the Android? I hope that can write a app like youtube on the htc mobile phone, such that I can search video, and return the video information (snapshot,video length,shard author..etc) can somebody give me some suggestion? thanks!

[android-developers] Re: Very urgent

2009-10-20 Thread Disconnect
Something generally called homework I suspect. On Tue, Oct 20, 2009 at 10:15 PM, kevin.hooke kevin.ho...@gmail.com wrote: If you tell us a bit more about what you're trying to do then someone might be able to help you? On Oct 20, 2:50 pm, IPEG Student ipeg.stud...@gmail.com wrote: Hello  

[android-developers] Re: Can WindowManagerService be replaced?

2009-10-20 Thread Westermann Fu
Thanks for reply. Now I have a requirement that seems need breaking the normal workflow of drawing--compose strategy. As I know, each window(ViewRoot) itself draw its whole view hierarchy to the surface(unlockCanvasAndPost()) actually allocated by WindowManagerService. Then the

[android-developers] Re: How to get unique handset device id?

2009-10-20 Thread zhen guo
why not imsi? On Wed, Oct 21, 2009 at 4:55 AM, Wayne Wenthin wa...@fuligin.com wrote: wow replying to myself... So as I was reading other posts here I came across an idea. We (well I am) are talking about the ANDROID_ID as if it were a MAC. I haven't looked but if the phone supports

[android-developers] Re: MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread Marco Nelissen
You could rig something up with your local http server that runs on the phone and processes the incoming data before passing it on the player, but why bother? The vast majority of devices runs 1.6 now. On Tue, Oct 20, 2009 at 6:16 PM, sirdan sirda...@gmail.com wrote: Marco, thanks for the

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-20 Thread Jayesh Salvi
Thanks Shane and Amir for confirming the doubts. It's frustrating that all I can say to users is to wait until Sprint/HTC issues firmware update, then hopefully the problem will be fixed. The users are willing to test if I have any fix, but I can't find root cause even after looking inside the

[android-developers] Re: the if_nameindex is missing

2009-10-20 Thread Marco Nelissen
Since you're asking about native code development, you might want to ask your question on the Android NDK group. On Tue, Oct 20, 2009 at 12:01 PM, Debbie debbi...@gmail.com wrote: Hi, I'm porting a linux (FC9) user space application to Android. The original code uses if_nameindex() which

[android-developers] Re: How to get unique handset device id?

2009-10-20 Thread String
On Oct 21, 4:46 am, zhen guo mguoz...@gmail.com wrote: why not imsi? 1. IMSI is tied to subscriber, not handset. There's definitely a difference for SIM-card based phones, and likely to be one for non-SIM phones also. 2. Like IMEI, it's not clear if non-phone devices (like the Archos 5) will

<    1   2   3   >