[android-developers] In-app Billing for hybrid app.
Hi, I'm projecting a hybrid app using cordova. My app will offer a monthly subscription to change the user plan(default or premium account). So, as I'm making a hybrid app, I'm programming in web language(HTML, JS, PHP,...). But, according the Google's policy center, I have to use the Google Play in-app billing as the method of payment. How can I integrate the Google play in-app billing system if it only has support for JAVA(I would have to use Android Studio, but I won't use it, because I'm making a hybrid app using the Intel xdk)? Thanks. Diogo. -- 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/ba71a7bf-0df2-4717-b857-3cc8cac99d27%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Stop a running Thread
http://stackoverflow.com/questions/10961714/how-to-properly-stop-the-thread-in-java On Wednesday, 11 May 2016 16:53:47 UTC+1, Alex Kau wrote: > > I want to stop a running thread, but Thread.stop is deprecated :/ > Does anyone know a solution for this problem? The thread should only run > one time and than the thread stop. > Thanks > > public class Updater implements Runnable { > > Thread thread; > > > public Updater(){ > thread = new Thread(this); > } > > @Override > public void run(){ > //Does anything > > > > } > > public void start(){ > running = true; > this.thread.start(); > } > public void stop(){ > this.thread.stop(); //Error!!! > } > > Code hier eingeben... > > > -- 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/ca6068d7-6654-45ff-8a7e-e8334c6f822f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: How to add a badge to the icon of an application
Have you seen it on Android? Me tooThis is just for IOS environment dude =/ On Tuesday, 19 April 2016 10:43:00 UTC+1, Marco Odasso wrote: > > Could you help me? > > I need an example of code for android studio. To obtain on the icon of the > app a red balloon: to see the numbers of posts published in the blog of the > app. > > > > Thanks a lot > > > > Mark > > Email: rdp...@gmail.com > -- 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/74ef8f04-d072-448e-b0a3-d6d8a82427d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: App uninstall doesn't remove SQL database
On Windows...did you try clean,rebuilt the project and run again? just trymaybe help. On Sunday, 3 April 2016 11:55:29 UTC+1, Simon Ho wrote: > > I posted this on stackoverflow, but I thought maybe I'd have more luck > here... > > I have a strange problem where my SQL database doesn't remove itself when > I uninstall the app > > I'm not creating the database in any external storage directories, and the > database is confirmed to be in its default location: > /data/data/com.example.app/databases/ > > After I uninstall the app, I expect all the data in that location to be > wiped, but when I run the app again from android studio the new install can > still see all of the old data > > I have tried using adb to manually delete the .db file from the databases > directory, but when I run the app again the old data can still be seen > > I have also tried going into the app settings and clearing the data and > cache, but that doesn't seem to help > > The only places in my code where I'm doing anything "strange" with regards > to the database is I'm copying the database file to a new location on > button click: > > String pathToExternalStorage = Environment.getExternalStorageDirectory > ().toString(); > File exportDir = new File(pathToExternalStorage, "/SensorData"); > File subjectDataDir = new File(exportDir, "/subjects"); > > File data = Environment.getDataDirectory(); > String currentDBPath = "//data//com.example.app//databases//" + > DBHelper.DATABASE_NAME; > File currentDB = new File(data, currentDBPath); > File destDB = new File(exportDir, DBHelper.DATABASE_NAME); > > FileChannel src = new FileInputStream(currentDB).getChannel(); > FileChannel dst = new FileOutputStream(destDB).getChannel(); > dst.transferFrom(src, 0, src.size()); > src.close(); > dst.close(); > > > And then running mediascanner on the newly created file so I can get > instant MTP access to it > > I doubt that either of these processes could cause this to happen though? > > My immediate question is how do I manually remove the database from the > phone without root access? > > The bigger question is what could be causing the uninstall process to not > remove the database files? And how does a newly installed version of the > app (after an uninstall) still see the old database information? > > I'm not sure how to begin figuring this out... > -- 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/3a8da82f-dad3-4ee6-a381-cd5ba312e3ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Connect app to smart meter
I guess...You need to create something like that. http://www.wifiplug.co.uk/ On Saturday, 13 February 2016 23:41:57 UTC, Ryan Illes wrote: > > > > I am working on a app that keeps track of how many electricity and gas > your house uses , how many km your car uses and all the things that cause > greenhouse gases. Now I am almost finished doing the part of the car. But I > have a problem with the part of how many electricity and gas your house > uses. I have an idea but I don't know if it will work and how to do it. For > it to work you should have a smart meter and somehow the app will connect > to the smart meter and the smart meter should send the data to the app but > can this be done. If not is there any other way that an app could keep > track of how many energy and gas you use without having to fill it in > manually cause honestly I don't think anyone will do that. > -- 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/86e13726-5242-4b57-948d-0c113b7f7e37%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] How to remove blue cast on views
Simon, check your style, and try change the main Parentor create a default background in your entire 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: QR code generating with Zxing
http://maicon.strey.nom.br/blog/2012/04/27/utilizando-zxing-para-ler-codigo-de-barras/ If you reader português or you could using Google Translate =D Em sexta-feira, 7 de dezembro de 2012 07h12min32s UTC-2, avaiya kirti escreveu: How we can use zxing lib. to generate qr code and make android application enabled with qrcode generating 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] Re: Google Map
Ehsan, which Log leave the device ? try debug application in device and post the output. Em domingo, 25 de novembro de 2012 16h41min33s UTC-2, Ehsan Ghasisin escreveu: Hi Every one . I created Google map in android and test with emulator and it worked currently , but when install in my phone (Samsung galaxy ) my program didn't show anything just show a simple page . Tnx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: 3D game engine integration in the android framework
I'd use http://unity3d.com/ Em sexta-feira, 9 de novembro de 2012 14h57min37s UTC-2, sebastian_bugiu escreveu: I have created a 3D game engine written in java for Android. It is based on the Ogre renderer and features - a complete OpenGL ES 2.0 multithreaded renderer - sound support - input as touch or sensors - GUI API - easy material creation - a new mesh format for fast loading based on ms3d format - artemis framework integration for data driven game design - easy to use and extensible design A game that will feature this engine will be released somewhere at the end of this month or somewhere early in December to show off the engine capabilities. From what I have seen the Android framework does not feature an API for game programmers so everyone has to create their own engine. Instead of this duplication I am asking the android developers if it could be possible to integrate my engine (I will open source the code) in the android framework so that everybody can have an easier way to create a 3D game? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 can i access Contacts?
Prateek Sahu, here this answer to your question. http://stackoverflow.com/questions/7330165/how-to-access-contacts-in-my-android-program Em terça-feira, 6 de novembro de 2012 08h58min39s UTC-2, Prateek Sahu escreveu: I am developing an application which requires accessing the chronology in which contacts are saved etc... can any1 help me in this regard please? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: getSherlockActivity throwing Nullpointer Exception
why you don't try... progressDisplay.show(getAplicationConext(), LoadingDialog); Em segunda-feira, 5 de novembro de 2012 10h28min12s UTC-2, vani escreveu: HI friends, I am using Sherlock library for android progressDisplay = new LoadingDialog(); progressDisplay.setCancelable(false); progressDisplay.show(getSherlockActivity().getSupportFragmentManager(), LoadingDialog); LoadingDialog is the class which extends SherlockDialogFragment. When i click on home button and close it, and again relaunch it on long press of home press app is force closing in the below line: progressDisplay.show(getSherlockActivity().getSupportFragmentManager(), LoadingDialog); Any clues why it is happeneing?? Please give me ideas how to solve it. -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en