Re: [android-developers] ActionBar on 2.3 API
Coming right up. On Thursday, August 30, 2012 4:23:33 PM UTC+8, ravi saini wrote: hii please send the complete code of action bar to me also -- 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] Help: My app has violated the spam provisions of the Content Policy
On Fri, Aug 31, 2012 at 12:28 AM, Terry terb...@gmail.com wrote: I would like to change the product description as fast as possible, but I DO NOT KNOW WHAT TO CHANGE! Seriously? You are told: Product descriptions should not be misleading or *loaded with keywords*in an attempt to manipulate ranking or relevancy in the store’s search results. And this is the bottom of your description: *Keywords*: Secret Audio Recorder, Secret Voice Recorder, Spy Recorder, Spy Phone, Hidden Recorder, Hidden Voice Recorder, Hidden Mike, Hidden Michrophone, Background Recorder, Secret CamCorder, Stealth Audio Recorder, Stealth Voice Recording, Audio Recorder, Voice Recorder I can see why you're so confused as to what the problem is. This is a head scratcher. - 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] 【android-developers】 AndroidManifest.xml android:icon
im japanese programer. service android:name=.Service android:icon=@drawable/aaa intent-filter action android:name= / /intent-filter /service android:icon=@drawable/aaa Where is the icon set up here used? help 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
Re: [android-developers] Issues with SpeechRecognizer on Jelly Bean
The problem has been verified by about a half-dozen different developers. Here is sample code demonstrating the problem: http://code.google.com/p/recognition-listener-broken-on-jb/ On Thursday, August 30, 2012 4:01:23 PM UTC-7, Spooky wrote: On Thu, Aug 30, 2012 at 01:53:30PM -0700, joebowbeer wrote: There seems to be a major issue affecting programmatic users of the speech recognition service on Jelly Bean handsets: In particular, users of the RecognitionListener are not receiving results. Seems to me like that'd be a problem in the developer's 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] stuck in custom control
i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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=enattachment: customized control.png
Re: [android-developers] Help: My app has violated the spam provisions of the Content Policy
Thank you, TreKing. Yes, there are some keywords, but the same number of keywords - and even more - can be found in most apps (?) Terry kl. 08:18:03 UTC+2 fredag 31. august 2012 skrev TreKing følgende: On Fri, Aug 31, 2012 at 12:28 AM, Terry ter...@gmail.com javascript:wrote: I would like to change the product description as fast as possible, but I DO NOT KNOW WHAT TO CHANGE! Seriously? You are told: Product descriptions should not be misleading or *loaded with keywords*in an attempt to manipulate ranking or relevancy in the store’s search results. And this is the bottom of your description: *Keywords*: Secret Audio Recorder, Secret Voice Recorder, Spy Recorder, Spy Phone, Hidden Recorder, Hidden Voice Recorder, Hidden Mike, Hidden Michrophone, Background Recorder, Secret CamCorder, Stealth Audio Recorder, Stealth Voice Recording, Audio Recorder, Voice Recorder I can see why you're so confused as to what the problem is. This is a head scratcher. - 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: Help: My app has violated the spam provisions of the Content Policy
The following keywords are from another app - which has been at the Play Store for a very long time: Track, Find, Lost, Phone, My Phone, Locate, Locate, Locator, Tracker, Real Time Tracking, Find Phone, Find Stolen Phone, Find Lost Phone, Seek Droid, Security, Tracker, Where’s my Droid, Wheres my Droid, Find My Droid, Find My Phone, Droid finder, Phone finder, FindMyDroid, FindMyPhone Titanium Backup Pro, Mybackup Pro, Beautiful Widgets, Root Explorer Titanium Backup Pro, Mybackup Pro, Beautiful Widgets, Root Explorer mobile locate,mobile locate Find my phone, find my phone Where's my droid, wheres my droid Where's my droid, where's my droid Where's my droid, wheres my droid mobile protection, mobile security, mobile protection plan, mobile protection, mobile locate find my phone find my phone find my phone find my phone find my phone find my phone locate phone locate phone locate phone locator seek droid, lookout mobile security, seek droid, lookout Regards, Terry kl. 07:28:48 UTC+2 fredag 31. august 2012 skrev Terry følgende: I just received an email from the Google Play Team, starting as follows: This is a notification that your application, Secret Audio Recording Free, with package ID com..sarf, is currently in violation of our developer terms. *REASON FOR WARNING*: Violation of the spamhttps://play.google.com/about/developer-content-policy.html#spamprovisions of the Content Policy. - Do not post repetitive content. - Product descriptions should not be misleading or loaded with keywords in an attempt to manipulate ranking or relevancy in the store’s search results. Your application will be removed if you do not make modifications to your application’s description to bring it into compliance within 7 days I would like to change the product description as fast as possible, but I DO NOT KNOW WHAT TO CHANGE! It would make it simpler if Google could have been more explisit, or that some examples of such violations could have been listed somewhere, but I cannot find any. I guess that many other developers have the same problem understanding this. The app in question is Secret Audio Recording Free, by terboel. I shall appreciate all good advice. Regards Terry -- 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 notification status from other apps
Hi, I just did some Googling but did not find any answer. In Android SDK, is there a possibility to detect what notification is active in the notification bar? Eg. My app is call MyApp and when a 3rd party NotMyApp-A, NotMyApp-B fires 2 notification is there ways to detect them in my app? -- 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] stuck in custom control
Any other alternative idea is also acceptable. i want range specified by user. It is not necessary to use only only this customized control, you can also able to use other control to get the range. On Fri, Aug 31, 2012 at 12:01 PM, Rajan r.d.thak...@gmail.com wrote: i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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
Fwd: [android-developers] 【android-developers】 AndroidManifest.xml android:icon
Hi dude go drawable folder in res ...check images aaa...change if you want to change -- Forwarded message -- From: 安藤玲生 ando.reo...@gmail.com Date: Fri, Aug 31, 2012 at 11:47 AM Subject: [android-developers] 【android-developers】 AndroidManifest.xml android:icon To: android-developers@googlegroups.com im japanese programer. service android:name=.Service android:icon=@drawable/aaa intent-filter action android:name= / /intent-filter /service android:icon=@drawable/aaa Where is the icon set up here used? help 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 -- 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] stuck in custom control
Hi according to your requirements use seekbargive thread condition ...it will load like this On Fri, Aug 31, 2012 at 12:14 PM, Rajan Thakrar r.d.thak...@gmail.comwrote: Any other alternative idea is also acceptable. i want range specified by user. It is not necessary to use only only this customized control, you can also able to use other control to get the range. On Fri, Aug 31, 2012 at 12:01 PM, Rajan r.d.thak...@gmail.com wrote: i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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] stuck in custom control
but how can i get two slider in one seekbar ?? is it possible in seek bar? On Fri, Aug 31, 2012 at 12:19 PM, Parthi K parthisof...@gmail.com wrote: Hi according to your requirements use seekbargive thread condition ...it will load like this On Fri, Aug 31, 2012 at 12:14 PM, Rajan Thakrar r.d.thak...@gmail.comwrote: Any other alternative idea is also acceptable. i want range specified by user. It is not necessary to use only only this customized control, you can also able to use other control to get the range. On Fri, Aug 31, 2012 at 12:01 PM, Rajan r.d.thak...@gmail.com wrote: i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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
Re: [android-developers] stuck in custom control
Hi dude otherwise use Do you know canvas draw pragmatically is it possible .. On Fri, Aug 31, 2012 at 12:30 PM, Rajan Thakrar r.d.thak...@gmail.comwrote: but how can i get two slider in one seekbar ?? is it possible in seek bar? On Fri, Aug 31, 2012 at 12:19 PM, Parthi K parthisof...@gmail.com wrote: Hi according to your requirements use seekbargive thread condition ...it will load like this On Fri, Aug 31, 2012 at 12:14 PM, Rajan Thakrar r.d.thak...@gmail.comwrote: Any other alternative idea is also acceptable. i want range specified by user. It is not necessary to use only only this customized control, you can also able to use other control to get the range. On Fri, Aug 31, 2012 at 12:01 PM, Rajan r.d.thak...@gmail.com wrote: i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers]
package com.example.splashscreentest; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import android.app.Service; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.IBinder; public class RegistrationService extends Service{ String SOAP_ACTION= http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/customer.addIloyalCustomer ; String SOAP_METHOD=customer.addIloyalCustomer; String NAME_SPACE=http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php;; String url=http://demo3.idhasoft.us/iloyal/api/iloyal/customer.php/?wsdl;; @Override public IBinder onBind(Intent intent) { //TODO Auto-generated method stub return null; } @Override public void onStart(Intent intent, int startId) { //TODO Auto-generated method stub super.onStart(intent, startId); try{ SoapObject result=(SoapObject)getWeather(); System.out.println(+result.toString()); }catch(Exception e) { System.out.println(exception in soap +e); } stopService(intent); } public SoapObject getWeather() throws Exception { SoapObject request = new SoapObject(NAME_SPACE, SOAP_METHOD); //request.addProperty(PlaceName, city); request.addProperty(firstname, rauf); request.addProperty(lastname, qureshi); request.addProperty(email, rauf.qure...@gmail.com); request.addProperty(password, 12345); request.addProperty(mobile, 8286459963); request.addProperty(DOB, 15/04/88); request.addProperty(zipcode, 400092); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); // It seems that it is a .NET Web service because it doesn't work without next line envelope.dotNet = true; HttpTransportSE transport = new HttpTransportSE(url); System.out.println(service me conncetion checking se pahle aaya); //ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); //NetworkInfo netInfo = cm.getActiveNetworkInfo(); // //if (netInfo != null netInfo.isConnectedOrConnecting()) //{ // System.out.println(connected+netInfo.getExtraInfo()); //} //else //{ //System.out.println(not connceted); //} System.out.println(request +request); System.out.println(1=); transport.call(SOAP_ACTION, envelope); System.out.println(2=); return (SoapObject) envelope.getResponse(); } @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); } } I am getting this problem can any body solve it org.xmlpull.v1.xmlpullparserexception expected start_tag Thnaks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] stuck in custom control
thanks parthi, now i got the solution from this site : http://www.quicknews4you.com/2011/05/08/android-seek-bar-with-two-thumb/ On Friday, 31 August 2012 12:46:47 UTC+5:30, parthi wrote: Hi dude otherwise use Do you know canvas draw pragmatically is it possible .. On Fri, Aug 31, 2012 at 12:30 PM, Rajan Thakrar r.d.t...@gmail.comjavascript: wrote: but how can i get two slider in one seekbar ?? is it possible in seek bar? On Fri, Aug 31, 2012 at 12:19 PM, Parthi K parthi...@gmail.comjavascript: wrote: Hi according to your requirements use seekbargive thread condition ...it will load like this On Fri, Aug 31, 2012 at 12:14 PM, Rajan Thakrar r.d.t...@gmail.comjavascript: wrote: Any other alternative idea is also acceptable. i want range specified by user. It is not necessary to use only only this customized control, you can also able to use other control to get the range. On Fri, Aug 31, 2012 at 12:01 PM, Rajan r.d.t...@gmail.comjavascript: wrote: i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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 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 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 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 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: Help: My app has violated the spam provisions of the Content Policy
I would take them out. that's completely wrong to do that IMO. It takes time to search millions of apps. I'm sure theirs will get reported. -- 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] stuck in custom control
hey... is there any way to give a condition using the softkeyboard that when we enter in edittext .. please help me.. Thanks Sravanthi -- 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] stuck in custom control
hey any one please help me regarding this... how to display toast message when we enter keyevent.Keycode_0 through softkeyboard into the edittext.. Thanks, Sravanthi. -- 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: Fwd: [android-developers] 【android-developers】 AndroidManifest.xml android:icon
please eazy english. im japanese thanks. (2012/08/31 15:47), Parthi K wrote: Hi dude go drawable folder in res ...check images aaa...change if you want to change -- Forwarded message -- From: *安藤玲生* ando.reo...@gmail.com mailto:ando.reo...@gmail.com Date: Fri, Aug 31, 2012 at 11:47 AM Subject: [android-developers] 【android-developers】 AndroidManifest.xml android:icon To: android-developers@googlegroups.com mailto:android-developers@googlegroups.com im japanese programer. service android:name=.Service android:icon=@drawable/aaa intent-filter action android:name= / /intent-filter /service android:icon=@drawable/aaa Where is the icon set up here used? help 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 mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@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] stuck in custom control
Yes you can use it try this : EditText editText; editText = (EditText)findViewById(R.id.editText); editText.addTextChangedListener(this); so you get @Override public void afterTextChanged(Editable s) { } @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { } On Friday, 31 August 2012 13:21:42 UTC+5:30, sravanthi dadu wrote: hey... is there any way to give a condition using the softkeyboard that when we enter in edittext .. please help me.. Thanks Sravanthi On Friday, 31 August 2012 13:25:40 UTC+5:30, sravanthi dadu wrote: hey any one please help me regarding this... how to display toast message when we enter keyevent.Keycode_0 through softkeyboard into the edittext.. Thanks, Sravanthi. -- 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] OnPreviewFrame on Galaxy Nexus
Hello! Do you know if OnPreviewFrame (as of Android 4.0.3) is correctly implemented in Samsung Galaxy Nexus? I have programmed some code that works perfectly on a Galaxy S3, but in the Nexus, the byte[] buffer, which comes with the call to OnPreviewFrame and should have the YUV data, has 0s in all the Y channel, and -128 in U and V (that is, plain green, if I'm correct). getPreviewFormat() is returning a 17 as expected, meaning that the preview mode is actually NV21 (the same as the S3 on which it works). I know there are some hardware-dependent issues with raw camera data, so maybe that is the explanation? I have been searching but I have found nothing related. Thank you for your time! -- 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: Will all notification ads and app icons be forbidden?
Maybe we should ask why developers have been using notification ads instead of blaming them for it. The purchase rate is still very low on Google play compared with Apple appstore. Everyone that I talked to last year said that the only way of getting any real revenue from Android apps is advertising. Some content types, like Live wallpapers are not suitable for banner ads. This left the developers with no other monetizing options than notification ads and app icons. It seems however that push ads and app icons will not be allowed after 31/8, so we will see what happens then. You should however not blame the developers for notification ads! Den onsdagen den 29:e augusti 2012 kl. 20:55:42 UTC+2 skrev John Coryat: Notification ads SHOULD be forbidden. Any developer who knowingly includes such content in their app is being disrespectful of their user base. -John Coryat -- 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: Process 8769 terminated by signal (7)
may be its script problem I am also facing problem that c compiler test failed error take a look at my sh file it will help you to solve your problem #!/bin/bash # Author: Dmitry Dzakhov (based on Guo Mingyu's script) # Creating conf.sh in ffmpeg directory NDK=~/android-ndk PLATFORM=$NDK/platforms/android-14/arch-arm PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86 output=conf.sh [ -f conf.sh ] echo Old $output has been removed. echo '#!/bin/bash' $output echo PREBUILT=$PREBUILT $output echo PLATFORM=$PLATFORM $output echo './configure --target-os=linux \ --prefix=./android/armv7-a \ --enable-cross-compile \ --extra-libs=-lgcc \ --arch=arm \ --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \ --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \ --nm=$PREBUILT/bin/arm-linux-androideabi-nm \ --sysroot=$PLATFORM \ --extra-cflags= -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 -mfloat-abi=softfp -mfpu=neon -marm -march=armv7-a -mtune=cortex-a8 \ --disable-shared \ --enable-static \ --extra-ldflags=-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog \ --enable-parsers \ --enable-encoders \ --enable-decoders \ --enable-muxers \ --enable-demuxers \ --enable-swscale \ --enable-swscale-alpha \ --disable-ffplay \ --disable-ffprobe \ --enable-ffserver \ --enable-network \ --enable-indevs \ --disable-bsfs \ --enable-filters \ --enable-avfilter \ --enable-protocols \ --disable-asm \ --enable-neon' $output # start configure sudo chmod +x $output echo configuring... ./$output || (echo configure failed exit 1) # modify the config.h echo modifying the config.h... sed -i s/#define restrict restrict/#define restrict/g config.h # remove static functions in libavutil/libm.h echo removing static functions in libavutil/libm.h... sed -i /static/,/}/d libavutil/libm.h # modify Makefiles echo modifying Makefiles... sed -i /include \$(SUBDIR)..\/subdir.mak/d libavcodec/Makefile sed -i /include \$(SUBDIR)..\/config.mak/d libavcodec/Makefile sed -i /include \$(SUBDIR)..\/subdir.mak/d libavfilter/Makefile sed -i /include \$(SUBDIR)..\/config.mak/d libavfilter/Makefile sed -i /include \$(SUBDIR)..\/subdir.mak/d libavformat/Makefile sed -i /include \$(SUBDIR)..\/config.mak/d libavformat/Makefile sed -i /include \$(SUBDIR)..\/subdir.mak/d libavutil/Makefile sed -i /include \$(SUBDIR)..\/config.mak/d libavutil/Makefile sed -i /include \$(SUBDIR)..\/subdir.mak/d libpostproc/Makefile sed -i /include \$(SUBDIR)..\/config.mak/d libpostproc/Makefile sed -i /include \$(SUBDIR)..\/subdir.mak/d libswscale/Makefile sed -i /include \$(SUBDIR)..\/config.mak/d libswscale/Makefile # generate av.mk in ffmpeg echo generating av.mk in ffmpeg... echo '# LOCAL_PATH is one of libavutil, libavcodec, libavformat, or libswscale #include $(LOCAL_PATH)/../config-$(TARGET_ARCH).mak include $(LOCAL_PATH)/../config.mak OBJS := OBJS-yes := MMX-OBJS-yes := include $(LOCAL_PATH)/Makefile # collect objects OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes) OBJS += $(OBJS-yes) FFNAME := lib$(NAME) FFLIBS := $(foreach,NAME,$(FFLIBS),lib$(NAME)) FFCFLAGS = -DHAVE_AV_CONFIG_H -Wno-sign-compare -Wno-switch -Wno-pointer-sign FFCFLAGS += -DTARGET_CONFIG=\config-$(TARGET_ARCH).h\ ALL_S_FILES := $(wildcard $(LOCAL_PATH)/$(TARGET_ARCH)/*.S) ALL_S_FILES := $(addprefix $(TARGET_ARCH)/, $(notdir $(ALL_S_FILES))) ifneq ($(ALL_S_FILES),) ALL_S_OBJS := $(patsubst %.S,%.o,$(ALL_S_FILES)) C_OBJS := $(filter-out $(ALL_S_OBJS),$(OBJS)) S_OBJS := $(filter $(ALL_S_OBJS),$(OBJS)) else C_OBJS := $(OBJS) S_OBJS := endif C_FILES := $(patsubst %.o,%.c,$(C_OBJS)) S_FILES := $(patsubst %.o,%.S,$(S_OBJS)) FFFILES := $(sort $(S_FILES)) $(sort $(C_FILES))' av.mk echo 'include $(all-subdir-makefiles)' ../Android.mk echo 'LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_STATIC_LIBRARIES := libavformat libavcodec libavutil libpostproc libswscale LOCAL_MODULE := ffmpeg include $(BUILD_SHARED_LIBRARY) include $(call all-makefiles-under,$(LOCAL_PATH))' Android.mk echo 'LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) include $(LOCAL_PATH)/../av.mk LOCAL_SRC_FILES := $(FFFILES) LOCAL_C_INCLUDES :=\ $(LOCAL_PATH)\ $(LOCAL_PATH)/.. LOCAL_CFLAGS += $(FFCFLAGS) LOCAL_CFLAGS += -include string.h -Dipv6mr_interface=ipv6mr_ifindex LOCAL_LDLIBS := -lz LOCAL_STATIC_LIBRARIES := $(FFLIBS) LOCAL_MODULE := $(FFNAME) include $(BUILD_STATIC_LIBRARY)' libavformat/Android.mk echo 'LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) include $(LOCAL_PATH)/../av.mk LOCAL_SRC_FILES := $(FFFILES) LOCAL_C_INCLUDES :=\ $(LOCAL_PATH)\ $(LOCAL_PATH)/.. LOCAL_CFLAGS += $(FFCFLAGS) LOCAL_CFLAGS += -std=c99 LOCAL_LDLIBS := -lz LOCAL_STATIC_LIBRARIES := $(FFLIBS) LOCAL_MODULE :=
[android-developers] Re: Help: My app has violated the spam provisions of the Content Policy
But - if the keywords in the description seem to be the cause of this violation - what may be the conclusion: Can a description have ANY keywords? If so, how many? I think it is pretty bad that Google cannot be clearer on this. It would be nice to have other developers view as well.. I am certain that this applies - and is of great interest - to many of us. Terry kl. 09:28:42 UTC+2 fredag 31. august 2012 skrev Jason Sesso følgende: I would take them out. that's completely wrong to do that IMO. It takes time to search millions of apps. I'm sure theirs will get reported. -- 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 insert the multiple images in sqlite database using android
Hello Developers, I worked on emp details table, i want to insert emp data along with image so how to insert data with image... can anyone know code, please help me and get out me from this problem. Thanks in advance... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to wake up a thread with the TERMINATED state?
this can't work. as when you called this.run,the run function is not executed in the thread where you want to do the things in the run. These work was done in the thread where you called this.run. 在 2010年11月18日星期四UTC+8下午5时52分00秒,viktor写道: Could you try call Thread.run(). I did as you and works fine. This is my example: if(this.getState().equals(Thread.State.NEW)){ start(); } else if(this.getState().equals(Thread.State.TERMINATED)) { this.run(); } All operation I do in Thread class. On 17 Лис, 21:27, Kumar Bibek coomar@gmail.com wrote: You cannot wake a dead thread. You can only resume a thread if it's in wait/blocked statehttp:// www.roseindia.net/java/thread/life-cycle-of-threads.shtml On Thu, Nov 18, 2010 at 12:55 AM, MobileVisuals eyv...@astralvisuals.comwrote: I have a thread in my app. Before it has been started, it has the thread state NEW. I can then start it without problems. The user can then start another app and then swith back to may app. onResume() and onPostResume() then gets called in the activity and surfaceCreated() gets called in the SurfaceView. The thread then has the thread state TERMINATED. I want to wake it up now, but I can not start it, because I get IllegalThreadStateException then. This is because the thread has been started before. I have tried other ways of waking it up, like interrupt (), but it doesn't work. So how can I wake up the thread, so my application can start functioning again? -- 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:android-developers%2Bunsubs cr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.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] How to write my own custom TTS engine in android?
Hi, I have to write my own custom TTS engine so that i can use it in my Apps. Why I want to create my own TTS engine because some of the TTS engine either doesn't support required languages OR those which are supported are not free TTS engine, so I will create my own engine with all those languages supported, I Just want to create it as a library(.jar) so it will easy to add to several applications. Can anyone suggest me how to achieve it OR is it possible to achieve it, if yes then how? please assist me to implement it. Thanks, Amit -- 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] What are the file formats in Android WebView cache directory (data_1, f_000001 etc.) and are these accessible somehow?
Hi there! I have researched and also posted this question on stackoverflow, but got not a single response :-( I created a rudimentary browser with help of a WebView. When I visit a website (containing some text and a few images), the cache directory in /data/data/com.mayexample/cache/webViewCacheChromium gets filled with a few files called index, data_0, data_1, data_2, f_1, f_2 etc. I was wondering, what's the format of these files, what do they contain? I thought about so, a few of these files surely have to be the website's images then and tried opening them in a file manager (open as image). But whatever file I pick, the process says Failed loading!. Even if I rename some of them to .jpg, still I can't open anything. I have read on the internet that this worked for some people though (look at Android WebView - Load Images from cachehttp://stackoverflow.com/questions/11274225/android-webview-load-images-from-cache, it's exactly what I want to do), but I can't do anything with the cache's files. Do you know a way to open webview cache files? Doesn't one file represent a corresponding cached image for example? *What I really want to achieve* (once I understand the structure of the cache files) is to programmatically fetch images of the webview from it's cache, like the author of the link posted above (unfortunately this posting's answers don't help much). Any help/comments on accessing the webview cache 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
[android-developers] Mediaplayer and localSocket
Hello All, I want to play a video stream using a local Socket. Does somebody knows if that is possible ? When I start the MediaPlayer I get E/MediaPlayerService( 95): offset error E/MediaPlayer( 2552): Unable to to create media player V/VideoReceiver( 2552): java.io.IOException: setDataSourceFD failed.: status=0x8000 W/System.err( 2552): java.io.IOException: setDataSourceFD failed.: status=0x8000 My code is : setDataSource(sender.getFileDescriptor()); sender.setReceiveBufferSize(50); prepareAsync(); -- 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] Clearing SNS Data.
Hellloo everyone. Good evening. I need a small help.. as SNS Data is occupying almost 20 MB in My Android Samsung Galaxy Fit which has internal memory of only 180 MB, It is a large amount for me, so could any one tell me What is the effect of Deleting the SNS data or Clearing the SNS Data, and also if possible can u tell me how to change the Primary account of Android without resetting. Thanks Regards Sandeep kumar G. -- 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 Noob howto undeploy an app
Hi Droid devs all, - Currently, I am studying the SDK 4.1 sample called: HoneyComb. - Previously, this app was working but now I'm getting an odd exception logged in DDMS. - I think I need to undeploy the old app completely before I see any useful changes. - Howto undeploy an Android app? - Particulars follow: - OS: ubuntu 12.04 - Android SDK: 4.1 - IDE: Intellij - Emulator: NexusAndroid Please advise, David. -- 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] Path or Canvas changes in API-Level 14 / Problems on Nexus 7
I'm having several issues dealing with android.graphics.Path when I set my target *API-Level to 14 or higher* and *only on certain devices*. One has already been described herehttp://stackoverflow.com/questions/12133797/android-path-with-values-out-of-range, another one is this: I used to be able to create a Path and then in View.onDraw() do something like: canvas.drawPath(p, paint); pTest.offset(1, 1); This would offset the path by 1 pixel each dimension every time View.invalidate() is called. At target API-Level 14+ however, this offsets it only once and then never again, when running on the *Nexus 7*. On the emulator, it works just as it should. Does anyone know, what the problem is here? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Google Voice call logging on Samsung Galaxy S3 T-Mobile (SGH T-999)
Is anyone working on a fix so that Google Voice will properly log calls on the Galaxy S3? All outbound calls are logging as the GV Gateway number, not the actual call recipients number. -- 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: Positive reviews being sold in spam email
I would start from here. Strongly agree with you. Such fraud should be stopped. http://support.google.com/googleplay/android-developer/bin/answer.py?hl=enanswer=113417topic=15868ctx=topic - Ali Chousein https://play.google.com/store/apps/details?id=com.apps.besocial https://play.google.com/store/apps/details?id=com.apps.weather_buddy -- 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] SocketTimeoutException in PLC communication
Hi everybody, I'm new here, about 2 weeks I'm experiencing a weird SocketTimeoutException when I try to connect via socket with my Galaxy S1(GT-I9000B) with my PLC. But I'm receiving this exception. It would be okay to communicating to another PC to, but when I try, I get this exception either: package com.example.communication; import android.app.Activity; import android.os.Bundle; import android.view.View; public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } public void sendTag(View view) { TryConnection tryconnection = new TryConnection(); Thread thread = new Thread(tryconnection); thread.start(); } } package com.example.communication; import java.io.IOException; import java.net.Socket; import java.net.SocketTimeoutException; import android.util.Log; public class TryConnection implements Runnable { public void run() { try { Socket socket = new Socket(192.168.2.99, 9094); socket.close(); Log.e(SUCESS, SUCESS); } catch(SocketTimeoutException e) { Log.e(SOCKET TIMEOUT 192.168.2.99, SOCKET TIMEOUT, e); } catch (IOException e) { Log.e(CONNECTION , ERROR, e); } } } Manifest manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.example.communication android:versionCode=1 android:versionName=1.0 uses-permission android:name=android.permission.ACCESS_WIFI_STATE / uses-permission android:name=android.permission.CHANGE_WIFI_STATE / uses-permission android:name=android.permission.CHANGE_NETWORK_STATE / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.ACCESS_NETWORK_STATE / uses-sdk android:minSdkVersion=8 android:targetSdkVersion=15 / application android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme activity android:name=.MainActivity android:label=@string/title_activity_main intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /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] Re: How to generate random numbers between 1 to 8?
Hi, how about this: public int getMyNumber() { int min = 1; int max = 8; Random r = new Random(); int i = r.nextInt(max - min + 1) + min switch(i) { case = 5 8: return getMyNumber() default: return i; } } Sorry I'm not at the position to try this out at the moment Am Donnerstag, 30. August 2012 12:16:02 UTC+2 schrieb thejaswi s: In my application I want to generate random number between 1 to 8 and there should not be 5,6 and 7. i.e. random numbers must be (1, 2, 3, 4, 8). Thanks. Am Donnerstag, 30. August 2012 12:16:02 UTC+2 schrieb thejaswi s: In my application I want to generate random number between 1 to 8 and there should not be 5,6 and 7. i.e. random numbers must be (1, 2, 3, 4, 8). Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to calculate G-FORCE using android 1.6
Use double g = Math.sqrt(x * x + y * y + z * z); On Thursday, June 9, 2011 1:03:27 PM UTC+2, rwe wrote: I can get three accelerations using ACCELEROMETER. but i need to calculate the g force value. is there any calculation to get it using these x, y,z values. Thanks. rwe. -- 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: Adding virtual device on Emulator.
By virtual device do you mean an extra virtual network device? Assuming you're using the ARM emulator, this can be done by passing extra options to qemu. I'm going to also assume (1) you are running Linux (Mac I believe is okay, too) as I do not know how to do this on Windows; and (2) you have tunctl (on Ubuntu, this can be installed with sudo apt-get install uml-utilities). You can create a TUN/TAP device with: sudo tunctl -u username -t tap0 You can install the TUN/TAP device on the emulator with: emulator -qemu -net nic -net user -net nic -net tap,ifname=tap0,script=no,downscript=no I have found the script=no and downscript=no options to be useful for avoiding errors when the emulator shuts down. You can confirm the TUN/TAP device is running with: adb shell netcfg You should see something like this: lo UP 127.0.0.1/8 0x0049 00:00:00:00:00:00 eth0 UP 10.0.2.15/24 0x1043 52:54:00:12:34:56 eth1 DOWN 0.0.0.0/0 0x1002 52:54:00:12:34:57 tunl0DOWN 0.0.0.0/0 0x0080 00:00:00:00:00:00 gre0 DOWN 0.0.0.0/0 0x0080 00:00:00:00:00:00 Notice the eth1 device; this corresponds to tap0 that you just created. To confirm, on the emulator run: ifconfig eth1 up 10.11.12.2 netmask 255.255.255.0 On the host, open up a new terminal window and run: sudo ifconfig tap0 up 10.11.12.1 netmask 255.255.255.0 sudo tcpdump -n icmp -v -i tap0 Finally, on the emulator run: route add default gw 10.11.12.1 dev eth1 ping -c 5 10.11.12.1 You should get output similar to: 09:58:13.187475 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84) 10.11.12.2 10.11.12.1: ICMP echo request, id 26881, seq 1, length 64 09:58:13.187489 IP (tos 0x0, ttl 64, id 35773, offset 0, flags [none], proto ICMP (1), length 84) 10.11.12.1 10.11.12.2: ICMP echo reply, id 26881, seq 1, length 64 09:58:14.190013 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84) 10.11.12.2 10.11.12.1: ICMP echo request, id 26881, seq 2, length 64 09:58:14.190028 IP (tos 0x0, ttl 64, id 35774, offset 0, flags [none], proto ICMP (1), length 84) 10.11.12.1 10.11.12.2: ICMP echo reply, id 26881, seq 2, length 64 09:58:15.192087 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84) 10.11.12.2 10.11.12.1: ICMP echo request, id 26881, seq 3, length 64 09:58:15.192103 IP (tos 0x0, ttl 64, id 35775, offset 0, flags [none], proto ICMP (1), length 84) 10.11.12.1 10.11.12.2: ICMP echo reply, id 26881, seq 3, length 64 09:58:16.194919 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84) 10.11.12.2 10.11.12.1: ICMP echo request, id 26881, seq 4, length 64 09:58:16.194935 IP (tos 0x0, ttl 64, id 35776, offset 0, flags [none], proto ICMP (1), length 84) 10.11.12.1 10.11.12.2: ICMP echo reply, id 26881, seq 4, length 64 09:58:17.196961 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84) 10.11.12.2 10.11.12.1: ICMP echo request, id 26881, seq 5, length 64 09:58:17.196977 IP (tos 0x0, ttl 64, id 35777, offset 0, flags [none], proto ICMP (1), length 84) 10.11.12.1 10.11.12.2: ICMP echo reply, id 26881, seq 5, length 64 HTH, Eric On Wednesday, 29 August 2012 20:12:48 UTC-4, MW choi wrote: Hi All. I want to add virtual device on emulator. so I have built SDK on platform source. And I am searching about goldfish in googling But I don't know how to approach it. Please help me anyone, anything. Thanks, MW -- 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] mobile gis
does anyone know about how to design mobile gis using mapserver and dijkstra algorithm? please help 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] Are Encrypt Opaque Binary Blobs (OBBS) supported?
I've been playing around with OBB files on ICS and haven't had success mounting encrypted ones. I've been able to build OBB files on my Ubuntu 10.10 box and successfully mount them in my App on the phone. However, when I encrypt them I'm not able to mount them. I haven't found much documentation on the subject of creating the files via mkobb.sh and obbtool, other then this StackOverflowhttp://stackoverflow.com/questions/4524981/what-is-obbopaque-binary-blob-in-android-develop-sitepost. When I create the OBB file I do this (see this SO posthttp://stackoverflow.com/questions/12101126/using-encrypted-obb-files-in-androidfor more details): *sudo modprobe cryptoloop sudo modprobe twofish sudo modprobe vfat ./mkobb.sh -d /tmp/obb/ -kblahblah -o /tmp/out.obb -v obbtool a -n com.test.blah -v 1 -s 997ff9b1516a6788 /tmp/out.obb # 997ff... is the salt from the mkobb step obbtool i /temp/out.obb # verify the obb file adb push /temp/out.obb /sdcard/ * When I mount this with StorageManagerhttp://developer.android.com/reference/android/os/storage/StorageManager.htmlI get OnObbStateChangeListener.ERROR_COULD_NOT_MOUNT as a result and vold has this error message: * E/MountService( 2004): Couldn't mount OBB file: -1* This same code (with a null password) works correctly when mounting the non-encrypted version of the OBB. I'm wondering if anyone else has this working? Since I can't find any documentation about the mkobb.sh and obbtool it's hard to know if there is something wrong in with my process of creating OBB files, if there's something in my environment that's not right, if its a bug in Android or encrypted OBBs are just not supported at this time. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding Receiving Broadcasts
Hi , Please help me to understand how android system delivers broadcasted intents to their respective broadcast receivers ? Regards, lgaur -- 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] SQLite: problems with accents.
Under 2.3.6 I am observing a problematic behaviour: I have a sqlite table with a 'discounttable' column declared as 'text collate localized' When running following query: select * from discount where (discounttable = ?) order by priority asc the data is not being returned when the parameter is: 'ŚWIĘTCZA;#3ZN#JOA' (contains polish accents). Doing the same with: select * from discount where (discounttable collate binary = ?) order by priority asc or select * from discount where (discounttable like ?) order by priority asc (with like parameter being '%ŚWIĘTCZA;#3ZN#JOA%') does return the expected rows. The original query does not work no matter what locale I set in the phone. Am I missing something. Leszek Gawron -- 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] sd card and internal memory
hi , some devices have internal memory while others need to put sd cards on them . I have written an app which writes its data on devices' sd card. I just want to handle if there exists sd card the app writes its data on it , if it doesn't have sd card tell it to the user ,and if there exists the internal memory writes the data on internal memory. How can I do 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] How To Identify Android Tablet Unique_ID / Hardware Signature. Which Android Version It will Support?
Hi, As per our requirement, we need to identify android tablet device unque_id/hardware signature. This unique_id is sent to the server to check the certifications on the device. This unique_id is used to manage the device remotely to wipe data, remote lock and getting location of the device. Please help me urgent issue. -- 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] Best Open Source MDM servers for Android
Hi, Whis is the best MDM server for android. How to develop our own MDM server to manage devices remotely. -- 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] Starting voice typing from code for offline voice recognition?
Hi there, I'm developing an app requiring: 1. Voice recognition 2. Without an Internet connection 3. To be deployed on a Nexus 7 The Nexus 7 I have already has OS 4.1.1 and offline voice recognition installed and, indeed, manually-triggered voice typing works fine offline in text fields, etc. SpeechRecognizer (and its related intent) do not work offline, of course. Therefore, all I'd like to be able to do is: 1. Start my app 2. Automatically activate a voice typing-based IME on a text field, preferably hidden, so the app can start recognizing right away and keep at it I've already built a specialized voice typing-based IME, per this: http://android-developers.blogspot.com/2011/12/add-voice-typing-to-your-ime.html ...and all that seems to remain is directing use of this IME via the InputMethodManager, in one way or another. The setInputMethod() method seems to be the trick, but I'm not sure how to obtain the IBInder argument. This IME and the activity designed to employ it are all in the same APK, so: 1. Does anyone know if this should this be doable? 2. If so, any idea how to obtain/convey the IBinder from the custom IME to the InputMethodManager (is this just a standard service binder?)? Thanks for your time, in advance :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers]
use android:inputType=number Thanks Regards, Jayakumar On Thu, Aug 30, 2012 at 4:59 PM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi everybody, how to apply condition that edit text either can take numeric or alphanumeric or only string -- 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] how to zoom webpage in webview android except scaling
Have you enabled zoom support? webView.getSettings().setSupportZoom(true); To enable zoom controls use webView.getSettings().setBuiltInZoomControls(true); Thanks Regards, Jayakumar On Fri, Aug 31, 2012 at 10:35 AM, ravi saini ravisaini1...@gmail.comwrote: i am working with HTML webpages in web-view android so here i want to zoom the page on click of zoom button(i.e zoom level 30%,100%,200% ,300% etc) but i am not finding any function to zoom the page in webview upon the value i am passing like 30 for 30% etc. So i used scaling in web-view ,i set the setScaleX() and setScaleY() to a particular value like 1.0 for normal 1.5 for 150% and 2.0 for 200% but after scaling the horizontal scroll bar is disappear ,i am not able to scroll and if i added a custom TwoDScrollview so i am not able to scroll the complete content of html page.Like after scale the content cuts for each end only limited content we can see and every times on scale increase the visible content remain in same scroll range as previous so we can not able to see the full content of webpage i.e the full html page data.So please tell me any way or send me some code or description so solve this issue,thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how can I update Market 2.2.7 in my Android device?
ow to update Market app on the device? Is it really possible? I have Inch OS cheap tablet with Android 2.2. There is Market 2.2.7 app. I am writing a game with in-app billing, which requires at least Market 2.3.0 So. I can't find Google Market on Google Market. Advices such as go to settings-apps-all-music or market do not work. There are suspicious Google Play apk downloads on the internet, which requires money or mobile phone number. -- 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] I tryed in-app billing example. Got No file message
When tap pay button, I get No file message in pop-up window.. Why? What's wrong in code? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How do construct my intent filter to recognize only a SINGLE file extension from Gmail app
I want an intent filter to only launch my app if the user clicks the Download/Preview button on a file with a particular extension. Consider an email with the following attachments: foo.bar plugh.xyzzy click.me billy.bob I want my app to be registered so a download/preview button is ONLY next to the file with the extension .me, so next to the click.me file. I have been successful in making intent filters that will show buttons next to ALL the files, but not next to only the one I care about. Here's a filter that shows buttons next to all of the files, and not just in front of click.me intent-filter action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT / data android:host=* android:scheme=content android:mimeType=*/* android:pathPattern=.*\\.me / /intent-filter It seems that android:pathPattern is being ignored. I'm assuming at this point the system does not know or recognize the file name of the file being presented as an attachment in the email? Am I chasing a rabbit that cannot be caught? -- 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] C2DM problem
Can anybody please give me the new registration sign-up link for C2DM Android application? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can the Download/Preview buttons be customized in Gmail
If I create an intent filter for a certain file type, can I customize the Download/Preview buttons to read something different? Also, can I make it only show ONE button instead of two that launch my app? I see whenever you attach an .apk file the system knows this is an installable file and shows an Install button. Is this something that is exposed for other app developers? -- 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] Register my Android C2DM application with Google
Hello All, Can anybody please provide me the link where from I can register my Android C2DM application with Google? Thanks in advance. Regards Prabhat -- 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] HorizontalScrollView
https://lh4.googleusercontent.com/-njC2PF4Hy8w/UD9Lu-NF94I/AAY/Rt7d4V57trM/s1600/Screenshot.png i have two horizontalScrollViews the upper scrollView is a main menu and lower scrollView is a submenu. when i scroll main menu,the menu which comes under center-screen arrow will show its submenu in lower scrollview and from the lower scrollview, the submenu which comes under center-screen arrow shows the screen for that sub-menu. -- 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] A question want everybody to slove
Hi~~ I have some question want us to slove. The question is I have one mobile,and want to use socket to connect the Android emulator,but Android emulator display IP is 10.0.2.15,this IP is Android Virtual Rounter supply to connect the internet,so how can I to get the real IP in Android emulator on host for mobile to connect? -- 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: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml
On Thursday, November 5, 2009 7:27:55 AM UTC+1, Andrew Pollock wrote: On Oct 27, 2:58 pm, garycode garyma...@hotmail.com wrote: Hi, I'm trying to install a platform but when I type android the manager loads then I click Available Software then select thehttps:// dl-ssl.google.com/android/repository/repository.xmlrepository I get this error., Failed to fetch URLhttps:// dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings. So I click the settings tab and select the force through http then click apply and save then nothing happens it doesn't save it because if i then close it and reload it the checkbox is unticked so it's not even using the force through http method. I get the same error if i go straight back to available software. I'm using Fedora and wget can download the xml file using ssl so I don't know why it's getting this https ssl error. So I've just managed to solve this problem on my Debian Lenny (5.0) system. Aside from needing to force HTTP instead of HTTPS, it turned out that while I had the sun-java6-bin package installed, the alternatives system was making /usr/bin/java point to the GNU Java bytecode interpreter. Once I did a sudo update-alternatives --config java and selected the Sun Java instead, everything started to work properly. Thank you! This worked for me as well, I am running Debian 6.0.5 Squeeze. -- 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] record camera output with overlay
I have seen videos of apps where people have created apps with camera view + map overlay. Is it possible to record a video with overlay features? So far I have the camera preview with overlay showing, how do I go about recording this? Thank you! -- 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] [BluetoothHeadset] Could not receive BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT intent
Hi All, I implemented an app. which register a BroadcastReceiver to handle BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT intent. When my phone connects to a headset which sends AT command AT+XEVENT=foo,3 via handsfree profile, I expected my app. to get a broadcast intent of BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT. But my app. got nothing. (I wrote another app. to broadcast a BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT intent, my app. could receive it) For what kind of handsfree AT commands that android would broadcast a BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT intent? Or did I miss anything to receive correctly? Any help would be greatly appreciated, thanks. Sincerely, Sho -- 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] version problem
Hi, I have developed my app in android 2.2. But now this app is not working on 2.1. My client is asking me to support for 2.1 also. Can any one tell me how to solve this problem. Is there any way to change the version now. Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to add new profile in contacts
HI, I am trying to add new profile in contacts. Ex: If we open one contact, it will show us message icon and call icon. My requirement is that : Along with message icon and call icon, I want to show my own icon. If I click on that Icon it should to the corresponding activity. -- 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: Hi all
Do you means you want to display the data from json file? 在 2012年8月27日星期一UTC+8下午8时40分40秒,parthi写道: How can i design using json UI in android -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] button change onClick
use selector is the right way... 在 2012年8月31日星期五UTC+8上午1时55分33秒,MagouyaWare写道: Use a statelist drawable, also known as a selector: http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Aug 30, 2012 at 11:47 AM, oriolmesia mesi...@gmail.comjavascript: wrote: Hi guys, I have an issue with the final tweak of my new app. Now that I'm nearly to finish I'm looking to improve my interface. What I want it's just to see how my buttons change when someone pressed on them, only for the amount of time that the button remain pressed. The buttons on my app are image buttons with some text situated on them. The only way to do that it's to change the button image or the text over the button? What kind of event I need to use, onClick method here it's useless? Thank you for your help, Oriol -- 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 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] Getting Eclipse's code / commenting formatters to play nice with Android activity creation
I use several coding/commenting standardizing formatters in Eclipse (Preferences Java Code Style Code Templates / Formatter) when developing Java applications. When creating a straight Java class in an Android Application project, all goes well. In fact, pretty much everything works well.. Except none of the automatic commenting is done when a new Android Activity is made (no file comments or anything). Does anyone know of a way to get this functionality when using the Eclipse Activity generator? I'm happy just creating them by hand, but Android Development is a new class at my University and I'd like to figure this out to make it easier on my Professor and his future students. Hoping somebody else has tried this, Zane -- 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] Re: getView from CustomizedAdapter called several times
I have been looking for solutions for this problem, and unfortunately there is none. Do you have any ideas to get over this problem? in my application I use a popupmenu together with list view, and when user clicks on the list view item it will retrieve some information from SQLite database. What I am trying to say is the duplicates will give a value that is out of bound, causing crashes and that hurts user experience very much. Hope to hear for a workaround for this issue. Thanks a lot! On Wednesday, September 2, 2009 11:32:53 PM UTC+8, Romain Guy wrote: There's nothing wrong with this, it can (and it will in some situations) happen. getView() is not guaranteed to be called exactly once per item. It happens for instance when you set the list/grid with a height=wrap_content. On Wed, Sep 2, 2009 at 5:32 AM, Guitoudrumsensati...@gmail.com wrote: Exactly the same problem! Any ideas? On Jul 23, 10:20 am, Ola Ingvaldsen ola.ingvald...@gmail.com wrote: I am having the same problem. In my case it only happens if I specify my own layout using setContentView in onCreate() of my ListActivity. If i use the standard layout i get correct number of calls to getView. The thing is that if I have 5 items in my list i suspect the first 5 calls to getView to have convertView=null each time. But its not. First time its null, then the next 5 calls have the same convertView as the previous call and then 5 more calls where the convertView is null. So the first 6 calls to getView only results in changing the first element 5 times more than whats necessary. After the 5 first calls the convertView is null and the rest of the items in the list are filled out correctly. But when i scroll down the list, we have 10 more calls again. Does anybody have an idea whats wrong? Or how it can be avoided? I have no weights in my layout at all. Its just a simple textView with a status message and a listView. -Ola On Wed, Jul 15, 2009 at 4:05 PM, Streets Of Boston flyingdutc...@gmail.comwrote: I'm not a google engineer, so i don't know the answer, but i have a theory why this may happen. In your layouts, do you use 'weights' (weightsum and layoutweight)? If i remember correctly, if you use these attributes, layout-code is called twice. If the layout-code for a list-view includes the 'getView' then this would explain it being called 4 times for 2 child views. On Jul 15, 2:40 am, Mika mika.ristim...@tkk.fi wrote: Hi, I'm having the same problem. Did you find any solutions?? -Mika On Jun 24, 7:39 pm, jabu jabu.j...@gmail.com wrote: Hi Everyone, I am implementing my ownadapterthat inherits from BaseAdapter (this is something very classic). Then when I start the activity that owns the listView binded to thisadapterI can see that the getView() method is called moretimesthan what the number of view actually available in the list. For instance, I do have 2 rows in my list and when I first set theadaptergetView is called 6times. Then If I make a call to notifyDataSetChanged(), getView is called 4times. I understand that when you scroll up and down getView must be called to generate or re use a view but I don't scroll up or down, I am really wondering why getView is called so many time. Thanks a lot in advance for your responses. Jabu My code just in case even though it is a pretty basic piece of code: public View getView(int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.row_action, null); // Creates a view holder holder = new ViewHolder(); ... convertView.setTag(holder); } else { holder = (ViewHolder)convertView.getTag(); } holder.params.set return convertView; }- Hide quoted text - - Show quoted text - -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email
Re: [android-developers] Re: Bleutooth chat Api 10 not working
the connection will false if the other blue-tooth client is not on listening mode at the same time . 2012/8/31 Haris P P haris...@gmail.com No...The other device doesn't have the bluetooth chat application.. I want connect to a mobile device now...Later I need to connect to embedded bluetooth module. Does the other device need blue-tooth client on listening mode at the same time or I just need to turn on the device discoverable option on it ?. On Thu, Aug 30, 2012 at 8:43 PM, bob b...@coolfone.comze.com wrote: Are you attempting to connect to another device running the Bluetooth Chat example? If so, what type of device is it? On Thursday, August 30, 2012 2:37:20 AM UTC-5, Haris wrote: Hai all I am trying with blue-tooth chat example for api-10, in my micromax pfhone.. When I scanning for devices it showing the list for both secure and non secure. But When I try to connect it showing unable to connect... And UUID s are private static final UUID MY_UUID_SECURE = UUID.fromString(fa87c0d0-** afac-11de-8a39-0800200c9a66); private static final UUID MY_UUID_INSECURE =UUID.fromString(8ce255c0-** 200a-11e0-ac64-0800200c9a66); I tried thishttp://stackoverflow.com/questions/3397071/service-discovery-failed-exception-using-bluetooth-on-androidlink also...But no change. 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 -- * Haris PP* *09975847673(pune) 09744593643(kerala)* -- 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 -- -- 杨晓东 东南大学 ASIC国家工程中心 LINUX嵌入式开发 邮箱:xdyang1...@gmail.com 网址:http://hi.baidu.com/xdyang1986 --- Regards xdyang National ASIC System Engineering Research Center Southeast University SiPaiLou 2#, XuanWu, Nanjing, Jiangsu, China E:xdyang1...@gmail.com U:http://hi.baidu.com/xdyang1986 --- -- 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] Bleutooth chat Api 10 not working
hai you can try to connect to the one which is running the same Chat application. 2012/8/30 Haris haris...@gmail.com Hai all I am trying with blue-tooth chat example for api-10, in my micromax pfhone.. When I scanning for devices it showing the list for both secure and non secure. But When I try to connect it showing unable to connect... And UUID s are private static final UUID MY_UUID_SECURE = UUID.fromString(fa87c0d0-afac-11de-8a39-0800200c9a66); private static final UUID MY_UUID_INSECURE =UUID.fromString(8ce255c0-200a-11e0-ac64-0800200c9a66); I tried thishttp://stackoverflow.com/questions/3397071/service-discovery-failed-exception-using-bluetooth-on-androidlink also...But no change. 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 Regards xdyang E:xdyang1...@gmail.com U:http://hi.baidu.com/xdyang1986 --- -- 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] Are Encrypt Opaque Binary Blobs (OBBS) supported?
On Fri, Aug 31, 2012 at 9:42 AM, JCEDDY jamesce...@gmail.com wrote: I'm wondering if anyone else has this working? Since I can't find any documentation about the mkobb.sh and obbtool it's hard to know if there is something wrong in with my process of creating OBB files, if there's something in my environment that's not right, if its a bug in Android or encrypted OBBs are just not supported at this time. I think this was never officially announced and as such is not supported. Last I checked though (a while ago), relevant code seemed complete, so it might work. Check vold and StorageManager for details and (maybe) hints as to what the problem is. -- 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: Help: My app has violated the spam provisions of the Content Policy
For your enjoyment here's what can be found in the description of the Google Maps app: Keywords: maps, navigation, places, latitude, directions, indoor maps, local search, Street View, traffic, transit -- 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] Service and START_REDELIVER_INTENT
Hi, I have been playing around with trying to restart a service that was killed while it had started. There are some questions that I can't seem to answer by searching in the API documentation. - Is the re-delivery of the Intent guaranteed? - Are there any timings available for the scheduler that re-delivers this intent? (do I wait seconds, minutes, hours, ) - Is this behaviour affected by the user (me) clicking the OK button on the forced close pop-up? (ideally it would have to work without user intervention - so no-one closing the pop-up) - Is this behaviour affected by me running the Service attached to eclipse in debug mode (i.e. I have to manually resume the debugger as it catches the exception)? - I packaged the Service with an Activity that can control it (start / stop it) .. is the strategy still supposed to work when it is only the Service that is killed and the Activity is still running? I also tried to add an UncaughtExceptionHandler, report what is happening and then package the caught Throwable in a RuntimeException and rethrow it but this way the Service is never restarted. For the other situations I get some very intermittent results and more often then not - the service is not restarted while stopSelf() is definately not called. Cheers, Lieuwe -- 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] how to zoom webpage in webview android except scaling
no jayakumar by program on cliking of one gui button zoomin i have to do the zooming /scaling without default zoomin/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
Re: [android-developers] gridview onItemClick gets executed even on empty space after the last item
On Wed, Aug 29, 2012 at 10:03 PM, Justin Anderson magouyaw...@gmail.comwrote: Please post the relevant code where you are setting up and handling your item click. All right, following is my onItemClick event of gridview, on which I am adding the clicked image in the gallery situated on the bottom of the screen, and removing that selected image from the gridview.. All is working well, when I click any image from the grid. But, in the case, when I click empty position after the last one, (*when I do have more than 8 images in my grid*), the returned position is somewhat 8 less than the total items in my grid, as well as item of the returned position is dropped into the gallery and removed from the grid. *Grid OnItemClick event* * * private OnItemClickListener mOnItemClickListener = new OnItemClickListener() { public void onItemClick(AdapterView? adapterView, View v, int position, long id) { if(adapterView == draggableGrid) { GridPhoto mGridPhoto = gridItemAdapter.getItem(position); onGridPhotoDropped(mGridPhoto, gallaryItemAdapter.getCount()); Log.d(grid,clicked item position=+position); findViewById(R.id.dragtxt).setVisibility(View.INVISIBLE); gridItemAdapter.notifyDataSetChanged(); } } }; *GridView Adapter* * * package com.views.viewAdapters; import java.io.File; import java.util.ArrayList; import android.content.Context; import android.content.res.TypedArray; import android.net.Uri; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.RelativeLayout; import com.Classes.GridPhoto; import com.Slideshow.AG; import com.Slideshow.R; public class GridItemAdapter extends BaseAdapter { private Context context; int imageBackground; public GridItemAdapter(Context context, ArrayListGridPhoto mGridPhoto_list){ this.context = context; TypedArray ta = context.obtainStyledAttributes(R.styleable.Gallery1); imageBackground = ta.getResourceId(R.styleable.Gallery1_android_galleryItemBackground, 1); ta.recycle(); } public int getCount() { int count = AG.loadedProject.getProject_gridPhoto_list().size(); if(count3000) count=3000; return count; } public GridPhoto getItem(int arg0) { return AG.loadedProject.getProject_gridPhoto_list().get(arg0); } public long getItemId(int arg0) { return arg0; } @Override public void notifyDataSetChanged() { super.notifyDataSetChanged(); } public View getView(int position, View convertView, ViewGroup arg2) { if(convertView == null){ convertView = (RelativeLayout)RelativeLayout.inflate(context,R.layout.grid_item, null); } ImageView iv = (ImageView) convertView.findViewById(R.id.imgPhoto_gridItem); GridPhoto gp = AG.loadedProject.getProject_gridPhoto_list().get(position); String t_path = gp.getThumbnailImagePath(); if(t_path != null new File(t_path).exists()) { Uri imgUri = Uri.parse(gp.getThumbnailImagePath()); if(gp.getThumbnailImageBitmap() == null) iv.setImageURI(imgUri); //iv.setImageResource(R.drawable.icon_processing_gif); else iv.setImageBitmap(gp.getThumbnailImageBitmap()); } else if(t_path != null) { if(t_path.equals(_#processing)) iv.setImageResource(R.drawable.icon_processing_gif); else iv.setImageResource(R.drawable.no_image_found_icon); } else iv.setImageResource(R.drawable.no_image_found_icon); iv.setScaleType(ImageView.ScaleType.FIT_XY); iv.setBackgroundResource(imageBackground); return convertView; } } Now, please suggest, whats wrong I am doing? -- 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-developers】 Manifest.xml android:icon
im japanese programer. || Manifest.xml -- |receiver class=.AReceiver android:name=.AReceiver intent-filter action android:name=android.net.conn.CONNECTIVITY_CHANGE / /intent-filter /receiver service class=.service android:name=.service android:enabled=true android:icon=@drawable/icon /service | |android:icon=@drawable/icon| ← Is it an icon set up where? url : http://stackoverflow.com/questions/2301057/starting-a-service-on-android-platform help 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
Re: [android-developers] apk should reviewed prior get available to PLAY
Well you suggest open a PLAY DEV CHECKOUT ACs with email gmail/googleAC i use for other services by google? what if google PLAY or checkout sometime delete me this should delete ALL AC ALL SERVICES GENERALLY BY GOOGLE, or...? On Thursday, August 30, 2012 7:46:12 PM UTC+3, Kristopher Micinski wrote: I hate to tell you this, but your english is poor enough to be incomprehensible. Google play cannot test your app on every device automatically, because of a number of reasons, instead you should test on your own before deployement. And yes, users can get a refund after a certain amount of time and uninstall the app. Please rephrase your question in proper english, perhaps by asking a friend to translate, kris On Thu, Aug 30, 2012 at 11:59 AM, lselwd webm...@poliscarhire.comjavascript: wrote: After a buyer buy an App from PLAY, how much time has to try it and refunded if do not want it uninstall it? May have differ google account for Play a/c and Merchant a/c linked together? Name/email required be the same? May install official signed (ready submit to PLAY) APK App file, to my phone or, needed debug signed to install in my phone? Just to test my submission to Play, I must download from a phone from play or exist other way? apk should reviewed prior get available? -- 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 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] 【android-developers】 Manifest.xml android:icon
Hi dude what problem manifest just mention the problem. will slove.. On Fri, Aug 31, 2012 at 4:09 PM, 安藤玲生 ando.reo...@gmail.com wrote: im japanese programer. Manifest.xml -- receiver class=.AReceiver android:name=.AReceiver intent-filter action android:name=android.net.conn.CONNECTIVITY_CHANGE / /intent-filter /receiver service class=.service android:name=.service android:enabled=true android:icon=@drawable/icon /service android:icon=@drawable/icon ← Is it an icon set up where? url : http://stackoverflow.com/questions/2301057/starting-a-service-on-android-platform help 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 -- 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] hi
I have an idea for that. Why don't you use database for that. Database should contain at least 2 tables - one will contain chapter name with no.(primary key) Other will contain the chapter no. as foreign key, and contents (one by one) Then, on clicking chapter name from the list, extract its no, and retrieve its contents using suitable query, and display them on next activity. With Regards, NSR.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] hi
thank you for information. -- 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] hi
On Fri, Aug 31, 2012 at 4:54 PM, sree android android.sreeni...@gmail.comwrote: thank you for information. Its my pleasure! -- 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] access google map with offline
HI all i was searched in google about the launching google map by offline . But i didnt find any information.please help if any body knows about this.. regards vinod -- 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: Get notification status from other apps
use push notification concept its like mobile1.. to cloud server to... mobile2 On Friday, August 31, 2012 12:13:42 PM UTC+5:30, CJ wrote: Hi, I just did some Googling but did not find any answer. In Android SDK, is there a possibility to detect what notification is active in the notification bar? Eg. My app is call MyApp and when a 3rd party NotMyApp-A, NotMyApp-B fires 2 notification is there ways to detect them in my app? -- 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] stuck in custom control
Hello, I need a help me from you. please go through the below example along with the description. ex: Game type here and are two buttons and game type is text view,when i click on button the text should be replace by another text like AI. this should be done in custom dialog box. please help me 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
[android-developers] How to change the shape of Textview (Hexagonal Shape) in android?
?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=Rectangle gradient android:startColor=#F778A1 android:endColor=#D4A017 android:angle=180/ corners android:radius=60dp/ padding android:left=9dp android:top=9dp android:right=9dp android:bottom=9dp / corners android:radius=90dp / /shape This is my Code, I have changed textview shape as a rectangle with round edged corners. It works fine for me. Same, now i wanna change the shape of the Textview as a Hexagon/Pentagon by creating xml in resources/drawable in my app. How could i do this ? Could anyone help me. Any suggestions / helps would be greatly appreciated, thank you ! -- 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] stuck in custom control
Hi Sravanthi Dadu , can tell me clear ly wt your requirement On Fri, Aug 31, 2012 at 5:31 PM, Sravanthi Dadu dadu.sravan...@gmail.comwrote: Hello, I need a help me from you. please go through the below example along with the description. ex: Game type here and are two buttons and game type is text view,when i click on button the text should be replace by another text like AI. this should be done in custom dialog box. please help me 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 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] Handle MIC icon click
Actually, I am new to android. Can you provide more details. On Thursday, 30 August 2012 06:27:23 UTC+5:30, TreKing wrote: On Wed, Aug 29, 2012 at 7:49 AM, dhiren patel patel.d...@gmail.comjavascript: wrote: I am not able to get the keycode of the MIC icon or how should I handle the MIC icon click event? You don't, as you're not the keyboard. What you would do is handle whatever intent is generated when the user clicks that Mic icon and allow the user the *option* to use your functionality. Whether they do or not, though, is entirely up to the user. - 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
Re: [android-developers] How to change the shape of Textview (Hexagonal Shape) in android?
Hi meene Dont change textview shape i dont know idea i think u create separate layout dis shape inside dis shape use textview dis will apper only particular shape just try On Fri, Aug 31, 2012 at 5:36 PM, Meena Rengarajan meenasoft...@gmail.comwrote: ?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=Rectangle gradient android:startColor=#F778A1 android:endColor=#D4A017 android:angle=180/ corners android:radius=60dp/ padding android:left=9dp android:top=9dp android:right=9dp android:bottom=9dp / corners android:radius=90dp / /shape This is my Code, I have changed textview shape as a rectangle with round edged corners. It works fine for me. Same, now i wanna change the shape of the Textview as a Hexagon/Pentagon by creating xml in resources/drawable in my app. How could i do this ? Could anyone help me. Any suggestions / helps would be greatly appreciated, thank you ! -- 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] How to change the shape of Textview (Hexagonal Shape) in android?
Unfortunately this cannot be done in XML as far as I'm aware... You should be able to do this in code with the PathShape class though... http://developer.android.com/reference/android/graphics/drawable/shapes/PathShape.html Note: I have never done this so I don't know how well it works or how to actually do it. But from looking at the class it should be possible. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 6:22 AM, Parthi K parthisof...@gmail.com wrote: Hi meene Dont change textview shape i dont know idea i think u create separate layout dis shape inside dis shape use textview dis will apper only particular shape just try On Fri, Aug 31, 2012 at 5:36 PM, Meena Rengarajan meenasoft...@gmail.comwrote: ?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=Rectangle gradient android:startColor=#F778A1 android:endColor=#D4A017 android:angle=180/ corners android:radius=60dp/ padding android:left=9dp android:top=9dp android:right=9dp android:bottom=9dp / corners android:radius=90dp / /shape This is my Code, I have changed textview shape as a rectangle with round edged corners. It works fine for me. Same, now i wanna change the shape of the Textview as a Hexagon/Pentagon by creating xml in resources/drawable in my app. How could i do this ? Could anyone help me. Any suggestions / helps would be greatly appreciated, thank you ! -- 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] Re: Get notification status from other apps
In Android SDK, is there a possibility to detect what notification is active in the notification bar? This is not possible... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 5:57 AM, bo yada...@gmail.com wrote: use push notification concept its like mobile1.. to cloud server to... mobile2 On Friday, August 31, 2012 12:13:42 PM UTC+5:30, CJ wrote: Hi, I just did some Googling but did not find any answer. In Android SDK, is there a possibility to detect what notification is active in the notification bar? Eg. My app is call MyApp and when a 3rd party NotMyApp-A, NotMyApp-B fires 2 notification is there ways to detect them in my app? -- 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] Re: Hi all
No dude i dont want xml instead of using json want generate widgetsi did like dis On Fri, Aug 31, 2012 at 10:41 AM, Xiao.Yang yangxiao1...@gmail.com wrote: Do you means you want to display the data from json file? 在 2012年8月27日星期一UTC+8下午8时40分40秒,parthi写道: How can i design using json UI in android -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] How to change the shape of Textview (Hexagonal Shape) in android?
Hi Justin Anderson , good idea but think how text will appear in the particular shape ...dont have textview id could u suges On Fri, Aug 31, 2012 at 6:24 PM, Justin Anderson magouyaw...@gmail.comwrote: Unfortunately this cannot be done in XML as far as I'm aware... You should be able to do this in code with the PathShape class though... http://developer.android.com/reference/android/graphics/drawable/shapes/PathShape.html Note: I have never done this so I don't know how well it works or how to actually do it. But from looking at the class it should be possible. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 6:22 AM, Parthi K parthisof...@gmail.com wrote: Hi meene Dont change textview shape i dont know idea i think u create separate layout dis shape inside dis shape use textview dis will apper only particular shape just try On Fri, Aug 31, 2012 at 5:36 PM, Meena Rengarajan meenasoft...@gmail.com wrote: ?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=Rectangle gradient android:startColor=#F778A1 android:endColor=#D4A017 android:angle=180/ corners android:radius=60dp/ padding android:left=9dp android:top=9dp android:right=9dp android:bottom=9dp / corners android:radius=90dp / /shape This is my Code, I have changed textview shape as a rectangle with round edged corners. It works fine for me. Same, now i wanna change the shape of the Textview as a Hexagon/Pentagon by creating xml in resources/drawable in my app. How could i do this ? Could anyone help me. Any suggestions / helps would be greatly appreciated, thank you ! -- 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
Re: [android-developers] 【android-developers】 Manifest.xml android:icon
hi buddy that is not icon go - your project .open resources open drawable image name(icon)--change icon add images- On Fri, Aug 31, 2012 at 4:31 PM, Parthi K parthisof...@gmail.com wrote: Hi dude what problem manifest just mention the problem. will slove.. On Fri, Aug 31, 2012 at 4:09 PM, 安藤玲生 ando.reo...@gmail.com wrote: im japanese programer. Manifest.xml -- receiver class=.AReceiver android:name=.AReceiver intent-filter action android:name=android.net.conn.CONNECTIVITY_CHANGE / /intent-filter /receiver service class=.service android:name=.service android:enabled=true android:icon=@drawable/icon /service android:icon=@drawable/icon ← Is it an icon set up where? url : http://stackoverflow.com/questions/2301057/starting-a-service-on-android-platform help 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 -- 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] gridview onItemClick gets executed even on empty space after the last item
Hmmm I don't really see anything wrong with your code. What version of Android are you testing this on? Did you test it on multiple versions? One thing I can think of is this: Rather than setting a click listener on your gridview, try putting a click listener on each photo in the gridview... It is less than ideal, but it might help you work around the issue. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 4:32 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: findViewById -- 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: Help: My app has violated the spam provisions of the Content Policy
Look, you can take out that keyword list or watch your app be removed. Just because others, including Google Maps, does it, doesn't make it right. Play Store is cracking down on infringements of their terms and it's just your turn to be put in the cross hairs. It's really about time something was done about all the terms violating apps. They diminish the work of thousands of hard working and terms adhering developers. -John Coryat -- 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] access google map with offline
can you eat without food . On Fri, Aug 31, 2012 at 5:20 PM, bo yada...@gmail.com wrote: HI all i was searched in google about the launching google map by offline . But i didnt find any information.please help if any body knows about this.. regards vinod -- 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] gridview onItemClick gets executed even on empty space after the last item
Or, some of these links might help: http://stackoverflow.com/questions/7238855/gridview-with-a-baseadapter-onitemclick-giving-wrong-position Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 7:05 AM, Justin Anderson magouyaw...@gmail.comwrote: Hmmm I don't really see anything wrong with your code. What version of Android are you testing this on? Did you test it on multiple versions? One thing I can think of is this: Rather than setting a click listener on your gridview, try putting a click listener on each photo in the gridview... It is less than ideal, but it might help you work around the issue. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 4:32 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: findViewById -- 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] How to change the shape of Textview (Hexagonal Shape) in android?
good idea but think how text will appear in the particular shape ...dont have textview id could u suges What do you mean by think how text will appear in the particular shape? It will appear inside the shape. What do you mean by don't have textview id? You can define the textview in XML... you would just have to set the background programmatically. So you would have an id. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 7:01 AM, Parthi K parthisof...@gmail.com wrote: Hi Justin Anderson , good idea but think how text will appear in the particular shape ...dont have textview id could u suges -- 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] Re: getView from CustomizedAdapter called several times
I have been looking for solutions for this problem, and unfortunately there is none. Do you have any ideas to get over this problem? in my application I use a popupmenu together with list view, and when user clicks on the list view item it will retrieve some information from SQLite database. What I am trying to say is the duplicates will give a value that is out of bound, causing crashes and that hurts user experience very much. Hope to hear for a workaround for this issue. Thanks a lot! What does your getView() method look like? If your code is dependent on the number of times getView() is called for a particular position then you are doing something wrong in your code. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Aug 30, 2012 at 11:48 AM, Yih Tang Yeo yihtang@gmail.comwrote: I have been looking for solutions for this problem, and unfortunately there is none. Do you have any ideas to get over this problem? in my application I use a popupmenu together with list view, and when user clicks on the list view item it will retrieve some information from SQLite database. What I am trying to say is the duplicates will give a value that is out of bound, causing crashes and that hurts user experience very much. Hope to hear for a workaround for this issue. Thanks a lot! -- 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: C2DM problem
GCM replaces C2DM and uses Google broader API control mechanisms. I suggest you start here: http://support.google.com/googleplay/android-developer/bin/answer.py?hl=enanswer=2663268 -- 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] How to change the shape of Textview (Hexagonal Shape) in android?
Textview as a Hexagon/Pentagon by creating xml in resources/drawable in my app. ..wt s dis On Fri, Aug 31, 2012 at 6:51 PM, Justin Anderson magouyaw...@gmail.comwrote: good idea but think how text will appear in the particular shape ...dont have textview id could u suges What do you mean by think how text will appear in the particular shape? It will appear inside the shape. What do you mean by don't have textview id? You can define the textview in XML... you would just have to set the background programmatically. So you would have an id. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 7:01 AM, Parthi K parthisof...@gmail.com wrote: Hi Justin Anderson , good idea but think how text will appear in the particular shape ...dont have textview id could u suges -- 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] How to change the shape of Textview (Hexagonal Shape) in android?
Textview as a Hexagon/Pentagon by creating xml in resources/drawable in my app As I said originally... this is not possible in XML, but you could most likely do something like that in code. wt s dis Ummm what? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Aug 31, 2012 at 7:28 AM, Parthi K parthisof...@gmail.com wrote: wt s dis -- 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] Can the Download/Preview buttons be customized in Gmail
If I create an intent filter for a certain file type, can I customize the Download/Preview buttons to read something different? Also, can I make it only show ONE button instead of two that launch my app? I see whenever you attach an .apk file the system knows this is an installable file and shows an Install button. Is this something that is exposed for other app developers? No, no, and no... in that order. :-) Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Aug 30, 2012 at 2:35 PM, mdwheaton mdwhea...@gmail.com wrote: If I create an intent filter for a certain file type, can I customize the Download/Preview buttons to read something different? Also, can I make it only show ONE button instead of two that launch my app? I see whenever you attach an .apk file the system knows this is an installable file and shows an Install button. Is this something that is exposed for other app developers? -- 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