Forum des Objets Communicants et Solutions pour les Libérer...
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.

Forum des Objets Communicants et Solutions pour les Libérer...


 
AccueilAccueil  GalerieGalerie  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  Connexion  

 

 Android application

Aller en bas 
+7
ago
Lounatique
Japanas
Moon´s Heart
jpp77350
Usagi_the_Rabbit
Roarster31
11 participants
Aller à la page : Précédent  1, 2, 3, 4, 5, 6  Suivant
AuteurMessage
Roarster31
Lapin nain
Lapin nain



Nbr de messages : 47

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMar 13 Mar 2012 - 15:22

Japanas a écrit:
Tablet (Teleport) MID7C

hmmmmm... i've checked all sorts of places, and i can't figure out why... when i get home i'll put up the apk file here so you can download from here. nabzlol You will need to enable "allow installation of non-market applications" under the applications menu in settings...
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMar 13 Mar 2012 - 16:53

Roarster31 a écrit:
when i get home i'll put up the apk file here so you can download from here
Thanks, good idea.
(if you don't to publish it for everybody, I can send you my email by PM)

Roarster31 a écrit:
You will need to enable "allow installation of non-market applications" under the applications menu in settings
Already done.
My 7" MID7C tablet have not the original/full Android Market / Google Play, maybe that why it says "not compatible".
I have installed some apps with limited Android Market and somes others with the .APK files found on the Net.
Revenir en haut Aller en bas
Roarster31
Lapin nain
Lapin nain
Roarster31


Age : 28
Localisation : GreatBritain
Nbr de messages : 47
Carottes : 4553

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMar 13 Mar 2012 - 18:29

Ok, here's the file: Swiss Army Carrot i don't mind posting it here, it's a pretty stable version nabzsmile Let me know if it doesn't work though
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMar 13 Mar 2012 - 21:22

Thanks again, your app is now installed and running/working on my 7" tablet cheers

About choregraphy :
- need also a "Run" software menu button for Android 2.2 smartphone/tablet without physical menu button (ok under Android 3.2)
- seems that choregraphy is built for OpenJabNab servers, but does not work properly for NabAlive/Violet servers
because tempo is not executed in the same way (I have experienced the same with my Weather choregraphies)
OJN tempo/counter starts since the beginning of the choregraphy (10, 20, 30, ...)
NabAlive tempo/counter starts since each last action (10, 10, 10, ...)


Dernière édition par Japanas le Mar 13 Mar 2012 - 21:35, édité 2 fois
Revenir en haut Aller en bas
Roarster31
Lapin nain
Lapin nain
Roarster31


Age : 28
Localisation : GreatBritain
Nbr de messages : 47
Carottes : 4553

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMar 13 Mar 2012 - 21:32

Ok, I think I'll put a little "run" button in the space in the top left square...
What's the problem with the choreography though? Can you go into more detail please?
Revenir en haut Aller en bas
Roarster31
Lapin nain
Lapin nain
Roarster31


Age : 28
Localisation : GreatBritain
Nbr de messages : 47
Carottes : 4553

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMar 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 nabzlol so you must have encountered the same obstacles...
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMar 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
Revenir en haut Aller en bas
Lounatique
Platinum Nabz
Platinum Nabz
Lounatique


Age : 36
Localisation : Nanterre
Nabaztag : Nabordnawak et ComNabitude
Nbr de messages : 1048
Carottes : 5418

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 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 ?
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 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) ?


Revenir en haut Aller en bas
Lounatique
Platinum Nabz
Platinum Nabz
Lounatique


Age : 36
Localisation : Nanterre
Nabaztag : Nabordnawak et ComNabitude
Nbr de messages : 1048
Carottes : 5418

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 14 Mar 2012 - 11:20

C'est sur HTC Wildfire version 2.2.1
Je n'ai pas encore essayé sur ma tablette
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 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)
Revenir en haut Aller en bas
Lounatique
Platinum Nabz
Platinum Nabz
Lounatique


Age : 36
Localisation : Nanterre
Nabaztag : Nabordnawak et ComNabitude
Nbr de messages : 1048
Carottes : 5418

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 14 Mar 2012 - 11:50

bizarre :/ Est ce que pour rentrer le token il faut mettre les tirets ?
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 14 Mar 2012 - 12:00

Adresse MAC, ne pas mettre les ":"
Token (=API Key), bien mettre les "-"
Revenir en haut Aller en bas
Lounatique
Platinum Nabz
Platinum Nabz
Lounatique


Age : 36
Localisation : Nanterre
Nabaztag : Nabordnawak et ComNabitude
Nbr de messages : 1048
Carottes : 5418

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 14 Mar 2012 - 12:20

Ha nabzcache ca doit venir de la alors mon souci

Je vais donc retenter dès que possible nabzshy Merci Japanas
Revenir en haut Aller en bas
Roarster31
Lapin nain
Lapin nain
Roarster31


Age : 28
Localisation : GreatBritain
Nbr de messages : 47
Carottes : 4553

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 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... nabzsteam 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!! nabzjump 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 nabzboot it'll have french support!! (and a few other things) yellownabzsmile
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeMer 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... nabzsteam 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...
Revenir en haut Aller en bas
Roarster31
Lapin nain
Lapin nain
Roarster31


Age : 28
Localisation : GreatBritain
Nbr de messages : 47
Carottes : 4553

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeVen 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... nabzcry

V 1.1
Updated:
  • Added French translation!! nabzflower
  • 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 Smile

and i have a few more features i'm planning on adding at some point nabzpee


Dernière édition par Roarster31 le Sam 24 Mar 2012 - 23:21, édité 2 fois
Revenir en haut Aller en bas
Usagi_the_Rabbit
Special Nabz
Special Nabz
Usagi_the_Rabbit


Age : 48
Localisation : RF, Moscou
Nabaztag : Vivi (v2), Floppy (v2)
Nbr de messages : 1313
Carottes : 5817

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeSam 24 Mar 2012 - 6:01

Thank you! nabzflower
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeDim 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
Revenir en haut Aller en bas
Roarster31
Lapin nain
Lapin nain
Roarster31


Age : 28
Localisation : GreatBritain
Nbr de messages : 47
Carottes : 4553

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeDim 25 Mar 2012 - 21:19

woops, should be fixed now (v1.2)
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeLun 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.
Revenir en haut Aller en bas
Roarster31
Lapin nain
Lapin nain
Roarster31


Age : 28
Localisation : GreatBritain
Nbr de messages : 47
Carottes : 4553

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeLun 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 nabzcache

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? nabzasking

I've fixed the timing thing i think, was OJN just 1/10 faster than violet?(i've just multiplied by 10 Smile )

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
Revenir en haut Aller en bas
Japanas
Gold Nabz
Gold Nabz



Localisation : Nabazland
Nbr de messages : 558
Carottes : 5708

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeLun 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.
Revenir en haut Aller en bas
Usagi_the_Rabbit
Special Nabz
Special Nabz
Usagi_the_Rabbit


Age : 48
Localisation : RF, Moscou
Nabaztag : Vivi (v2), Floppy (v2)
Nbr de messages : 1313
Carottes : 5817

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeDim 1 Avr 2012 - 0:40

Hey, just now your app was updated! I like this new look. nabzinlove
Keep it up. Great work!
Tomorrow will check the functionality. But I'm sure all will be ok. Thx!
Revenir en haut Aller en bas
Roarster31
Lapin nain
Lapin nain
Roarster31


Age : 28
Localisation : GreatBritain
Nbr de messages : 47
Carottes : 4553

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeDim 1 Avr 2012 - 0:46

nabzflower 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 nabzjump so... Who could do with a karotz app? Or are you all content with the mindscape app?
Revenir en haut Aller en bas
Moon´s Heart
Crazy Geek
Crazy Geek
Moon´s Heart


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 : 103404

Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitimeDim 1 Avr 2012 - 1:35

I just test the update! hammer

It's excellent! cheers

I like the new look too!

Just a little problem is to load a choregraphy from file. It quit the applet.



Revenir en haut Aller en bas
http://www.moonsheart.com
Contenu sponsorisé





Android application  - Page 2 Empty
MessageSujet: Re: Android application    Android application  - Page 2 Icon_minitime

Revenir en haut Aller en bas
 
Android application
Revenir en haut 
Page 2 sur 6Aller à la page : Précédent  1, 2, 3, 4, 5, 6  Suivant
 Sujets similaires
-
» Muet
» [Téléphone] Android + Nabaztag = DroidBaztag
» [Android] OJNCommander [Projet ABANDONNE]
» Mise en route depuis android
» Simples api client pour Android

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Forum des Objets Communicants et Solutions pour les Libérer... :: IV. I Don't Speak French! :: First Contact-
Sauter vers: