[android-developers] Android MediaPlayer cannot play VoD stream from VLC server

2011-01-17 Thread Charlie
Hi all, Recently I am developing VoD application on Android. I use VLC as the VoD server. I succeed in creating VoD stream with telnet interface. Now the problem is my MediaPlayer class in Android cannot play this VoD stream created. Then I try to use VLC to pick the stream and it works. Does

Re: [android-developers] Does Android provide API to enable my IME

2011-01-17 Thread Dianne Hackborn
No, the whole point is the user must explicitly decide they want to enable the IME, with the associated warning to them. On Sun, Jan 16, 2011 at 9:03 PM, xeagle xeagle...@gmail.com wrote: Hi, I'd like my IME is enabled when settings of my IME is launched so that user do not need go to

[android-developers] New mailing list for Android Audio Developers

2011-01-17 Thread Olivier Guilyardi
Hi everyone! I am glad to announce the creation of the andraudio mailing list, dedicated to audio development on Android, at: andrau...@music.columbia.edu More info and subscribing: http://music.columbia.edu/mailman/listinfo/andraudio This list is meant to be a place to discuss about audio

[android-developers] Will no longer support Android 1.5

2011-01-17 Thread Zsolt Vasvari
I just warned my users that support for Android 1.5 will go away after April 1st. The share of 1.5 is 5% now and dropping. Between not supporting multiple resolutions, wonky RelativeLayout and old style Contacts provider, it's time to say goodbye to 1.5. Would love to hear people's opinion on

[android-developers] ConcurrentModificationException from Handler

2011-01-17 Thread AC
I have an application with a service that downloads a set of job data from a remote web service. It uses this data to update a static HashMap of Job objects: public static HashMapString, Object jobs = new HashMapString, Object(); When it's finished, it sends a message to a handler in

[android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread AC
Perhaps I'm sending the message from the service to the activity incorrectly, and syncMarkers() ends up getting called from the service's thread? If so, would anyone have any advice on the correct way to send the message? -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread Kumar Bibek
This exception generally occurs, if you are iterating through it and changing it simultaneously. *Note that this implementation is not synchronized.* If multiple threads access this map concurrently, and at least one of the threads modifies the map structurally, it *must* be synchronized

Re: [android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread Kostya Vasilyev
First, a link to docs: http://download.oracle.com/javase/1.4.2/docs/api/java/util/ConcurrentModificationException.html I can see several possible causes for this, and you should get a more detailed stack trace (more than inside syncMarkers): 1 - You have two threads concurrently accessing the

[android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread AC
I'm afraid that didn't help. I now have: public class MapViewActivity extends MapActivity { private static MapString, Object markers = Collections.synchronizedMap( new HashMapString, Object() ); and the problem still occurs. -- You received this message because you are subscribed to the

Re: [android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread Kumar Bibek
There might be other reasons to the problem. Kostya has mentioned all the details regarding the exception. :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Jan 17, 2011 at 2:32 PM, AC alistair.cunning...@gmail.com wrote: I'm afraid that didn't help. I now have:

[android-developers] Re: ThreadSafeConnectionManager timeout...

2011-01-17 Thread lou
Again some news.In order to be understanding, I'll explain again my problem ( and my idea of why this timeout appears ). My application contains a service witch connects a websocket ( socket on port 80 ) and waits push notification. Activities needs to send some HTTP request. So I think I have to

Re: [android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread Kostya Vasilyev
Well, I don't know if that covered *all* the possibilities, but that's a place to start :) 2011/1/17 Kumar Bibek coomar@gmail.com There might be other reasons to the problem. Kostya has mentioned all the details regarding the exception. :) Kumar Bibek http://techdroid.kbeanie.com

[android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread AC
On Jan 17, 5:00 pm, Kostya Vasilyev kmans...@gmail.com wrote: 2 - As described in the link above, code that is trying to remove elements from a collection while iterating, for example: for (Item i : myHashMap.values()) {    if (some condition) {       myHashMap.remove(i.key);    } }

[android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread AC
After changing to iterator.remove() rather than removing from the Map, the problem went away. 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

[android-developers] Re: How to copy contacts in phone to another account ?

2011-01-17 Thread Jens
When your SyncAdapter is initialized by the system you should get a flag in the Bundle you receive from the SyncManager. http://developer.android.com/reference/android/content/ContentResolver.html#SYNC_EXTRAS_INITIALIZE So if this flag is present, copy the contacts to your account. On 17 Jan,

Re: [android-developers] Re: ConcurrentModificationException from Handler

2011-01-17 Thread Kostya Vasilyev
Cool. I would also recommend that you change your code to send new data in the message, like I described above. If your netwoking code runs on a separate thread - which it should be - then that global is like a dog waiting to bite you when you least expect. -- Kostya 2011/1/17 AC

Re: [android-developers] Will no longer support Android 1.5

2011-01-17 Thread Kostya Vasilyev
I'd say - good riddance! 2011/1/17 Zsolt Vasvari zvasv...@gmail.com I just warned my users that support for Android 1.5 will go away after April 1st. The share of 1.5 is 5% now and dropping. Between not supporting multiple resolutions, wonky RelativeLayout and old style Contacts provider,

Re: [android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-17 Thread Kostya Vasilyev
2011/1/17 ko5tik kpriblo...@yahoo.com INS also requires gyroscopes. But quality of those sensors lies far below ones utilised in ICBMs in 60s Good thing their weight, size, and power consumption are also far below the ICMB ones :) Kumar Bibek coomar@gmail.com Ah, I forgot, the

[android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread DraganA
I'm not your app user, but I'm curious about this situation. Will 1.5 users be able to download your current app version in the future or will it just dissappear? I always wondered about what happens when one decides to stop supporting old Android versions. It would be good if a version for 1.5

[android-developers] Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
Hi all, Is there a way to force the application not keep running after close it? When the user closes de applications, it always is running memory. Is it possible to define some at the manifest to force the app to be removed from the memory? I was trying to find out some parameter at the

[android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Zsolt Vasvari
That's a good point. Current 1.5 users would still need to be redownload the app for whatever reason. I might release a version for Android 1.5 users only and never update it. On Jan 17, 6:00 pm, DraganA dand...@gmail.com wrote: I'm not your app user, but I'm curious about this situation. Will

Re: [android-developers] Is there a way to force the application not keep running after close it?

2011-01-17 Thread Kumar Bibek
Why would you try to do that? The OS would get rid of it whenever it feels necessary. ie, whenever, the device runs low on memory. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Jan 17, 2011 at 4:22 PM, Sergio Luceno slucen...@gmail.com wrote: Hi all, Is there a

[android-developers] Best way to schedule a task?

2011-01-17 Thread Sergio Luceno
Hi! My application has to be syncronized every 5 minutes against a server. I have to schedule a HTTP call to my server to get sync. What is the best way to achieve that? Now I tried to make a timer with a handler. I'm passing a message every 5 minutes to execute my action. Thanks in advance.

[android-developers] Resized Widgets

2011-01-17 Thread keyboardr
Does anyone know how to allow your appwidget to account for being resized (a la LauncherPro or ADW)? My widget already dynamically figures out how many of an item to draw based on the size of the widget (meaning I can have multiple providerInfos without having to change the provider), but

[android-developers] Re: webview inside the dialogbox.

2011-01-17 Thread Kumar Bibek
Well, Given an option, I would stay away from a WebView when the same functionality can be achieved by using a TextView. But again, if you really have to use it, then, the last reply from Joe should help you. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] How to display....?

2011-01-17 Thread Abhilash baddam
Thanks murphy, The link what you have sent is very useful for me. On Thu, Jan 13, 2011 at 7:13 PM, Mark Murphy mmur...@commonsware.comwrote: Use an ItemizedOverlay and publish multiple OverlayItems: https://github.com/commonsguy/cw-android/tree/master/Maps/NooYawk

Re: [android-developers] Is it possible to upload?

2011-01-17 Thread Abhilash baddam
Any help in this issue... On Thu, Jan 13, 2011 at 12:30 PM, Kumar Bibek coomar@gmail.com wrote: You can use Java if you want, else, use the normal HTTP Get Post requests mentioned there. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Jan 13, 2011 at 12:29

Re: [android-developers] Best way to schedule a task?

2011-01-17 Thread Kostya Vasilyev
Sergio, A Handler only works for as long as your process is alive, which may not be a good thing. Use AlarmManager for scheduling - it can wake the phone up (if you need this) and will reload the process if it was kicked out of memory. For the actual updates, take a look at IntentService (part

[android-developers] Any other forums..?

2011-01-17 Thread Abhilash baddam
Hi friends, can anyone send me the links(like forums etc) where we can post our queries regarding the android issues apart from this one. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Any other forums..?

2011-01-17 Thread Kumar Bibek
Try StackOverflow.com Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Jan 17, 2011 at 4:35 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi friends, can anyone send me the links(like forums etc) where we can post our queries

Re: [android-developers] Resized Widgets

2011-01-17 Thread Kostya Vasilyev
I believe minWidth comes from the widget_info.xml in your package, so it's not very useful to the widget's own code. As for different widget sizes with different displays and launchers - *sigh*. 2011/1/17 keyboardr keyboa...@gmail.com Does anyone know how to allow your appwidget to account for

Re: [android-developers] Is it possible to upload?

2011-01-17 Thread Kumar Bibek
What's the issue here? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Jan 17, 2011 at 4:31 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Any help in this issue... On Thu, Jan 13, 2011 at 12:30 PM, Kumar Bibek coomar@gmail.comwrote: You can

[android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
I wanna do that, because I have a task running on background. And i wanna stop it when the application is closed. This task is doing http calls every X minutes to sync the application data over internet. Also, android OS keep the state of the application and open it at the last activity where the

[android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
I wanna do that, because I have a task running on background. And i wanna stop it when the application is closed. This task is doing http calls every X minutes to sync the application data over internet. Also, android OS keep the state of the application and open it at the last activity where the

[android-developers] Re: Best way to schedule a task?

2011-01-17 Thread Sergio Luceno
thanks Kostya, I don't know if I explained well what i wanna mean when i say sync the app. What i try to have sync is the data of the application. I mean, the user can modify his data through movile device, or accessing via web, in the future maybe through facebook, etc. So i think is quite

Re: [android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Kostya Vasilyev
Sergio, To stop the background task - stop the background task. It's your own code, so it's under your control. The framework tells you when things happen via activity state callbacks (onPause / onResume), you just need to do the right thing with them. For your second issue:

Re: [android-developers] Re: Best way to schedule a task?

2011-01-17 Thread Kostya Vasilyev
Oh, I see. You might not need a service or alarms then - a Handler with postAtTime() should do the trick. Since you'll be doing networking, make you do it from a background thread, so as to not block the application's UI. Android provides a class that makes this easy: AsyncTask. -- Kostya

[android-developers] Surfaceflinger die during upgradation

2011-01-17 Thread lavanya
Hi, Surfaceflinger dies during upgradation. Can anyone please help me in fixing this issue? the logs for the same has been given below. 6[2.837854] init: service_start service = ueventd 6[2.837878] init: service_start service = servicemanager 5[2.856944] init: starting

Re: [android-developers] Surfaceflinger die during upgradation

2011-01-17 Thread Kostya Vasilyev
Wrong group. Try this one: http://groups.google.com/group/android-platform 2011/1/17 lavanya lavavis...@gmail.com Hi, Surfaceflinger dies during upgradation. Can anyone please help me in fixing this issue? the logs for the same has been given below. 6[2.837854] init: service_start

[android-developers] Converting screen coordinates to world coordinates?

2011-01-17 Thread prachi
Hi Im developing an augmented reality application where in I need to perform the opposite of converting world coordinates to screen coordinates I have the screen x,y value and i need to fetch the corresponding world coordinates(x,y,z) for the same. Ny idea how to do dis??? -- You received

[android-developers] Re: Version code being displayed instead of Version Name in Samsung Galaxy S - GT I9000 device?

2011-01-17 Thread Stephan Wiesner
Here is what I get for two phones: phone_model android_version board brand device model product Orange San Francisco2.1-update1 blade ZTE blade Orange San Francisco P729B_ORANGE_CH GT-I90002.2 GT-I9000samsung GT-I9000GT-I9000

[android-developers] Big problems with bitmaps, memory management, Log.d

2011-01-17 Thread Matthew Fleming
Hi, I posted earlier about my need to find a way to load a mutable bitmap. I need to be able to load a bitmap from an input stream, annotate it, and save it. At present, the only thing I seem to be able to do is load an immutable bitmap, copy it, annotate the copy, and then save that. THIS IS NOT

[android-developers] Re: Progress Bar without a dialog box

2011-01-17 Thread Mike dg
What about making an activity exclusively for displaying the progress dialog? It sounds like you have no desire to allow the user to do anything during the fetch process, which I'm against but this would work. You can do XML for the new activity layout. On Jan 16, 11:53 pm, TreKing

[android-developers] Re: Best way to schedule a task?

2011-01-17 Thread Sergio Luceno
Ohh thanks, i thought that Timer + Handler will open a new thread instead of be on the main UI thread. So, i can combine a timer + handler + AsyncTask, right? If I understood I think is what you said. Thanks Kostya! On 17 ene, 12:27, Kostya Vasilyev kmans...@gmail.com wrote: Oh, I see. You

Re: [android-developers] Re: Progress Bar without a dialog box

2011-01-17 Thread Kostya Vasilyev
You can put progress indicators into the winow title. This describes a progress bar that goes from 0 to full: http://developer.android.com/guide/appendix/faq/commontasks.html#progressbar It's also possible to show an indeterminate progress bar, or a progress wheel. You can also overlay a

[android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread String
For my own apps, I don't have a problem supporting 1.5, and I figure that an extra 5% is nothing to sneeze at. But then, I've yet to run into anything that was really problematic for me to support on 1.5. Some of the resource handling is kind of annoying, but not really a big deal. If I had

Re: [android-developers] Re: Best way to schedule a task?

2011-01-17 Thread Kostya Vasilyev
Sergio, 2011/1/17 Sergio Luceno slucen...@gmail.com Ohh thanks, i thought that Timer + Handler will open a new thread instead of be on the main UI thread. Java Timer does, so I don't recommend anyone use it on Android. Use an Android Handler and its postDelayed() - this calls your Runnable

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-17 Thread DanH
I think that by then you will be passing cell towers fast enough that you can use that reference. Or detect the color shift in a flash picture. On Jan 17, 12:05 am, metal mikey coref...@gmail.com wrote: Will this still work as the car approaches and quite potentially breaches the speed of

[android-developers] startNativeTracing cause segmantation fault

2011-01-17 Thread blackbelt
as stands in the topic, calling Debug.startNativeTracing() cause an seg fault. Emulator was started as emulator -verbose -trace profile -avd lakes -sdcard lakes.iso. Any way to get more information about? thanks in advance. -- You received this message because you are subscribed to the Google

[android-developers] Looking for a theme developer

2011-01-17 Thread doronguy
Hello All, I'm looking for a freelance theme developer on android platform ? Please send me email to : g...@moblers.com Thanx, Guy. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-17 Thread Kostya Vasilyev
A phone with a camera can used to take pictures of the car's speedometer. Not very precise (since car speedometers typically lie by a few mph/kph), but keeps date and time with the image for later reference. If your car's speedometer is broken, and you see someone you know driving in the next

[android-developers] Re: GPS turned on automatically on some devices?

2011-01-17 Thread Spiral123
I seem to remember having a similar problem. Does your Map app display the Users current location at any point? If yes, try calling MyLocationOverlay.enableMyLocation() to start updates in your MapView's onResume() and MyLocationOverlay.disableMyLocation() to stop in the onPause() and see if

Re: [android-developers] Any other forums..?

2011-01-17 Thread TreKing
On Mon, Jan 17, 2011 at 5:05 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: can anyone send me the links(like forums etc) where we can post our queries regarding the android issues apart from this one. http://www.google.com/ http://www.google.com/No, seriously.

Re: [android-developers] Converting screen coordinates to world coordinates?

2011-01-17 Thread TreKing
On Mon, Jan 17, 2011 at 5:54 AM, prachi prachi.tya...@wipro.com wrote: I have the screen x,y value and i need to fetch the corresponding world coordinates(x,y,z) for the same. Technically speaking, there is no corresponding [X, Y, Z] for a given [X, Y]. Converted to 3D, a 2D point becomes a

Re: [android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread TreKing
On Mon, Jan 17, 2011 at 7:07 AM, String sterling.ud...@googlemail.comwrote: For my own apps, I don't have a problem supporting 1.5, and I figure that an extra 5% is nothing to sneeze at. But then, I've yet to run into anything that was really problematic for me to support on 1.5. Some of the

[android-developers] Re: How best to query web repeatedly.

2011-01-17 Thread cellurl
The data is speed limit signs. I think its time I switch to a local copy like Jonathan said. I noticed there are tons of sort routines, so I probably don't need sqlite... Thanks guys! cellurl On Jan 15, 2:47 am, Jonathan Foley jonefo...@gmail.com wrote: Why don't you pull down data ahead of

Re: [android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Stephen Jungels
I've been tempted to drop 1.5, partly because it tends to be installed on low-end devices where people will not have a very good experience of my app, but recently my percentage of 1.5 users has gone up instead of down on some apps. There's a big difference between dropping (loyal) 1.5 users and

[android-developers] How can we use..?

2011-01-17 Thread Abhilash baddam
Hi, I want to use *bing search *in my application how can i use that...any help please..? -- 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

[android-developers] When NOT to update AppWidget from a Service

2011-01-17 Thread Henrik Lindqvist
My AppWidgets are updated by a Service at user-defined intervals or when certain intents occur. To save battery, I only update the AppWidgets when the screen is on (SCREEN_ON). Is there any other way to stop updating AppWidgets unnecessarily? Only when the home screen is visible? Only when a

Re: [android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Kevin Duffey
Is there a site that shows the number of users for each version? I'd rather target 2.2+ now.. just because its the version that brought in a big speed boost, making a lot more apps much smoother. I still have the Droid 1 and I thought that was one of the lower end devices out there? Being that

Re: [android-developers] How can we use..?

2011-01-17 Thread TreKing
On Mon, Jan 17, 2011 at 8:58 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: I want to use *bing search *in my application how can i use that...any help please..? Anytime you want to use some web site or service in your app, just search for [thing I care about] api. Try it.

Re: [android-developers] When NOT to update AppWidget from a Service

2011-01-17 Thread Kostya Vasilyev
Henrik, SCREEN_OFF is usually followed by the device entering sleep mode, so that issue pretty much takes care of itself. Checking for the current virtual home screen, and currently active home app among several possibly installed doesn't really fit the widget programming model - it's more a

Re: [android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Laks
Is this what you are looking for? http://developer.android.com/resources/dashboard/platform-versions.html -- 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

Re: [android-developers] Re: How best to query web repeatedly.

2011-01-17 Thread Kevin Duffey
Alright.. little confused Speed limit signs? Every 50 meters a driver passes one? Or you're trying to pull down speed limit data to let the user know what speed they are supposed to be traveling (and thus if they are going over the speed limit)? Like others said.. is there some way you can pull

Re: [android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Kostya Vasilyev
I recently ran into some 1.5 issues with my widgets that were caused by a certain quite popular phone that still runs 1.5 ignoring @dimen values. So supporting 1.5, understood as some kind of pure Platonic form, is no problem at all, but dealing with bugs in particular firmware versions is not

Re: [android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Kostya Vasilyev
Not absolute numbers, but rather percentages, can be seen here: http://developer.android.com/resources/dashboard/platform-versions.html -- Kostya 2011/1/17 Kevin Duffey andjar...@gmail.com Is there a site that shows the number of users for each version? I'd rather target 2.2+ now.. just

Re: [android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Kevin Duffey
Indeed. Good info to have. So looks like 2.1+ is the target. On Mon, Jan 17, 2011 at 7:19 AM, Laks laks.pendy...@gmail.com wrote: Is this what you are looking for? http://developer.android.com/resources/dashboard/platform-versions.html -- You received this message because you are

[android-developers] Re: When NOT to update AppWidget from a Service

2011-01-17 Thread Henrik Lindqvist
On Jan 17, 4:17 pm, Kostya Vasilyev kmans...@gmail.com wrote: Henrik, SCREEN_OFF is usually followed by the device entering sleep mode, so that issue pretty much takes care of itself. I stop updating on SCREEN_OFF, the start again on SCREEN_ON. This saves alot, but I was wondering if I can

[android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Brill Pappin
I started development during 2.1 so i never went there. I'm moving all new code up to minimum 2.2 because thats were 60% of my customer base is. That said, I'll support the one app I have thats 2.1 for as long as I have greater than 10% users. On that note. It's bogus that the Market doesn't give

Re: [android-developers] Is it possible to upload?

2011-01-17 Thread Kevin Duffey
Abhilash, I think what Kumar is suggesting is you do more than just ask someone on the forum to do it for you. There are some things that are probably not good for a beginner java developer who is also learning java to try to do initially. Hence, dig in, read, learn. As he said, the java APIs..

[android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Brill Pappin
Its shameful, but the Market doesn't give us any useful data on that (which makes giving quality product a problem). I got my data through AppBrain, but its certainly not ideal. There is a lib for Google Analytic, but I looks a bit chunky, so I haven't tried to use it yet. - Brill Pappin On Jan

[android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
Hi! I tried to set up the setting finishOnTaskLaunch to true at all my activities... but when I click home and then open my app again, it didn't start at the main activity, it start at the same activity that was running when i clicked the home button... On 17 ene, 12:23, Kostya Vasilyev

[android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Brill Pappin
Thats fine, but doesn't give you any stats on your own app, which is very important for maintaining customer loyalty. We intend to make the company a truste name (not just the apps) in the market with quality product, so we really want to know what *our* users are doing. - Brill Pappin On Jan

[android-developers] Using onItemSelected with conditionals

2011-01-17 Thread zizzfusion
Hello I'm trying to think of the best way of tackling this - I'm not using a database or inflating data dynamically so instead I just want to load a different activity depending on which Spinner selection is made. I'm in the early stages of working with Android so here's where I'm at: public

Re: [android-developers] Using onItemSelected with conditionals

2011-01-17 Thread TreKing
On Mon, Jan 17, 2011 at 9:35 AM, zizzfusion calumer...@gmail.com wrote: Would a conditional set of statements work something like this Sure, but you could simplify this to a switch statement: switch (pos) { case CONSTANT_FOR_SELECTION_0: launchActivityForSelection0(); break; // etc. } or

[android-developers] possible enhancement of Android SDK-NDK integration?

2011-01-17 Thread Ajay Prabandham
Dear community, I was browsing through the Android NDK info on the Android developers website, and found that currently only NDK ACTIVITY components can be invoked from SDK components. I an curious to know whether adding the capability to NDK Services and Content

Re: [android-developers] Does Android provide API to enable my IME

2011-01-17 Thread Brill Pappin
Yah, I've had a tone of trouble with my users not understanding how to enable to my IME's. I don't want to do it for them however. What would be good is a way to allow them to click buttons in my app to enable it. At the moment, I found that providing a launch app with installation

Re: [android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Kostya Vasilyev
It only needs to be set on your main activity, the one you want the user to come back to. And it's not finishTaskOnLaunch, it's clearTaskOnLaunch. -- Kostya 2011/1/17 Sergio Luceno slucen...@gmail.com Hi! I tried to set up the setting finishOnTaskLaunch to true at all my activities... but

Re: [android-developers] Re: Will no longer support Android 1.5

2011-01-17 Thread Stephen Jungels
My stats are from Google Analytics. If you use it and explain what you are doing in your terms of service or license agreement, you are likely to get at least a few comments from users who think you are spying on them, but in some cases it is worth it because you have a better picture of how your

[android-developers] Re: Anyone with GL experience willing to take a contract/bounty?

2011-01-17 Thread Brill Pappin
Really? Nobody is interested in this at all? - Brill Pappin Sixgreen Labs Inc. -- 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

Re: [android-developers] Re: Anyone with GL experience willing to take a contract/bounty?

2011-01-17 Thread TreKing
On Mon, Jan 17, 2011 at 9:52 AM, Brill Pappin br...@pappin.ca wrote: Really? Nobody is interested in this at all? Not surprised. People here probably have their own projects going on I get the impression that the knowledge pool for GL on Android is very small. Maybe try gamedev.net - great

[android-developers] native heap size and ddms

2011-01-17 Thread blackbelt
Hello there, I manage to active the native heap tab in ddms, but columns were not updated. So I set libc.debug.malloc to 1 and try to restart the emulator, but the reboot failded. Any suggestion in oreder to fix? thanks in advance. emanuele -- You received this message because you are

[android-developers] ListView ontouch effect

2011-01-17 Thread pedr0
See here! http://stackoverflow.com/questions/4715078/listview-issues 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@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: native heap size and ddms

2011-01-17 Thread pedr0
How did you set up the DDMS by DDMS? I tried but I have had a lot of issues!Could you explaine me the right procedure for do that? Thanks a lot. pedr0. On 17 Gen, 17:16, blackbelt emanuel...@gmail.com wrote: Hello there, I manage to active the native heap tab in ddms, but columns were not

[android-developers] Re: native heap size and ddms

2011-01-17 Thread blackbelt
I surely have the same issue too. Emulator does not restart.. any idea? -- 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] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
true, sorry i was using clearTaskOnLaunch. I tried to set this to true in the main activity... ando also in all activities. But it still not working. here is how i define my main activity. activity android:name=.Init android:label=@string/app_name

[android-developers] build error

2011-01-17 Thread peeyush varshney
dear All, i am getting below error while building gingerbread code. please help me. build/core/base_rules.mk:74: *** Module name: native-audio-jni build/core/base_rules.mk:75: *** Makefile location: Downloads/android-ndk-r5/samples/native-audio/jni build/core/base_rules.mk:76: *

[android-developers] Re: native heap size and ddms

2011-01-17 Thread pedr0
How did you set up the native heap tan in DDMS? I tried but I have had a lot of issues!Could you explaine me the right procedure for do that? Thanks a lot. pedr0. On 17 Gen, 17:21, pedr0 pulsarpie...@gmail.com wrote: How did you set up the DDMS by DDMS? I tried but I have had a lot of

[android-developers] Upgrade tablet to Android 2.2/2.3

2011-01-17 Thread Ido Ran
Hi, I would like to know if it is possible to upgrade a device that comes with Android 1.6 to Android 2.2 or 2.3. The device is on of the low price Android tablethttp://www.dealextreme.com/details.dx/sku.42070 in the price range of 100-170 USD. Thank you, Ido -- You received this message

[android-developers] Re: native heap size and ddms

2011-01-17 Thread blackbelt
just open .ddms.cnf file and append at the end native=true -- 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] WebApplication without browser chrome

2011-01-17 Thread Ido Ran
Hi, I want to run a web application on Android based tablet and have it full-screen without the browser chrome. Is it possible to do so out-of-the-box or do I have to write my own Android app for that? Also, inside that web-app I show YouTube video, will Android browser (chrome I guess) will

[android-developers] Re: native heap size and ddms

2011-01-17 Thread blackbelt
sorry I meant ddms.cfg -- 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+unsubscr...@googlegroups.com For

Re: [android-developers] WebApplication without browser chrome

2011-01-17 Thread TreKing
On Mon, Jan 17, 2011 at 10:29 AM, Ido Ran ido@gmail.com wrote: I want to run a web application on Android based tablet and have it full-screen without the browser chrome. Is it possible to do so out-of-the-box or do I have to write my own Android app for that? You will have to write

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-17 Thread DanH
Payload's less, too. On Jan 17, 3:54 am, Kostya Vasilyev kmans...@gmail.com wrote: 2011/1/17 ko5tik kpriblo...@yahoo.com INS also requires gyroscopes.  But quality of those sensors lies far below ones utilised in  ICBMs in 60s Good thing their weight, size, and power consumption are

Re: [android-developers] Re: Anyone with GL experience willing to take a contract/bounty?

2011-01-17 Thread Brill Pappin
Thanks, I'll give that a try. I'm not surprised the GL knowledge pool is small, its a whole different beast... which is exactly why we want to framework work done... it will let us accelerate our experimentation and maybe actually get something to market in the black rather than in the red :)

[android-developers] Window token is always null

2011-01-17 Thread APF
I find that View.getWindowToken() always returns null, even when invoked from the main Activity during onCreate. For example: TextView tv = new TextView(this); tv.setText(Hello, Android); setContentView(tv); tv.getWindowToken(); // will equal null Manually adding it to the window manager

[android-developers] Problem with large number of markers on google map

2011-01-17 Thread bobetko
I am working on an Android app that already exists on iPhone. In the app, there is a Map activity that has (I counted) around 800 markers in four groups marked by drawable in four different colors. Each group can be turned on or off. Information about markers I have inside List. I create a

[android-developers] Re: native heap size and ddms

2011-01-17 Thread pedr0
Where is that file? On 17 Gen, 17:31, blackbelt emanuel...@gmail.com wrote: sorry I meant ddms.cfg -- 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

Re: [android-developers] WebApplication without browser chrome

2011-01-17 Thread Ido Ran
I'm not saying without browser - I'm asking if it is possible to run web-app in full screen so the user will see only the application, not the chrome of the browser with back, forward, reload and other buttons. About the video let me ask it in different way: when I open youtube in Android

Re: [android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-17 Thread Kostya Vasilyev
If you're talking about Android phones, yes. But those melting iPhones can be pretty lethal :) 2011/1/17 DanH danhi...@ieee.org Payload's less, too. On Jan 17, 3:54 am, Kostya Vasilyev kmans...@gmail.com wrote: 2011/1/17 ko5tik kpriblo...@yahoo.com INS also requires

  1   2   3   >