Re: [android-developers] Re: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file?
Xml file is not used for layout which will load on run-time. On Tue, Jun 4, 2013 at 9:16 AM, Jonathan S xfsuno...@gmail.com wrote: Not in XML. You only do that in Java. On Monday, June 3, 2013 10:15:54 PM UTC-4, マキレット wrote: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file? The boolean value used by a conditional expression wants then to use what the java side defines. Thank you for your consideration. -- -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file?
Xml is only used for layout which will load at run-time. On Tue, Jun 4, 2013 at 9:16 AM, Jonathan S xfsuno...@gmail.com wrote: Not in XML. You only do that in Java. On Monday, June 3, 2013 10:15:54 PM UTC-4, マキレット wrote: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file? The boolean value used by a conditional expression wants then to use what the java side defines. Thank you for your consideration. -- -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] want vertical coverflow
Thanks for comment, but can you please tell where exactly I have to change in the code for that. Thank you Regards, Rauf Qureshi On Sun, Nov 4, 2012 at 10:32 PM, TreKing treking...@gmail.com wrote: On Sun, Nov 4, 2012 at 5:54 AM, rauf qureshi qureshira...@gmail.comwrote: I got link for coverflow but it is horizontally scrolling,but my requirement is vertically scrolling which is given in link 2 so can any body help me how to develop or any link for vertially scrolling Coverflow. Take the exact logic / concept as the horizontal, but change the direction ... - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] want vertical coverflow
Hi friends, I got link for coverflow but it is horizontally scrolling,but my requirement is vertically scrolling which is given in link 2 so can any body help me how to develop or any link for vertially scrolling Coverflow. 1)http://www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html 2)http://www.flexdownloads.com/preview_source/114/ Thank you Regards, Rauf Qureshi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] single selection listveiw
Hi Parmar, yap, I have tried that but this will work with ArrayAdapter not by class which extends BaseAdapter. Thank you Regards, Rauf Qureshi On Fri, Nov 2, 2012 at 11:53 AM, Nirav Parmar n.parma...@gmail.com wrote: Hi Rauf, Did you have tried this listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); Thanks Regards, Nirav On Fri, Nov 2, 2012 at 10:19 AM, rauf qureshi qureshira...@gmail.comwrote: Thanks for reply me but i did that by check box. following code i have used for that checkProfileItem is object of checkbox and it is declare in ViewHolder class. holder.checkProfileItem.setId(position); holder.checkProfileItem.setOnClickListener(new OnClickListener() { public void onClick(View v) { for (int i = 0; i ProfileListBean.profileList.size(); i++) { if (v.getId() == i) { //holder.checkProfileItem.setChecked(true); checkArray[i] = true; //Log.v(check, +position); } else { checkArray[i] = false; } } notifyDataSetChanged(); } }); if(checkArray[position]){ holder.checkProfileItem.setChecked(true); } else { holder.checkProfileItem.setChecked(false); } Thank you Regards, Rauf Qureshi On Wed, Oct 31, 2012 at 12:04 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Wed, Oct 31, 2012 at 10:51 AM, rauf qureshi qureshira...@gmail.comwrote: hello friends, I am developing listview with customerAdapter which extends baseAdapter,in each item of list there is two textview and one check box is there , so i want to select one check box at a time but i am unable to do that can any body give me solution for that Hi Rauf, I guess RadioButton is better way to do what you want, as you can use RadioGroup, as parent view to the radiobuttons if you want single selection. As well as I guess using checkbox should be preferred in case of selecting multiple items. You can ask if you have further queries. Thanks and Regards, NSR -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Regards, Nirav -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] single selection listveiw
Thanks for reply me but i did that by check box. following code i have used for that checkProfileItem is object of checkbox and it is declare in ViewHolder class. holder.checkProfileItem.setId(position); holder.checkProfileItem.setOnClickListener(new OnClickListener() { public void onClick(View v) { for (int i = 0; i ProfileListBean.profileList.size(); i++) { if (v.getId() == i) { //holder.checkProfileItem.setChecked(true); checkArray[i] = true; //Log.v(check, +position); } else { checkArray[i] = false; } } notifyDataSetChanged(); } }); if(checkArray[position]){ holder.checkProfileItem.setChecked(true); } else { holder.checkProfileItem.setChecked(false); } Thank you Regards, Rauf Qureshi On Wed, Oct 31, 2012 at 12:04 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Wed, Oct 31, 2012 at 10:51 AM, rauf qureshi qureshira...@gmail.comwrote: hello friends, I am developing listview with customerAdapter which extends baseAdapter,in each item of list there is two textview and one check box is there , so i want to select one check box at a time but i am unable to do that can any body give me solution for that Hi Rauf, I guess RadioButton is better way to do what you want, as you can use RadioGroup, as parent view to the radiobuttons if you want single selection. As well as I guess using checkbox should be preferred in case of selecting multiple items. You can ask if you have further queries. Thanks and Regards, NSR -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] single selection listveiw
hello friends, I am developing listview with customerAdapter which extends baseAdapter,in each item of list there is two textview and one check box is there , so i want to select one check box at a time but i am unable to do that can any body give me solution for that Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] spinner
Hello friends , I want to show Select option in spinner when application launch,and when i select any item that should be on the spinner how we can do this. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] GroupActivity is not being closed
hello friends, I am using GroupActivity in this i have used Toptab and BottomTab. now problem is that when i am pressed back buttom application is not being closed .so can any body tell me solution of that i have also used onBackPressed() { finish(); android.os.Process.killProcess(android.os.Process.myPid()); System.runFinalizersOnExit(true) } this code is also not working. please help me in this regard thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] when i am trying close this activity it is not being closed.
import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.Vector; import org.ksoap2.serialization.SoapObject; import android.app.Activity; import android.app.ActivityGroup; import android.app.LocalActivityManager; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.view.KeyEvent; import android.view.ViewGroup.LayoutParams; import android.widget.EditText; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.ScrollView; import android.widget.TextView; public class DashBoard extends ActivityGroup//Activity { Intent intent; Vector dashBoardImage; //DashBoardSaveData dashboard; SoapObject storeresponse[]; Bitmap bit[]; int iconHori[]={R.drawable.icontrain,R.drawable.iconrestorent,R.drawable.iconcamera,R.drawable.iconmovie,R.drawable.icontrain,R.drawable.iconaeroplan ,R.drawable.icontrain,R.drawable.iconrestorent,R.drawable.iconcamera,R.drawable.iconmovie,R.drawable.icontrain,R.drawable.iconaeroplan}; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); DashBoardSaveData d=new DashBoardSaveData(); DashBoardSaveData.setDashBoard(DashBoard.this); dashBoardImage=d.image; LocalActivityManager mag=getLocalActivityManager(); RelativeLayout rl=new RelativeLayout(this); ImageView header1=new ImageView(this); header1.setImageResource(R.drawable.header1); RelativeLayout.LayoutParams lay1 = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT); lay1.addRule(RelativeLayout.ALIGN_PARENT_TOP); ImageView header2=new ImageView(this); header2.setImageResource(R.drawable.header2); RelativeLayout.LayoutParams lay2 = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT); lay2.topMargin=24; lay2.leftMargin=30; LinearLayout ll1=new LinearLayout(this); ll1.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); ll1.addView(mag.startActivity(topActivity, new Intent(this,TopTab.class)).getDecorView()); RelativeLayout.LayoutParams lay = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT); lay.topMargin=120; lay.leftMargin=20; lay.rightMargin=20; //horizontal alignment //ImageView leftarrow=new ImageView(this); //leftarrow.setImageResource(R.drawable.leftarrow); //RelativeLayout.LayoutParams layleftarrow = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT); //layleftarrow.topMargin=162; ////layleftarrow.addRule(RelativeLayout.ALIGN_PARENT_LEFT); //ImageView rightarrow=new ImageView(this); //rightarrow.setImageResource(R.drawable.rightarrow); //RelativeLayout.LayoutParams layrightarrow = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT); //layrightarrow.topMargin=162; //layrightarrow.addRule(RelativeLayout.ALIGN_PARENT_RIGHT); //ScrollView sc=new ScrollView(this); //LinearLayout lHorizontal=new LinearLayout(this); //lHorizontal.setOrientation(LinearLayout.HORIZONTAL); //for(int i=0;iiconHori.length-1;i++) //{ // ImageView horizin_i=new ImageView(this); // // horizin_i.setImageResource(iconHori[i]); // horizin_i.setPadding(10, 0, 10,0); // horizin_i.setLayoutParams(new LayoutParams(60, 60)); // lHorizontal.addView(horizin_i); // //} Animatated anim=new Animatated(this); RelativeLayout.LayoutParams horizontalLay = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT); //horizontalLay.topMargin=162; //horizontalLay.leftMargin=40; //sc.addView(lHorizontal); //end ImageView searchback=new ImageView(this); searchback.setImageResource(R.drawable.searchback); RelativeLayout.LayoutParams lay3 = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT); lay3.topMargin=243; //ImageView searc=new ImageView(this); //searc.setImageResource(R.drawable.search); //RelativeLayout.LayoutParams lay4 = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT); //lay4.topMargin=171; // EditText
[android-developers] tab view
hello friends please help me how to design top tab and bottom tab in one activity and each tab should be different action. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to send vector from one activity to another
hello friends I am trying to send Vector one activity to another activity how to do this can any body tell me. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Google Map Api key
Hello friends, I am working with google map,I have generate MD5 certificate. when i am trying to generate api key its showing message that invalid certificate so can any body help me what is error -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] installation issue
hello everyone I want to install my android application in HTC android device but i am not able to connect that in installation mode can any body tell the solution. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] json format
hello everyone, JSONObject json=new JSONObject(); json.put(date,25/10/2012); in above code when i send this request to server date automatic converted into following format 25/\10/\2012 can any body tell me how to send date on the server using json in 25/10/2012 format. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] json format
Thanks friends to comment. i have solved this problem just pass your string with 25\\10\\2012 On Wed, Sep 12, 2012 at 8:16 PM, John Coryat cor...@gmail.com wrote: or... switch to '-' instead... -John Coryat On Wednesday, September 12, 2012 9:12:40 AM UTC-5, Harri Smått wrote: On Sep 12, 2012, at 3:40 PM, rauf qureshi quresh...@gmail.com wrote: in above code when i send this request to server date automatic converted into following format 25/\10/\2012 can any body tell me how to send date on the server using json in 25/10/2012 format. It's the other way around. / is presented escaped \/ with backslash and there's no way around this. But instead on server side you should remove escape character by your JSON parser. -- H -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] json format
actually i am dealing with json and server, when i add parameter in json 25/10/2012 it become 25/\10/\2012. it goes on server and store there in data base as garbage so i need date in such format which store in data base in proper format that'sway when i send date 25\\10\\2012 in this format it store date in database in readable format. so i used this. On Thu, Sep 13, 2012 at 5:27 AM, Lew lewbl...@gmail.com wrote: What date format is that? Standard date formats that I know use dashes, forward slashes or no punctuation, not backslashes. But I don't know all date formats, so which one uses backslashes? -- Lew rauf qureshi wrote: Thanks friends to comment. i [sic] have solved this problem just pass your string with 25\\10\\2012 John Coryat wrote: or... switch to '-' instead... -John Coryat Harri Smått wrote: rauf qureshi quresh...@gmail.com wrote: in above code when i send this request to server date automatic converted into following format 25/\10/\2012 can any body tell me how to send date on the server using json in 25/10/2012 format. It's the other way around. / is presented escaped \/ with backslash and there's no way around this. But instead on server side you should remove escape character by your JSON parser. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] soap request parameter
hey jsutin anderson i have solved problem related to soap. and thanks to comment on this problem. On Wed, Sep 5, 2012 at 8:52 PM, Justin Anderson magouyaw...@gmail.comwrote: I have two links for you: - http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html - http://lmgtfy.com/?q=android+send+soap+request Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Sep 5, 2012 at 5:23 AM, rauf qureshi qureshira...@gmail.comwrote: hello everyone can anybody tell me how to send soap request in the following format in android ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap= http://schemas.xmlsoap.org/soap/envelope/; soap:Body customer.login xmlns= http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/; params{email:sachin.si...@idhasoft.com ,password:12345678,website:base}/params /customer.login /soap:Body /soap:Envelope request should contain above parameter. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] soap+android related problem
On Sun, Sep 9, 2012 at 3:48 AM, TreKing treking...@gmail.com wrote: On Sat, Sep 8, 2012 at 3:44 AM, rauf qureshi qureshira...@gmail.comwrote: i am troubling with above code Learn to debug your own code or post a *small* sample of code with a * clear* explanation of the problem you're having. Posting a giant blob of code with nothing more than I have a problem with this is a fantastic way to get ignored. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices public class LoginService extends Service { String url=http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php;; String NAME_SPACE=http://demo3.idhasoft.us/iLoyal;; String SOAP_METHOD=customer.login; String SOAP_ACTION= http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/customer.login;; @Override public IBinder onBind(Intent intent) { //TODO Auto-generated method stub return null; } @Override public void onStart(Intent intent, int startId) { // TODO Auto-generated method stub try{ SoapObject result=(SoapObject)getWeather(); System.out.println(result +result.toString()); } catch(Exception e) { System.out.println(exp in soap +e); } stopService(intent); } public SoapObject getWeather() throws Exception { SoapObject request = new SoapObject(NAME_SPACE , SOAP_METHOD); PropertyInfo id=new PropertyInfo(); id.setName(email); id.setValue(sachin.si...@idhasoft.com); id.setType(String.class); request.addProperty(id); PropertyInfo pass=new PropertyInfo(); pass.setName(password); pass.setValue(12345678); pass.setType(String.class); request.addProperty(pass); PropertyInfo website=new PropertyInfo(); website.setName(website); website.setValue(base); website.setType(String.class); request.addProperty(website); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); transport.call(SOAP_ACTION, envelope); return (SoapObject) envelope.getResponse(); } @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); System.out.println(destroy me aaya); } } Hello treking, In above code i have soap api when i use addProperty method it take parameter in following format customer.login{email=sachin.si...@idhasoft.com ;password=12345;website=base;} but i want to send request in the following format {email:sachin.si...@idhasoft.com ,password:12345,website:base} now can you please tell me the solution. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] soap+android related problem
) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo netInfo = cm.getActiveNetworkInfo(); if (netInfo != null netInfo.isConnectedOrConnecting()) { System.out.println(connected: +netInfo.getExtraInfo()); } else { System.out.println(not connected); } //System.out.println(1=); //transport.call(SOAP_ACTION, envelope); transport.call(SOAP_ACTION, envelope); //androidHttpTransport.call(SOAP_ACTION, envelope); System.out.println(2=); //System.out.println(response is++(String)envelope.getResult()); return (SoapObject) envelope.getResponse(); //return envelope.getResponse().toString(); } @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); System.out.println(destroy me aaya); } } i am troubling with above code , proper response is not coming can you please help me to short out it Thanks On Fri, Sep 7, 2012 at 7:40 PM, Justin Anderson magouyaw...@gmail.comwrote: Yeah... it is called Google - http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html - http://lmgtfy.com/?q=android+soap+request Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Sep 7, 2012 at 7:38 AM, rauf qureshi qureshira...@gmail.comwrote: can any body tell me how to send soap request in json format please reply thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] soap+android related problem
can any body tell me how to send soap request in json format please reply thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] soap request parameter
hello everyone can anybody tell me how to send soap request in the following format in android ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap= http://schemas.xmlsoap.org/soap/envelope/; soap:Body customer.login xmlns= http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/; params{email:sachin.si...@idhasoft.com ,password:12345678,website:base}/params /customer.login /soap:Body /soap:Envelope request should contain above parameter. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] soap
hello everyone, can anybody explain me SOAP service I have found many example but i have not cleared following parameters NAME_SPACE METHOD SOAP_ACTION URL Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers]
package com.example.splashscreentest; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import android.app.Service; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.IBinder; public class RegistrationService extends Service{ String SOAP_ACTION= http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/customer.addIloyalCustomer ; String SOAP_METHOD=customer.addIloyalCustomer; String NAME_SPACE=http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php;; String url=http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/?wsdl;; @Override public IBinder onBind(Intent intent) { //TODO Auto-generated method stub return null; } @Override public void onStart(Intent intent, int startId) { //TODO Auto-generated method stub super.onStart(intent, startId); try{ SoapObject result=(SoapObject)getWeather(); System.out.println(+result.toString()); }catch(Exception e) { System.out.println(exception in soap +e); } stopService(intent); } public SoapObject getWeather() throws Exception { SoapObject request = new SoapObject(NAME_SPACE, SOAP_METHOD); //request.addProperty(PlaceName, city); request.addProperty(firstname, rauf); request.addProperty(lastname, qureshi); request.addProperty(email, rauf.qure...@gmail.com); request.addProperty(password, 12345); request.addProperty(mobile, 8286459963); request.addProperty(DOB, 15/04/88); request.addProperty(zipcode, 400092); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); // It seems that it is a .NET Web service because it doesn't work without next line envelope.dotNet = true; HttpTransportSE transport = new HttpTransportSE(url); System.out.println(service me conncetion checking se pahle aaya); //ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); //NetworkInfo netInfo = cm.getActiveNetworkInfo(); // //if (netInfo != null netInfo.isConnectedOrConnecting()) //{ // System.out.println(connected+netInfo.getExtraInfo()); //} //else //{ //System.out.println(not connceted); //} System.out.println(request +request); System.out.println(1=); transport.call(SOAP_ACTION, envelope); System.out.println(2=); return (SoapObject) envelope.getResponse(); } @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); } } I am getting this problem can any body solve it org.xmlpull.v1.xmlpullparserexception expected start_tag Thnaks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Bluetooth connection problem
//demo3.idhasoft.us/iloyal/api/iloyal/customer.php/customer.login //I have develop following code can any body tell me solution of following errors import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import android.app.Service; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.IBinder; public class RegistrationService extends Service{ String SOAP_ACTION= http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/customer.addIloyalCustomer ; String SOAP_METHOD=customer.addIloyalCustomer; String NAME_SPACE=http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php;; String url=http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/?wsdl;; @Override public IBinder onBind(Intent intent) { //TODO Auto-generated method stub return null; } @Override public void onStart(Intent intent, int startId) { //TODO Auto-generated method stub super.onStart(intent, startId); try{ SoapObject result=(SoapObject)getWeather(); System.out.println(+result.toString()); }catch(Exception e) { System.out.println(exception in soap +e); } stopService(intent); } public SoapObject getWeather() throws Exception { SoapObject request = new SoapObject(NAME_SPACE, SOAP_METHOD); //request.addProperty(PlaceName, city); request.addProperty(firstname, rauf); request.addProperty(lastname, qureshi); request.addProperty(email, rauf.qure...@gmail.com); request.addProperty(password, 12345); request.addProperty(mobile, 8286459963); request.addProperty(DOB, 15/04/88); request.addProperty(zipcode, 400092); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); // It seems that it is a .NET Web service because it doesn't work without next line envelope.dotNet = true; HttpTransportSE transport = new HttpTransportSE(url); System.out.println(service me conncetion checking se pahle aaya); //ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); //NetworkInfo netInfo = cm.getActiveNetworkInfo(); // //if (netInfo != null netInfo.isConnectedOrConnecting()) //{ // System.out.println(connected+netInfo.getExtraInfo()); //} //else //{ //System.out.println(not connceted); //} System.out.println(request +request); System.out.println(1=); transport.call(SOAP_ACTION, envelope); System.out.println(2=); return (SoapObject) envelope.getResponse(); } @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); } } org.xmlpull.v1.XmlPullParserException: expected: START_TAG { http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG definitions name='wsLogin' targetNamespace=' http://painel01.allinmail.com.br/wsAllin/login.php'@2:403 in java.io.InputStreamReader@4375ba18) i am getting above problem can any body tell me solution of above problem. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] java.lang.ClassNotFoundException: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2 in test project
can any body tell me how to make a post in this group for problem solution and please some one update me about payment gateway and its charges is apply to use this server please help me On Mon, Aug 27, 2012 at 8:36 PM, nikhilesh singh Tak nikhileshsingh...@gmail.com wrote: Hi Mark, Thanks for the reply. Yes I have checked that. In my main app project android-support-v4.jar is present in the libs folder. Also in build path I have marked the library as checked in Order and Export section. Even I tried it by adding the v4 jar in test project but that too didn't worked... On Sun, Aug 26, 2012 at 11:57 PM, Mark Murphy mmur...@commonsware.comwrote: Make sure that you properly have the Android Support package attached to your project (e.g., android-support-v4.jar in your libs/ directory). On Sun, Aug 26, 2012 at 2:06 PM, nikhilesh nikhileshsingh...@gmail.com wrote: Hi Group, I created a project using the support.v4 library. Now I am creating a test project for my main app. But when I try to run it gives me the exception W/ClassPathPackageInfoSource(551): Caused by: java.lang.ClassNotFoundException: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2 in loader dalvik.system.PathClassLoader. I searched a lot but not able to find anything on it. Please help. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Nikhilesh Singh Tak +91-9754070871 +91-9929098279 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Live audio stream - Android 2.x - possible ?
Use RTSP protocol for that On Mon, Aug 27, 2012 at 5:22 PM, Dmitriy F midnight@gmail.com wrote: I need to play a live audio stream on devices with 2.x and greater versions. Thishttp://developer.android.com/guide/appendix/media-formats.html states that it's impossible to play live streams on devices with Android 2.x. What're my options here ? P.S. I've tried Vitamio - don't want to make customers download third party libraries. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en