[android-developers] paypal is still an option?
Hello Everybody, I'm working on a project at university it is something like a groupon mobile; We were going to use paypal for payment system, but it seems like it is no longer an option (only google wallet is); Reading the android page, it says there are some exceptions, but I don't know if buy an discount cupom could be an exception or not ... can anybody help me? -- Dayvid Victor R. de Oliveira MSc Candidate in Computer Science at Federal University of Pernambuco (UFPE) BSc in Computer Engineering - Federal University of Pernambuco (UFPE) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] handle activity stack cicle
Hello, I have the Activity A, B1, B2, C: start with A, than choose go to B1 or B2; if B1, than go to C, and than back to B1 *if B2, than go to C, and (if requested) go to B1* this part is where I'm stuck, how can I start a new Cicle with the stack with stack (A, B1) from B2? so far, C calls A passing an intent, so A start B1 instantly ... but there is a screen delay (I see A screen for a second); is there a better way to do that? -- Dayvid Victor R. de Oliveira 10º Periodo de Engenharia da Computação - UFPE Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] capture audio from google recognizer intent
Hello, I neet do capture the audio from google recognizer intent Right now, I'm doing something like this: Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE,stuff); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, getLanguagePref()); intent.putExtra(RecognizerIntent.EXTRA_PROMPT, R.string.prompt); startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE); I figure there is no way to access the byte stream from this intent, so, I'm trying something like this: SpeechRecognizer speechRecognizer = SpeechRecognizer.createSpeechRecognizer(this); speechRecognizer.setRecognitionListener(new RecognizerListener() { ... }); but I'm still havin some trouble, can anyone help me out here? I need to store the data in the device and NOT send to google server; /* I'm not using regular audio record because I need to know when the user is speeking to begin save and when the user stoped, to stop save */ tks, -- Dayvid Victor R. de Oliveira 10º Periodo de Engenharia da Computação - UFPE Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] database access via Adapter or ContentProvider
Hello Everybody, I am writing an app and it has a simple database and I'm wondering if for only intern access (no other applications will see this database) I should use: - ContentProvider - I heard I should only use it if I want to share data with other applications - Singleton - Create a singleton of the DataBaseAdapter in the main Application - DataBaseAdapter itself - Create a new DataBaseAdapter in every activity I need to use; There are 3 differents activities using this database. So what should I use? -- Dayvid Victor R. de Oliveira 9º Periodo de Engenharia da Computação - UFPE Monitor-Chefe de Lógica para Computação (EC) Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] use singleton to store data
Hello Everybody, I have a project that I'm organizing and it is using a Singleton to store information about a object X in database. It is used by other activities ... is it ok to use singletons in android? or I should just use intent to save infos. tks. -- Dayvid Victor R. de Oliveira 9º Periodo de Engenharia da Computação - UFPE Monitor-Chefe de Lógica para Computação (EC) Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] AsyncTask vs. InternetService vs. Activity
Hello Everybody, What I want to do is: - Create an WebComActivity that has an AsyncTask to make a web-request - In the AssyncTask use a ProgressDialog to show the status - When it ends the request (or times-up), make a setResult(RESULT_CODE) and finish WebComActivity Then, in the ShowInfoActivity I can get the Result and print it ... How can I create WebComActivity (or WebComService if it's the case) without taking all the UI; tks, -- Dayvid Victor R. de Oliveira 9º Periodo de Engenharia da Computação - UFPE Monitor-Chefe de Lógica para Computação (EC) Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] AsyncTask vs. InternetService vs. Activity
I mean: I need to create one Activity that the UI is only a 'downloading status'. The download will be made by an AsyncTask. got it? On Mon, Jul 11, 2011 at 4:38 PM, TreKing treking...@gmail.com wrote: On Mon, Jul 11, 2011 at 2:27 PM, Dayvid Victor victor.d...@gmail.comwrote: How can I create WebComActivity (or WebComService if it's the case) without taking all the UI; What? - 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 -- Dayvid Victor R. de Oliveira 9º Periodo de Engenharia da Computação - UFPE Monitor-Chefe de Lógica para Computação (EC) Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] [Voice Capture]
Hello Everybody, I need to implement a voice recognition system and right now, I'm using google service (calling the voice recognition as a intent) ... Well, I already made a server that receives a stream and process the speech, but I want the audio capture be like the google intent ... when started it waits you say something, and after something is said, he finish capturing and sends the stream without press any button. Does anybody know how to do that? -- Dayvid Victor R. de Oliveira 9º Periodo de Engenharia da Computação - UFPE Monitor-Chefe de Lógica para Computação (EC) Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Database path and writing
Hello Nikola, I don't know if it will work, but look for something like 'openDatabaseForWrite(...)' I had a problem like that and there was a specific method you had to use, sorry let me know if you find (or not) anything. On Tue, Jul 5, 2011 at 10:55 PM, NikolaMKD nikola.despoto...@gmail.comwrote: I have external databases stored in /data/data/files/ Can I use openOrCreateDatabase( )? Will openOrCreateDatabase from that path? Using OpenDatabase(path,factory, mode) was not giving me ability to write into it? Why? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dayvid Victor R. de Oliveira 9º Periodo de Engenharia da Computação - UFPE Monitor-Chefe de Lógica para Computação (EC) Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Database path and writing
I don't know if it will work, but since you said you can't get the ability to write, it can be because of that. On Wed, Jul 6, 2011 at 9:17 AM, NikolaMKD nikola.despoto...@gmail.comwrote: Sorry there is mistake. Will openOrCreateDatabase open the database from /data/data/package/ file ? On Jul 6, 3:55 am, NikolaMKD nikola.despoto...@gmail.com wrote: I have external databases stored in /data/data/files/ Can I use openOrCreateDatabase( )? Will openOrCreateDatabase from that path? Using OpenDatabase(path,factory, mode) was not giving me ability to write into it? Why? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dayvid Victor R. de Oliveira 9º Periodo de Engenharia da Computação - UFPE Monitor-Chefe de Lógica para Computação (EC) Laboratório Itautec - CIn/UFPE -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en