Tamamlanmış

add/change codes to use new information's that will add by admin panel

I made a conference call with 4 groups to make call there by the admins, but I wanted to add more groups and it was so hard for me that add new group in the code. so I made a admin panel with asp.net to add new groups/admins/keys to firebase. I want change old codes to use of new information's that will added by admin panel in the firebase.

This is a new group that added by admin panel that is added in firebase:[login to view URL]

Group

-MUcorLOxukQstEgA4gy

ID: "EN000113"

Name: "ENGLISH3"

HostName: "[login to view URL]"

KeyCode: "8d83f8ac-234a-4a60-9b45-05e505bbb66d"

SecretCode: "okjMIdwGv0adCJhhhGhhBw=="

This is all old codes (Android Studio) about creating a group in app&firebase:

[login to view URL]:

if (strGroupNamee != null) {

switch (strGroupNamee) {

case "ENGLISH":

sinchClient = [login to view URL]()

.context([login to view URL])

.userId([login to view URL]())

.applicationKey(APP_KEY_EN)

.applicationSecret(APP_SECRET_EN)

.environmentHost(ENVIRONMENT)

.build();

break;

private static final String ENVIRONMENT = "[login to view URL]";

private static final String APP_KEY_EN = "8d83f8ac-234a-4a60-9b45-05e505bbb66d";

private static final String APP_SECRET_EN = "okjMIdwGv0adCJhhhGhhBw=="; 

/////// "ENGLISH" = "EN"//////////

private String populateGroupList(String key) {

HashMap<String, String> groupId = new HashMap<>();

[login to view URL]("ENGLISH", "EN000111");

[login to view URL]("EN000111", "EN000111");

return [login to view URL]([login to view URL]());

////////////////////////////////////////////////////////////////////////

//[login to view URL]:

private List<ConferenceModel> populateGroupList() {

[login to view URL](new ConferenceModel("ENGLISH", "", "EN000111"));

final ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>([login to view URL], android.R.layout.select_dialog_item);

[login to view URL]("ENGLISH");

@Override

public void onClick(DialogInterface dialog, int which) {

String strName = [login to view URL](which);

if (strName != null) {

switch (strName) {

case "ENGLISH":

String codeEng = "EN000111";

HashMap<String, Boolean> data = new HashMap<>();

[login to view URL]("role", true);

[login to view URL]("Groups").child(codeEng).child([login to view URL]()).setValue(data);

[login to view URL]("Users").child([login to view URL]()).child("userGroupID").setValue(codeEng);

[login to view URL]("Groups").child([login to view URL]()).child([login to view URL]()).removeValue();

[login to view URL](codeEng);

[login to view URL]("Group ID: " + [login to view URL]());

[login to view URL]("ENGLISH");

break;

////////////////////////////////////////////////////////////////////////

FirebaseDatabase

//[login to view URL]:

private void getGroupUsersInfo(final String userId) {

mDatabase = [login to view URL]().getReference();

// [login to view URL]().setPersistenceEnabled(true);

refroot = [login to view URL]("Users").child(userId);

final ProgressDialog progressDialog = new ProgressDialog([login to view URL]);

[login to view URL]("Please Wait");

[login to view URL]();

ValueEventListener eventListener = new ValueEventListener() {

@Override

public void onDataChange(DataSnapshot dataSnapshot) {

[login to view URL]();

if ([login to view URL]()) {

//create new user

UserNode userNode = new UserNode();

[login to view URL]([login to view URL]("phoneNumber").getValue().toString());

[login to view URL]([login to view URL]("userName").getValue().toString());

if ([login to view URL]("isAdmin").getValue().toString().equals("true"))

[login to view URL](true);

else [login to view URL](false);

countinfo++;

[login to view URL](userNode);

if (countinfo == [login to view URL]()) {

groupUsersAdapter = new GroupUsersAdapter(userNodeList, [login to view URL]);

[login to view URL] mLayoutManager = new LinearLayoutManager(getApplicationContext());

[login to view URL](mLayoutManager);

[login to view URL](new DefaultItemAnimator());

[login to view URL](groupUsersAdapter);

}

}

Beceriler: Android, Mobile App Development, Java, PhoneGap, JavaScript

Daha fazlasını gör: use admin panel create domains, learn use ecommerce admin panel, use ppt website directly admin panel, change label wordpress admin panel, use photo designer admin panel, easy use admin panel, use admin panel yii, New PHP Based Website With Admin Panel CMS, Re-design this website http://www.startersleningwijzer.nl/ New design for all (4) pages Please use the logo\ s of the banks The , Re-design this website http://www.startersleningwijzer.nl/ New design for all (4) pages Please use the logo\ s of the banks , New design for all (4) pages Please use the logo\ s of the banks , how to use admin panel finder, how to change theme name in wordpress admin panel, how to change admin panel opencart password, how to change powered by opencart in admin panel, use qr codes to store information in a database, ionic 5 food delivery app for android & ios with complete admin panel (ready to use app) nulled, how to use admin panel, ionic 5 food delivery app for android & ios with complete admin panel (ready to use app) (nulled)

İşveren Hakkında:
( 3 değerlendirme ) Oosthuizen, Netherlands

Proje NO: #29477638

Seçilen:

Fespinosa17

Hello. It is easy for me. Please hire me. Regards, Franklin

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% EUR
(31 Değerlendirme)
5.1

Bu iş için 3 freelancer ortalamada €40 teklif veriyor

baltickriscoder

Dear Client, Nice to meet you. I am very interseted in your App job. I have more than 8 years great experience in mobile application development on Android and iOS platform using kotlin, objective-c, swift programming Daha Fazla

€50 EUR in 7 gün içinde
(27 Değerlendirme)
4.9
sharmaalana1

HI I am experienced in [login to view URL] [login to view URL] [login to view URL] etc I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for Daha Fazla

€19 EUR in 7 gün içinde
(0 Değerlendirme)
0.0