Page 1 of 2
SMiley
Posted: Mon Dec 09, 2013 5:06 am
by Ashok
I have a input box ,i want to implement smileys option in that...;. i dont want to use the stock smileys i want to implement the smiley found on whatsapp type.... cud u pls give me a solution i even want to give a toolbar to insert smiley .jpg?1386565506]
.jpg?1386565549]
inline.jpg?1386565549[/img] [/url]
SMiley
Posted: Mon Dec 09, 2013 5:17 am
by maxkatz
You would need to code such feature.
SMiley
Posted: Mon Dec 09, 2013 12:30 pm
by Ashok
OK ok thank you..... i have another issue i want to implement the contact service provided by appery...
i created the service, i have a list item containing 2 labels and a button...
i mapped the response parameters ie. the ActualName to the first label and PhoneNumbers=value onto the other label and on the click of the submit button i called the service.... i exported the .apk intalled on my phone but when i click the button it just keeps the loading symbol .... and it doesnt stop... cud u pls guide me through i am not able to operate this feature....if i am making any errors cud u pls let me know and give me a step by step way to use this service
SMiley
Posted: Mon Dec 09, 2013 1:39 pm
by Kateryna Grynko
Hi Ashok,
What is the Android version you use? Please share the application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.
SMiley
Posted: Tue Dec 10, 2013 10:11 am
by Ashok
I am using Version 4.2.2 on my device ...and the application just contains the above mentioned components thats it... i am sorry i dont have permissions to share the app with you
SMiley
Posted: Tue Dec 10, 2013 2:47 pm
by Illya Stepanov
Hi Ashok,
Sorry but in this case you'll need to code and debug it yourself. We can't predict the errors.
SMiley
Posted: Thu Dec 12, 2013 7:19 am
by Ashok
Ok ok thank you can u also pls help me in one more problem which i am facing.... i have a column in parse database i want to calculate the sum of the numeric values in that column... i dont want any cloud code since i aint familiar with it pls help me with the code which i can perform on Parse or the Appery Platform
SMiley
Posted: Thu Dec 12, 2013 11:30 am
by Kateryna Grynko
Hi Ashok,
You can save an array of value in a localStorage variable (https://getsatisfaction.com/apperyio/...) and then count a sum using this JavaScript code:prevar sum = 0;
for(i = 0; i < length; i++) {
value = parseFloat(arr);
if (value) {
sum += value;
}
}/preWhere 'length' is an array length,
'arr' is an array itself.
SMiley
Posted: Fri Dec 13, 2013 4:29 am
by Ashok
Miss Katya Yakusheva,
I am not satisfied with the answer, in the following link,
https://getsatisfaction.com/apperyio/...
Pls help me out with the algorithm, i am not sure wat algorithm to use to achieve this....
I implemented the code
return '{"Address":{"$regex":"^'+value+'", "$options":"i"}}';
but what i am suggesting is suppose i have a list which searches an address of a particular place....
The above command oly lists the elements whose letter starts with ie No.34 Old Parks Road....
Usually a person when he types in he will not know the No. 34.... so i want the search to work in such a way that not oly the starting elements i want it to search the middle and last element too! how can i alter the above code in such a way that it searches using the keyword even though the keyword is present at the first or middle or last ....
SMiley
Posted: Fri Dec 13, 2013 7:35 am
by Kateryna Grynko
Hi Ashok,
Please delete symbol "^" from your request, then the search will work for the whole string.