Re: [android-developers] Android 4.4.2 Samsung mobile phone
Thanks Marina, sadly I can't ask them because I don't have direct communication with them :) Thanks for the link I really appreciate it. Leonardo. On Thu, Aug 3, 2017 at 2:48 PM, Marina Cuello <marina.ear...@gmail.com> wrote: > It would be easier if you ask THEM, but if they somehow can't tell, you > could ask for a picture and check on GSM Arena: > http://www.gsmarena.com/results.php3?fDisplayInchesMin=5; > fDisplayInchesMax=5.9=GRAND=9=1& > sFormFactors=1,10=2=2440 > > Marina > > On Thu, Aug 3, 2017 at 7:19 AM, Leonardo Micheloni < > leonardogabrielmichel...@gmail.com> wrote: > >> Hi guys, >> I'm new developing for Android and one of the requirements in the >> project I'm working on is that the application needs to run in Android >> 4.4.2 because they have Samsung Galaxy Grand mobile phones (I don't know >> the exactly version). The problem is that I need to buy a mobile phone to >> do my internal tests and I'm not sure exactly which model of Samsung buy (I >> only know that it needs to run 4.4.2 and have a 5" screen). I've tried to >> figure out myself but there're a lot of models and I really need some help >> here. >> Thanks in advance! >> >> Leonardo. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Android Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to android-developers+unsubscr...@googlegroups.com. >> To post to this group, send email to android-developers@googlegroups.com. >> Visit this group at https://groups.google.com/group/android-developers. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/android-developers/21d3078b-ac69-4740-92d7-4c920238e41c% >> 40googlegroups.com >> <https://groups.google.com/d/msgid/android-developers/21d3078b-ac69-4740-92d7-4c920238e41c%40googlegroups.com?utm_medium=email_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Android Developers" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/android-developers/ZoJTaLYixKk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > android-developers+unsubscr...@googlegroups.com. > To post to this group, send email to android-developers@googlegroups.com. > Visit this group at https://groups.google.com/group/android-developers. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/android-developers/CACaNmX2ByBqVgCMXtGwXWM3GOQC4G > iuFHsnOQq6Ep-FA9%2BdRWA%40mail.gmail.com > <https://groups.google.com/d/msgid/android-developers/CACaNmX2ByBqVgCMXtGwXWM3GOQC4GiuFHsnOQq6Ep-FA9%2BdRWA%40mail.gmail.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- @leomicheloni <https://twitter.com/leomicheloni> Microsoft MVP -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAOoL_WnLexYpnHf8vGQmfBk8cYGQFO6Gmz%3DL5Y40z-hc26hB4A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Android 4.4.2 Samsung mobile phone
Hi guys, I'm new developing for Android and one of the requirements in the project I'm working on is that the application needs to run in Android 4.4.2 because they have Samsung Galaxy Grand mobile phones (I don't know the exactly version). The problem is that I need to buy a mobile phone to do my internal tests and I'm not sure exactly which model of Samsung buy (I only know that it needs to run 4.4.2 and have a 5" screen). I've tried to figure out myself but there're a lot of models and I really need some help here. Thanks in advance! Leonardo. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/21d3078b-ac69-4740-92d7-4c920238e41c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] hi please let me know this.
i sale the apps in google play store. my threshold is 100% reach in november 10. And i wonder when google send me my earning. Thanks for your answer. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/b84991d2-4276-40ca-944e-a7e7f001f3bc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] AnimationDrawable is not always animating when called to animate
The following method makes an AnimationDrawable object animate when it's first called. private void setPersonagemDireita(AnimationDrawable d) { //View is an ImageView object already loaded in the layout //d is a working AnimationDrawable view.setImageDrawable(d); view.post(new Runnable() { @Override public void run() { AnimationDrawable animate = (AnimationDrawable) view.getDrawable(); animate.start(); } });} When this is first called, the ImageView shows an animated drawable, as expected. But, further calls of the method will change the ImageView image to a static frame of the AnimationDrawable. The expected result was that the new AnimationDrawable would animate, but it's just a static frame. Somehow, sometimes when the method is called, the Animation starts and keep going, but other times it will just be static. What can be done for the ImageView to start it's AnimationDrawable as expected? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1a349ef2-c9bf-4298-ac06-f3be45d3bbff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: New SDK release for Egnos
Hi, I hope these info can be useful for you and you already enjoy working with the EGNOS SDK! Did you know that the RD functionality of the SDK proposes innovative ways of computing a position by deviating from the EGNOS standard specifications, to try to get further improved accuracy? Check out the “RD” sections among the functionalities of the EGNOS SDK. Indeed, the features and applications of the EGNOS SDK are too many to be described in short… If you want the full picture, we suggest to take a look to the technical details behind the development of the EGNOS SDK v3 (EGNOS Corrections, detailed functionalities, etc.) at the following link: http://www.egnos-portal.eu/developer-platform/egnos-toolkits/egnos-sdk/functionalities-egnos-sdk. As always, please refer to this thread for any question and comment! Take care Leonardo On Wednesday, 20 March 2013 22:56:28 UTC+1, Leonardo Costa wrote: Hello again, the EGNOS SDK is being increasingly adopted by the developers community to create apps based on superior positioning. It was successfully implemented the EGNOS SDK within the application GeoPointer™ M3 for Mobile Logistics. You can find out more in the Test Testimonials section of the EGNOS SDK webpages: http://www.egnos-portal.eu/developer-platform/egnos-toolkits/egnos-sdk/tests-and-testimonials Cheers, Leonardo On Wednesday, 13 March 2013 11:51:47 UTC+1, Leonardo Costa wrote: Hello! The European Commission wanted me to remind you that the EGNOS SDK v3 is fully available for different OS: access the EGNOS portal for downloading your version of the toolkit (Download the EGNOS SDK). You can also check the compatibility of your OS version. If you encounter any problem in your development or just want to discuss some issues about the EGNOS SDK, using the Demo App or the SDK Core, refer to the supporting documentation. If you do not find an answer to your questions, directly write us at: egnos.toolk...@gsa.europa.eu. More simply, you can just ask by replying to this post :-). I will be glad to help! On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: New SDK release for Egnos
Hello again, the EGNOS SDK is being increasingly adopted by the developers community to create apps based on superior positioning. It was successfully implemented the EGNOS SDK within the application GeoPointer™ M3 for Mobile Logistics. You can find out more in the Test Testimonials section of the EGNOS SDK webpages: http://www.egnos-portal.eu/developer-platform/egnos-toolkits/egnos-sdk/tests-and-testimonials Cheers, Leonardo On Wednesday, 13 March 2013 11:51:47 UTC+1, Leonardo Costa wrote: Hello! The European Commission wanted me to remind you that the EGNOS SDK v3 is fully available for different OS: access the EGNOS portal for downloading your version of the toolkit (Download the EGNOS SDK). You can also check the compatibility of your OS version. If you encounter any problem in your development or just want to discuss some issues about the EGNOS SDK, using the Demo App or the SDK Core, refer to the supporting documentation. If you do not find an answer to your questions, directly write us at: egnos.toolk...@gsa.europa.eu. More simply, you can just ask by replying to this post :-). I will be glad to help! On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: New SDK release for Egnos
Hello! The European Commission wanted me to remind you that the EGNOS SDK v3 is fully available for different OS: access the EGNOS portal for downloading your version of the toolkit (Download the EGNOS SDK). You can also check the compatibility of your OS version. If you encounter any problem in your development or just want to discuss some issues about the EGNOS SDK, using the Demo App or the SDK Core, refer to the supporting documentation. If you do not find an answer to your questions, directly write us at: egnos.toolk...@gsa.europa.eu. More simply, you can just ask by replying to this post :-). I will be glad to help! On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: New SDK release for Egnos
Hello, me again! :) Today I wanted to remind you that the EGNOS SDK is particularly suitable to create applications where the reliability of the position is essential. The special prize of Galileo Masters 2012 for the most promising EGNOS application idea has been awarded to 3Sound. The system is a personal navigation system for visually impaired people, based on the integration of 3D sounds and GNSS to guide people along a predefined track. The system provides an acoustic track perception based on the integration of augmented acoustic reality app developed for smartphone and an accurate and reliable navigation solution based on GPS and EGNOS, thanks to the EGNOS SDK. You can find out more about the app and the Galileo Masters here: http://www.galileo-masters.eu/index.php?anzeige=gsa12.html while you can download the EGNOS SDK to build your own apps at the following address: http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk/download-egnos-sdk Any question please contact me or reply to this thread. Cheers, Leonardo On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: New SDK release for Egnos
Hello, I'm back as promised with some additional info. The EGNOS SDK allows you as a developer to use EGNOS in smartphones without needing an extensive knowledge of GPS positioning. The position obtained by the GPS receiver in the smartphone is enhanced thanks to EGNOS satellites, or alternatively, from the internet thanks to the satellite data made available by the European Commission (for free!). The SDK enables to do much more than improving the positioning thanks to EGNOS. The new Demo App showcases a series of possible new applications, including: •Receiving EGNOS information through the internet thanks to SISNeT and EDAS support; •Use the smartphone to broadcast ‘live’ EGNOS positioning enhancement to nearby devices through Bluetooth, Wi-Fi and file logging; •Detecting and eliminating faulty satellites or measurements involved in the position calculation to obtain a better positioning accuracy; •Customizing the algorithms to obtain the position to improve the accuracy for specific environments. Discover all possibilities by downloading the SDK Source Code, the Demo App and following the How to Install guide: http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk/download-egnos-sdk More info next week, cheers. Leonardo On Wednesday, 20 February 2013 17:48:31 UTC+1, Leonardo Costa wrote: Hello everybody again, I've interesting news from the European Commission about Egnos, which is the launch of the third version of the EGNOS SDK for app developers! The EGNOS SDK enables to improve the GPS positioning performance of smartphones by providing enhanced positioning accuracy and other features (e.g. information on the reliability of the position calculated by the smartphone). This is possible by enabling the smartphone to receive data from EGNOS, the first European venture in the area of satellite navigation. Thanks to EGNOS, smartphone apps can benefit from high quality and reliable positioning information. The EGNOS SDK v3 is completely open source and available for free on the EGNOS Portal http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk. Updates on the new features will be presented in this thread in the next weeks. If you don’t want to wait that long, find out more herehttp://www.egnos-portal.eu/developer-platform/egnos-toolkits/egnos-sdk/functionalities-egnos-sdk ! Thanks a lot and cheers, Leonardo On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: New SDK release for Egnos
Hello everybody again, I've interesting news from the European Commission about Egnos, which is the launch of the third version of the EGNOS SDK for app developers! The EGNOS SDK enables to improve the GPS positioning performance of smartphones by providing enhanced positioning accuracy and other features (e.g. information on the reliability of the position calculated by the smartphone). This is possible by enabling the smartphone to receive data from EGNOS, the first European venture in the area of satellite navigation. Thanks to EGNOS, smartphone apps can benefit from high quality and reliable positioning information. The EGNOS SDK v3 is completely open source and available for free on the EGNOS Portal http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk. Updates on the new features will be presented in this thread in the next weeks. If you don’t want to wait that long, find out more herehttp://www.egnos-portal.eu/developer-platform/egnos-toolkits/egnos-sdk/functionalities-egnos-sdk ! Thanks a lot and cheers, Leonardo On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] ListView with Editable components
Hi, I read on the wild some people saying that it's not a good thing to have EditTexts inside a ListView. Something related to focus issues. That being said, what I would like to know is if it's a design issue of the engineers not to do things this way, or just some devs personal opinions? Leonardo -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Anyone interested on a small MicroSD to MicroUSB adapter?
MicroSD to MIcroUSB adapter that works with Android devices, for those Nexus family devices that licks the native MicroSd socket. http://igg.me/p/258138?a=1643239 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 4.1 speech to text
Hello I know that with Android 4.1 we have the speech to text offline. How can I implement this? Where is the documentation? Is it the samething we do in previouses Android releases? Thank -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] REQUEST
Hi, Actually I´m working in a very important project at UDFJC University In Colombia. I have an idea--- Create a software application about structural design... Do you give me some information of resources what I need for this development??? The application includes 3D Modeling, calculation of materials and basic costs module. I´m a little confused about how to start, what platforms to generate code that is compatible with android and other--- Could you please help me??? Some info, please let me know!!! Regards! -- ANDRÉS LEONARDO MOLINA B. Tecnólogo Mecánico Universidad Distrital Francisco José de Caldas Diseñador • ezGo S.A. (57) 1 747 0252 Ext. 406 • 313 264 6258 Bogotá, Colombia *P Salva un árbol... no imprimas este e-mail si no es necesario.* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: New SDK release for Egnos
Hello, we finalize this short tutorial on the EGNOS SDK with a few more info on how to contact support. If you encounter any problem or just want to elaborate on some issues about the EGNOS SDK, using the Demo App or the SDK Core, refer to the supporting documentationhttp://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk/download-egnos-sdk at the following link (http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk/download-egnos-sdk ) and if you do not find an answer to your questions you can directly write to: egnos.toolk...@gsa.europa.eu I will also monitor this thread and in case will try to support you directly. Cheers! Leonardo On Wednesday, 19 September 2012 10:29:29 UTC+2, Leonardo Costa wrote: Me again, with further info that can be used also as a tutorial on the EGNOS APK :-) After the first approach to the EGNOS SDK through the Demo App, you can start developing your own positioning Application for smartphones The EGNOS SDK allows you as a developer to use* EGNOS *in *smartphones*without needing an extensive knowledge of radionavigation by satellite. This software calculates an EGNOS enhanced position from the EGNOS Signal-In-Space or, alternatively, from the internet (SISNeT, which is the predecessor to EDAS). Download the SDK Source Code and follow the How to Install guide http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk The European commission has supported the enhancement of the EGNOS SDK through new functionalities: a skyplot, - an augmented reality feature - and better accuracy that can be easily tested with the EGNOS SDK Demo App downloadable on the Egnos Portal linked above. Thanks, cheers. Leonardo On Monday, 3 September 2012 16:28:35 UTC+2, Leonardo Costa wrote: Hello again everybody! To start approaching the EGNOS SDK, you can now install the Demo App on your smartphone and with the support of the external receiver you can experience the power of high accuracy positioning directly in your hand. http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk Download the DEMO APP and follow the How To Install Guide. As always if you have any question please reply to this thread! Cheers L. On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: New SDK release for Egnos
Me again, with further info that can be used also as a tutorial on the EGNOS APK :-) After the first approach to the EGNOS SDK through the Demo App, you can start developing your own positioning Application for smartphones The EGNOS SDK allows you as a developer to use* EGNOS *in *smartphones*without needing an extensive knowledge of radionavigation by satellite. This software calculates an EGNOS enhanced position from the EGNOS Signal-In-Space or, alternatively, from the internet (SISNeT, which is the predecessor to EDAS). Download the SDK Source Code and follow the How to Install guide http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk The European commission has supported the enhancement of the EGNOS SDK through new functionalities: a skyplot, - an augmented reality feature - and better accuracy that can be easily tested with the EGNOS SDK Demo App downloadable on the Egnos Portal linked above. Thanks, cheers. Leonardo On Monday, 3 September 2012 16:28:35 UTC+2, Leonardo Costa wrote: Hello again everybody! To start approaching the EGNOS SDK, you can now install the Demo App on your smartphone and with the support of the external receiver you can experience the power of high accuracy positioning directly in your hand. http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk Download the DEMO APP and follow the How To Install Guide. As always if you have any question please reply to this thread! Cheers L. On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: New SDK release for Egnos
Hello again everybody! To start approaching the EGNOS SDK, you can now install the Demo App on your smartphone and with the support of the external receiver you can experience the power of high accuracy positioning directly in your hand. http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk Download the DEMO APP and follow the How To Install Guide. As always if you have any question please reply to this thread! Cheers L. On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote: Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] New SDK release for Egnos
Hello, I'm posting this info on behalf of the European Commission, the new release of the EGNOS SDK for app developers is now available. This EGNOS SDK allows taking advantage of the European system that provides enhanced positioning accuracy and other features (e.g. information on the reliability of the position itself) directly towards the smartphones. It is available for free on the EGNOS Portal at http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk I am available for any further info, request, questions, you may have on this topic and will post reply here. I will also post further details in the next weeks, following up directly at this thread. Thanks and regards, Leonardo -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Supported Media Formats
Hi all, How doing for plays video in format TS (transport stream)? What version android? Here http://developer.android.com/guide/appendix/media-formats.html shows that supports MPEG-TS (.ts). 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] TS play with VideoView
Hi, I'm working on an application that needs to play videos in the format TS (transport strem), however, as the link http://developer.android.com/guide/appendix/media-formats.html,; I play with the codec H.264 AVC in version 3.0 + Android. However, I wrote a simple code to play a video file in this format but the error was: ***. When tested with a file in 3GP format, it works right. The following code snippet: ... @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); VideoView videoView = (VideoView) findViewById(R.id.videoView1); MediaController mc = new MediaController(this); mc.setAnchorView(videoView); Uri uri = Uri.parse(http://myserver/files/video.ts;); // with 3GP it's works videoView.setMediaController(mc); videoView.setVideoURI(uri); videoView.start(); } ... 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: TS play with VideoView
Sorry, the error was: *Cannot played video Sorry, this video cannot be played Em quinta-feira, 5 de julho de 2012 14h57min02s UTC-3, Leonardo escreveu: Hi, I'm working on an application that needs to play videos in the format TS (transport strem), however, as the link http://developer.android.com/guide/appendix/media-formats.html,; I play with the codec H.264 AVC in version 3.0 + Android. However, I wrote a simple code to play a video file in this format but the error was: ***. When tested with a file in 3GP format, it works right. The following code snippet: ... @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); VideoView videoView = (VideoView) findViewById(R.id.videoView1); MediaController mc = new MediaController(this); mc.setAnchorView(videoView); Uri uri = Uri.parse(http://myserver/files/video.ts;); // with 3GP it's works videoView.setMediaController(mc); videoView.setVideoURI(uri); videoView.start(); } ... 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] video stream for media player android
Hi, I'm developing an application that makes video stream to an internal network, so I need to broadcast to listeners devices (connected to this network), found an application called VPLAYER receiving video stream, but it performs HTTP, which makes the broadcast. So, I wonder if there is any player that receives video stream and run under the UDP or whether it is possible to develop an application that receives the video stream and pass to the player's native android. thanks! -- *Leonardo de Araújo Domingues* Graduando em Sistemas de Informação - UFPB/Campus IV Laborarório de Aplicação em Vídeo Digital - LAVID/UFPB -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] video streaming UDP to android
Hi, I have an application that makes video stream to an internal network (192 ...) and I need to broadcast to all connected devices in the network. Since the players have found to only get android http stream, so does anyone know if there is any player who receives the video stream in udp protocol? thankful! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Internet read app
i'm trying to do a application to read a web page and show the first line! public class InternetActivity extends Activity{ public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); try{ URL u = new URL(www.google.com.br); BufferedReader br = new BufferedReader(new InputStreamReader(u.openStream())); TextView view = new TextView(this); String show= br.readLine(); view.setText(show); setContentView(view); br.close(); } catch(Exception ex){ TextView view = new TextView(this); String is= error; view.setText(is); setContentView(view); ex.printStackTrace(); } } } anyone could help me ??? For some it isnt work ?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Publish and Debug
If I keep installing and unstalling my apk from market, it will change my statistics. (like installs and active installs) won't it? 2011/9/21 Jens dunkingbikk...@gmail.com leonardomasc...@gmail.com wrote: I really have to unsintall the market downloaded apk to run the debug? No. or there is another way to do this? Yes. Four easy steps to compromise security: 1. Whip out Portecle (http://portecle.sourceforge.net, no install required). 2. MAKE A COPY OF YOUR SIGNING KEYSTORE. 3. Use Portecle to rename the key or create a new keystore that contains your signing key - but now with the name androiddebug and the password android. 4. Replace your debug keystore with this brand spanking new keystore and presto - you are debug signing your apps with the same key. This is of course a *horrifically* bad idea security wise - but fun nonetheless. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Leonardo Martins Scaramel MSN: xx11_leona...@hotmail.com Fone Cel: 5475-9955 Até Mais e Obrigado pelos Peixes -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Publish and Debug
Hi everyone. I'm new on this group and on android world. I'm brazilian and my english is not the best, but I hope you can help me and if I can I will help you back! I have published one apk and to do this I created a keystore and uploaded it on Market. But now I want to do some changes on my apk, but I can't run it on my device because it has diferent signature from the apk installed from the market. I'm using eclipse for development. I really have to unsintall the market downloaded apk to run the debug? or there is another way to do this? -- Leonardo Martins Scaramel MSN: xx11_leona...@hotmail.com Fone Cel: 5475-9955 Até Mais e Obrigado pelos Peixes -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Why my test app does not keep installed on phone?
I do have this doubt, Im not sure if I did something wrong... When I lauch my app on Eclipse to my phone, It installs and runs on my phone nicely. But after closed, I do try to init the app from my phone, and it says This application is not installed on the phone. Someone knows why? Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Help needed on porting Flixel Framework to Android. Current issue: switch from canvas draw to opengl es
Hello Mario, I saw you post on Flixel forum. Its good to hear from you. I do feel a little crippled because I dont know muchjava, and opengl is very new to me. First I will try to awser your questions. - How much of the original Flixel API should be covered? I dont know, but W. Eraser points out this necessity of using opengles render instead of canvas render. Looks like a very good point to work on, as some flixel visual functions dont work or are impossible on canvas. - How much has been ported so far? I'd actually just rip out the interfaces/class/method signatures and replace the implementations. Sorry, cant help much. I saw about a guy, one year ago, ported somekind of flixel to android, replacing the actionscript syntax with java, and working only on render and other little issues. That version was a lot bugged, and this new flixel2 was done by Wing Eraser. Looks like a as3 flixel, added a d-pad and the canvas render. The project page has more information. If its not bothering you, can you point me some books/links to study and get a better idea of your work on libgdx? Like, to know the roots of the thing? I've read about rendering using bit blitting, like canvas render, but thats all I know so far. Really thanks for your interest, if theres something I can do to help, please ask. Cheers, Zimbres. Ps: sorry the late reply. I was working on some deadlines these days. The more that is already available the better. 2011/4/28 Mario Zechner badlogicga...@gmail.com Neat, a Flixel Android port would indeed be a nice to have. I saw that the project is actually not an Actionscript 3 project but a Java based project. Might i suggest basing the Android Flixel port on libgdx [1]? Benefit: it would also run on the desktop (windows, linux, mac) and the nasty OpenGL ES stuff is pretty much hidden by the utility classes we offer on top of the GLES binding. I played around with Flixel a little bit a while ago and the port to libgdx should be very straight forward and painless. I might even have some time to do this myself. Could you answer me some questions? - How much of the original Flixel API should be covered? - How much has been ported so far? I'd actually just rip out the interfaces/class/method signatures and replace the implementations. The more that is already available the better. Ciao, Mario [1] http://code.google.com/p/libgdx/ (ignore the fugliness of the site, we are working on a dedicated one with super awesome images and ajax and web scale and all that jazz...) On 27 Apr., 16:59, Leonardo Zimbres leonardozimb...@gmail.com wrote: Hello Android Devs, WingEraser (its how I know him) has been porting Flixel to Android for a while. What is flixel? An actionscript 3.0 game framework. Its very well organized and have a lot of good stuff into it. Collisions, particles, nice use of bitmaps to tiles and sprite animations. If someone is curious about flixel, its homepage has some games: http://flixel.org/ Abour the porting to android: Theres a lot of good done, but one issue is giving certain trouble: to convert the framework render pipeline, from canvas draw to opengl es. Theres someone up to work on that? Im lerarning what I can, but Im a little new on Java, Android and OpenGL. Ah, the last threads about flixel-android: http://flixel.org/forums/index.php?topic=2848.45 And the project page:http://code.google.com/p/flixel-android/ Thanks, Zimbres. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Leonardo Zimbres http://zanardiliza.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] Help needed on porting Flixel Framework to Android. Current issue: switch from canvas draw to opengl es
Hello Android Devs, WingEraser (its how I know him) has been porting Flixel to Android for a while. What is flixel? An actionscript 3.0 game framework. Its very well organized and have a lot of good stuff into it. Collisions, particles, nice use of bitmaps to tiles and sprite animations. If someone is curious about flixel, its homepage has some games: http://flixel.org/ Abour the porting to android: Theres a lot of good done, but one issue is giving certain trouble: to convert the framework render pipeline, from canvas draw to opengl es. Theres someone up to work on that? Im lerarning what I can, but Im a little new on Java, Android and OpenGL. Ah, the last threads about flixel-android: http://flixel.org/forums/index.php?topic=2848.45 And the project page: http://code.google.com/p/flixel-android/ Thanks, Zimbres. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Scanner GPRS
2011/3/19 lbendlin l...@bendlin.us It's possible, but it still has nothing to do with GPRS. As you mentioned you will have to keep track of the station IDs, network IDs, and transmit power for each cell you're booked into while moving. Transmit power will vary with time of day, weather, location of your receiver (hand, pocket etc), so you're looking at quite some complex data mining. But yes, it's possible. Thank you, One last question, through the Android OS (Java API) I have access to such information station IDs and network IDs? I just need this information to jump to head in that idea. On Mar 18, 12:53 pm, Leonardo Luís dos Santos mar...@las.ic.unicamp.br wrote: Hi Marcin, 2011/3/18 Marcin Orlowski webnet.andr...@gmail.com On 18 March 2011 14:41, Leus leonardo...@gmail.com wrote: ^^ Good morning guys, Morning at 2pm? hardly possible ;/ Sorry but I wirte from Brazil. Next, s possible to access the phone via modem gprs android? My idea was to make a scanner signal tower, so I could identify which carrier works best in each region or the signal quality of my carrier or identify noise in the signal. Or will that I could do it via wifi module? So you want to measure carrier network with wifi radio?? Sorry, but you completely got no idea on how both things works. Sorry my ignorance on the subject. I work in a company vehicle tracking and would like to build an Android application to measure the GPRS signal in certain parts of the city. The phone shows me the signal quality of my carrier. In this context, take a cell for eachoperator to measure the signal quality is unfeasible. I would like to make a GPRS scanner in the same way that there is WiFi networkscanner. Is that possible? Regards, Marcin Orlowski Tray Agenda http://bit.ly/trayagenda - keep you daily schedule handy... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Scanner GPRS
Hi Marcin, 2011/3/18 Marcin Orlowski webnet.andr...@gmail.com On 18 March 2011 14:41, Leus leonardo...@gmail.com wrote: ^^ Good morning guys, Morning at 2pm? hardly possible ;/ Sorry but I wirte from Brazil. Next, s possible to access the phone via modem gprs android? My idea was to make a scanner signal tower, so I could identify which carrier works best in each region or the signal quality of my carrier or identify noise in the signal. Or will that I could do it via wifi module? So you want to measure carrier network with wifi radio?? Sorry, but you completely got no idea on how both things works. Sorry my ignorance on the subject. I work in a company vehicle tracking and would like to build an Android application to measure the GPRS signal in certain parts of the city. The phone shows me the signal quality of my carrier. In this context, take a cell for eachoperator to measure the signal quality is unfeasible. I would like to make a GPRS scanner in the same way that there is WiFi networkscanner. Is that possible? Regards, Marcin Orlowski Tray Agenda http://bit.ly/trayagenda - keep you daily schedule handy... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to target and block a new text message *silently*?
hi, guys, please help out. if you want to block a message based on the sender's number, probably you would code like this as I did, cursor = context.getContentResolver().query(, malicious_number, ...); Uri mUri = Uri.parse(content://sms/ + cursor.getString(0)); context.getContentResolver().delete(mUri, null, null); Those code works sometimes on the HTC Hero + Android 2.1, preventing the new message showing in the Message app, but sometimes just doesn't. Even if it works, the new message still trigger a notification and a ring sound. That is not what we call blocking, isn't it? So, is there any to target and block a message *silently*? 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] How to target and block a new text messages based on the senders' number?
Thank you, man. Well, I would try it again, please help me out. My question is, if you want to block a message based on the sender's number, probably you would code like this as I did, cursor = context.getContentResolver().query(, malicious_number, ...); Uri mUri = Uri.parse(content://sms/ + cursor.getString(0)); context.getContentResolver().delete(mUri, null, null); Those code works sometimes on the HTC Hero + Android 2.1, preventing the new message showing in the Message app, but sometimes just doesn't. Even if it works, the new message still trigger a notification and a ring sound. That is not what we call blocking, isn't it? So, is there any to target and block a message *silently*? Thank you. On 30 July 2010 15:05, Zsolt Vasvari zvasv...@gmail.com wrote: If you asked a specific question, you *may* get an answer (maybe 10% of the time), but basically asking to fix your app will not get an answer for certain. On Jul 29, 6:22 pm, Leonardo stone198...@gmail.com wrote: Hi, guys, I made a app to block some junk messages. That app would delete the messages from the senders specified in the ban list. That app works in a way, but has some defects, as follows, 1. Sometime it just doesn't work, missing the new message to delete. 2. Even if it works deleting the message, a notification sound and message still occur. Therefore, could any improvement be made to 100% block messages without any notifications? Please check the codes below, and see what I can do. Thank you. ==== import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.ContextWrapper; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.telephony.SmsMessage; import android.util.Log; import android.widget.Toast; public class MySMSReceiver extends BroadcastReceiver { private static final String mACTION = android.provider.Telephony.SMS_RECEIVED; private String str_numbers, current_number; private int killed; public static final String PREFS_NAME = LEONARDO_JUNKILLER_PREFS; private String[] numbers; Cursor cursor; @Override public void onReceive(Context context, Intent intent) { //get the banned numbers list from application's preference SharedPreferences settings = context.getSharedPreferences(PREFS_NAME, 0); str_numbers = settings.getString(NUMBERS, null); killed = settings.getInt(KILLED, 0); if (str_numbers == null) { return; } else { numbers = str_numbers.split(\\s+); for(String number:numbers) { number.trim(); } } //check if it is a message if (intent.getAction().equals(mACTION)) { // get the content from the intent Bundle bundle = intent.getExtras(); if (bundle != null) { Object[] myOBJpdus = (Object[]) bundle.get(pdus); SmsMessage[] messages = new SmsMessage[myOBJpdus.length]; for (int i = 0; i myOBJpdus.length; i++) { messages[i] = SmsMessage.createFromPdu((byte[]) myOBJpdus[i]); } //for each message in the intent, check if it is a junk message and delete it if so. for (SmsMessage currentMessage : messages) { // get the sender's number for that message current_number = currentMessage.getDisplayOriginatingAddress(); // if the number is in the ban list, then find and delete all of the received messages belonging to that number, including the new one and existing ones. if (toKill(current_number)) { cursor = context.getContentResolver().query( Uri.parse(content://sms/), new String[]{_id, thread_id, address}, address=\ + current_number + \, //address= + current_number, null, null); if (cursor.moveToFirst()) { do { Log.i(JUNKILLER, The message id: + cursor.getString(0) + ;address: + cursor.getString(2) + is deleted); Uri mUri = Uri.parse(content://sms/ + cursor.getString(0)); context.getContentResolver().delete(mUri, null, null); killed++;//count the deleted messages for a banned number. } while (cursor.moveToNext()); } cursor.close(); } } } } SharedPreferences.Editor editor = settings.edit(); editor.putInt(KILLED, killed); editor.commit(); } private boolean toKill(String number_check
[android-developers] How to delete the text messages based on the senders' number?
Hi, guys, I made a app to block some junk messages. That app would delete the messages from the senders specified in the ban list. That app works in a way, but has some defects, as follows, 1. Sometime it just doesn't work, missing the new message to delete. 2. Even if it works deleting the message, a notification sound and message still occur. Therefore, could any improvement be made to 100% block messages without any notifications? Please check the codes below, and see what I can do. Thank you. import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.ContextWrapper; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.telephony.SmsMessage; import android.util.Log; import android.widget.Toast; public class MySMSReceiver extends BroadcastReceiver { private static final String mACTION = android.provider.Telephony.SMS_RECEIVED; private String str_numbers, current_number; private int killed; public static final String PREFS_NAME = LEONARDO_JUNKILLER_PREFS; private String[] numbers; Cursor cursor; @Override public void onReceive(Context context, Intent intent) { //get the banned numbers list from application's preference SharedPreferences settings = context.getSharedPreferences(PREFS_NAME, 0); str_numbers = settings.getString(NUMBERS, null); killed = settings.getInt(KILLED, 0); if (str_numbers == null) { return; } else { numbers = str_numbers.split(\\s+); for(String number:numbers) { number.trim(); } } //check if it is a message if (intent.getAction().equals(mACTION)) { // get the content from the intent Bundle bundle = intent.getExtras(); if (bundle != null) { Object[] myOBJpdus = (Object[]) bundle.get(pdus); SmsMessage[] messages = new SmsMessage[myOBJpdus.length]; for (int i = 0; i myOBJpdus.length; i++) { messages[i] = SmsMessage.createFromPdu((byte[]) myOBJpdus[i]); } //for each message in the intent, check if it is a junk message and delete it if so. for (SmsMessage currentMessage : messages) { // get the sender's number for that message current_number = currentMessage.getDisplayOriginatingAddress(); // if the number is in the ban list, then find and delete all of the received messages belonging to that number, including the new one and existing ones. if (toKill(current_number)) { cursor = context.getContentResolver().query( Uri.parse(content://sms/), new String[]{_id, thread_id, address}, address=\ + current_number + \, //address= + current_number, null, null); if (cursor.moveToFirst()) { do { Log.i(JUNKILLER, The message id: + cursor.getString(0) + ;address: + cursor.getString(2) + is deleted); Uri mUri = Uri.parse(content://sms/ + cursor.getString(0)); context.getContentResolver().delete(mUri, null, null); killed++;//count the deleted messages for a banned number. } while (cursor.moveToNext()); } cursor.close(); } } } } SharedPreferences.Editor editor = settings.edit(); editor.putInt(KILLED, killed); editor.commit(); } private boolean toKill(String number_check) { for (String number : numbers) { if (number_check.indexOf(number) = 0) { return true; } } return false; } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Problem in Http Get method....pls tel me ...
Are you sure the feed_url is retrieving some value? 2009/9/2 ragavendran s sraghav.ra...@gmail.com can u tell me how to send the Url to the server using Http Get method... Here i m trying to insert a name into the databse .If i execute the below showing code there is no response (i.e) no value is insert in to the database... i think the error is is in the Http meythod ..Would u tel me pls how to Correct it With ragards, Raghav.S My Code: package simpl.http1; import java.io.IOException; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class simplhttp1 extends Activity { /** Called when the activity is first created. */ Button enter; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); enter=(Button)findViewById(R.id.enter1); enter.setOnClickListener(new OnClickListener(){ public void onClick(View v) { openconn(); } }); } public void openconn() { String str11=Raghul; String feed_url= http://localhost:8080/Serv1/servlet/Servlet1?st1=+str11; HttpClient client=new DefaultHttpClient(); HttpGet siteRequest = new HttpGet(feed_url); HttpResponse httpResponse = client.execute(siteRequest); } } } -- Leonardo Ribeiro Desenvolvedor Java - iFactory Solutions SCJP 1.5 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Problem in simple Code SQLite
You can put a try { db.execSQL(create table myTable (id integer primary key, name text not null);); } catch(Exception e) {} to try to see the error?? 2009/9/1 Bharath B.G. bharath.ml...@gmail.com Hi, I am very new to SQLite, i referred some books regarding coding in SQLite n went straight for coding But while i run my simple code i am getting error the application has stopped unexpectadly (particularly in the line create table) please tell me where exactly is the error n where i hav to modify the code package com.android; import android.app.Activity; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.widget.EditText; public class DatabaseWork extends Activity { private EditText et; public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); et=(EditText)findViewById(R.id.EditText01); tryThis(); } public void tryThis() { final String DATABASE_NAME=myDatabse.db; final String DATABASE_TABLE=myTable; final int DATABASE_VERSION=1; final String COL_NAME=name; final String COL_ID=id; SQLiteDatabase db; db=openOrCreateDatabase(DATABASE_NAME, 0, null); db.execSQL(create table myTable (id integer primary key, name text not null);); db.execSQL(insert into myTable values (1, \Bharath\);); db.execSQL(insert into myTable values (2, \Abhijith\);); Cursor c=db.query(DATABASE_TABLE, new String[] { COL_ID,COL_NAME}, null, null, null, null, null); int idCol=c.getColumnIndex(COL_ID); int nameCol=c.getColumnIndex(COL_NAME); String s=null; while(true) { String name=c.getString(nameCol); s=s+ +name; if(c.isLast()) { break; } c.moveToNext(); } et.setText(s); db.close(); } } -- Bharath B.G. -- Leonardo Ribeiro Desenvolvedor Java - iFactory Solutions SCJP 1.5 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] problem using the camera in the emulator
I recentlly got the project of Camera Source posted by Tom Gibara but i have some doubts about hoe it works... Fist i have to implement the interface camera source and other class (SocketCamera, HttpCamera, WebcamBroadcaster) for my case i'm using SocketCamera but i dont down how to use it in the class that extend from activity... Any suggestions I'll be very grateful 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Does 0.9-SDK support Camera feature now??
I have a doubt using the Tom Gibara's project... wich class did you use for acces to the web cam?... (SocketCamera or HtppCamera) and how you pass it into the setContentView method... Any help please --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---