|
| Android application | |
|
+7ago Lounatique Japanas Moon´s Heart jpp77350 Usagi_the_Rabbit Roarster31 11 participants | |
Auteur | Message |
---|
Roarster31 Lapin nain
Nbr de messages : 47
| Sujet: Re: Android application Mar 13 Mar 2012 - 21:34 | |
| Just to clarify, the first number in a choreography sequence is the tempo right? And 10 is equal to 1 second? I had a look at the weather you did so you must have encountered the same obstacles... | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Mar 13 Mar 2012 - 21:38 | |
| I have updated my last post.
No, I'm not talking about the scale of tempo setted 1 time at the begining (and which is different between OJN and NabAlive), but about duration of each (group of) action(s) (lighting LEDs or moving Ears)
Example for this choregraphy : immediatly no light -then- white 3 LEDs for 6 secondes -then- immediatly no light : "led,1", "led,2" and "led,3" are the target number of the LED no light (black LED) = "0,0,0" (Red=0, Green=0, Blue=0) / white LED = "255,255,255" (Red=255, Green=255, Blue=255)
- choregraphy for OJN (10 = 10 ms = 0,01s) : tempo is time from the begining for executing each action, cannot sheduled more actions at same time chor=10,1,led,1,0,0,0,2,led,2,0,0,0,3,led,3,0,0,0,4,led,1,255,255,255,5,led,2,255,255,255,6,led,3,255,255,255,601,led,1,0,0,0,602,led,2,0,0,0,603,led,3,0,0,0
choregraphy for NabAlive (10 = 0,1s) : tempo is duration of a group of actions (3 LEDs), can shedule 2 actions or more at same time with tempo = 0 - chor=10,0,led,1,0,0,0,0,led,2,0,0,0,0,led,3,0,0,0,0,led,1,255,255,255,0,led,2,255,255,255,0,led,3,255,255,255,60,led,1,0,0,0,0,led,2,0,0,0,0,led,3,0,0,0
Dernière édition par Japanas le Mer 14 Mar 2012 - 9:58, édité 14 fois | |
| | | Lounatique Platinum Nabz
Age : 36 Localisation : Nanterre Nabaztag : Nabordnawak et ComNabitude Nbr de messages : 1048 Carottes : 5620
| Sujet: Re: Android application Mer 14 Mar 2012 - 7:52 | |
| Bonjour, si quelqu'un peut m'aider en traduisant ca en anglais
L'application ne marche pas du tout pour moi. Quand je veux envoyer un message ou un son l'application crash et se ferme. Peut etre ai je mal rempli quelque chose ? | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Mer 14 Mar 2012 - 9:22 | |
| - Lounatique a écrit:
- Bonjour, si quelqu'un peut m'aider en traduisant ca en anglais
English translate from Lounatique to Roarster31 : App does not work for me. When I try to send a message or a sound, app crashes and ends. Maybe I does not filled something properly ? - Lounatique a écrit:
- L'application ne marche pas du tout pour moi. Quand je veux envoyer un message ou un son l'application crash et se ferme. Peut etre ai je mal rempli quelque chose ?
Quelle est ta version d'Android (2.2, 2.3, 3.x, 4.x) ? Quel est ton matériel (Smartphone, Tablette, Marque/Modèle) ? | |
| | | Lounatique Platinum Nabz
Age : 36 Localisation : Nanterre Nabaztag : Nabordnawak et ComNabitude Nbr de messages : 1048 Carottes : 5620
| Sujet: Re: Android application Mer 14 Mar 2012 - 11:20 | |
| C'est sur HTC Wildfire version 2.2.1 Je n'ai pas encore essayé sur ma tablette | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Mer 14 Mar 2012 - 11:27 | |
| Moi ça fonctionne sur mon HTC HD2 avec émulation Android 2.2 (car d'origine en Windows Mobile 6.5Pro) | |
| | | Lounatique Platinum Nabz
Age : 36 Localisation : Nanterre Nabaztag : Nabordnawak et ComNabitude Nbr de messages : 1048 Carottes : 5620
| Sujet: Re: Android application Mer 14 Mar 2012 - 11:50 | |
| bizarre :/ Est ce que pour rentrer le token il faut mettre les tirets ? | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Mer 14 Mar 2012 - 12:00 | |
| Adresse MAC, ne pas mettre les ":" Token (=API Key), bien mettre les "-" | |
| | | Lounatique Platinum Nabz
Age : 36 Localisation : Nanterre Nabaztag : Nabordnawak et ComNabitude Nbr de messages : 1048 Carottes : 5620
| Sujet: Re: Android application Mer 14 Mar 2012 - 12:20 | |
| Ha ca doit venir de la alors mon souci Je vais donc retenter dès que possible Merci Japanas | |
| | | Roarster31 Lapin nain
Age : 29 Localisation : GreatBritain Nbr de messages : 47 Carottes : 4755
| Sujet: Re: Android application Mer 14 Mar 2012 - 17:33 | |
| - Japanas a écrit:
- choregraphy for OJN (10 = 10 ms = 0,01s) : tempo is time from the begining for executing each action, cannot sheduled more actions at same time chor=10,1,led,1,0,0,0,2,led,2,0,0,0,3,led,3,0,0,0,4,led,1,255,255,255,5,led,2,255,255,255,6,led,3,255,255,255,601,led,1,0,0,0,602,led,2,0,0,0,603,led,3,0,0,0
choregraphy for NabAlive (10 = 0,1s) : tempo is duration of a group of actions (3 LEDs), can shedule 2 actions or more at same time with tempo = 0 - chor=10,0,led,1,0,0,0,0,led,2,0,0,0,0,led,3,0,0,0,0,led,1,255,255,255,0,led,2,255,255,255,0,led,3,255,255,255,60,led,1,0,0,0,0,led,2,0,0,0,0,led,3,0,0,0
aha, ok... i see, so - On OJN the time before each "action" (0,led,2,0,0,0) is the time at which that action will play
- On OJN you can only have one action per time slot
- But on violet everything is timed by the initial number
- And they can be grouped by starting each "action" with a "0" after an action with a time (e.g 60,led,1,0,0,0,0,led,2,0,0,0,0,led,3,0,0,0)
Is that pretty much it? It could turn out to be a problem with the choreography on OJN though... maybe i could play actions "simultaneously" by giving them tiny differences in time? Or i may just have to disable choreography for OJN all together... I'll take a look... Lounatique, i've fixed the problem!! turns out i was using a feature that hadn't been introduced until android "gingerbread" (2.3) i'll publish an update soon.. bear with me it'll have french support!! (and a few other things) | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Mer 14 Mar 2012 - 18:06 | |
| - Roarster31 a écrit:
- aha, ok... i see, so
- On OJN the time before each "action" (0,led,2,0,0,0) is the time at which that action will play
- On OJN you can only have one action per time slot
- But on violet everything is timed by the initial number
- And they can be grouped by starting each "action" with a "0" after an action with a time (e.g 60,led,1,0,0,0,0,led,2,0,0,0,0,led,3,0,0,0)
Is that pretty much it? Yes, that's it ! - Roarster31 a écrit:
- It could turn out to be a problem with the choreography on OJN though... maybe i could play actions "simultaneously" by giving them tiny differences in time?
Yes, that's what I've wrote in my OJN example (each action/LED is sheduled every 1 = 0,01s, invisible for our eye) - Roarster31 a écrit:
- Or i may just have to disable choreography for OJN all together... I'll take a look...
You should do like me for weather : if server = violet, do choregraphy formatted Violet else do choregraphy formatted OJN... | |
| | | Roarster31 Lapin nain
Age : 29 Localisation : GreatBritain Nbr de messages : 47 Carottes : 4755
| Sujet: Re: Android application Ven 23 Mar 2012 - 21:50 | |
| Sorry for the longer wait... especially those of you with android 2.2 who couldn't use the speech function... V 1.1 Updated: - Added French translation!!
- Added ability to save frequently used actions for quick re-use (it makes things like audio A LOT easier)
- Added "run" button on choreography for devices with no menu button(Japanas)
- Added ability to delete choreography lights
- Added black and white colours under choreography
- Fixed choreography timing issues with OJN and violet servers(Japanas)
- Fixed enabling/disabling rabbits bug(Usagi)
- Fixed speech bug on devices running 2.2 and below(Lounatique)
- Fixed values being changed to null when changing other rabbit values(Japanas)
- Added ability to "share" text to speak from other apps
You can download the file online from the same place as before if you need to (Swiss Army Carrot) Let me know how it goes and i have a few more features i'm planning on adding at some point
Dernière édition par Roarster31 le Sam 24 Mar 2012 - 23:21, édité 2 fois | |
| | | Usagi_the_Rabbit Special Nabz
Age : 48 Localisation : RF, Moscou Nabaztag : Vivi (v2), Floppy (v2) Nbr de messages : 1313 Carottes : 6019
| Sujet: Re: Android application Sam 24 Mar 2012 - 6:01 | |
| Thank you! | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Dim 25 Mar 2012 - 13:58 | |
| oh oh, after update, it crashes at launch on Android 2.2 and crashes after launch when clicking on choregraphy button on Android 3.2 | |
| | | Roarster31 Lapin nain
Age : 29 Localisation : GreatBritain Nbr de messages : 47 Carottes : 4755
| Sujet: Re: Android application Dim 25 Mar 2012 - 21:19 | |
| woops, should be fixed now (v1.2) | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Lun 26 Mar 2012 - 14:27 | |
| Re-works on my Android 2.2 SmartPhone and 3.2 Tablet.
For OJN Choregraphy, From Android 2.2, choregraphy is not executed (error sending to or when arriving on API ?) From Android 3.2, choregraphy is executed but I there is an issue preparing step #1, because if I set LED1, 2 and 3 to red color and nothing for LED 0 (bottom) and 4 (noze), in fact LED 1 and 2 light red, but LED 3 is off, and then step #1 and following steps are correctly executed. Could you also (and by default) divide time by 10 the tempo when sending to OJN servers (time scale between OJN and NabAlive is 1/10 different).
French translation is a good idea/point but some words are misspelled, I will help you about that : ENGLISH - FRENCH used (not really used) Validate - Valider Save - Enregistrer (or Sauvegarder) Send - Envoyer Run - Exécuter (and not Courir) Cancel - Annuler Calibrate - Initialiser (or Calibrer) Sleep - Coucher or Endormir Wake up - Lever or Réveiller Speech - Parler (or Parole) Choregraphy - Chorégraphie (Play a) Sound - (Jouer un) Son LED - DEL Light - Lumière or Lampe or Voyant Ear - Oreille Male - Masculin (or Mâle) Female - Féminin (or Femelle)
Some little mistakes : - Everywhere : Oreille (Ear) and Lampe/Lumière (Light) are "female", so need an "e" at the end of word "Droite" (Right) and "Il semble que vous n'avez paf configurè votre lapin, aucun des caractèristiques de cett app fonctionera jusqu- ce que vous modifiez les erreurs." Souhaitez-vous faire ces chagements maintenant?" to replace with "Il semble que vous n'ayez pas configuré votre lapin, aucunes des actions de cette application ne fonctionneront tant que vous ne l'aurez pas fait. Souhaitez-vous le configurer maintenant ?" - in Choregraphy step menu : "orielle droit" to replace with "oreille droite" and "de nez" to replace with "du nez" - in Sound menu : "Choisi fiche de memoire" to replace with "Choisir un .mp3 stocké en mémoire" (Choose a .mp3 file stored in memory) and "Erreur: Le fichè dois etre .mp3" to replace with "Erreur: le fichier doit être au format .mp3" and "Save" bottom/menu is not translated - in Parameters menu : take care of accent such as "e", "é", "è", "ë" and "a", "à". "Paramètre général", "lapin déjà enregistré", "Liste de tous les lapins actuellement enregistrés", "Chorégraphie", "Paramètres liés à la chorégraphie"
Please, could you copy/paste here the integral text of "Aide" (French Help) ? Need also to spell it, but too long to retype it manually...
Thanks again for your great works.
| |
| | | Roarster31 Lapin nain
Age : 29 Localisation : GreatBritain Nbr de messages : 47 Carottes : 4755
| Sujet: Re: Android application Lun 26 Mar 2012 - 21:45 | |
| Good, ok, i've put together the help file into a text file so you can have a look: Textfile... it's quite big and i can't seem to replicate the problem with the nose that you're having... i can't remember when but i thought i remembered fixing some sort of light problem... i'm on violet so it might be an OJN problem, are you on on the latest version? I've fixed the timing thing i think, was OJN just 1/10 faster than violet?(i've just multiplied by 10 ) I like the layout on android 3.2+ with the top bar, i think i'll put that in the next release but for older devices, it should mean a cleaner interface | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Lun 26 Mar 2012 - 21:50 | |
| Sorry, I've performed some more tests and I've updated my last post at the same time you've answered. | |
| | | Usagi_the_Rabbit Special Nabz
Age : 48 Localisation : RF, Moscou Nabaztag : Vivi (v2), Floppy (v2) Nbr de messages : 1313 Carottes : 6019
| Sujet: Re: Android application Dim 1 Avr 2012 - 0:40 | |
| Hey, just now your app was updated! I like this new look. Keep it up. Great work! Tomorrow will check the functionality. But I'm sure all will be ok. Thx! | |
| | | Roarster31 Lapin nain
Age : 29 Localisation : GreatBritain Nbr de messages : 47 Carottes : 4755
| Sujet: Re: Android application Dim 1 Avr 2012 - 0:46 | |
| thnx, yes v1.3 i hope nothings gone wrong since the last version... I just like the way the bar looks and it means you can access the menu options without a menu button japanas and i just got a karotz so... Who could do with a karotz app? Or are you all content with the mindscape app? | |
| | | Moon´s Heart Crazy Geek
Age : 55 Localisation : Liège, Belgique Nabaztag : Irina (tag³), Ryu (tag³), Summer (tag³), Tchantchès (tag³ mutant humanoïde), Yoko (tag³) Nbr de messages : 15886 Carottes : 103606
| Sujet: Re: Android application Dim 1 Avr 2012 - 1:35 | |
| I just test the update! It's excellent! I like the new look too! Just a little problem is to load a choregraphy from file. It quit the applet. _____________________________ | |
| | | Roarster31 Lapin nain
Age : 29 Localisation : GreatBritain Nbr de messages : 47 Carottes : 4755
| Sujet: Re: Android application Dim 1 Avr 2012 - 9:25 | |
| - Citation :
- Just a little problem is to load a choregraphy from file. It quit the applet.
Fixed in v1.3.1 | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Dim 1 Avr 2012 - 11:34 | |
| Great job on interface/display.
On my Android 3.2 tablet, menus are displayed in English and only "Speech" works, others crash the app.
On my Android 2.2 smartphone, looks fine excepted : choregraphy for OJN servers, same things (tempo to slow, first step wrong) and "Sound" MP3 file is not played on Violet or OJN Nabaztags | |
| | | Roarster31 Lapin nain
Age : 29 Localisation : GreatBritain Nbr de messages : 47 Carottes : 4755
| Sujet: Re: Android application Dim 1 Avr 2012 - 12:12 | |
| would multiplying the initial time by 10 solve the problem for OJN servers? | |
| | | Japanas Gold Nabz
Localisation : Nabazland Nbr de messages : 558 Carottes : 5910
| Sujet: Re: Android application Dim 1 Avr 2012 - 13:00 | |
| Actually, as it is displayed by your app, choregraphy on OJN is about 10x lower than on Violet. So, I would rather say divide by 10 for OJN (or multiply by 10 for Violet). | |
| | | Roarster31 Lapin nain
Age : 29 Localisation : GreatBritain Nbr de messages : 47 Carottes : 4755
| Sujet: Re: Android application Dim 1 Avr 2012 - 14:07 | |
| This should work right? Violet chor=10,1,led,2,255,0,0 - Citation :
- choregraphy for NabAlive (10 = 0,1s)
so... 10=0.1 seconds 1x0.1=0.1 plays on the first 0.1 secondOJN chor=0.1,1000,led,2,255,0,0 - Citation :
- choregraphy for OJN (10 = 10 ms = 0,01s)
so... 0.1=0.0001 seconds 1000x0.0001=0.1 plays on the first 0.1 secondThe reason i've got the OJN timings set so high is so that i can add on little bits at the end to get them working simultaneously, can't change it now though as people have saved them already using this scale... in hindsight i'd have them in the hundreds, not the thousands as i don't know if i can send "0.1" to OJN | |
| | | Contenu sponsorisé
| Sujet: Re: Android application | |
| |
| | | | Android application | |
|
Sujets similaires | |
|
| Permission de ce forum: | Vous ne pouvez pas répondre aux sujets dans ce forum
| |
| |
| |