[android-developers] Can I Promote My Other Application Using GCM Service.
Hi I am new bee in Android.I want promote my other cool application using push notification Using GCM.Can i use it for this purpose or it is violation of Google GCM term condition please let me know. -- -- 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.
[android-developers] Install Button Not Showing in Google + Account
Hi I am integrating Google +1 api in my android application for +1 Recommendation sharing.When i share my application using android phone install button not show in google+ account .Where user can be directly download.But when i share using web browser it show install button. Kindly suggest me how it is possible to show direct install button when user share my 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Confusion InAppBilling V3
I am implementing App Billing V3 in My Android app.I have a little confusion in implementation.In Android Developer Website implementation describe with two type. 1st http://developer.android.com/google/play/billing/billing_integrate.html 2nd http://developer.android.com/training/in-app-billing/index.html Problem is which i should use. what the diffrence b/w each other. -- 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 retrive all Holder Object From ListView
I am using spinner in each ListView row.I am using a class like (ViewHolder) for hold spinner object.I want to hold all holder object with calling getView to the End.Suppose that i have a 6 row in ListView . I want to hold all holder object but only 5 row is visible at a time on my emulator.so how can i take 6th row holder object without scrolling list view to the end. This is my Code. public View getView(int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = inflater.inflate( R.layout.userselectedfoodadapter_screen, null); /// ViewHolder objects are used for saving food values such as food images,food names,food rates holder = new ViewHolder(); /// holder._spinner use for hold the object for spinner/ holder._spinner = (Spinner) convertView .findViewById(R.id.final_foodquantity_id); holder.pos = position; // This method is using for add holder object set onclickSelected listener for spinner // addItemsOnSpinner(quantity_spinner, holder, btn); convertView.setTag(holder); } else { holder = (ViewHolder) convertView.getTag(); } holder.foodImageView return convertView; } // this method is hold the value of ViewHolder Object i i am using it OnCustomeOnItemSelectedListener// public void addItemsOnSpinner(Spinner spin, ViewHolder holder, Button btn) { //List decelar for spinner child// ListString list = new ArrayListString(); list.add(1); list.add(2); list.add(3); list.add(4); list.add(5); list.add(6); list.add(7); list.add(8); list.add(9); hold.add(holder); ArrayAdapterString dataAdapter = new ArrayAdapterString(activity, android.R.layout.simple_spinner_item, list); dataAdapter .setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); spin.setAdapter(dataAdapter); // this method is use for setListener for spinner// spin.setOnItemSelectedListener(new CustomOnItemSelectedListener(hold, food_RateList, btn, _context)); } -- 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] actiities cascaded
YES On Thu, May 31, 2012 at 11:54 PM, mani kandan mgmanikanda...@gmail.comwrote: u have to pass intent using 1st activity in on backpress method. . On 31 May 2012 23:51, Jags jag...@gmail.com wrote: i ve 4 activities 1-2-3-4 after 4 submit i need 1 to be shown, but dont wanna come 4-3-2-1 need to come back to 1 straightaway. whats d best way ? -- 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] actiities cascaded
May i know where your exact problem. On Fri, Jun 1, 2012 at 12:03 AM, mani kandan mgmanikanda...@gmail.comwrote: U have to use simple intent in submit button on forth activity On Thu, May 31, 2012 at 11:54 PM, mani kandan mgmanikanda...@gmail.comwrote: u have to pass intent using 1st activity in on backpress method. . On 31 May 2012 23:51, Jags jag...@gmail.com wrote: i ve 4 activities 1-2-3-4 after 4 submit i need 1 to be shown, but dont wanna come 4-3-2-1 need to come back to 1 straightaway. whats d best way ? -- 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 -- *With warm regards,* ** *M.G.Manikandan* *9543972414* *mgmanikanda...@gmail.com* mgmanikanda...@gmail.com* * -- 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] Remove attribute in Ksoap2
Hey My name is Rishabh Agrawal.Please suggest me how to remove the aatribute which show in my mobile screen when i am access through Ksoap2. I have mention tutorial below where given how to remove it.But i cant remove attribute.Please suggest. http://www.helloandroid.com/tutorials/using-ksoap2-android-and-parsing-output-data -- 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] WSDL+KSOAP2 WITHOUT PASSING ANY PARAMETER
Hi ,I am begginer in Web service.I developing app using ksoap2 jar file.In my project i have add ksoap2 2.5.7 jar file.In my app user does not pass any parameter.He is directly retrive all the data.When im run my code the it get a error which is shown below i am giveing my code please see where i am wrong. SoapFault-faultcode:'a:InternalServiceFault'faultstring:'The server was unable tp process the request due to an internal error.For more information about the error,either turn on IncludeExceptionDetailInFault(either from ServiceBehavior Attribute or from the serviceDebug configuration behavior) on the server in order to send the exception information back to the client,ot turn on tracing as per the Microsoft .NET Framework 3.0 SDK documntation inspect the server trace logs.' faultactor:'null' detail:null import java.io.IOException; import java.util.Vector; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapPrimitive; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.AndroidHttpTransport; import org.ksoap2.transport.HttpTransportSE; import org.xmlpull.v1.XmlPullParserException; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class window extends Activity { private static final String SOAP_ACTION = http://xxxce/GetBollywoodPulse;; private static final String METHOD_NAME = GetBollywoodPulse; private static final String NAMESPACE = http:// sesxxceModel; private static final String URL = http://xxupService.svc? wsdl; TextView tx_first,tx_second; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); tx_first=(TextView)findViewById(R.id.tx_bt); tx_second=(TextView)findViewById(R.id.tx_gh); SoapObject Request = new SoapObject(NAMESPACE, METHOD_NAME); SoapSerializationEnvelope soapEnvelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); soapEnvelope.dotNet = true; soapEnvelope.setOutputSoapObject(Request); HttpTransportSE aht = new HttpTransportSE(URL); try { aht.call(SOAP_ACTION, soapEnvelope); /* SoapObject result = (SoapObject)soapEnvelope.bodyIn; if(result != null){ TextView t = (TextView)this.findViewById(R.id.tx_bt); //Get the first property and change the label text t.setText(SOAP response:\n\n + result.getProperty(0).toString()); */ SoapPrimitive resultsRequestSOAP = (SoapPrimitive) soapEnvelope.getResponse(); tx_first.setText(resultsRequestSOAP.toString()); }catch (Exception e) { tx_first.setText(ews+e); } } } -- 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 access Web Service using WSDL,Soap.
I am beginner in Soap web service nothing no how i access web service using wsdl for client request response.Please suggest me where i can start. -- 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] Page Turning effect
Sir, Please suugest me how i am use any effect for going one page to another page for better User Interference. Please 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 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 change TextView object.
I want to take the TextView in the xml file.So in this project i want convert my object to array type. package com.assign.ment; import java.net.URL; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import android.view.Gravity; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; public class agrawal_first extends Activity { Button first,second; String st=Rishabh; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LinearLayout layout = new LinearLayout(this); layout.setOrientation(1); /** Create a new textview array to display the results */ TextView name[]; TextView website[]; TextView category[]; try { URL url = new URL( http://meherwin7.99k.org/assignment.xml;); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(new InputSource(url.openStream())); doc.getDocumentElement().normalize(); NodeList nodeList = doc.getElementsByTagName(CityWeatherForecast); /** Assign textview array lenght by arraylist size */ name = new TextView[nodeList.getLength()]; website = new TextView[nodeList.getLength()]; category = new TextView[nodeList.getLength()]; for (int i = 0; i nodeList.getLength(); i++) { Node node = nodeList.item(i); name[i] = new TextView(this); website[i] = new TextView(this); category[i] = new TextView(this); Element fstElmnt = (Element) node; NodeList nameList = fstElmnt.getElementsByTagName(BulletinName); Element nameElement = (Element) nameList.item(0); nameList = nameElement.getChildNodes(); name[i].setText(BulletinName = + ((Node) nameList.item(0)).getNodeValue()); NodeList websiteList = fstElmnt.getElementsByTagName(BulletinType); Element websiteElement = (Element) websiteList.item(0); websiteList = websiteElement.getChildNodes(); website[i].setText(BulletinType = + ((Node) websiteList.item(0)).getNodeValue()); NodeList aList = fstElmnt.getElementsByTagName(BulletinProvider); Element aElement = (Element) aList.item(0); aList = aElement.getChildNodes(); category[i].setText(BulletinProvider = + ((Node) aList.item(0)).getNodeValue().toUpperCase()); layout.addView(name[i]); layout.addView(website[i]); layout.addView(category[i]); } } catch (Exception e) { System.out.println(XML Pasing Excpetion = + e); } /** Set the layout view to display */ setContentView(layout); setContentView(R.layout.main_first); } } How it is possible.Please correct it -- 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] Button code
How to crate button also called without using xml. -- 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 use scrollview in java code.
I want to know that how i use the scrollview in java code -- 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] Parshing error
One day i installed my application mobile it run perfectly.But now i installed same apk file on another mobile phone then it get parshing error..How it is remove... -- 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] Re: Parshing error
plz reply -- 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] Re: Parshing error
ok -- 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 Error
When i installed my application on real android phone it give parshing error and the application not installed.Please suggest me how to remove this 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] Get data from EditText
How to get data from EditText how to stored in Buffer i.e Integer.. -- 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] API 10 ERROR
When i run my apps on API 8 then it run fine.But when i run my apps on API 10 then it get unexpected error automatically my app closed.Please check my mainfest file.or please suggest me any other permission required. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.god.india android:installLocation=preferExternal android:versionCode=1 android:versionName=1.0 uses-sdk android:maxSdkVersion=10 android:targetSdkVersion=8 android:minSdkVersion=8/ uses-feature/uses-feature application android:icon=@drawable/i_c android:theme=@style/ris android:label=@string/app_name activity android:name=.india android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=.list_chalisa/activity activity android:name=.sivinfo /activity activity android:name=.hanumanji/activity activity android:name=.ganesh_code/activity activity android:name=.sara_code/activity activity android:name= .durga/activity activity android:name=.Sai_chalisa/activity activity android:name=.sani_code/activity activity android:name=.Gayatri_gi/activity /application /manifest -- 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] DashBoard
Please suggest any tutorial for creation Dashboard in API 2.2 -- 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] Error in API 10
When i run my apps on API 8 then it run perfectly on emulator.But when i run my apps on API 10 then the unexpected error is occureced. The error are:- 03-25 00:05:31.067: ERROR/AndroidRuntime(431): FATAL EXCEPTION: main 03-25 00:05:31.067: ERROR/AndroidRuntime(431): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sai.s/com.sai.s.Outing}: android.view.InflateException: Binary XML file line #18: Error inflating class unknown 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 1647) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.startActivityNow(ActivityThread.java:1487) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java: 127) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java: 339) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost $IntentContentStrategy.getContentView(TabHost.java:654) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost.setCurrentTab(TabHost.java:326) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:132) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:456) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.View.performClick(View.java:2485) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.View $PerformClick.run(View.java:9080) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Handler.handleCallback(Handler.java:587) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Handler.dispatchMessage(Handler.java:92) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Looper.loop(Looper.java:123) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.main(ActivityThread.java:3683) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Method.invokeNative(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Method.invoke(Method.java:507) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:839) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at dalvik.system.NativeStart.main(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): Caused by: android.view.InflateException: Binary XML file line #18: Error inflating class unknown 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createView(LayoutInflater.java:518) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java: 56) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.rInflate(LayoutInflater.java:623) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.rInflate(LayoutInflater.java:626) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:408) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:320) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:276) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java: 207) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.Activity.setContentView(Activity.java:1657) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.sai.s.Outing.onCreate(Outing.java:17) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1047) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 1611) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): ... 18 more 03-25 00:05:31.067: ERROR/AndroidRuntime(431): Caused by: java.lang.reflect.InvocationTargetException 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Constructor.constructNative(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Constructor.newInstance(Constructor.java:415) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createView(LayoutInflater.java:505) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): ... 30 more 03-25 00:05:31.067: ERROR/AndroidRuntime(431): Caused by:
[android-developers] Re: Error in API 10
So sir how to remove that type of error On Mar 24, 11:45 pm, Romain Guy romain...@android.com wrote: Looks like you are using too much memory: java.lang.OutOfMemoryError: bitmap size exceeds VM budget On Thu, Mar 24, 2011 at 11:43 AM, rishabh agrawal android.rish...@gmail.com wrote: When i run my apps on API 8 then it run perfectly on emulator.But when i run my apps on API 10 then the unexpected error is occureced. The error are:- 03-25 00:05:31.067: ERROR/AndroidRuntime(431): FATAL EXCEPTION: main 03-25 00:05:31.067: ERROR/AndroidRuntime(431): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sai.s/com.sai.s.Outing}: android.view.InflateException: Binary XML file line #18: Error inflating class unknown 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 1647) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.startActivityNow(ActivityThread.java:1487) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java: 127) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java: 339) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost $IntentContentStrategy.getContentView(TabHost.java:654) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost.setCurrentTab(TabHost.java:326) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:132) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:456) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.View.performClick(View.java:2485) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.View $PerformClick.run(View.java:9080) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Handler.handleCallback(Handler.java:587) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Handler.dispatchMessage(Handler.java:92) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Looper.loop(Looper.java:123) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.main(ActivityThread.java:3683) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Method.invokeNative(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Method.invoke(Method.java:507) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:839) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at dalvik.system.NativeStart.main(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): Caused by: android.view.InflateException: Binary XML file line #18: Error inflating class unknown 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createView(LayoutInflater.java:518) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java: 56) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.rInflate(LayoutInflater.java:623) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.rInflate(LayoutInflater.java:626) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:408) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:320) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:276) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java: 207) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.Activity.setContentView(Activity.java:1657) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.sai.s.Outing.onCreate(Outing.java:17) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1047) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 1611) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): ... 18 more 03-25 00:05:31.067: ERROR/AndroidRuntime(431): Caused
[android-developers] Re: Error in API 10
Actully in this apps i use more image. On Mar 24, 11:56 pm, rishabh agrawal android.r itish...@gmail.com wrote: So sir how to remove that type of error On Mar 24, 11:45 pm, Romain Guy romain...@android.com wrote: u Looks like you are using too much memory: java.lang.OutOfMemoryError: bitmap size exceeds VM budget On Thu, Mar 24, 2011 at 11:43 AM, rishabh agrawal android.rish...@gmail.com wrote: When i run my apps on API 8 then it run perfectly on emulator.But when i run my apps on API 10 then the unexpected error is occureced. The error are:- 03-25 00:05:31.067: ERROR/AndroidRuntime(431): FATAL EXCEPTION: main 03-25 00:05:31.067: ERROR/AndroidRuntime(431): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sai.s/com.sai.s.Outing}: android.view.InflateException: Binary XML file line #18: Error inflating class unknown 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 1647) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.startActivityNow(ActivityThread.java:1487) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java: 127) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java: 339) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost $IntentContentStrategy.getContentView(TabHost.java:654) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost.setCurrentTab(TabHost.java:326) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:132) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:456) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.View.performClick(View.java:2485) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.View $PerformClick.run(View.java:9080) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Handler.handleCallback(Handler.java:587) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Handler.dispatchMessage(Handler.java:92) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Looper.loop(Looper.java:123) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.main(ActivityThread.java:3683) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Method.invokeNative(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Method.invoke(Method.java:507) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:839) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at dalvik.system.NativeStart.main(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): Caused by: android.view.InflateException: Binary XML file line #18: Error inflating class unknown 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createView(LayoutInflater.java:518) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java: 56) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.rInflate(LayoutInflater.java:623) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.rInflate(LayoutInflater.java:626) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:408) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:320) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:276) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java: 207) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.Activity.setContentView(Activity.java:1657) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.sai.s.Outing.onCreate(Outing.java:17) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1047) 03-25 00:05:31.067: ERROR/AndroidRuntime(431
[android-developers] Re: Error in API 10
Please suggest me how to use less memory.for remove that type of error i will compress it On Mar 25, 12:05 am, rishabh agrawal android.rish...@gmail.com wrote: Actully in this apps i use more image. On Mar 24, 11:56 pm, rishabh agrawal android.r itish...@gmail.com wrote: So sir how to remove that type of error On Mar 24, 11:45 pm, Romain Guy romain...@android.com wrote: u Looks like you are using too much memory: java.lang.OutOfMemoryError: bitmap size exceeds VM budget On Thu, Mar 24, 2011 at 11:43 AM, rishabh agrawal android.rish...@gmail.com wrote: When i run my apps on API 8 then it run perfectly on emulator.But when i run my apps on API 10 then the unexpected error is occureced. The error are:- 03-25 00:05:31.067: ERROR/AndroidRuntime(431): FATAL EXCEPTION: main 03-25 00:05:31.067: ERROR/AndroidRuntime(431): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sai.s/com.sai.s.Outing}: android.view.InflateException: Binary XML file line #18: Error inflating class unknown 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 1647) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.startActivityNow(ActivityThread.java:1487) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java: 127) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java: 339) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost $IntentContentStrategy.getContentView(TabHost.java:654) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost.setCurrentTab(TabHost.java:326) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:132) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:456) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.View.performClick(View.java:2485) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.View $PerformClick.run(View.java:9080) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Handler.handleCallback(Handler.java:587) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Handler.dispatchMessage(Handler.java:92) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.os.Looper.loop(Looper.java:123) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.ActivityThread.main(ActivityThread.java:3683) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Method.invokeNative(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at java.lang.reflect.Method.invoke(Method.java:507) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:839) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at dalvik.system.NativeStart.main(Native Method) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): Caused by: android.view.InflateException: Binary XML file line #18: Error inflating class unknown 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createView(LayoutInflater.java:518) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayo utInflater.java: 56) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.rInflate(LayoutInflater.java:623) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.rInflate(LayoutInflater.java:626) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:408) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:320) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.view.LayoutInflater.inflate(LayoutInflater.java:276) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.jav a: 207) 03-25 00:05:31.067: ERROR/AndroidRuntime(431): at android.app.Activity.setContentView(Activity.java:1657) 03-25 00:05:31.067: ERROR/AndroidRuntime(431
[android-developers] How to test my application
I have no real android mobile.I check my apps on emulator it working perfect.So how to check i sign my apps properly or not for real android deveice.Any other method for checking my apps in real android device.Please suggest -- 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] PHP Support or not
In the android O.S,I want develope web bassed apps.i am a beginner in this field.so plz suggest me PHP is give me help when i create web based apps. -- 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 error: INSTALL_FAILED_INSUFFICIENT_STORAGE
WHEN I RUN MY APPS IN MY EMULATOR THEN THESE ERROR IS OCCURES.HOW TO REMOVE THESE ERROR Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE [2011-03-22 13:23:30 - SAI2011] Please check logcat output for more details. [2011-03-22 13:23:31 - SAI2011] Launch canceled! -- 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] Hard Key Board problem
When i set Screen size of the emulator then the Hard Key Board Remove.I have no real android mobile where i test my apps.so how to call Back,Home button when the Hard Key Board is Removed. -- 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] Android API 10
When i run my apps on emulator API 8 then it run correctly.But when i run my apps on API 10 then it get unexpected error.it is RunTime error.I use DualCore processer .i thing that the speed of my PC is slow that why that error are created.i am right or not.please suggest me how to remove that type of error.i also include in mainfest file. android:minSdkVersion=8 android:minSdkVersion=10. -- 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] Re: Android API 10
Please Suggest On Mar 22, 5:56 pm, rishabh agrawal android.rish...@gmail.com wrote: When i run my apps on emulator API 8 then it run correctly.But when i run my apps on API 10 then it get unexpected error.it is RunTime error.I use DualCore processer .i thing that the speed of my PC is slow that why that error are created.i am right or not.please suggest me how to remove that type of error.i also include in mainfest file. android:minSdkVersion=8 android:minSdkVersion=10. -- 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] RunTime Error
When i run my apps on emulator then some time it run perfect.But some time it get unexpected error. 03-23 00:23:12.143: ERROR/dalvikvm-heap(332): 2437890-byte external allocation too large for this process. 03-23 00:23:12.143: ERROR/GraphicsJNI(332): VM won't let us allocate 2437890 bytes 03-23 00:23:12.195: DEBUG/AndroidRuntime(332): Shutting down VM 03-23 00:23:12.195: WARN/dalvikvm(332): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): FATAL EXCEPTION: main 03-23 00:23:12.322: ERROR/AndroidRuntime(332): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sai.s/com.sai.s.ors}: android.view.InflateException: Binary XML file line #14: Error inflating class unknown 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2663) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.app.ActivityThread.startActivityNow(ActivityThread.java:2503) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java: 127) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java: 339) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.widget.TabHost $IntentContentStrategy.getContentView(TabHost.java:651) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.widget.TabHost.setCurrentTab(TabHost.java:323) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:129) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:453) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.view.View.performClick(View.java:2408) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.view.View $PerformClick.run(View.java:8816) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.os.Handler.handleCallback(Handler.java:587) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.os.Handler.dispatchMessage(Handler.java:92) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.os.Looper.loop(Looper.java:123) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at android.app.ActivityThread.main(ActivityThread.java:4627) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at java.lang.reflect.Method.invokeNative(Native Method) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at java.lang.reflect.Method.invoke(Method.java:521) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:868) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): at dalvik.system.NativeStart.main(Native Method) 03-23 00:23:12.322: ERROR/AndroidRuntime(332): Caused by: android.view.InflateException: Binary XML file line #14: Error inflating class unknown SO PLEASE SUGGEST ME HOW TO REMOVE THIS ERROR.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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: RunTime Error
?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent ViewFlipper android:id=@+id/ovf android:layout_width=fill_parent android:layout_height=fill_parent TextView android:background=@drawable/o_first android:layout_width=fill_parent android:layout_height=fill_parent/ TextView android:background=@drawable/o_second android:layout_width=fill_parent android:layout_height=fill_parent/ TextView android:background=@drawable/o_thired android:layout_width=fill_parent android:layout_height=fill_parent/ TextView android:background=@drawable/o_fourth android:layout_width=fill_parent android:layout_height=fill_parent/ /ViewFlipper Button android:layout_width=wrap_content android:id=@+id/ob android:layout_alignParentBottom=true android:layout_height=wrap_content android:background=@drawable/next/ Button android:layout_width=wrap_content android:id=@+id/ob_first android:layout_alignParentRight=true android:layout_alignParentBottom=true android:layout_height=wrap_content android:background=@drawable/pre/ /RelativeLayout how to fix it sir Please help me On Mar 23, 12:29 am, TreKing treking...@gmail.com wrote: On Tue, Mar 22, 2011 at 2:19 PM, rishabh agrawal android.rish...@gmail.comwrote: 03-23 00:23:12.322: ERROR/AndroidRuntime(332): Caused by: android.view.InflateException: Binary XML file line #14: Error inflating class unknown Fix the cause of the cause of the error in the specified file at the specified line. --- -- 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
[android-developers] Re: RunTime Error
thanks sir. On Mar 23, 12:44 am, TreKing treking...@gmail.com wrote: On Tue, Mar 22, 2011 at 2:42 PM, rishabh agrawal android.rish...@gmail.comwrote: how to fix it sir Please help me Find line #`14, as the error states, determine what is wrong, and make it right. --- -- 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
[android-developers] Unexpected error
When i run my application on api level 4 then it create unecpected error but when i run on api level 8 then it not create any error,i also set the uses-sdk android:minSdkVersion=4 android:maxSdkVersion=10 / application android:icon=@drawable/sai11 android:label=@string/app_name activity android:name=.shirdi so how to remove these error,please guide me. -- 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] Re: Unexpected error
03-21 11:49:32.092: ERROR/AndroidRuntime(234): Uncaught handler: thread main exiting due to uncaught exception these error is occures how to remove it On Mar 21, 2:30 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: so how to remove these error,please guide me. That's simple - fix it. That usually works for untold issues. And in general - you forgot to quite your crash log Regards, Marcin Orlowski Tray Agenda http://bit.ly/trayagenda - keep you daily schedule handy... -- 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] Re: Unexpected error
): at android.view.LayoutInflater.inflate(LayoutInflater.java:407) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.view.LayoutInflater.inflate(LayoutInflater.java:320) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.view.LayoutInflater.inflate(LayoutInflater.java:276) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java: 313) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.app.Activity.setContentView(Activity.java:1620) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at com.sai.s.bs.onCreate(bs.java:17) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1123) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2364) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): ... 31 more 03-21 18:04:46.301: ERROR/AndroidRuntime(196): Caused by: java.lang.reflect.InvocationTargetException 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.widget.TextView.init(TextView.java:320) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at java.lang.reflect.Constructor.constructNative(Native Method) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at java.lang.reflect.Constructor.newInstance(Constructor.java:446) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.view.LayoutInflater.createView(LayoutInflater.java:499) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): ... 43 more 03-21 18:04:46.301: ERROR/AndroidRuntime(196): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.graphics.Bitmap.nativeCreate(Native Method) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.graphics.Bitmap.createBitmap(Bitmap.java:468) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.graphics.Bitmap.createBitmap(Bitmap.java:435) 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340) On Mar 21, 5:36 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 21 March 2011 12:54, rishabh agrawal android.rish...@gmail.com wrote: 03-21 11:49:32.092: ERROR/AndroidRuntime(234): Uncaught handler: thread main exiting due to uncaught exception these error is occures how to remove it Use try/catch syntax around the call that causes this problem. read log around this line - you shall find out more detailed information on where the real culprit lurks. -- 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] Create Project
I was create my application as a android sdk api 8.and written all the code.bu now i want run on a sdk api 4.with the help of mainfest file i changed minSdkVersion=4,But when i installed on it then unexpected error are created...In this apps i used Tab..some tab work properly but some not.Please help me how to remove this errorwith the help of try catch i doesnt remove these error.it is possible that i run my apps on vesion 4. -- 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] ProgressBar
In my apps with the help of Intent i call another Activity.But in the duration of calling some delay is occures Blank screens show.here i use ProgressBar for better UI.plz suggest me any tutorial for that.. -- 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] Re: Create Project
thanks Kostya.ur means that if i want to run my apps on api 4 then change my code according to api 4 classes.when i change the code according to api 4.it work very properly in API 8 On Mar 21, 10:42 pm, Kostya Vasilyev kmans...@gmail.com wrote: Your code probably uses Android classes or methods that didn't yet exist in API 4. Bring up Properties on your project, select Android in the list on the left, and select Android 1.6 for building. Then go through compile errors, and remove or change all code that cannot work with API level 4. -- Kostya 21.03.2011 20:38, rishabh agrawal пишет: I was create my application as a android sdk api 8.and written all the code.bu now i want run on a sdk api 4.with the help of mainfest file i changed minSdkVersion=4,But when i installed on it then unexpected error are created...In this apps i used Tab..some tab work properly but some not.Please help me how to remove this errorwith the help of try catch i doesnt remove these error.it is possible that i run my apps on vesion 4. -- Kostya Vasilyev --http://kmansoft.wordpress.com -- 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] Cloud Computing
I am a Begginer in android.But i want develope apps for Cloud ComputingSo for Cloud Computing...Which Language is nessesary. Please Help me.I am Fresher -- 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] Suugest any tutorial for database
Whould u please suggest any great tutorial for android database.i am a begginer no knowledge about database.. -- 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] diffrence b/w sdk vesiron 8 10
in the sdk version 8 ,back button also given by emulator but version 10 the emulator not give back button,actully i have not use any android mobile.so when i developed apps for version 10 then how to call back buttonit is nessery that back button should be create in apps when i want run apps in version 10. -- 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] Re: diffrence b/w sdk vesiron 8 10
PLZ REPLY On Mar 19, 3:20 pm, rishabh agrawal android.rish...@gmail.com wrote: in the sdk version 8 ,back button also given by emulator but version 10 the emulator not give back button,actully i have not use any android mobile.so when i developed apps for version 10 then how to call back buttonit is nessery that back button should be create in apps when i want run apps in version 10. -- 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] Unexpected error
when i run my app in emulator some time it run good,but some time my Tab get a unexpected error so, how i remove it -- 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] plz suggest
plz suggest any software for better icon designe,i am a fresher and no knowledge about how to get better icon for good apps... -- 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 remove my error
03-16 22:30:36.546: WARN/Zygote(33): Preloaded drawable resource #0x1080200 (res/drawable-mdpi/jog_tab_left_normal.png) that varies with configuration!! is shown in LogCat.plz 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 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 remove LogCat error
03-16 22:30:36.516: WARN/Zygote(33): Preloaded drawable resource #0x10801fb (res/drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with configuration!! 03-16 22:30:36.546: WARN/Zygote(33): Preloaded drawable resource #0x1080200 (res/drawable-mdpi/jog_tab_left_normal.png) that varies with configuration!! 03-16 22:30:36.565: WARN/Zygote(33): Preloaded drawable resource #0x1080201 (res/drawable-mdpi/jog_tab_left_pressed.png) that varies with configuration!! 03-16 22:30:36.586: WARN/Zygote(33): Preloaded drawable resource #0x1080203 (res/drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with configuration!! 03-16 22:30:36.616: WARN/Zygote(33): Preloaded drawable resource #0x1080209 (res/drawable-mdpi/jog_tab_right_normal.png) that varies with configuration!! 03-16 22:30:36.646: WARN/Zygote(33): Preloaded drawable resource #0x108020a (res/drawable-mdpi/jog_tab_right_pressed.png) that varies with configuration!! 03-16 22:30:36.675: WARN/Zygote(33): Preloaded drawable resource #0x108020d (res/drawable-mdpi/jog_tab_target_gray.png) that varies with configuration!! how to remove that type of 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] Re: how to remove LogCat error
plz reply On Mar 16, 10:39 pm, rishabh agrawal android.rish...@gmail.com wrote: 03-16 22:30:36.516: WARN/Zygote(33): Preloaded drawable resource #0x10801fb (res/drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with configuration!! 03-16 22:30:36.546: WARN/Zygote(33): Preloaded drawable resource #0x1080200 (res/drawable-mdpi/jog_tab_left_normal.png) that varies with configuration!! 03-16 22:30:36.565: WARN/Zygote(33): Preloaded drawable resource #0x1080201 (res/drawable-mdpi/jog_tab_left_pressed.png) that varies with configuration!! 03-16 22:30:36.586: WARN/Zygote(33): Preloaded drawable resource #0x1080203 (res/drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with configuration!! 03-16 22:30:36.616: WARN/Zygote(33): Preloaded drawable resource #0x1080209 (res/drawable-mdpi/jog_tab_right_normal.png) that varies with configuration!! 03-16 22:30:36.646: WARN/Zygote(33): Preloaded drawable resource #0x108020a (res/drawable-mdpi/jog_tab_right_pressed.png) that varies with configuration!! 03-16 22:30:36.675: WARN/Zygote(33): Preloaded drawable resource #0x108020d (res/drawable-mdpi/jog_tab_target_gray.png) that varies with configuration!! how to remove that type of 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] Re: how to remove LogCat error
i am sorry sir On Mar 16, 11:20 pm, TreKing treking...@gmail.com wrote: On Wed, Mar 16, 2011 at 1:09 PM, rishabh agrawal android.rish...@gmail.comwrote: plz reply plz wait more than half an hour to bump your post. plz learn to spell please. --- -- 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
[android-developers] Action Bar
how to create action bar in Android 2.2.it is possible ? if it is possible plz suggest me which theme or style i will use for better action bar. -- 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] Re: Action Bar
THANKS SIR... On Mar 10, 9:27 pm, Jake Wharton jakewhar...@gmail.com wrote: Try a third https://github.com/johannilsson/android-actionbar partyhttps://github.com/cyrilmottier/GreenDroid library http://code.google.com/p/iosched/. -- 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] Action Bar
Action Bar develop in android2.3 or not???plz help.or it developed only Android 3.0 ??? -- 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] ICON PROBLEM
HI FRIENDS, PLZ GIVE ME A SUGGESTION WHERE I FIND MORE RELIGIOUS ICON.ANY WEBSITE OR SOFT,OR HOW TO CREATE OWN ICON PLZ 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 to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] acion bar
android:showAsAction=ifRoom|withText is not visible when i develope apps.i use android2.2 version how it is visible -- 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] Re: acion bar
i dont not On Mar 10, 10:53 am, Zsolt Vasvari zvasv...@gmail.com wrote: Does Android 2.2 support the Action Bar? On Mar 10, 1:14 pm, rishabh agrawal android.rish...@gmail.com wrote: android:showAsAction=ifRoom|withText is not visible when i develope apps.i use android2.2 version how it is visible -- 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 check my sign is correct not
how to check my sign is correct or not,becouse i have no android phone where i can test.i sign my apps using eclipse so how i will chek ..plz 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 to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to check my sign is correct not
plz suggest me On Mar 5, 5:47 pm, rishabh agrawal android.rish...@gmail.com wrote: how to check my sign is correct or not,becouse i have no android phone where i can test.i sign my apps using eclipse so how i will chek ..plz 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 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 clear all activity.
how to clear all activity when i will relaunch my apps.in my apps i have used background music but when i press home then the music is not closed how to remove this problem plz suggest. -- 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] Re: how to clear all activity.
actully i want kill all the activity in my apps -- 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] Re: how to clear all activity.
when i start my apps the music automatically starts but when close my apps it does not stop continue play -- 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] Re: how to clear all activity.
On Mar 2, 7:41 pm, rishabh agrawal android.rish...@gmail.com wrote: when i start my apps the music automatically starts but when close my apps it does not stop continue play how it is remove. -- 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] Re: how to clear all activity.
i say that if i have closed my apps through the home tab which is in android emulator after i will be open my apps through emulator then my apps is not start with the first page.it is started which page where i have close so how it is remove ,which i will be close my apps in any page then after again starting it will be open wih first page -- 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] Re: how to clear all activity.
so how i can stop my music which is start in the background of the apps plz.becouse if i have used back button for closed my apps the music is not closed..plz give me a code when i start my apps the music automatically starts but when close my apps it does not stop continue play On Mar 2, 8:22 pm, Justin Anderson magouyaw...@gmail.com wrote: Pressing the home key does not close your app. It pauses it. That is how the Android OS works. To close your app you have to use the back button. I suggest you read up on application lifecycles... http://developer.android.com/guide/topics/fundamentals/activities.htm...http://developer.android.com/guide/topics/fundamentals/services.html#... On Wed, Mar 2, 2011 at 8:12 AM, rishabh agrawal android.rish...@gmail.comwrote: i say that if i have closed my apps through the home tab which is in android emulator after i will be open my apps through emulator then my apps is not start with the first page.it is started which page where i have close so how it is remove ,which i will be close my apps in any page then after again starting it will be open wih first page -- 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] watch online video
how to develope apps fro watch online video ,plz suggest me any tutorial or link,if possible. -- 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] Re: how to clear all activity.
hi justin plz send me ur email id ,i will be send my code to u ,plz correct it becouse i am a fresher plz On Mar 2, 9:57 pm, Justin Anderson magouyaw...@gmail.com wrote: * plz give me a code* We are not here to write your app for you Try this:http://lmgtfy.com/?q=android+close+service On Wed, Mar 2, 2011 at 9:43 AM, rishabh agrawal android.rish...@gmail.comwrote: so how i can stop my music which is start in the background of the apps plz.becouse if i have used back button for closed my apps the music is not closed..plz give me a code when i start my apps the music automatically starts but when close my apps it does not stop continue play On Mar 2, 8:22 pm, Justin Anderson magouyaw...@gmail.com wrote: Pressing the home key does not close your app. It pauses it. That is how the Android OS works. To close your app you have to use the back button. I suggest you read up on application lifecycles... http://developer.android.com/guide/topics/fundamentals/activities.htm .. On Wed, Mar 2, 2011 at 8:12 AM, rishabh agrawal android.rish...@gmail.comwrote: i say that if i have closed my apps through the home tab which is in android emulator after i will be open my apps through emulator then my apps is not start with the first page.it is started which page where i have close so how it is remove ,which i will be close my apps in any page then after again starting it will be open wih first page -- 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] Re: how to clear all activity.
r u agree sir.. On Mar 2, 10:24 pm, Justin Anderson magouyaw...@gmail.com wrote: No On Wed, Mar 2, 2011 at 10:07 AM, rishabh agrawal android.rish...@gmail.comwrote: hi justin plz send me ur email id ,i will be send my code to u ,plz correct it becouse i am a fresher plz On Mar 2, 9:57 pm, Justin Anderson magouyaw...@gmail.com wrote: * plz give me a code* We are not here to write your app for you Try this:http://lmgtfy.com/?q=android+close+service On Wed, Mar 2, 2011 at 9:43 AM, rishabh agrawal android.rish...@gmail.comwrote: so how i can stop my music which is start in the background of the apps plz.becouse if i have used back button for closed my apps the music is not closed..plz give me a code when i start my apps the music automatically starts but when close my apps it does not stop continue play On Mar 2, 8:22 pm, Justin Anderson magouyaw...@gmail.com wrote: Pressing the home key does not close your app. It pauses it. That is how the Android OS works. To close your app you have to use the back button. I suggest you read up on application lifecycles... http://developer.android.com/guide/topics/fundamentals/activities.htm.. .. .. On Wed, Mar 2, 2011 at 8:12 AM, rishabh agrawal android.rish...@gmail.comwrote: i say that if i have closed my apps through the home tab which is in android emulator after i will be open my apps through emulator then my apps is not start with the first page.it is started which page where i have close so how it is remove ,which i will be close my apps in any page then after again starting it will be open wih first page -- 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 -- 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 develope online video
plz suggest me how to develope apps for watch online video -- 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 stop music which is play background in my apps
i have develope apps in which i play background music.but when i go to the home through back tab then the song is also playing.how it is stop.. my code are package com.riushabh; import android.app.Activity; import android.content.Intent; import android.media.MediaPlayer; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class west extends Activity implements OnClickListener { Button bt; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); bt=(Button)findViewById(R.id.button1); bt.setOnClickListener(this); MediaPlayer mp=MediaPlayer.create(this, R.raw.ri); mp.start(); } @Override public void onClick(View v) { Intent i =new Intent(this,subh.class); startActivity(i); // TODO Auto-generated method stub } } -- 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] Re: how to stop music which is play background in my apps
thanks for ur suggestion On Mar 2, 11:09 pm, Hari Edo hari@gmail.com wrote: On Mar 2, 12:41 pm, rishabh agrawal android.rish...@gmail.com wrote: i have develope apps in which i play background music.but when i go to the home through back tab then the song is also playing.how it is stop.. my code are MediaPlayer mp=MediaPlayer.create(this, R.raw.ri); mp.start(); You are creating a MediaPlayer instance. You save a reference to this instance with your variable mp. You then start the music by calling one of the methods, with mp.start(). You then forget all about the instance, by not saving any reference to it. The local variable mp is gone, but the instance is still playing. This is like sitting in your car, starting the motor, turning on the radio of your car, then stepping out of your car as it rolls away from you. You should declare mp to be a member of your class, instead of a local variable. And at an opportune time, such as during your activity's onPause() callback, you should use the member mp to control the media playback. If this makes no sense to you at all, I'm afraid you should go find a much more basic introduction to Java and software development in general. -- 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] foe codeing
i want to developed a android apps in which any thing write on EditText should be save textfile in my machine. -- 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