[android-developers] GCM pernision how impact our application.
Hi, i read about GCM client side implementation. and in the manifest i declare a permission and then i use the same permission in the manifest (to insure application messages deliver to only application), but i do not how it works. permission android:name=com.xxx.android.permission.C2D_MESSAGE android:protectionLevel=signature / uses-permission android:name=com.xxx.android.permission.C2D_MESSAGE / -- 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/d/optout.
Re: [android-developers] Re: Android Toast is not clickable in some devices.
Thanx.. On Friday, January 24, 2014 11:54:00 AM UTC-8, mbanzon wrote: Ok. We get it. Check this out: http://stackoverflow.com/questions/15975988/what-apis-in-android-is-facebook-using-to-create-chat-heads On Fri, Jan 24, 2014 at 6:28 PM, 12169 ashis...@gmail.com javascript: wrote: Hi, I want to open a message on setting screen.that will remain open for predefined time but when user click on the message then it will close .but when message open the setting screen the items of the setting screen remain clickable. On Sunday, January 19, 2014 4:25:21 AM UTC-8, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom- toast-is-not-clickable-in-some-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-d...@googlegroups.com javascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- Michael Banzon http://michaelbanzon.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 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/d/optout.
[android-developers] Android 4.4.2 Async Task's onProgresUpdate method is not working
I update my activity's data with a Async task. it works on all the devices till date, but in Android 4.2.2 KitKat AsyncTask's onProgressUpdate method is not working. Below is reference code of AsyncTask class MyAsync extends AsyncTaskString, String, String{ boolean flag = true; @Override protected String doInBackground(String... params) { // TODO Auto-generated method stub while(flag) { // do background Task //publishProgress publishProgress(); try { Thread.sleep(1000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } return null; } @Override protected void onProgressUpdate(String... values) { // TODO Auto-generated method stub super.onProgressUpdate(values); //Update UI }} And this code how i Start AsyncTask if(Build.VERSION.SDK_INT = Build.VERSION_CODES.HONEYCOMB) asyncTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR,AsyncTask.SERIAL_EXECUTOR); else asyncTask.execute(params); -- 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/d/optout.
[android-developers] Android how we can generate apk file from Android application.
Hi, I want to make an application which has some ui template and in each template user can change the icon and text messages and after it there is a button on the bottom of the application that will generate the apk of the that template. i want to get some guidence on this topic. -- 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/d/optout.
[android-developers] Android how to draw a circle ring as shown in the image.
Android how to make a circle ring as shown in the image. it show the progress of download process. any help how to make this circle -- 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/d/optout. attachment: Untitled.png
[android-developers] Android to open dual sim settings page .
Hi, In General Dual Sim Device Data Roaming option is available at Settings/Dual Sim Settings .As per search i donot find any way to open this page.Any 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 --- 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/d/optout.
[android-developers] Android 3g simcard provide wrong cellid.
Hi, I use the below code to get cell id,but for 3g sim card it provides wrong cell id. int getCellId() { try { final TelephonyManager telephony = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); if (telephony.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) { final GsmCellLocation location = (GsmCellLocation) telephony .getCellLocation(); if (location != null) { int cellId = location.getCid(); cellId = cellId % 0x; Log.d(tag,Cell ID =+cellId); // body.setText(cellId+); return cellId; } } else { } } catch (Exception e) { e.printStackTrace(); } return 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 --- 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/d/optout.
[android-developers] Android how differentiate between sd_card and internal storage.
Hi, After study ,i found it is very difficult in android to decide the whether SDCard present in the device or not.Any suggestion to find this. -- 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/d/optout.
[android-developers] Android 4.2 and above how we can read APN.
Hi, Is there is any way to read APN in andoid 4.2 and above -- 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/d/optout.
[android-developers] In android custom_toast_layout, layout margin is not working.
I am using the custom toast and in it i am providing layout_margin right but it is not working any suggestion where is the problem.below is the code i am using. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/androidandroid:id=@+id/custom_toast_layout_idandroid:layout_width=fill_parentandroid:layout_height=fill_parentandroid:background=#FFFandroid:orientation=horizontalandroid:layout_marginRight=200dip; ImageView android:id=@+id/image android:layout_width=wrap_content android:layout_height=fill_parent android:layout_marginRight=5dp / TextView android:id=@+id/text android:layout_width=wrap_content android:layout_height=fill_parent android:textColor=#000 //LinearLayout -- 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] Android to open a message of device settings .
Hi, On a button click i open's device settings page but now i want to open a message on the device settings page. for reference i have attached the screenshot of an application that do this thing.Any help ? https://lh3.googleusercontent.com/-DW6f76aL56A/UxJSvAVoJBI/ADQ/W4ooroNKXpY/s1600/Screenshot_2014-03-02-02-56-57.png -- 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] programmatically open Flight Mode setting page on SAMSUNG devices
Hi, any help to the question on the below link. http://stackoverflow.com/questions/21782171/programmatically-open-flight-mode-setting-page-on-samsung-devices?noredirect=1#comment32959528_21782171 -- 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] Re: Android how to manage the text size for different screen sizes.
Hi, can anybody suggest which is the better approach to specify the dimensions size for different screen sizes. whether i use values-ldpi,values-mdpi set of folders or values-small,values-normal set folders. On Sunday, February 2, 2014 1:22:00 AM UTC+5:30, 12169 wrote: Hi, I have an application and text size looks very fine on 4.7 inch device.but when run the application on 7 and 2.3 inch devices it look very bad.what is best way to manage the text size for different screen sizes. -- 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] Re: Android how to manage the text size for different screen sizes.
Hi, suppose text of the textview looks very fine on 4.7 inch device having screen density 2.0 and text size 10 sp. then what how we decide the text size for other devices having different screen size. On Sunday, February 2, 2014 1:22:00 AM UTC+5:30, 12169 wrote: Hi, I have an application and text size looks very fine on 4.7 inch device.but when run the application on 7 and 2.3 inch devices it look very bad.what is best way to manage the text size for different screen sizes. -- 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] Android how to manage the text size for different screen sizes.
Hi, I have an application and text size looks very fine on 4.7 inch device.but when run the application on 7 and 2.3 inch devices it look very bad.what is best way to manage the text size for different screen sizes. -- 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] Re: Android how to manage the text size for different screen sizes.
Hi, I am using unit sp for the text size . i have two devices both are 4.7 inch one has screen density hdpi and other one has screen density xhdpi . text looks very good in the device having screen density = xhdpi but not in the device having screen density hdpi.and in 7 inch tab it looks very bad. On Saturday, February 1, 2014 11:52:00 AM UTC-8, 12169 wrote: Hi, I have an application and text size looks very fine on 4.7 inch device.but when run the application on 7 and 2.3 inch devices it look very bad.what is best way to manage the text size for different screen sizes. -- 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] Re: how to Check mobile data on/off in the device settings.
Hi, is there any way to check ,mobile data on/off in the settings. On Sunday, January 26, 2014 11:22:19 PM UTC+5:30, 12169 wrote: Hi, I want to check whether mobile data is on/off, and for this I use the below code ConnectivityManager cm = (ConnectivityManager) context .getSystemService(Context.CONNECTIVITY_SERVICE);Class cmClass = Class.forName(cm.getClass().getName()); Method method = cmClass.getDeclaredMethod(getMobileDataEnabled); method.setAccessible(true); // Make the method callable // get the setting for mobile data mobileDataEnabled = (Boolean) method.invoke(cm); However, this code does not work on some devices, and throws an exception that no such method exists. I have found it is not working in Android 4.1.x. Why is it throwing this execption, and how can I fix 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 --- 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] Re: how to Check mobile data on/off in the device settings.
Hi, I just want to check ,mobile data on/off in the device settings. On Sunday, January 26, 2014 9:52:19 AM UTC-8, 12169 wrote: Hi, I want to check whether mobile data is on/off, and for this I use the below code ConnectivityManager cm = (ConnectivityManager) context .getSystemService(Context.CONNECTIVITY_SERVICE);Class cmClass = Class.forName(cm.getClass().getName()); Method method = cmClass.getDeclaredMethod(getMobileDataEnabled); method.setAccessible(true); // Make the method callable // get the setting for mobile data mobileDataEnabled = (Boolean) method.invoke(cm); However, this code does not work on some devices, and throws an exception that no such method exists. I have found it is not working in Android 4.1.x. Why is it throwing this execption, and how can I fix 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 --- 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] Android is there any api that provide info about screen elements.
Hi, I have an application in which i open the device settings page. when i open these pages i want to know about the position of the elements on the settings pages. e.g when i open the setting page Flight Mode, i want to get the position of this elements on the screen. any 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 --- 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] how to Check mobile data on/off in the device settings.
Hi, I want to check whether mobile data is on/off, and for this I use the below code ConnectivityManager cm = (ConnectivityManager) context .getSystemService(Context.CONNECTIVITY_SERVICE);Class cmClass = Class.forName(cm.getClass().getName()); Method method = cmClass.getDeclaredMethod(getMobileDataEnabled); method.setAccessible(true); // Make the method callable // get the setting for mobile data mobileDataEnabled = (Boolean) method.invoke(cm); However, this code does not work on some devices, and throws an exception that no such method exists. I have found it is not working in Android 4.1.x. Why is it throwing this execption, and how can I fix 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 --- 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] Re: Device Admin not showing up in phone Settings Security Device Administrators
HI, 1) is app present in settings-manage apps? 2)or on the home screen ? On Friday, January 24, 2014 5:51:38 AM UTC-8, dashman wrote: I've got an app that enables itself as a device administrator. I get the prompt to Activate - which I do. I can call all the admin methods - e.g. lock the screen etc. But the app doesn't show up on the phone Settings Security Device Administrators screen. What could the problem be?? -- 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] Re: Android Toast is not clickable in some devices.
Hi, I want to open a message on setting screen.that will remain open for predefined time but when user click on the message then it will close .but when message open the setting screen the items of the setting screen remain clickable. On Sunday, January 19, 2014 4:25:21 AM UTC-8, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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 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] Re: Android Toast is not clickable in some devices.
Hi, I want to open a message on the setting screen, and message should be close when user click on the message. and items of the settings screen remain clickable even when the message is visible on the setting screen. On Sunday, January 19, 2014 5:55:21 PM UTC+5:30, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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 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] data-roaming setting page does not open correctly on some devices.
I use the below code to open data-roaming setting page. if(bvBuild.VERSION_CODES.JELLY_BEAN) { Intent intent=new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS); ComponentName cName = new ComponentName(com.android.phone,com.android.phone.Settings); intent.setComponent(cName); startActivityForResult(intent,10); } else { Intent intent = new Intent(); intent.setAction(android.provider.Settings.ACTION_DATA_ROAMING_SETTINGS); startActivityForResult(intent,10); } and it works fine on the most of the device.but on some devices it opens the settings page but data roaming option is not available in that 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 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] Re: Android Toast is not clickable in some devices.
Hi, On a button click i open ,device settings page with below code. startActivityForResult(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS),10); and when device settings page open then i open a toast message ,that describe the user to close your bluetooth.and when use click on this toast message , then i close it . when toast message open we are able to click bluetooth settings.any help? On Sunday, January 19, 2014 5:55:21 PM UTC+5:30, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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 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] Re: Android Toast is not clickable in some devices.
On Monday, January 20, 2014 12:55:40 PM UTC+5:30, 12169 wrote: Hi, when toast open on an activity then the activity's items are clickable but same is not true in case of dialog.any help how i can do this?. On Sunday, January 19, 2014 5:55:21 PM UTC+5:30, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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 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] Re: Android Toast is not clickable in some devices.
Hi, yes, i can make transparent activity for this.and when user touch the activity i close it. but the problem is that when transparent activity is open user unable to click on the settings of the settings screen. On Sunday, January 19, 2014 4:25:21 AM UTC-8, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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 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] Re: Android Toast is not clickable in some devices.
Hi, When Setting page open , then after 2 seconds i open the toast message . when toast message open on an activity or settings page then activity's or settings pages item remain clickable even when the toast message is open on the activity .but when dialog or popupwindow open on an activity or settings page, then activity's items do not remain clickable untill we close the dialog or opopupwindow. On Sunday, January 19, 2014 4:25:21 AM UTC-8, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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 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] Android Toast is not clickable in some devices.
Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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 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] Re: Android Toast is not clickable in some devices.
Hi, when toast open on an activity then the activity's items are clickable but same is not true in case of dialog.any help how i can do this?. On Sunday, January 19, 2014 5:55:21 PM UTC+5:30, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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 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] Android how we can free the RAM memory of the device.
Hi, I have found some applications that claims to free the RAM of the device.after search i have found that they free the inactive memory of the device.but i donot found any api to free the inactive memory of the device.any help how we can free the RAM of the device. -- 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] Re: Android how we can free the RAM memory of the device.
but,i want to know how i can free this memory. On Monday, December 30, 2013 4:20:04 AM UTC-8, 12169 wrote: Hi, I have found some applications that claims to free the RAM of the device.after search i have found that they free the inactive memory of the device.but i donot found any api to free the inactive memory of the device.any help how we can free the RAM of the device. -- 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] Re: Android how we can free the RAM memory of the device.
Hi, I have seen an application clean master that free the system memory when we click the option( boost memory).and it actually free the system RAM and i checked this programmatically.but i donot know how this application free the system RAM.any help? On Monday, December 30, 2013 4:20:04 AM UTC-8, 12169 wrote: Hi, I have found some applications that claims to free the RAM of the device.after search i have found that they free the inactive memory of the device.but i donot found any api to free the inactive memory of the device.any help how we can free the RAM of the device. -- 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] Re: Looking for API to gain access to my email
hi, As per my search it is not possible. but you can built your on email client for refernce you can find the ssource code of k9 application. On Friday, April 19, 2013 8:49:40 PM UTC-7, Dan Cha wrote: Im trying to build an app that can connect to my email client on my phone. Im using the email client that came with the phone, so whatever that is. Is it possible to access that from another app? I would like to gain access to the individual folders and do the normal delete, move and such.. Can anyone offer help or suggestions on how to do this.. 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 --- 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] fail to build uiautomator jar.
Hi , I am trying to use UiAutomator tools to test android project. i use the below command to create build.xml android-sdk/tools/android create uitest-project -n name -t 1 -p path but when i try to create jar with below command. ant build but get exception Buildfile: C:\RemoteMaxWorkSpace\build.xml -check-env: [checkenv] Android SDK Tools Revision 22.3.0 [checkenv] Installed at C:\ASHISH_OLD_ DATA\Android SelfDownload\adt-bundle-win -x86-20130522\sdk -build-setup: [getbuildtools] Using latest Build Tools: 19.0.0 [echo] Resolving Build Target for ZUiAutomterA... [getuitarget] Project Target: Android 4.2.2 [getuitarget] API level:17 [echo] -- [echo] Creating output directories if needed... -pre-compile: compile: -post-compile: -dex: [dex] input: C:\RemoteMaxWorkSpace\bin\classes [dex] Converting compiled files and external libraries into C:\RemoteMaxWo ace\bin\classes.dex... [dx] no classfiles specified BUILD FAILED -- 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] android how to run uiautomator test cases after building the jar file.
Hi, After study about uiautomator tool in the android i found it will help to test the other applications automatically . just after building the test cases for that application. I want to know can i run the test cases from my application programmatically? if no then how i can run these test cases. -- 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] Android problem to use uiautomator.jar
Hi, I have run the sample code that uses the uiautomator.jar but when i run the code on the button click. i get exception java.lang.RuntimeException: Stub! but i fail to find the reason for it. any help will be appreciated -- 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] Re: I want to make an application can do automated testing.
Hi, i am able to record the points on the device where user has clicked and output it on a file ashish.txt below is the code that i use.but now problem is that system output the points on the file only when is size of of the data is 32kb.any help to record it for one click. Process process = Runtime.getRuntime().exec(su); DataOutputStream os = new DataOutputStream(process.getOutputStream()); os.writeBytes(getevent /dev/input/event6 /sdcard/ashish.txt \n ); os.flush(); On Monday, December 2, 2013 1:06:38 AM UTC+5:30, 12169 wrote: Hi, In android i want to make an application that can do automated testing of android applications. for this my first step is to record the testing steps that i done on the application and after i have the repeat that steps. any suggestion will be appreciated. -- 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] Re: How to refresh icons ?
please explain wt do you want... On Wednesday, December 4, 2013 11:05:38 AM UTC-8, Brakkar wrote: Hi, how can the end user force refresh android desktop icons, I think he must force close the launcher, but can't find 'launcher' app on some 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 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] Android how to run adb commands programatically ?
Hi, I run adb command on the cmd ( adb shell getevent ) and found the list of the devices. but how i can run these command programatically ? and check there corresponding output. -- 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] Re: Avoid app force closed issue.
Hi, first make your http connection in AsynTask and then properly debugg your application. On Tuesday, December 3, 2013 10:38:40 AM UTC+5:30, sree wrote: Hi friends, some times i am faceing a problum.That is when i am getting data from server using web services ,some times my app is force closed due to low internet peers(Low internet signals).how can i handle this problum and how can i avoid app force close problum. when my app app is force close at that time alert will display,when i press that alert i will navigate to home screen. thank you 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 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] Re: RelativeLayout: use layout_below, layout_centerVertical, android:layout_alignParentBottom
Hi, can you please provide the complete code and image what you want to made. On Monday, November 18, 2013 5:06:23 PM UTC+5:30, Alex Andro wrote: Hi, It is my first post here, so if do mistakes like wrong place to post or improper question please forgive me. I want to put view1 below view2 that has the property layout_centerVertical=true in a RelativeLayout. I also have an another view, view3 that has the property android:layout_alignParentBottom .When I set this property to true it invalidates this rule of view1: android:layout_below=@id/view2 If I change it to false everything is going normal again. Here is the full code: As you can see view3 has nothing to do with any other view so I don't know where cames the dependency from. ImageView android:id=@+id/view2 android:layout_height=wrap_content android:layout_width=wrap_content android:adjustViewBounds=true android:padding=10dp android:layout_alignParentRight=true android:layout_centerVertical=true android:src=@drawable/image1/ ImageView android:id=@+id/view1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_below=@id/view2 android:adjustViewBounds=true android:src=@drawable/image2 / View android:id=@+id/view3 android:layout_width=10dip android:layout_height=10dip android:layout_alignParentBottom=true android:layout_alignParentRight=true android:background=#fff / -- 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] Re: I want to make an application can do automated testing.
Hi, I am able to programmatically inject keys on the other applications but problem how programmatically i record the events that occur on the screen. On Monday, December 2, 2013 1:06:38 AM UTC+5:30, 12169 wrote: Hi, In android i want to make an application that can do automated testing of android applications. for this my first step is to record the testing steps that i done on the application and after i have the repeat that steps. any suggestion will be appreciated. -- 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] I want to make an application can do automated testing.
Hi, In android i want to make an application that can do automated testing of android applications. for this my first step is to record the testing steps that i done on the application and after i have the repeat that steps. any suggestion will be appreciated. -- 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] Re: I want to make an application can do automated testing.
Hi, i want to do this on other applications. On Sunday, December 1, 2013 12:06:14 PM UTC-8, RichardC wrote: For your own applications see Android UI Testing: http://developer.android.com/tools/testing/testing_ui.html For other application this would be a great big security hole and is therefore not possible. On Sunday, December 1, 2013 7:36:38 PM UTC, 12169 wrote: Hi, In android i want to make an application that can do automated testing of android applications. for this my first step is to record the testing steps that i done on the application and after i have the repeat that steps. any suggestion will be appreciated. -- 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] Inside the device settings there is a option to manage application data.how i can prevent the user to delete my application data.
Hi, I want to safe my application data so that user can not delete it from device settings . e.g we can delete application data from settings/app/manage application. I Have found some application in which clear data button is disable inside the device settings. -- 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] Re: android how to use one view in multiple layouts files.
Hi , android:text=”Your new text string” eclipse is not showing this option in ctrl+space On Wednesday, November 13, 2013 7:51:47 AM UTC-8, MathieuB wrote: Let's say you named this layout, with your textview tv_layout. Use that in your other layout to include it. Note that you can override other value like layout_width, id, etc. : include android:text=”Your new text string” layout=”@layout/tv_layout”/ -- 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] Re: android how to use one view in multiple layouts files.
It is not working... On Friday, November 15, 2013 8:53:19 AM UTC-8, 12169 wrote: Hi , android:text=”Your new text string” eclipse is not showing this option in ctrl+space On Wednesday, November 13, 2013 7:51:47 AM UTC-8, MathieuB wrote: Let's say you named this layout, with your textview tv_layout. Use that in your other layout to include it. Note that you can override other value like layout_width, id, etc. : include android:text=”Your new text string” layout=”@layout/tv_layout”/ -- 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] Re: android how to use one view in multiple layouts files.
Hi, After search i found include tag does not know about the view to which it is creating ,so it does not know about the properties of the child view to which it is creating.so the way you mention is not feasible .. On Friday, November 15, 2013 10:03:29 AM UTC-8, MathieuB wrote: Well, i'm not gonna come and do it for you. There's no reason it's not working. If you are not willing to learn the basic first...i'm outta here Learn to read the error, the console, logcat, etc. On Friday, November 15, 2013 11:58:14 AM UTC-5, 12169 wrote: It is not working... On Friday, November 15, 2013 8:53:19 AM UTC-8, 12169 wrote: Hi , android:text=”Your new text string” eclipse is not showing this option in ctrl+space On Wednesday, November 13, 2013 7:51:47 AM UTC-8, MathieuB wrote: Let's say you named this layout, with your textview tv_layout. Use that in your other layout to include it. Note that you can override other value like layout_width, id, etc. : include android:text=”Your new text string” layout=”@layout/tv_layout”/ -- 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] android how to use one view in multiple layouts files.
Hi, below is the textview and i want to use it in multiple layout files.but i want to change the text of the textview when i use it in multiple layout files? ?xml version=1.0 encoding=utf-8? TextView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=45dip android:layout_height=50dip android:text=2 android:textColor=#ff android:gravity=center / -- 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] android how to use same layout in the other layout files.
Hi, if in the one file i included a text view 2 times then how i can change it. On Saturday, October 19, 2013 11:42:37 AM UTC-7, Steve Gabrilowitz wrote: Give it a tag or an ID so you can find it in your code and change it On Oct 19, 2013 2:32 PM, 12169 ashis...@gmail.com javascript: wrote: Hi, but how i can change the text of TextView. On Friday, October 18, 2013 7:53:55 AM UTC-7, SIVAKUMAR.J wrote: U can acheive this by using include tag in xml layout On Oct 18, 2013 7:23 PM, 12169 ashis...@gmail.com wrote: Hi, I have below layout file and i want to use it inside of other layout files, instead of every time creating it. and inside of other layout files i want to change the text of textview and also want to provide the id to TextView LinearLayout android:layout_width=match_parent android:layout_height=wrap_content android:orientation=vertical TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=Ashish/ TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=Sharma/ /LinearLayout -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@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-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 javascript:. 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] android how to use same layout in the other layout files.
On Monday, November 11, 2013 11:11:40 AM UTC-8, 12169 wrote: Hi, if in the one file i included a text view 2 times then how i can change the text of the view. On Saturday, October 19, 2013 11:42:37 AM UTC-7, Steve Gabrilowitz wrote: Give it a tag or an ID so you can find it in your code and change it On Oct 19, 2013 2:32 PM, 12169 ashis...@gmail.com wrote: Hi, but how i can change the text of TextView. On Friday, October 18, 2013 7:53:55 AM UTC-7, SIVAKUMAR.J wrote: U can acheive this by using include tag in xml layout On Oct 18, 2013 7:23 PM, 12169 ashis...@gmail.com wrote: Hi, I have below layout file and i want to use it inside of other layout files, instead of every time creating it. and inside of other layout files i want to change the text of textview and also want to provide the id to TextView LinearLayout android:layout_width=match_parent android:layout_height=wrap_content android:orientation=vertical TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=Ashish/ TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=Sharma/ /LinearLayout -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@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-d...@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] android how to use same layout in the other layout files.
Hi, but how i can change the text of TextView. On Friday, October 18, 2013 7:53:55 AM UTC-7, SIVAKUMAR.J wrote: U can acheive this by using include tag in xml layout On Oct 18, 2013 7:23 PM, 12169 ashis...@gmail.com javascript: wrote: Hi, I have below layout file and i want to use it inside of other layout files, instead of every time creating it. and inside of other layout files i want to change the text of textview and also want to provide the id to TextView LinearLayout android:layout_width=match_parent android:layout_height=wrap_content android:orientation=vertical TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=Ashish/ TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=Sharma/ /LinearLayout -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 javascript:. 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.
[android-developers] android how to increase the width ,height of the box of checkbox.
Hi, I want to increase the the width,height of the rectangular box of the checkbox.but did not find any attribute to control it. any 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 --- 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] android how to increase the width ,height of the box of checkbox.
Hi, I want to increase the the width,height of the rectangular box of the checkbox.but did not find any attribute to control it. any 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 --- 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] android how to use same layout in the other layout files.
Hi, I have below layout file and i want to use it inside of other layout files, instead of every time creating it. and inside of other layout files i want to change the text of textview and also want to provide the id to TextView LinearLayout android:layout_width=match_parent android:layout_height=wrap_content android:orientation=vertical TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=Ashish/ TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=Sharma/ /LinearLayout -- 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] android httpURL connection problem
Hi, i use below code to make http connection. URL url = new URL(filePath); HttpURLConnection con = (HttpURLConnection) url.openConnection(); con.setReadTimeout(10*1000); con.setConnectTimeout(10*1000); but when i use setReadTimeout and connectTimeout values then java.net.SocketTimeoutException: Transport endpoint is not connected -- 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] Re: android proguard is not working for the that is activated by the reflection?
Hi , can you please explain...or provide demo wt to do? On Wednesday, September 25, 2013 11:53:14 PM UTC-7, Andrew Mackenzie wrote: Look at the classes youbarebusing tibdi that, then add instructions to your proguard config file (in project root) to have it NOT obfuscate or remove those classes or methods or the classes or methods they access by name. -- 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] Android screen capture delay due to writing data in the file..
Hi, i do not have understanding of native developement. can you read data directly from fram-buffer which actually hold the data while capturing the image. On Wednesday, September 18, 2013 5:03:19 PM UTC-7, Baodong Chen wrote: Of course you can,but you should use native code to do that, SurfaceFlinger has interface for that! 2013/09/18 17:27 ashish ashis...@gmail.com javascript:: Hi, I have a rooted device and i successfully capture the screenshot of current screen.and use the below code. Process process = Runtime.getRuntime().exec(su); DataOutputStream os = new DataOutputStream(process.getOutputStream()); os.writeBytes(/system/bin/screencap -p + path + ; \n); but in the command i provide the path where i want to save the file and system take time to write the image in the file. so I want to know can we directly take the image data from process in the form of bytes because I want to send the current image to the server immediately. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 javascript:. 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.
[android-developers] android proguard is not working for the that is activated by the reflection?
Hi , I want to get the application size in the android and i did this using reflection method and it works fine .but when i release the built with enabling the proguard then it is not working.any suggestion... -- 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] Re: Honeycomb / Fragments: can't remove a fragment added in XML layout
if use want to remove the fragments then the best way to add it dynamically. just create the fragment view in a seperate .xml file and add it to your manager using fragmentmanager that is associated with your activity. On Wednesday, March 9, 2011 3:34:31 PM UTC+5:30, clemp6r wrote: Hi, I can't remove a Fragment that was added in an XML layout file, using a FragmentTransaction. I don't understand why, I probably misunderstood something and I would appreciate some explanations. Here's a simple code to demonstrate my problem : ** Main layout, main.xml: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:id=@+id/root TextView android:id=@+id/hello_view android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / fragment android:name=test.fragments.FragmentA android:id=@+id/fragment_a android:layout_width=fill_parent android:layout_height=wrap_content / /LinearLayout ** Main activity: public class TestFragmentsActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); TextView helloView = (TextView) findViewById(R.id.hello_view); helloView.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { FragmentManager fragmentManager = getFragmentManager(); FragmentTransaction transaction = fragmentManager.beginTransaction(); transaction.remove(fragmentManager.findFragmentById(R.id.fragment_a)); transaction.commit(); } }); } } ** My fragment class: public class FragmentA extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.layout_a, container, false); } } ** Fragment layout, layout_a.xml: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=match_parent android:layout_height=match_parent TextView android:text=TextView A android:id=@+id/ textView1_a android:layout_width=wrap_content android:layout_height=wrap_content/TextView /LinearLayout When I click on the text view, the fragment should be removed, but nothing seems to happen. If I click again, the application crashes with the following error messages: 03-09 09:48:09.248: ERROR/AndroidRuntime(1222): java.lang.NullPointerException 03-09 09:48:09.248: ERROR/AndroidRuntime(1222): at android.app.BackStackRecord.remove(BackStackRecord.java:365) 03-09 09:48:09.248: ERROR/AndroidRuntime(1222): at test.fragments.TestFragmentsActivity $1.onClick(TestFragmentsActivity.java:28) Maybe it's not possible to remove fragments that were added using XML layouts? 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 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.