-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sample to Velo + change colors + change credentials
- Loading branch information
1 parent
0721a49
commit 22e3fad
Showing
4 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,15 +31,15 @@ public void MainClickMethod(View view) { | |
|
||
if(view.getId() == R.id.storelocator_btn){ | ||
|
||
JSONObject obj= new JSONObject(); | ||
try { | ||
obj.put("user", "guillaume|[email protected]"); | ||
obj.put("mode", "quizonly"); | ||
} catch (JSONException e) { | ||
e.printStackTrace(); | ||
} | ||
|
||
CritizrSDK.getInstance(apiKey).openFeedbackActivity(this, this, obj); | ||
JSONObject object = new JSONObject(); | ||
try { | ||
object.put("mode", "feedback"); | ||
object.put("user", "YXJuYXVkfGFybmF1ZC5sYW5jZWxvdEBjcml0aXpyLmNvbQ=="); // arnaud|[email protected] en BASE64 | ||
} catch (JSONException e) { | ||
e.printStackTrace(); | ||
} | ||
|
||
CritizrSDK.getInstance(apiKey).openFeedbackActivity(this, this, object); | ||
}else if(view.getId() == R.id.my_store_btn){ | ||
MainActivity.this.startActivity(new Intent(this, MyStoreActivity.class)); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">Bolibio</string> | ||
<string name="app_name">Velo</string> | ||
<string name="critizr_api_key">7f614697ac3524af3ca4ce0df9164caf</string> | ||
<string name="external_place_id">velo-aix-en-provence</string> | ||
<string name="click_here">Cliquer ici</string> | ||
<string name="click_here_to_see_your_store">Accéder à votre page magasin</string> | ||
<string name="send_a_feedback">Envoyer une remarque</string> | ||
<string name="welcome_to_bolibio_france">Bienvenue chez Bolibio France</string> | ||
<string name="bolibio_valencienne">Bolibio Paris XI</string> | ||
<string name="welcome_to_bolibio_france">Bienvenue chez Velo France</string> | ||
<string name="bolibio_valencienne">Velo Aix En Provence</string> | ||
<string name="opening_hours">9h-12h et 14h-19h</string> | ||
<string name="opening_days">Ouvert du lundi au samedi</string> | ||
<string name="contact_director">Contacter le gérant</string> | ||
<string name="contact_another_director">Pour contacter le gérant d\'un autre magasin :</string> | ||
</resources> | ||
</resources> |