[android-developers] Re: what is the difference between an Install and an active install?

2011-07-04 Thread Spooky
On Jul 2, 8:46 am, Kostya Vasilyev kmans...@gmail.com wrote: And according to this: [http://tinyurl.com/3dh8hym] 27 June 2011: Total installs stats now accurate Whether this is really the case, remains to be seen. Well, the Market stats were updated while I was away for a bit. My

[android-developers] Re: AdSence Publisher ID and Android Developer Console

2011-07-04 Thread tallplay
Me too. Did anyone find the solution? On 6月30日, 上午5時00分, Roman G cheser...@gmail.com wrote: I have the same issue, have you found a solution? On May 24, 12:00 pm, Andre andranik.abra...@gmail.com wrote: Has anyone encountered a similar bug in Android Developer Console? -- You

[android-developers] TabActivity with multiple nested acitivities based on Button Click

2011-07-04 Thread youssef
The problem I face is how to navigate through tab activity with nested activities based on Button click android. I have 3 tabs Dashboard, Vehicle search, and Location search. When I press the location search tab I get a Edit text(to enter the zip code) and go button(when I press it I should get

[android-developers] PreferenceManager.setDefaultValues only inflates EditTextPreferences?

2011-07-04 Thread Sorenchr
I'm using the PreferenceManagers method to inflate a set of application preferences from an xml file. Here is my code: PreferenceManager.setDefaultValues(this, R.xml.preferences, false); Here is my preferences.xml file (I've yanked it from another website for testing purposes): ?xml version=1.0

[android-developers] edittext cursor

2011-07-04 Thread vani reddy
Hi, How to set edittext cursor to a particular position in android. I referred http://thedevelopersinfo.com/2009/11/15/put-cursor-at-specific-position-in-edittext-component-in-android/ but this is when d text is already defined. i want at runtime?? -- Regards, Vani -- You received this

[android-developers] XML Parsing

2011-07-04 Thread Vikash
Can anybody send XML Parsing eBook or Documents to me. 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 group, send email to

[android-developers] Retreive recently used contacts

2011-07-04 Thread vani reddy
Hi all, How to retreive the recently used contacts in contact list in android?? -- Regards, Vani Reddy -- 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

[android-developers] creating dynamic non grid keyboard

2011-07-04 Thread Sharon
I'm writing a dynamic keyboard that needs to be set on runtime. 1. I want the layout to be non grid-like, but a semi-circle. Is it possible to use the KeyboardView+ Keyboard for that? i.e - can the KeyboardView get a flexible layout of keys (graphically) 2. Would you recommend to skip the

[android-developers] Re: what is the difference between an Install and an active install?

2011-07-04 Thread Spooky
Wow. This is the third time I've tried to post this. For some reason, my first attempt at a response not only did not go through, a reload of this page to check to see if it had appeared here (it hadn't) ended up putting me in a completely different group. I just now discovered this. On Jul 2,

[android-developers] TabActivity with multiple nested acitivities include on Button Click

2011-07-04 Thread youssef
The problem I face is how to navigate through tab activity with nested activities based on Button click android. I have 3 tabs Dashboard, Vehicle search, and Location search. When I press the location search tab I get a Edit text(to enter the zip code) and go button(when I press it I should get

[android-developers] Source code for live wallpaper settings

2011-07-04 Thread Zach
I want to make a button that points to my username on the market so a list of my apps will come up when the button is pressed. I also want an image as my background within wallpaper settings. What are the source codes for these and which xml folders do I put them in? I dont want java, but the

[android-developers] Re: can I use debit card for android market

2011-07-04 Thread pramod.deore
Hello, Or should I must have credit card? On Jul 4, 10:01 am, pramod.deore deore.pramo...@gmail.com wrote: Hi, I want to upload application in android market. Can I use debit card to pay 125$? Thanks in advance. -- You received this message because you are subscribed to the Google Groups

[android-developers] gallery images onSignalStrengthsChanged Error

2011-07-04 Thread ragupathi ragupathi
hi every one, im developing small project, in this project i will getting all images from the android phone gallery its working fine. but when im displaying that images in android grid view means some images only loaded, remaining images are showing like 07-04 14:06:53.965: DEBUG/

[android-developers] Re: GPS Signals

2011-07-04 Thread Vladimir
Hello Accuracy of Network provider depends from cellular tower position and can vary from 100 meters to several kilometers. In small towns this value may be very large. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: The method parseInt(String) in the type Integer is not applicable for the arguments (Editable)

2011-07-04 Thread Vladimir
Try edtOp1.getText().*toString()*. And in future check variables types, 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 group, send

[android-developers] Fwd: Setting Ringtones issue on Samsung Galaxy (works on nexus, htc, xperia and lg)

2011-07-04 Thread MCON Dev
I haven't received any updates/responses from Samsung on this Galaxy specific issue. Seems like their RingtoneManager does not work. I am wondering if anyone else has a solution for this. Eclipse Project to reproduce this issue http://www.4shared.com/file/H1iO-_S1/TestRingTone.html Thanks Conny

[android-developers] Re: How to make a image work as a button

2011-07-04 Thread Vladimir
What about yourImageView.setOnTouchListener()? -- 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

Re: [android-developers] Source code for live wallpaper settings

2011-07-04 Thread Raghav Sood
You can check the source code for hex field on google code. On Sun, Jul 3, 2011 at 10:34 PM, Zach zeell...@gmail.com wrote: I want to make a button that points to my username on the market so a list of my apps will come up when the button is pressed. I also want an image as my background

Re: [android-developers] Re: How to make a image work as a button

2011-07-04 Thread Raghav Sood
You could also set the image as the background of an actual button. On Mon, Jul 4, 2011 at 2:35 PM, Vladimir vsbol...@gmail.com wrote: What about yourImageView.setOnTouchListener()? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] google maps

2011-07-04 Thread Raghav Sood
This is a developers list. Please use a relevant forum like a support forum for your device, company or carrier. On Sat, Jul 2, 2011 at 6:42 PM, hendra fachruzi robincrew...@gmail.comwrote: dear sir, i have a trouble with google maps, can i uninstall this application ? its not working when i

Re: [android-developers] emulator

2011-07-04 Thread Raghav Sood
http://developer.android.com/ On Sat, Jul 2, 2011 at 3:16 PM, obaidullah azmi obaidullah.azm...@gmail.com wrote: emulator: ERROR: unknown virtual device name: 'hello' emulator: could not find virtual device named 'hello' sir, i use windows 7 when i start the emulator then face above

Re: [android-developers] Contact info needed for Android@Home technical support and new development

2011-07-04 Thread Raghav Sood
You should ask on the forums for the phones you want to know about. Also this information is usually given in the user manual, which you can consult if you have the phones in question. On Thu, Jun 30, 2011 at 6:16 AM, ambientcloud pure.poten...@gmail.comwrote: I'm a Electronics Design Engineer

[android-developers] Re: Implementing a REST web Server and Client in android device.

2011-07-04 Thread Aravind
Hi Mark, We are running endroid on embedded platform(imx 51bbg board) which is connected to Wifi hotspot. Our intention is to run REST web service on that board. I have succeeded in running REST client in Android and RESt server in my local PC. I used Jersey jar to obtain the REST server which

[android-developers] Aw: Re: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame

2011-07-04 Thread Andy
No, only workaround in a Game is to disable all SoundPool related Sounds. MediaPlayer for Music/ Loops is still working ok. I opened a Issue for this, maybe give it a comment or some stars =) http://code.google.com/p/android/issues/detail?id=17623 -- You received this message because you are

Re: [android-developers] Android GB build Err on Ubuntu 10.10

2011-07-04 Thread Raghav Sood
Try asking this on the android porting or android building lists. On Sun, Jul 3, 2011 at 11:32 AM, Sudhir venkat pvsudhir.1...@gmail.comwrote: Hi All I upgraded my machine to Ubuntu 10.10 yesterday and tried to compile GB build (This build compiled fine on my previous Ubuntu version). But

[android-developers] Re: Custom list and onClick

2011-07-04 Thread fixus
Hi, Thank you for response. The problem was in my row.xml - i had android:focusable=true I found that if it set the OnClickItemListener that I used later doesn`t work. When I changed and understood why it is for it works great. One more question. If I want to set focusable so I can set inrow

Re: [android-developers] XML Parsing

2011-07-04 Thread yogeshkumar tiwari
Hi vikash, i'm here sending u the link, from here u get the idea abt parsing. i hope this link is helpful to you. http://www.androidpeople.com/android-xml-parsing-tutorial-using-saxparser -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Odp: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame

2011-07-04 Thread a1
Lower number of max streams to 8 and re-encode sounds to mp3 96k+, generally speaking sound drivers and player implementation on samsung device with android 2.3.x are nightmare, what I found out: - some OGG files that play on every other android device fail to load through MediaPlayer on SGS

Re: [android-developers] Re: Implementing a REST web Server and Client in android device.

2011-07-04 Thread Mark Murphy
Embedding a Web server is not particularly hard. There are a handful of Java-based Web servers, open source, that you can bake into an Android project. I experimented with NanoHTTPD once, back in late 2008, and it worked fine (within the limits of NanoHTTPD itself, which isn't a terribly

Re: [android-developers] Video not playing in Device

2011-07-04 Thread Mark Murphy
Your video may not be safe for streaming: http://stackoverflow.com/questions/523/where-to-place-videos-to-stream-android http://stackoverflow.com/questions/5335731/android-video-streaming-example http://stackoverflow.com/questions/1841397/android-mediaplayer-emulator-and-url On Fri, Jul 1,

Re: [android-developers] Retreive recently used contacts

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 4:05 AM, vani reddy vani.reddy.bl...@gmail.com wrote: How to retreive the recently used contacts in contact list in android?? I am not aware that Android has a recently used concept with respect to contacts. You can try using the LAST_TIME_CONTACTED column in

Re: [android-developers] A service can update an activity?

2011-07-04 Thread Mark Murphy
On Fri, Jul 1, 2011 at 7:58 AM, Ricardo Longa ricardo.lo...@gmail.com wrote: It is possible a service update an activity that is to active connection every 10 seconds (for example)? Use a Messenger, or a broadcast Intent, or the PendingIntent you get from createPendingResult() in the Activity.

Re: [android-developers] Differences between Android 3.0 and 3.1 in garbage collection?

2011-07-04 Thread Mark Murphy
If the DOM is not working well for you, don't use the DOM. Use SAX, or perhaps the XmlPullParser, both of which are available in Android. On Fri, Jul 1, 2011 at 1:18 AM, Steven Jeon jeon.ste...@gmail.com wrote: Hi. I have an apk which is supposed to be operated in Honeycomb devices. It

Re: [android-developers] How to disable the Clear Data button in Application info of Manage appliaction.

2011-07-04 Thread Mark Murphy
On Thu, Jun 30, 2011 at 3:24 AM, Nimit Solanki solanki.ni...@gmail.com wrote: I am working on android 2.2, In a Application tab of android manifest provide the option of Allow clear data to set true or false. But after setting it to False, my application can't disable the button of Clear data

Re: [android-developers] start binded service from broadcast receiver

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 1:57 AM, kampy narasimha1...@gmail.com wrote:  I am using AIDL , in that i am binding a service which sends messages to the phone numbers if the sim is changed . i need to start this service as soon as the phone switches on . but i am getting a exception  

Re: [android-developers] [URGENT] How to open a sms thread by thread id or sender number

2011-07-04 Thread Mark Murphy
On Sat, Jul 2, 2011 at 11:26 PM, GMR freemonh...@gmail.com wrote: I need an experience to open a sms thread programmatically from my mms or sms inbox queried by thread id or sender id. There is no sms inbox in the Android SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] CalledFromWrongThreadException

2011-07-04 Thread Mark Murphy
On Thu, Jun 30, 2011 at 5:46 AM, BlackBishop64 josemanuel.hosta...@gmail.com wrote: I have the following problem:  in my main activity I've created a linearlayout vertical with 3 views, a title view, a game view and a score view. Game view is update with a thread in order to keep a constant

Re: [android-developers] How does ResolverActivity or ChooserActivity gets list of applications ?

2011-07-04 Thread Mark Murphy
On Thu, Jun 30, 2011 at 7:36 AM, rk ramakrishnar...@gmail.com wrote: I have an application that can open text files. If I click preview for my Gmail text file attchment, ResolverActivity lists my application. It displays my application Icon and Name The name is  specified in

Re: [android-developers] Re: Android add a new framework

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 3:35 AM, Aravind aravindana...@gmail.com wrote: 1) Am adding my application on mydroid/packages/apps folder which is communicating with legacy C code(Some 3rd party library) using Socket/ JNI. 2) Am not clear about the correct method to access the legacy code from my

[android-developers] Re: game engine, how to organize animation and etc. in android ?

2011-07-04 Thread razor
Ok, thanks, it looks like a very simple solution. Now I'm working with GLSurfaceView and I need to place somewhere my computing/updating code. Should it be another thread run in my activity ? computing code is independent from drawing code. razor On 3 Lip, 20:45, Alex Coutinho

[android-developers] How to speed up emulator a little ?

2011-07-04 Thread razor
Hi! I'm creating application that draw something (it could be a game later). First I started with Canvas, now I'm working with GLSurfaceView. In both situations, emulator is very slow, it shows ~14-15fps whereas my CPU usage is ~5-8% (4 core CPU (i5-750) @ 3.3GHz) why it least can't use maximum

Re: [android-developers] Broadcast Receiver not working immediately after package installation

2011-07-04 Thread Mark Murphy
On Thu, Jun 30, 2011 at 2:01 PM, Thomas Economous econ0...@gmail.com wrote: I am currently working on an app that receives the BOOT_COMPLETED action using a Broadcast Receiver. The receiver is statically registered in the AndroidManifest.xml. It works on the next boot after installation for

[android-developers] Let your Middle/High School kids Learn Java or Andriod Programming during this summer for free!

2011-07-04 Thread Sang Shin
JavaPassion.com is offering a free 2-month access during the month of July and August of 2011 to Java and Android Programming course contents for high school and middle school age students. (If you are a parent and your kid is doing nothing productive during this summer :-), let him/her try

[android-developers] Re: SVG editing making Honeycomb 3.0 emulator slow due to more than 100% CPU usage

2011-07-04 Thread JAlexoid (Aleksandr Panzin)
Emulator is not simulator. It's slow, very slow. Because it has to emulate the whole CPU and GPU in software, not much to do with RAM. The actual hardware is much faster, but the WebView will be about 4 times slower than Chrome on your workstation. There is little you can do about it. High end

[android-developers] How to display log?

2011-07-04 Thread Alberto González
Hi, I have a Google Nexus S. Using this guide: http://forum.androidcentral.com/t-mobile-nexus-s-rooting-roms-hacks/48675-how-compile-nexus-s-kernel-source.html When I compile kernel I added some LOGD to cpp files. But when I do adb logcat I don't see it in console. I'm triying to enable smart

[android-developers] Re: Getting contact names for facebook integrated contacts

2011-07-04 Thread Ali Chousein
Facebook contacts have nothing to do with the content providers on Android. You should study the Facebook Graph API, download the Facebook SDK for Android and study the provided sample code to understand how you can retrieve your Facebook contacts through Facebook Graph API. It's really

[android-developers] Re: How to open a sms thread by thread id or sender number

2011-07-04 Thread Ali Chousein
Hi, I do the following in my application: // threadId = ... Assign the thread ID value here Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(content:// mms-sms/conversations/ + threadId)); startActivity(intent); Beware of what Mark said. You are integrating SMS on your own risk, there

Re: [android-developers] Recognize the shape of object from a bitmap image?

2011-07-04 Thread TreKing
On Thu, Jun 30, 2011 at 8:05 AM, Habibur Rahman habib012...@gmail.comwrote: How I can recognize the shape of same color region in the image. Find some algorithm that does this. This really has nothing to do with Android though.

Re: [android-developers] Retreive recently used contacts

2011-07-04 Thread vani reddy
Thanks mark, What i want is ,when i compose a new message there is an option called recent ,on click of which it will show the recently used contacts.How to acheive that? On Mon, Jul 4, 2011 at 3:58 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 4, 2011 at 4:05 AM, vani reddy

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

2011-07-04 Thread TreKing
2011/7/4 Alberto González doctorg...@gmail.com I think that when I re-compile kernel, the process doesnt clean old code and shows me the old code. Any ideas? Post to a more relevant group - like porting or platform - if you're compiling the kernel.

Re: [android-developers] Video not playing in Device

2011-07-04 Thread vani reddy
Hi, Ok..when i tested the same video by placing it in raw folder,its playing fine..How to make it safe to stream?/ On Mon, Jul 4, 2011 at 3:56 PM, Mark Murphy mmur...@commonsware.com wrote: Your video may not be safe for streaming:

Re: [android-developers] Is checking view in adapter is needed ?

2011-07-04 Thread TreKing
On Thu, Jun 30, 2011 at 5:06 AM, fixus dpacholc...@gmail.com wrote: What is it for ? To initialize the view if it's not already. For example I would like to put my own adapter in diffrect package, class. But I can`t cause getSystemService is from ListActivity. No, it's from Context.

Re: [android-developers] Custom ArrayAdapter in ListView and OnClickItem

2011-07-04 Thread TreKing
On Thu, Jun 30, 2011 at 6:38 AM, fixus dpacholc...@gmail.com wrote: 06-30 10:19:12.514: ERROR/AndroidRuntime(2578): at fixus.core.NewserActivity$1.onItemClick(NewserActivity.java:48) The error is in this line: Toast.makeText(getApplicationContext(), ((TextView) view).getText(), Can

Re: [android-developers] Calculate Distance like GoogleMap

2011-07-04 Thread TreKing
On Fri, Jul 1, 2011 at 5:37 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: I want to get results over road.(like google map) How can I handle this on android? There's nothing built-in to Android for this, AFAIK.

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

2011-07-04 Thread Alberto González
Thanks! I posted it a few minutes ago in porting and platform! On Jul 4, 2:46 pm, TreKing treking...@gmail.com wrote: 2011/7/4 Alberto González doctorg...@gmail.com I think that when I re-compile kernel, the process doesnt clean old code and shows me the old code. Any ideas? Post to

Re: [android-developers] Adding TableLayout dynamically not working

2011-07-04 Thread TreKing
On Sun, Jul 3, 2011 at 12:38 PM, Jake jmwe...@gmail.com wrote: My ultimate goal is to have alternating LinearLayouts and TableLayouts generated dynamically You're complicating things. Create your LinearLayouts, TableLayouts, or component view containing both, in XML with all properties set as

[android-developers] Re: CursorAdapter over multiple columns

2011-07-04 Thread Jens
Yeah, you should just do a join between table A and table B that includes the required column from B and use that in your cursor adapter. A simple google search for sqlite join would give you a clear how-to. On 29 Juni, 07:39, jjoe64 g.jjo...@googlemail.com wrote:  i don't understand your

[android-developers] gridview problem

2011-07-04 Thread ragupathi ragupathi
hi every one, im developing grid view program, in this program im displaying images in grid view. the images displayed with help of adapter class. in that adapter class i will pass list of images that images getting from phone gallery. the gallery images getting string path and converted

Re: [android-developers] How to make a spinner in listview

2011-07-04 Thread TreKing
On Sun, Jul 3, 2011 at 8:14 PM, duc nguyen vanduc571...@gmail.com wrote: I'm having problem with add spinner in listview. Eeach row has two spinners and two edittexts I try more and more ways. But can not working. Can you help me? please. Come up with a better UI - like clicking an item

Re: [android-developers] Device availability dialogue on Developer Console

2011-07-04 Thread TreKing
On Fri, Jul 1, 2011 at 1:55 PM, Vikram vikram.ii...@gmail.com wrote: I am assuming developer console refers to the place where I can see my published app. Am I missing something? Go into the details page for your published app (where you upload the binary, images, post the description,

Re: [android-developers] Back Button leads to Black Screen

2011-07-04 Thread TreKing
On Sun, Jul 3, 2011 at 12:34 PM, Droid Is As Droid Does symo...@yahoo.comwrote: I am currently in the process of writing an application that starts with a SplashScreen, However, when I take the user to any other activity, the back button stops working. If I hit the back button from the main

[android-developers] Re: How to make a spinner in listview

2011-07-04 Thread Jayanthi
This will be too hard just go with simple UI ,Listview is separate UI and Its hard to get spinner there in listview On Jul 4, 6:14 am, duc nguyen vanduc571...@gmail.com wrote: Hi all  ! I'm having problem with add spinner in listview. Eeach row has two spinners and two edittexts I try more

Re: [android-developers] can I use debit card for android market

2011-07-04 Thread TreKing
On Mon, Jul 4, 2011 at 12:01 AM, pramod.deore deore.pramo...@gmail.comwrote: Can I use debit card to pay 125$? Try it. And if you're paying $125, you're on some phishing site. - TreKing

Re: [android-developers] GPS Signals

2011-07-04 Thread TreKing
On Sat, Jul 2, 2011 at 8:33 AM, Abdul Samad samad.qurash...@gmail.comwrote: how can i get fast GPS signals? http://android-developers.blogspot.com/2011/06/deep-dive-into-location.html - TreKing

[android-developers] Re: How to speed up emulator a little ?

2011-07-04 Thread razor
My HTC Desire shows steady ~60fps it's so big difference that it's hard to test anything on emulator. Regards razor -- 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 to speed up emulator a little ?

2011-07-04 Thread Filip Havlicek
It is and there is no way to speed it up afaik. Best regards, Filip Havlicek 2011/7/4 razor razorjac...@gmail.com My HTC Desire shows steady ~60fps it's so big difference that it's hard to test anything on emulator. Regards razor -- You received this message because you are subscribed

Re: [android-developers] Video not playing in Device

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 8:47 AM, vani reddy vani.reddy.bl...@gmail.com wrote: Hi, Ok..when i tested the same video by placing it  in raw folder,its playing fine..How to make it safe to stream?/ Well, what I expected you to do was: Step #1: Click on the links in my original reply. Step #2:

Re: [android-developers] Retreive recently used contacts

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 8:46 AM, vani reddy vani.reddy.bl...@gmail.com wrote: What i want is ,when i compose a new message there is an option called recent ,on click of which it will show the recently used contacts. I do not see this in the standard Messaging application. Perhaps it is a feature

[android-developers] Re: Custom ArrayAdapter in ListView and OnClickItem

2011-07-04 Thread fixus
the problem was android:focusable=true in row.xml On 4 Lip, 14:50, TreKing treking...@gmail.com wrote: On Thu, Jun 30, 2011 at 6:38 AM, fixus dpacholc...@gmail.com wrote: 06-30 10:19:12.514: ERROR/AndroidRuntime(2578):     at fixus.core.NewserActivity$1.onItemClick(NewserActivity.java:48)

[android-developers] Re: How to speed up emulator a little ?

2011-07-04 Thread Chrystian Vieyra
There is nothing you can do to speed up the emulator. During google io it was announced that the emulator will be supporting hardware gl, which will make the emulator significantly faster. Besides waiting for a faster emulator perhaps you should consider testing your app using a service like

[android-developers] Re: multiuser application, managing of custom back stack.

2011-07-04 Thread Andrey Stelmashenko
I done some research, and found out two intent flags to launch new task with it`s back stack history: (FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) So, as I understand, in case of above example LoginActivity is something like top level launcher mention in javadoc of

Re: [android-developers] Video not playing in Device

2011-07-04 Thread vani reddy
Thanks Mark, I will try this. On Mon, Jul 4, 2011 at 7:04 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 4, 2011 at 8:47 AM, vani reddy vani.reddy.bl...@gmail.com wrote: Hi, Ok..when i tested the same video by placing it in raw folder,its playing fine..How to make it safe to

Re: [android-developers] Retreive recently used contacts

2011-07-04 Thread vani reddy
Thank you so much mark.. On Mon, Jul 4, 2011 at 7:08 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 4, 2011 at 8:46 AM, vani reddy vani.reddy.bl...@gmail.com wrote: What i want is ,when i compose a new message there is an option called recent ,on click of which it will show the

[android-developers] Re: Calculate Distance like GoogleMap

2011-07-04 Thread Fina Perez
Hi, you can get a kml file from google maps, parse it onto your application and paint the result in the map. Check the links below: http://csie-tw.blogspot.com/2009/06/android-driving-direction-route-path.html http://stackoverflow.com/questions/3109158/how-to-draw-a-path-on-a-map-using-kml-file

[android-developers] Re: Geocoder nightmare

2011-07-04 Thread Fina Perez
which exception do you have? And about the thing with the AVD 7 and 8, I use 8 and for me it works. Of course, check the manifest and the internet connection. On Jul 3, 9:56 pm, bob b...@coolgroups.com wrote: Yes, I did this. I read in a book that geocoding doesn't work in AVD 7 and 8.  It

[android-developers] Android SQL problem on app similar to notepad tutorial:CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0

2011-07-04 Thread juliagrig
I am triying to do an app using the notepad tutorial of Android as a guide. I can insert new elements in my expandable list (simple expandable adapter)without problems, but if i want to update the fields of one of this elements an error is prompted. I revisited the tutorial lots of times but i

[android-developers] Re: How to speed up emulator a little ?

2011-07-04 Thread razor
Emulator works slow with OpenGL and with plain Canvas, and it doesn't use fully my CPU, so maybe there is a way to speed up I though. and it can work faster - I see that during screen dimming or pressing F5, F4 and other actions (just before my activity is gone, screen updating works 2x times

[android-developers] Re: Not trusted server certificate

2011-07-04 Thread kaciula
Check out this link: http://code.google.com/p/android/issues/detail?id=15968 From 9th December 2010 RapidSSL and Geotrust certificates have been issued from a new 2048Bit root. You have to install an intermediate certificate on the server side. On Jun 30, 7:17 pm, dashman erjdri...@gmail.com

[android-developers] When is LICENSED_OLD_KEY returned?

2011-07-04 Thread Ted Hopp
The documentation for application licensinghttp://developer.android.com/guide/publishing/licensing.html#server-response-codesdescribes LICENSED_OLD_KEY as meaning: The application is licensed to the user, but there is an updated application version available that is signed with a different

[android-developers] android:required failing when building for api level 4

2011-07-04 Thread guich
Hi, I'm trying to install my application on a Archos 43 internet tablet. It failed with a INSTALL_FAILED_MISSING_FEATURE error. Searching in the forums, i saw a topic saying that we would have to change the uses-feature setting the required to false. When i put this line: uses-feature

Re: [android-developers] android:required failing when building for api level 4

2011-07-04 Thread Mark Murphy
Try using a newer build target, at least API Level 5. On Mon, Jul 4, 2011 at 1:08 PM, guich guiha...@gmail.com wrote: Hi, I'm trying to install my application on a Archos 43 internet tablet. It failed with a INSTALL_FAILED_MISSING_FEATURE error. Searching in the forums, i saw a topic saying

[android-developers] Android device require to be re-booted in order to view newly added contact - code snippet attached

2011-07-04 Thread Anees
Hi all, I am trying to insert contacts into SIM card and delete from it. But it needs the phone to be re-started in order to update the changes. For your reference, I am quoting the code I use for inserting a contact. //Before insertion - printing the contacts Cursor c =

Re: [android-developers] Android device require to be re-booted in order to view newly added contact - code snippet attached

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 1:42 PM, Anees aneesahame...@gmail.com wrote: I am trying to insert contacts into SIM card and delete from it. But it needs the phone to be re-started in order to update the changes. For your reference, I am quoting the code I use for inserting a contact. :: snip ::

[android-developers] Re: Odp: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame

2011-07-04 Thread Andy
* switching to mp3 96k PCM didn't help * reduce max Streams to 8 didn't 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@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: Android device require to be re-booted in order to view newly added contact - code snippet attached

2011-07-04 Thread Anees
Dear Mark, I have seen your comments regarding this before and I have taken them into account with due respect. But this occurs at the final stages of framework modification. The precise issue which I reported here seemed bit strange to me, as I could not understand, what precisely the issue

[android-developers] question about onclick xml attribute for views

2011-07-04 Thread Sachin Dole
Hello! On the javadoc for the android:onclick xml attribute, it says the following. What does the part about being able to provide a reference to a resource mean? Do I have the ability to configure any class in my project to be a handler for onclick events or does it have to be a context

[android-developers] Android SQL problem on app similar to notepad tutorial:CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0

2011-07-04 Thread jjoe64
The content Provider returns null if there was a SQL error. Have a look in logcat. If you send me your source Code i could take a closer look into your Problem. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Android SQL problem on app similar to notepad tutorial:CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0

2011-07-04 Thread jjoe64
The content Provider returns null if there was a SQL error. Have a look in logcat. If you send me your source Code i could take a closer look into your Problem. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Android device require to be re-booted in order to view newly added contact - code snippet attached

2011-07-04 Thread Anees
Is it required to trigger some method or class, to update the contacts cache after I update a contact on SIM? On Jul 4, 11:53 pm, Anees aneesahame...@gmail.com wrote: Dear Mark, I have seen your comments regarding this before and I have taken them into account with due respect. But this

Re: [android-developers] Re: Android device require to be re-booted in order to view newly added contact - code snippet attached

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 2:53 PM, Anees aneesahame...@gmail.com wrote: I have seen your comments regarding this before and I have taken them into account with due respect. But this occurs at the final stages of framework modification. In which case, this is the wrong list. Visit

Re: [android-developers] question about onclick xml attribute for views

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 3:05 PM, Sachin Dole sachin.d...@gmail.com wrote: On the javadoc for the android:onclick xml attribute, it says the following. What does the part about being able to provide a reference to a resource mean? I think it means that you can have a string resource with the

[android-developers] The last nested activity in the tabactivity

2011-07-04 Thread youssef
I have a problem when I reach the last nested activity with the tab activity. so when I press on one of the tab(Branch Search) it takes me to a page when I have a edittext and go button when I press the go button to get the locations of the specific zipcode I get the locations with the tab bar,

[android-developers] Soft Keyboard appears when entering on an Activity

2011-07-04 Thread fr4gus
I'm able to replicate a unusual issue with EditText. But it doesn't happen on all devices. Let's say you have the following layout: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

Re: [android-developers] Soft Keyboard appears when entering on an Activity

2011-07-04 Thread Mark Murphy
You might consider posting a full sample project somewhere, to make it easier for others to test. On Mon, Jul 4, 2011 at 4:35 PM, fr4gus fggar...@gmail.com wrote: I'm able to replicate a unusual issue with EditText. But it doesn't happen on all devices. Let's say you have the following

[android-developers] Re: Odp: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame

2011-07-04 Thread a1
You may try to set even lower max streams value (like 4). This is basically trial and error - I've tested several combination of codecs and streams count (eg. raw mono pcm worked fine in my case but they are huge). Make sure you test on orginal samsung galaxy with 2.3 firmware as it tend to

Re: [android-developers] question about onclick xml attribute for views

2011-07-04 Thread doles
gotcha! thank you much! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] re-usable components???

2011-07-04 Thread doles
Hello, I have read the documentation at http://developer.android.com/guide/topics/ui/custom-components.html for creating custom widgets and layouts. This talks about how you can extend an existing layout (such as LinearLayout) and add widgets to it to create a custom re-usable component. It

Re: [android-developers] re-usable components???

2011-07-04 Thread Mark Murphy
On Mon, Jul 4, 2011 at 5:09 PM, doles sachin.d...@gmail.com wrote: I have read the documentation at http://developer.android.com/guide/topics/ui/custom-components.html for creating custom widgets and layouts. This talks about how you can extend an existing layout (such as LinearLayout) and add

[android-developers] Tracking the finger touch using MotionEvent ?

2011-07-04 Thread Turki
Hi there, I have a problem with tracking finger touches. What I am trying to do is: - having multiple images in the screens, which will be acting as buttons. - when a finger touch the screen and hover any image (any button), the image will be changed to another one(It will look like a

[android-developers] drawing line graph in android

2011-07-04 Thread nishant kumar
Hi, I am new in android and my application requirement is to draw a line graph using data given by the user. I am trying it from 2 days but didn't found any perfect solution.The data provided by the user will be 1. A list of (x,y) co-ordinates 2. Title of the graph 3. X-axis label and Y-axis

<    1   2   3   >