[android-developers] in Exapndible list view on clicklistener

2012-05-12 Thread Jagadeesh
i am doing expandible listview ,its working fine ,when iam trying set for onlcik listener for childlist in for textview .setonclicklistner with another activity its not working .. see my code.. public class CompaniesActivity extends ExpandableListActivity { /** Called when the activity i

Re: [android-developers] Image scaled, scroll, zoom, without margin

2012-05-12 Thread [Perso]Svend WALTER
Sorry, zoom is not in imageview implemented as I red. I will pass this feature on my app, it's not so important... Le 13 mai 2012 02:06, "huberte" a écrit : > Hi, > > A very easy thing, I thought. > > Have an image : exp1.png, which I want to fit the screen in landscape or > portrait, and wish th

[android-developers] Image scaled, scroll, zoom, without margin

2012-05-12 Thread huberte
Hi, A very easy thing, I thought. Have an image : exp1.png, which I want to fit the screen in landscape or portrait, and wish that the user can scroll this image. Tell me please, if I do that correctly : 1. I did copy different resolution in xhdpi (1024x) hdpi(640x) and ldpi,mdpi(480x

[android-developers] Re: Android to PHP error- Unidentified Index

2012-05-12 Thread Jeresam515
POST does not seem to be making a difference, thanks though. -- 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-deve

[android-developers] Re: Android to PHP error- Unidentified Index

2012-05-12 Thread Jonathan S
I think you should use $_POST instead $_REQUEST because $_REQUEST is $_POST, $_GET and $_COOKIE. look into this sample http://www.androidsnippets.com/executing-a-http-post-request-with-httpclient On Saturday, May 12, 2012 10:22:34 PM UTC-4, Jeresam515 wrote: > > when sending data to a php serv

[android-developers] Re: Android to PHP error- Unidentified Index

2012-05-12 Thread Jonathan S
$_REQUEST is $_GET , $_POST and $_COOKIE . since you are not doing query string, it be null. On Saturday, May 12, 2

Re: [android-developers] ImageView.getWidth() at the start of my App

2012-05-12 Thread Justin Anderson
Satya, 1) Don't hijack someone's post to ask your own question 2) When you do ask the question in your own thread, ask a question that makes sense. On May 12, 2012 1:53 AM, "satya attili" wrote: > > hi... > > how to implement payment gate way in android application... > > -- > You received this

Re: [android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Le samedi 12 mai 2012 18:17:55 UTC-4, Kostya Vasilyev a écrit : > > > ... you will now need to catch UnsupportedEncodingException, as a > formality. > Didn't understood... > > 2) Check the encoding of your asset text file in Eclipse: right click, > properties, see bottom of the right pane. >

[android-developers] Re: Maps API - internal persistence of data

2012-05-12 Thread lbendlin
You have full control over when and how to show the map. You should not assume that your users open your app in the same geo location as when they last closed it. On Saturday, May 12, 2012 11:53:28 AM UTC-4, Simon Giddings wrote: > > I am building a maps api application and have noticed that the

[android-developers] Android to PHP error- Unidentified Index

2012-05-12 Thread Jeresam515
when sending data to a php server through android I cam across this error: "Notice: Undefined index: IT in C:\xampp\htdocs\hello.php on line 4". After a few hours of messing around with it I can't solve my issue. hello.php : http://localhost/hello.php'); ?> update method in android: public

[android-developers] How to drag multiple bitmaps on Android Surfaceview

2012-05-12 Thread Shawn
I am using a surfaceview and have drawn multiple bitmaps to the view. My question is how can I use the touch listener to target each bitmaps move action independently? Basically I want the user to be able to arrange the bitmaps in any order they like. I came up with a method of determining the spa

[android-developers] How to make simultaneous connections to a Wi-Fi Direct and AP in ICS

2012-05-12 Thread fan zhang
Hi: Do you know how to make simultaneous connections to a Wi-Fi Direct and AP in ICS. Current Samsung Nexus with ICS 4.0.2 does not support simultaneous connections to Wi-Fi direct device and a AP. Thanks Fan -- You received this message because you are subscribed to the Google Groups "Androi

Re: [android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread Kostya Vasilyev
Regarding the umlauts: 1) Replace this: // Convert the buffer into a string. String text = new String(buffer); with this: // Convert the buffer into a string. String text = new String(buffer, "UTF-8"); ... you will now need to catch UnsupportedEncodingException, as a fo

[android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Tolriq, I have this main.xml : http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > Then I call my textview in java : package com.android.bo

Re: [android-developers] Re: Proguard and PreferenceActivity

2012-05-12 Thread JBirdVegas
I think what you want is not to call setContentView and instead make a custom preference for the 2nd part of your content you need to load. In the custom preference you can use whatever layout you want but while within a PreferenceActivity your options of system provided layouts is limited. --

[android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Thanks. But I'm to noob to check how to have this menu item clicked and then display a basic textbox from a txt file... I try to find something easy, but I didn't succeed :( Le samedi 12 mai 2012 09:38:29 UTC-4, Tolriq a écrit : > > If simple TextView there's no scrollbar by default, you need a

[android-developers] How to find device dropping installs

2012-05-12 Thread Droid
I have an App that is dropping installs like a stone but I do not see which device is doing it in my Play beautiful stats. Why? Because all the devices in the graphic are OK so it must be one below the main list (in 'others') that my app is crashing. Any ideas how I can find out which device is lo

Re: [android-developers] Get SubView Location in MapView

2012-05-12 Thread TreKing
On Sat, May 12, 2012 at 2:31 AM, Matt Clark wrote: > In my app I am using a mapView with ImageViews within. When I click on one > of the contained imageviews, how would I get its location withing the > mapView so that I can center the mapview on the clicked ImageView. Use Overlays instead of Im

Re: [android-developers] Re: Proguard and PreferenceActivity

2012-05-12 Thread Kostya Vasilyev
Not sure about the crash, but calling setContentView yourself on a PreferenceActivity is quite meaningless. -- K 2012/5/12 lbendlin > The error may be caused by something else entirely. > > The other day I learned that lint in it over-eagerness gave me bad advice. > It told me to put drawables

Re: [android-developers] Re: Equally verticaly spaced button

2012-05-12 Thread Kostya Vasilyev
That warning comes from the Android LINT. As you can see, there are no "nested" weights in that layout. I've already reported this: http://code.google.com/p/android/issues/detail?id=22889#c8 -- K 2012/5/12 huberte > Oh and thanks Kostya, just one thing, why does Eclipse telling me a > warnin

Re: [android-developers] Maps API - internal persistence of data

2012-05-12 Thread Mark Murphy
On Sat, May 12, 2012 at 12:27 PM, Simon Giddings wrote: > Thank you for your rapid reply (notably for a Saturday). Just sitting here, trying to figure out why AlarmManager alarm isn't working... > It would still be good to be able to grab this, I feel. There are lots and lots of things that wou

Re: [android-developers] Maps API - internal persistence of data

2012-05-12 Thread Simon Giddings
Hi Mark, Thank you for your rapid reply (notably for a Saturday). You are right - I spoke too soon. I was creating the marker myself (*now that's embarrassing*). It would appear that the last location, zoom level and map type is preserved. It would still be good to be able to grab this, I fee

Re: [android-developers] Maps API - internal persistence of data

2012-05-12 Thread Mark Murphy
On Sat, May 12, 2012 at 11:53 AM, Simon Giddings wrote: > I am building a maps api application and have noticed that the map position > and zoom levels are restored upon subsequent application launches. > > Is it possible to access this persistence store so as to be able to control > and detect wh

[android-developers] Maps API - internal persistence of data

2012-05-12 Thread Simon Giddings
I am building a maps api application and have noticed that the map position and zoom levels are restored upon subsequent application launches. Is it possible to access this persistence store so as to be able to control and detect what data is going to be restored. This would be notably useful to

[android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread Tolriq
If simple TextView there's no scrollbar by default, you need a scrollview or things like : http://stackoverflow.com/questions/1748977/making-textview-scrollable-in-android For 2 and 3, it depends on your needs :) If you want your text in multiple language then res would be the way to go, if it'

Re:: [android-developers] Re: Proguard and PreferenceActivity

2012-05-12 Thread Kostya Vasilyev
Right, like setContentView being pretty much meaningless for a PreferenceActivity Unless I'm missing something really subtle and clever. 12.05.2012 16:42 пользователь "lbendlin" написал: > The error may be caused by something else entirely. > > The other day I learned that lint in it over-ea

[android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Le samedi 12 mai 2012 07:20:46 UTC-4, Tolriq a écrit : > > You just forgot to show the created dialog :) > o| Sorry Thanks Tolric :) Just 3 other questions if I may. The text in question could be very long, 1. Would the scrollbar auto appears ? 2. Should I use the sample code from API ReadAss

[android-developers] Re: Proguard and PreferenceActivity

2012-05-12 Thread lbendlin
The error may be caused by something else entirely. The other day I learned that lint in it over-eagerness gave me bad advice. It told me to put drawables into resolution folders like drawable-mdpi but it neglected to mention that this breaks the app on 1.5 devices. I had to move the drawables

[android-developers] Exception e is a null string in HttpTransportSE.call method using KSOAP to consume a WSDL Service

2012-05-12 Thread ingaponteca
I am trying to consume a web service from android and I got that the application send the "XML right format" needed for my WebService. I checked with a sniffer and test it in SOAPUI client. I can see that requestDump and respondDump are filled with the in and out information but the application f

[android-developers] Re: Menu : Handling click events : DialogBox

2012-05-12 Thread Tolriq
You can put it in both it's the same. You just forgot to show the created dialog :) Dialog dialog = new AlertDialog.Builder(this).setTitle("About").setMessage("el viva Android !").create(); dialog.show(); Le samedi 12 mai 2012 12:10:20 UTC+2, huberte a écrit : > > I did red > > http://devel

[android-developers] Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
Hi, I did red http://developer.android.com/guide/topics/ui/menus.html http://developer.android.com/guide/topics/resources/menu-resource.html I wrote this in main activity @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.i

[android-developers] Re: Equally verticaly spaced button

2012-05-12 Thread huberte
Oh and thanks Kostya, just one thing, why does Eclipse telling me a warning ? "nested weights is bad for performance" ? thks -- 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@googlegro

[android-developers] Menu : Handling click events : DialogBox

2012-05-12 Thread huberte
I did red http://developer.android.com/guide/topics/ui/menus.html http://developer.android.com/guide/topics/resources/menu-resource.html I wrote this in main activity @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.infla

[android-developers] Re: Equally verticaly spaced button

2012-05-12 Thread huberte
OUhh, that is clever ! Works ! (I did try to add the android: befor your code, I'm not so good) Really a nice issue for this problem, why is it not so much spread ? Here the view block what I add to your code http://schemas.android.com/apk/res/android"; android:layout_width="fill_paren

Re: [android-developers] Equally verticaly spaced button

2012-05-12 Thread Kostya Vasilyev
Ah, ok, I'll bite. View is exactly the android.widget.View that you mentioned above. You can use it just like any other View subclass in a layout XML. Ordinarily, it's useless, because a View doesn't draw anything. But here we can use it to provide spacing between the other views / widgets / but

[android-developers] Re: Proguard and PreferenceActivity

2012-05-12 Thread al
The error message seems to say there's a problem in an XML file, right? I would look at line 2 in new_profile.xml. Am Donnerstag, 10. Mai 2012 13:35:07 UTC+2 schrieb Mentos: > > In my release apk I have very strange problem. In debug all works > fine. > proguard.cfg is normal from examples. >

[android-developers] Re: Confirmation with pressing back button

2012-05-12 Thread Matt Clark
> > Probably not the most efficient way to do things... but it works on all >> devices that I have used... Not neat.. but hey, it works. xD > > > boolean quitOnBack = false; public void onBackPressed() { if (quitOnBack) > { finish(); } else { quitOnBack = true; Toast.makeText(this, "Press {Back}

[android-developers] Re: Confirmation with pressing back button

2012-05-12 Thread Matt Clark
> > Probably not the most efficient way to do things... but it works on all > devices that I have used... Not neat.. but hey, it works. xD boolean quitOnBack = false; public void onBackPressed() { if (menuLayout.getVisibility() == View.VISIBLE) { menuLayout.startAnimation(Anim_SlideOut_Bottom)

Re: [android-developers] ImageView.getWidth() at the start of my App

2012-05-12 Thread satya attili
hi... how to implement payment gate way in android application... -- 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 androi

[android-developers] Get SubView Location in MapView

2012-05-12 Thread Matt Clark
In my app I am using a mapView with ImageViews within. When I click on one of the contained imageviews, how would I get its location withing the mapView so that I can center the mapview on the clicked ImageView. -- You received this message because you are subscribed to the Google Groups "Andro

[android-developers] need help fro Android SSO in flash using flex library and creation of ane

2012-05-12 Thread ANKUR GOEL
Hi all , need help fro Android SSO in flash using flex library and creation of ane I have make the simple notification program but its giving error 1009 cannot access method of null refrences . Please help Thanks -- You received this message because you are subscribed to the Google Groups "An