[android-developers] Display routes dynamically on Map Application

2010-04-22 Thread SREEHARI
Hi All, I developed a map application with overlays. I am able to show current location also. I want to display dynamic routes from current location to different points(overlays). I have stored several points(geo coordiantes) using array. Should I use the graph data structure concepts

[android-developers] Random complete loss of database on Droid only

2010-04-22 Thread EboMike
Several Droid users have reported that my app's entire database just destroys itself randomly after a few days or so. This seems to be specific to the Droid. I'm at a loss. My app has a service that runs in the background to display notifications, it also supports widgets. Both of those (and the

[android-developers] Re: how to save a temporary file to /cache

2010-04-22 Thread paul2000
any idea about this issue? thanks! On Apr 21, 11:49 am, paul2000 hubao...@gmail.com wrote: Hi, I created an android application. This application calls C native library which requires save a temporary file to /cache. However the permission for /cache is  wrxwrx--- with uid=cache and

Re: [android-developers] Random complete loss of database on Droid only

2010-04-22 Thread Jonas Petersson
(long)time(!C); // ;-) EboMike wrote: Several Droid users have reported that my app's entire database just destroys itself randomly after a few days or so. This seems to be specific to the Droid. I'm at a loss. I have no real clue to offer, but I can say that my Milestone (which is pretty

[android-developers] Re: Will 900ms of calcs run faster in another thread?

2010-04-22 Thread Bob Kerns
Well, I've got you both beat on the old-timer stuff. How about writing interrupt handlers to set bits to indicate which hammers should fire to print characters at the current position of the print drum of an IBM 1132 printer? In assembler, on punch cards. Yeah, I've done the C and VMS thing, too.

[android-developers] Re: Random complete loss of database on Droid only

2010-04-22 Thread Chander Pechetty
Interesting, I had filed an issue earlier with my G1 crashing occasionally when playing bebbled; wonder if they are related ( to cosmic rays :-) http://code.google.com/p/android/issues/detail?id=6478 There is a lengthy discussion on loss of database at

[android-developers] Re: Issues with character encoding please help?

2010-04-22 Thread Bob Kerns
No, it's just that I've already told everyone else on the planet (it seems) not to do this! I've been crusading on this for decades... :=) Do not ever use the String(byte[]) constructor. Do not ever pass up an opportunity to explicitly supply a character encoding. Always use UTF-8 when you have

[android-developers] Flash support on android

2010-04-22 Thread veradis
Hi, Can SWF files be played on android 1.5 emulator/phone. My req. is to load an SWF in app. can this be done. Also how will the SWF be played on webview. I am not able to install flashlite on the emulator. SWF is created with Flex SDK version 3.0. Please help me on this. Thanks Veradis --

[android-developers] Re: Load CSS Styles in a Textview

2010-04-22 Thread patbenatar
To answer your question, nope. Html.fromHtml() is exactly that: HTML. Some sort of HtmlAndCss.fromMarkup() or something would be really useful for lazy UI designers but you need to keep in mind that using things like HTML and CSS in a application built for a certain set of devices running a

[android-developers] Re: How many Android phones have touchscreens?

2010-04-22 Thread patbenatar
Well said. I tried navigating the Maps app without touch and its useless. Panning the map is nice and all, but without touch I wasn't able to select a pin. I think if the official Google Maps app doesn't currently support it, there's no reason for us third-party devs to be going out of our way to

[android-developers] Re: Load CSS Styles in a Textview

2010-04-22 Thread patbenatar
Oh, also: there is the WebView option, although I don't like advocating this--again, not native. For example the DropBox application--I downloaded and installed it and finally launched it to see a WebView: WTF? I could have quickly gone to dropbox.com in Browser for this. On Apr 22, 12:18 am,

[android-developers] Re: 14-year-old Android Developer:

2010-04-22 Thread patbenatar
Congrats to your student! And good idea on your part, Josh, it's nice to see kids being taught something relevant in this field--rather than what I remember from school: car = new Car(blue); haha... On Apr 21, 5:26 pm, joshbeck josh.beck2...@gmail.com wrote: Hello, I'm writing a curriculum

[android-developers] Re: Android camera problem on HTC Desire

2010-04-22 Thread Jo Vermeulen
Hmm, that's strange ... I hope it's not a problem on all 2.1 devices :) It does work in the emulator (SDK 2.1) though. -- Jo On 21 apr, 22:32, Bob Kerns r...@acm.org wrote: The camera preview API demo crashes on my N1 (2.1-Update 1) as well. I've been meaning to investigate (debugger, bugs

[android-developers] selection color and text color in whole project

2010-04-22 Thread Er. syed imran ali
Hi all, is there any process to change the default text color white to Black and default selection color of android orange to Blue for whole project. i am using Eclipse for Android development. if any one know then please reply me. Thanks and regards Imran Ali -- You received this message

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

2010-04-22 Thread fhucho
Still no one in Europe? When was it that Google said it should arrive in two weeks? I wonder where exactly all the phones are at the moment :) I wouldn't mind making a trip to Brightpoint Netherlands for the phone, if they are not able to deliver it in 7 weeks. Waiting so long is quite

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

2010-04-22 Thread Lorents
No news in Norway either... *yawn* -- 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] How to change preference text color

2010-04-22 Thread subrat kumar panda
Hi all, In my app i am facing a problem not getting a desired solution from anywhere. in my prefereence screen there are 4 checkboxes and 2 listviews. i have changed the background color white by using the following code:

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

2010-04-22 Thread mscwd01
I received the usual response from Google today saying there were issues which are now resolved. Again, I was given the your phone should arrive in 1-2 weeks time frame. Being stuck with a 1.5 device this wait is not ideal... On Apr 22, 9:36 am, Lorents iva...@gmail.com wrote: No news in Norway

[android-developers] Statusbar source code in android

2010-04-22 Thread Arun
Hi All, For a specific client requiremet I need to provide multiple screen size support for status bar so need to make changes in status bar's androidmanifest.xml file could you please tell me location of same. Regards, Arun -- You received this message because you are subscribed to the

[android-developers] Re: Android camera problem on HTC Desire

2010-04-22 Thread blindfold
Did you try other camera (preview/AR) apps from Android Market? I receive regular crash reports from users, almost always due to a java.lang.RuntimeException: startPreview failed error. I cannot reproduce the problem on my good old ADP1 (G1), while the emulator (SDK 1.6 and 2.1) also does not show

[android-developers] Re: How to pack a config file into my apk package

2010-04-22 Thread FrankG
hello kerlw, just a idea from my side : Why not write you config file to /data/data/package-name/ when your programm starts the first time. And later when your app starts it checks, whether their is already a version of this file. This would mean, that don't have to install the config file

[android-developers] Re: Android camera problem on HTC Desire

2010-04-22 Thread blindfold
Interesting. I checked my user crash logs, and I find occasional startPreview related crashes with Android 1.6, 2.0 and 2.01, and four for 2.1-update1, but not a single one for 2.1, making me wonder if the update1 for 2.1 introduces a new problem. Regards The vOICe for Android

[android-developers] Re: selection color and text color in whole project

2010-04-22 Thread Kumar Bibek
Look at how to set themes for your application. That should help you. http://developer.android.com/guide/topics/ui/themes.html Thanks and Regards, Kumar Bibek On Apr 22, 1:14 pm, Er. syed imran ali imran...@gmail.com wrote: Hi all, is there any process to change the default text color white

[android-developers] Layout not displayed properly while loading Listview dynamically?

2010-04-22 Thread javame_android
Hi, I am trying to laod the listview dynamically. There are three textviews inside a listview. The text to be set in the textview is fetched from the server. All this is working fine. I am able to fetch the text and am able to display it inside the listview. The only problem is the position of

[android-developers] Re: Display small portion of HTML file in WebView

2010-04-22 Thread Kumar Bibek
The user can surely use the scroll of the browser. Browsers are for displaying the whole HTML. You cannot even do that in Desktop, unless you change your HTML code. :) Thanks and Regards, Kumar Bibek On Apr 21, 11:31 am, mansur mansur.andr...@gmail.com wrote: Thanks for your reply. but we

[android-developers] Re: How to pick or upload gallery photo

2010-04-22 Thread Kumar Bibek
Have you tried anything? What problems are you facing? That will help up answering your question. This question's answer will run into a page of lines and pics. Please be specific about your problems. Sure, you can do what you want. Thanks and Regards, Kumar Bibek On Apr 20, 9:19 pm, Anurag

[android-developers] Re: Displaying different layout in eclipse when using ViewFlipper

2010-04-22 Thread Kumar Bibek
No you can't . You will have to run it to see it . Thanks and Regards, Kumar Bibek On Apr 20, 7:51 pm, Stephen Lebed srle...@gmail.com wrote: Hi all, I have a layout I'm creating that uses ViewFlipper for different screens.  In eclipse's layout editor it only displays the first page in the

Re: [android-developers] Re: How to pick or upload gallery photo

2010-04-22 Thread Anurag Singh
I did all my home work regarding gallery. private static final int SELECT_PICTURE = 1; private static final int SELECT_GALLERY_PICTURE = 2; private String selectedImagePath; // Browse and pick photo from SDCARD, wokring perfact Intent intent = new Intent();

Re: [android-developers] Flash support on android

2010-04-22 Thread Mark Murphy
veradis wrote: Can SWF files be played on android 1.5 emulator/phone. Definitely not on the emulator, and not on most phones. Only a couple of phones have Flash. In a year's time, it may be that most Android phones have Flash. It's even conceivable there will be a way to do Flash in the

Re: [android-developers] Statusbar source code in android

2010-04-22 Thread Mark Murphy
Arun wrote: For a specific client requiremet I need to provide multiple screen size support for status bar so need to make changes in status bar's androidmanifest.xml file could you please tell me location of same. The status bar does not have an androidmanifest.xml file. The status bar is

[android-developers] AlertDialog - selected item

2010-04-22 Thread Ajay
Hi, I have an AlertDialog with a list of selectable items and a OK button. How can I get the selected option, when the user clicks the OK button? Thank you, AJ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] problem accessing run( ) in android

2010-04-22 Thread Rahul
Hi i have a problem accessing run() method in my program. The rum method is not getting focus at all. The Log message that is present outside the loop is getting displayed and i am getting a blank screen with preset background.Here's the code... public class MusicListActivity extends Activity {

Re: [android-developers] AlertDialog - selected item

2010-04-22 Thread Mark Murphy
Ajay wrote: Hi, I have an AlertDialog with a list of selectable items and a OK button. How can I get the selected option, when the user clicks the OK button? Try calling getListView() on the AlertDialog. From there, you should be able to call getCheckedItemPosition(). -- Mark Murphy (a

[android-developers] View on Tabs in TabActivity

2010-04-22 Thread Pankaj Deshpande
Hi all, I am working on a tab activity, and want images on each tab. I set indicators as a view and set Image as background resource to each tab. For each tab, I have started a new Activity and put a textview as a setContentView in that. Up to my second last tab it works fine, but for lats tab,

[android-developers] View on Tabs in TabActivity

2010-04-22 Thread Pankaj Deshpande
Hi all, I am working on a tab activity, and want images on each tab. I set indicators as a view and set Image as background resource to each tab. For each tab, I have started a new Activity and put a textview as a setContentView in that. Up to my second last tab it works fine, but for lats tab,

[android-developers] Re: AlertDialog - selected item

2010-04-22 Thread Ajay
Thanks a lot again for a very quick reply!! You are a life saver :-) On Apr 22, 4:02 pm, Mark Murphy mmur...@commonsware.com wrote: Ajay wrote: Hi,    I have an AlertDialog with a list of selectable items and a OK button. How can I get the selected option, when the user clicks the OK

[android-developers] Re: No place in Google Checkout to set international tax rates. Do we owe? How to Pay?

2010-04-22 Thread Paul
Thanks Shane, that's pretty much what I thought. I did see some web pages mention that the EU law would only apply to companies that had sales of over 100,000 Euros, but it didn't seem definitive and I couldn't find legal text supporting the 100,000 limit. Google Checkout also makes it

Re: [android-developers] View on Tabs in TabActivity

2010-04-22 Thread pawan nimje
Hey pankaj can you mail me your project i'll look into it n may i can help you .. -Pawan Nimje On Thu, Apr 22, 2010 at 4:32 PM, Pankaj Deshpande pcdeshpande...@gmail.comwrote: Hi all, I am working on a tab activity, and want images on each tab. I set indicators as a view and set Image

[android-developers] Routing Audio data to Both HEADSET and SPEAKER.

2010-04-22 Thread Anand
Hi, As particular need, I want to route the Audio data to both HEADSET and SPEAKER. For example if I play a Music file, I want that the output should come on speaker and on headset as well. My first question is weather is it possible or not in the current éclair SDK. As per my understanding, the

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

2010-04-22 Thread ulqui
up please i tried public void updateTime(){ int ttld=mMediaPlayer.getDuration(); int nowd=mMediaPlayer.getCurrentPosition(); int tremaning=(ttld-nowd); String s=getString(tremaning); TextView tv=(TextView) findViewById(R.id.listMusique);

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

2010-04-22 Thread ulqui
up please i tried public void updateTime(){ int ttld=mMediaPlayer.getDuration(); int nowd=mMediaPlayer.getCurrentPosition(); int tremaning=(ttld-nowd); String s=getString(tremaning); TextView tv=(TextView) findViewById(R.id.listMusique);

Re: [android-developers] Flash support on android

2010-04-22 Thread veradis tech
Thanks Mark. On Thu, Apr 22, 2010 at 4:22 PM, Mark Murphy mmur...@commonsware.comwrote: veradis wrote: Can SWF files be played on android 1.5 emulator/phone. Definitely not on the emulator, and not on most phones. Only a couple of phones have Flash. In a year's time, it may be that most

[android-developers] ProgressDialog in full screen

2010-04-22 Thread Ajay
Hi, I have the standard ProgressDialog displayed during a lengthy operation. How can I make this ProgressDialog to occupy the entire screen (make it full screen)? Thank you, AJ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Getting one form data on anather forn

2010-04-22 Thread Mohammad Siddiqui
Hi everyone, i have therre consecutive form ,after filling the form one i press the next button on the first form to go to the second form then prees the next button to go to the third form.from third form i have a button to post the data on a specific url.the problem is that how can get the

[android-developers] Re: Android camera problem on HTC Desire

2010-04-22 Thread Jo Vermeulen
No I didn't. I will try some apps later today. -- Jo On 22 apr, 11:16, blindfold seeingwithso...@gmail.com wrote: Did you try other camera (preview/AR) apps from Android Market? I receive regular crash reports from users, almost always due to a java.lang.RuntimeException: startPreview failed

[android-developers] Re: Android camera problem on HTC Desire

2010-04-22 Thread Jo Vermeulen
I hope not :) I filed a bug report for this: http://code.google.com/p/android/issues/detail?id=7909. Feel free to add any additional information there. Cheers, -- Jo On 22 apr, 11:28, blindfold seeingwithso...@gmail.com wrote: Interesting. I checked my user crash logs, and I find occasional

[android-developers] How to execute cd sdcard command

2010-04-22 Thread Karteek N
Hi , I want to display what are the files and contents in sdcard through application. I am able to print the root folder.But when i execute cd sdcard it throws me exception that permission is denied. When i did the same thing using adb shell i am able to display the sdcard. Is there any way to

Re: [android-developers] How to execute cd sdcard command

2010-04-22 Thread Mark Murphy
Karteek N wrote: Hi , I want to display what are the files and contents in sdcard through application. I am able to print the root folder.But when i execute cd sdcard it throws me exception that permission is denied. When i did the same thing using adb shell i am able to display the sdcard.

[android-developers] Re: Layout not displayed properly while loading Listview dynamically?

2010-04-22 Thread javame_android
Hi, It is solved now. I was inflating the row.xml in a wrong way. Regards Sunil -- 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] Does any developer in HongKong already get the seeding program device

2010-04-22 Thread Kaijun Meng
Hi, I am in Hongkong and get the seeding program email at beginning of Mar, then I submited my info and get confirmation at 12th Mar, the confirmation said I would get the device in 2-4 weeks, but until now, I DID NOT get it, I sent email to the seeding program email address, but the guy reply

[android-developers] Re: selection color and text color in whole project

2010-04-22 Thread AJ (Anantha Javali)
Here is an example, Please use add it as part of your manifest file ?xml version=1.0 encoding=utf-8? resources style name=MyTheme item name=android:windowNoTitletrue/item item name=windowFrame@drawable/screen_frame/item item name=windowBackground@drawable/screen_background_white/ item item

Re: [android-developers] Re: change size of controls in a layout

2010-04-22 Thread ~ TreKing
On Wed, Apr 21, 2010 at 11:21 PM, karteek kartee...@gmail.com wrote: EditText android:layout_width=50px android:layout_height=50px /EditText You should use dp to stay consistent across devices with different resolutions, unless this is definitely what you want.

Re: [android-developers] View on Tabs in TabActivity

2010-04-22 Thread Sandeep Phansekar
Hi there r lots of example available for this solution just googling u find the solution. @Pankaj -- u working for which company ? actully i am serching the job in pune for android position. -- Regards Sandeep On Thu, Apr 22, 2010 at 4:50 PM, pawan nimje pawanni...@gmail.com wrote: Hey

Re: [android-developers] Display routes dynamically on Map Application

2010-04-22 Thread ~ TreKing
On Thu, Apr 22, 2010 at 1:05 AM, SREEHARI sreehari.madhusooda...@wipro.comwrote: Should I use the graph data structure concepts using some algorithms? What graph data structure concepts? - TreKing

Re: [android-developers] view - parent activity

2010-04-22 Thread ~ TreKing
On Thu, Apr 22, 2010 at 12:16 AM, Andrei gml...@gmail.com wrote: If I have reference to a view that is on activity How do I get reference to the activity from view reference? You don't - at least not without maintaining your own mapping or holding a reference somewhere yourself. I guess you

Re: [android-developers] Does any developer in HongKong already get the seeding program device

2010-04-22 Thread ~ TreKing
You can tack on another me too to the never-ending list of useless still nothing here posts on the other Device Seeding Program thread. But please, not another fruitless where's my phone thread. Please?

[android-developers] Re: XMPP service, jabber , push notification

2010-04-22 Thread Streets Of Boston
i'm just throwing it out here. Have you looked into the SMACK library for Android?: http://code.google.com/p/asmack/ On Apr 21, 4:17 am, SLY sly.andr...@gmail.com wrote: Hi, I am currently working on a project which requires a server to request data from the devices which are currently

[android-developers] ViewFlipper not working inside a class which extends LinearLayout

2010-04-22 Thread Nithin
Hi, When I tried to create a ViewFlipper inside a class which extends LinearLayout, its throwing an exception java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare(). I am creating the ViewFlipper using, ViewFlipper flipper = new

[android-developers] Re: Spurious calls to onPause?

2010-04-22 Thread asher
Thanks for responding. OK, this is weird. When I posted the issue originally, I believe I was running in a 1.6 emulator, and the behavior was 100% consistent. I've tested it a few times since then on my hardware (which is a custom device running 1.5), and it's been consistent. Today, I tried it in

[android-developers] Re: Will 900ms of calcs run faster in another thread?

2010-04-22 Thread BobG
Thanks for the replies folks. I saw the Real Time Analyzer in the market, and it runs like a scalded dog. I was trying to get the same sort of effect by feeding the same buffer full of samples thru a filter that steps up in freq every pass. I timed a bunch of floating point adds and multiplies in

[android-developers] Re: Getting one form data on anather forn

2010-04-22 Thread Mike dg
Is this a web app or an Android app? -Mike dg On Apr 22, 8:29 am, Mohammad Siddiqui siddiqui.m...@gmail.com wrote: Hi everyone, i have therre consecutive form ,after filling the form one i press the next button on the first form to go to the second form then prees the next button to go to

[android-developers] Re: Will 900ms of calcs run faster in another thread?

2010-04-22 Thread a1
Running calculations in separate thread will only make things worse, but as I understand you are performing all math in Java I think using native code here can dramatically boost performance -- Regards, Bart Janusz On Apr 22, 5:15 am, BobG bobgard...@aol.com wrote: I have this audio analyzer

[android-developers] Re: Source code fro Genie Widget

2010-04-22 Thread droidin.net
Dianne, Thanks for your confirmation. What would be a suitable replacement? I need an example on how to implement widget functionality where with given list of entries widget continuously displays these in a loop just like a News widget does? Bo On Apr 20, 6:25 pm, Dianne Hackborn

[android-developers] Start an activity WITHOUT it becoming the foreground one?

2010-04-22 Thread DulcetTone
Is there a way to call startActivity(Intent) without the newly started activity displacing the current one as the active, foreground activity? If not purely so, are there near approximation to this effect that can be done, such as mimicking a back keypress event right after calling

[android-developers] Re: How to execute cd sdcard command

2010-04-22 Thread Bob Kerns
Mark points out all the reasons you shouldn't even be trying to do this. But there's more! I assume you're going to take Mark's advice anyway, but these are things that are likely to cause you trouble someday in the future, so I'll point them out anyway. First, you are trying to cd to some

[android-developers] Re: 14-year-old Android Developer:

2010-04-22 Thread DonFrench
Congratulations to you and to Christian! Maybe you could talk the North East Independent School District into including the name or a link to the app so that Christian could get even more sales. And how about posting it here? On Apr 22, 12:41 am, patbenatar patbena...@gmail.com wrote: Congrats

[android-developers] Nested activities question

2010-04-22 Thread jb
I have an application that allows the user to drill-down into data. At each level of data the user can choose a Tableview item or a Listview item. This will result in a startActivity() call for display of new data. I can get back to the top (Parent activity) by using the Back button, which can

[android-developers] Best practices for integrated (context-sensitive) help?

2010-04-22 Thread Nathan
What are the best practices people have used to integrate help/tips in their application? One way I can think of is having html snippets in resources or assets - perhaps as html files - maybe as formatted strings. However, I think it would break down once an html file linked to another html file

[android-developers] Not getting RecognizerIntent result codes

2010-04-22 Thread pac
I want to get the RecognizerIntent result codes such as RESULT_SERVER_ERROR because I want to distinguish between the cases where the speech wasn't understood or no matches were found and the cases where recognition didn't occur because of connection or server problems. When onActivityResult()

[android-developers] Activitiy Behavior

2010-04-22 Thread Shekhar
I have a problem. I have to design an application in which three activities A ,B,C are such that if I move across the activities, previous activities are not killed.A,B,C should be in the application stack so that their OnCreate function is not called everytime.Activities should be killed only

Re: [android-developers] Re: Android on Symbian

2010-04-22 Thread Disconnect
My first answer was in fact not intended to be annoying. There is no other place in the world he is likelier to find an answer than the original source. My second post, well.. :) On Wed, Apr 21, 2010 at 4:52 PM, Bob Kerns r...@acm.org wrote: Well, you may have found it annoying -- and I'll

Re: [android-developers] 14-year-old Android Developer:

2010-04-22 Thread chris harper
That kid will probably know more about software engineering by the time he is done with High School than I did when I graduated collage. It sounds like he is on a good track to have a very successful future. -Chris On Wed, Apr 21, 2010 at 6:26 PM, joshbeck josh.beck2...@gmail.com wrote:

[android-developers] Re: ViewFlipper not working inside a class which extends LinearLayout

2010-04-22 Thread Streets Of Boston
What thread is calling 'new ViewFlipper(ctContext)'? Is it the main UI-thread? If not, the calling thread must have a message-loop associated with it (A looper-thread). If it's not a looper-thread, you can't call 'new ViewFlipper(ctContext)' this way. On Apr 22, 10:58 am, Nithin

[android-developers] AlertDialog Timeout

2010-04-22 Thread Shekhar
Hi, I have to create an alert dialog which will timeout after 3 seconds.How can I use timer for it? In AlertDialog class i am not seeing any member function to set it. Thanks, Shekhar -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Android camera problem on HTC Desire

2010-04-22 Thread Streets Of Boston
Ah good, i'm not the only one that sees these occasional crashes in their customers' crash logs :) On Apr 22, 5:28 am, blindfold seeingwithso...@gmail.com wrote: Interesting. I checked my user crash logs, and I find occasional startPreview related crashes with Android 1.6, 2.0 and 2.01, and

Re: [android-developers] Activitiy Behavior

2010-04-22 Thread Mark Murphy
Shekhar wrote: I have a problem. I have to design an application in which three activities A ,B,C are such that if I move across the activities, previous activities are not killed.A,B,C should be in the application stack so that their OnCreate function is not called everytime.Activities

[android-developers] Re: AlertDialog Timeout

2010-04-22 Thread krox
Hi! Maybe not the optimal solution (quite new to Android development) but spawn a new thread when you show() the AlertDialog, let the Thread sleep 3000 ms and then call myDialog.dismiss(). You might have to use RunOnUIThread() as well since it is messing with the UI. Someone out here might have a

Re: [android-developers] AlertDialog Timeout

2010-04-22 Thread Liviu Ungureanu
Hi! You have to create a thread which count until 3 and when counter is 3 you have to call - via an handler - yourDialogObject.cancel(). Hope this help. -- 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: 14-year-old Android Developer:

2010-04-22 Thread patbenatar
On Apr 22, 10:22 am, chris harper ch393...@gmail.com wrote: That kid will probably know more about software engineering by the time he is done with High School than I did when I graduated collage. It's nice how technology has this ability to motivate and inspire kids to achieve success--let's

Re: [android-developers] Display routes dynamically on Map Application

2010-04-22 Thread Liviu Ungureanu
Do you know you can do that using intents and Maps Application? So what you want to do: implement a new way to get directions to an some GeoPoint inside of your applications or just use Maps? Last method is a lot easier... 2010/4/22 ~ TreKing treking...@gmail.com On Thu, Apr 22, 2010 at 1:05

Re: [android-developers] Re: Selling outside the Android Market-- Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-22 Thread Shane Isbell
It's also tough to find the important terms for SlideME fees in one place. Have a section that outlines major points with a link for detailed information would help. The important points that required some digging for me are: 1) SlideME charges a $30 remittance fee to the developer. This is

Re: [android-developers] Start an activity WITHOUT it becoming the foreground one?

2010-04-22 Thread Dianne Hackborn
If you start an activity as part of a task that is not in the foreground, it will be placed at the top of the task's stack and not shown to the user until they return to the task. If you just want to create an activity in a separate task, but not actually have it shown to the user... umm...

Re: [android-developers] Re: Source code fro Genie Widget

2010-04-22 Thread Dianne Hackborn
That app in its current form is very much not a good example. :} I don't know off-hand of an example to point you to. On Thu, Apr 22, 2010 at 9:24 AM, droidin.net bost...@gmail.com wrote: Dianne, Thanks for your confirmation. What would be a suitable replacement? I need an example on how to

[android-developers] Re: SPP bluetooth

2010-04-22 Thread Anders Widen
Not true. HTC phones for example have a different BT implementation than that one of the N1. I havn't pinpointed it yet, but things works differently. They should be the same, cause they're running 2.1 but they're not. Information is hard to come by, but the N1 has the best BT as far as I know.

Re: [android-developers] Nested activities question

2010-04-22 Thread ~ TreKing
On Thu, Apr 22, 2010 at 11:47 AM, jb cona...@gmail.com wrote: Is there a way to POP back to the Parent activity and dismiss all previously allocated activities, and not have to go back through all the activities previously created? See this thread:

[android-developers] Re: Not using a WakeLock so why does the device stay awake?

2010-04-22 Thread THill
I've seen similar behavior as the OP. I have a simple activity that starts a timer in onCreate, logging a message every second. No wake lock is requested, so after the time indicated in setting, the device sleeps (allowed to dim, then sleep naturally, not with power button press). After letting

[android-developers] Re: 14-year-old Android Developer:

2010-04-22 Thread Robert Green
I think he did the Droid Eye live wallpapers. On Apr 22, 12:35 pm, patbenatar patbena...@gmail.com wrote: On Apr 22, 10:22 am, chris harper ch393...@gmail.com wrote: That kid will probably know more about software engineering by the time he is done with High School than I did when I

[android-developers] Re: Activitiy Behavior

2010-04-22 Thread Shekhar
Hi, 1.Thanks for your prompt reply.Why I need to have all the three activities in the stack because I want to avoid the time it takes to create the activity.So that user will not feel smoother screen transition.to explain in a better way suppose that A and B activity has a text view that updates

Re: [android-developers] Re: Not using a WakeLock so why does the device stay awake?

2010-04-22 Thread Dianne Hackborn
It is possible for the kernel to hold wake locks for various reasons. If you want to see what was holding wake locks while you were unplugged, use adb shell dumpsys batteryinfo and look at the last set of stats (this is the raw information used to generate the battery usage UI). However the

Re: [android-developers] Re: Activitiy Behavior

2010-04-22 Thread Mark Murphy
Shekhar wrote: 1.Thanks for your prompt reply.Why I need to have all the three activities in the stack because I want to avoid the time it takes to create the activity. Then improve the performance of the activities, so they start up faster. Or, redesign the UI such that the transition time

[android-developers] Re: Nested activities question

2010-04-22 Thread krox
Hi! From the current activity call startActivity(Intent rootActivityIntent) with the flag FLAG_ACTIVITY_REORDER_TO_FRONT set for rootActivityIntent. Hope this is what you were looking for, for more information see:

[android-developers] Save file to sd card?

2010-04-22 Thread Tommy
Hi, I am trying to find the best way to save files to the phone. Basically I have an XML file on a web server that I would like to be able to save on the phone. Should I create a specific folder in my project to save to and if so how do I save the file. Or should I make it to where when you click

Re: [android-developers] Re: DevPhone1 SDK compatibility

2010-04-22 Thread Lucian Tomuta
Thanks BobG, I'll look into these backport/reflection things. Best regards, Lucian Calling All Innovators 2010 - mobile development competition http://bit.ly/bUjIzf On Thu, Apr 22, 2010 at 2:46 AM, BobG bobgard...@aol.com wrote: I have a dev phone 2 with 1.6. My boss has a moto droid with

[android-developers] Re: ViewFlipper not working inside a class which extends LinearLayout

2010-04-22 Thread Nithin
Thanks for your reply.. solved the issue.. I put the flipper creation code inside the runOnUIThread() and its working fine.. Nithin On Apr 22, 10:25 pm, Streets Of Boston flyingdutc...@gmail.com wrote: What thread is calling 'new ViewFlipper(ctContext)'? Is it the main UI-thread? If not,

Re: [android-developers] Re: Android on Symbian

2010-04-22 Thread Lucian Tomuta
Symbian is fully open source since some time in February 2010 ( they claim to be even more open source than Android ;) ) so from that point of view it is fully hackable. As for Nokia's N900 it was already demoed with a dual-boot Android on it, see http://www.youtube.com/watch?v=yri4qOfP8T0 Best

[android-developers] Re: Activitiy Behavior

2010-04-22 Thread Shekhar
Hi Murphy, Thanks for your suggestions. I have a basic querry.suppose all the three activities are declared as singletop and suppose from activity A i call B activity with intent flag as i.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); startActvity(i) and from B-C the same intent.Now if i call

[android-developers] Re: Activitiy Behavior

2010-04-22 Thread Shekhar
Hi Murphy, Thanks for your suggestions. I have a basic querry.suppose all the three activities are declared as singletop and suppose from activity A i call B activity with intent flag as i.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); startActvity(i) and from B-C the same intent.Now if i call

Re: [android-developers] Re: Activitiy Behavior

2010-04-22 Thread Mark Murphy
Shekhar wrote: I have a basic querry.suppose all the three activities are declared as singletop and suppose from activity A i call B activity with intent flag as i.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); startActvity(i) and from B-C the same intent.Now if i call the activity Aor B

Re: [android-developers] Motorola Droid/Milestone w/ Bluetooth GPS

2010-04-22 Thread Lucian Tomuta
I'm not sure I understand what you are after. On which phone will you run the Android app and doesn't it have a built-in GPS? If you intend indeed to use a Bluetooth GPS receiver then you should go for Nokia's updated model,

Re: [android-developers] Re: XMPP service, jabber , push notification

2010-04-22 Thread faizan khan
once you reply from your app the message from that point onwards will be directed to your app. the reason for this is because the first message is not qualified with resource so you first message will be something like tar...@gtalk.comand if target user is logged in from gtalk and your app

  1   2   3   >