This file contains hidden or 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
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="info.degois.damien.android.CustomFontHtml" | |
| android:versionCode="1" | |
| android:versionName="1.0" > | |
| <uses-sdk | |
| android:minSdkVersion="16" | |
| android:targetSdkVersion="23" /> | |
| </manifest> |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.module.candychat.net"> | |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
| <uses-permission android:name="android.permission.INTERNET" /> | |
| <uses-permission android:name="android.permission.CAMERA" /> | |
| <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
| <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | |
| <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
This file contains hidden or 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
| -(void)RequestUpdateAvatarImage:(UIImage *) image VDOMAXUserID:(int ) userid withToken:(NSString *) token UserPassword:(NSString *) pass{ | |
| NSString * urlString = [NSString stringWithFormat:@"%@/request.php?t=avatar&a=new&user_id=%d&token=%@&user_pass=%@",kIPServiceAddress,userid,token,pass]; | |
| NSString* encodedUrl = [urlString stringByAddingPercentEscapesUsingEncoding: | |
| NSUTF8StringEncoding]; | |
| NSDictionary * params = [[NSDictionary alloc] initWithObjectsAndKeys:[NSString stringWithFormat:@"%d",userid],@"timeline_id", | |
| nil]; |
This file contains hidden or 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
| <root>: 51854 | |
| <default>: 1 | |
| android: 19970 | |
| accessibilityservice: 6 | |
| accounts: 7 | |
| animation: 53 | |
| app: 295 | |
| appwidget: 2 | |
| content: 318 | |
| pm: 34 |
This file contains hidden or 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
| package com.candychat.net.activity; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.support.design.widget.TabLayout; | |
| import android.support.v4.app.Fragment; | |
| import android.support.v4.view.ViewPager; | |
| import android.widget.Toast; |
This file contains hidden or 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
| public class MediaManager { | |
| private static MediaPlayer mMediaPlayer; | |
| private static boolean isPause; | |
| public static void playSound(String filePath, | |
| OnCompletionListener onCompletionListener) { | |
| if(mMediaPlayer==null) | |
| { | |
| mMediaPlayer=new MediaPlayer(); |
This file contains hidden or 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
| Intent intent = new Intent(activity, PhotoPagerActivity.class); | |
| ArrayList<String> urls = new ArrayList<>(); | |
| String imageUrl = dataObj.optString("url"); | |
| urls.add(0, imageUrl); | |
| intent.putExtra("current_item", 1); | |
| intent.putStringArrayListExtra("photos", urls); | |
| activity.startActivity(intent); |
This file contains hidden or 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
| // | |
| // StickerView.swift | |
| // | |
| // Created by Kampanat Sarasri on 13/02/2016. | |
| // | |
| // | |
| @objc protocol CustomKeyboardPanelDelegate { | |
| func customKeyboardPanelDidSelectSticker(sticker: Sticker) | |
| func customKeyboardPanelDidSelectEmoji(emojo: String) |
This file contains hidden or 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
| package com.hs.image; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.graphics.Bitmap; | |
| import android.graphics.BitmapFactory; | |
| import android.os.AsyncTask; | |
| import android.widget.ImageView; |
This file contains hidden or 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
| @Subscribe | |
| public void onGetRecentChatSuccess(GetRecentChatSuccess event) { | |
| List<ListChatCoverstion.ContentEntity> recentChatList = event.response.getContent(); | |
| list.clear(); | |
| unreadMessageBadgeCount = 0; | |
| for (int i = 0; i < recentChatList.size(); i++) { | |
| ListChatCoverstion.ContentEntity recentChat = recentChatList.get(i); | |
| List<ListChatCoverstion.ContentEntity.ConversationMembersEntity> conversationMembers = recentChat.getConversationMembers(); |