Search found 13 matches

Go to advanced search

by Jerry Benzie
Wed Oct 08, 2014 7:39 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

How do I add a dynamic variable to the echo response? If I don't use the format in your example above, I get a parsing error. I don't know how to replace the static data in '[{"name":"abc", "phone":"123"}]' with data received from local storage.

by Jerry Benzie
Wed Oct 08, 2014 3:53 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

Thank you. The project has been shared with Appery.io support. The name is "Check In" and I'm having trouble specifically with the "contacts" page. When you click "import contacts" the user's contacts from the native device are displayed in the upper list. This part wor...
by Jerry Benzie
Wed Oct 08, 2014 1:23 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

Is there any way you could look at my project and give me advice based on what you see?

by Jerry Benzie
Wed Oct 08, 2014 1:17 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

I may not fully understand what you're telling me to do, but when I set the echo to "getContacts._requestOptions.echo = '[{"name":"abc", "phone":"123"}]'; I get "abc" as the name of the contact when I run the app in an Android emulator. I can't ...
by Jerry Benzie
Tue Oct 07, 2014 4:32 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

Yes, but that isn't dynamic. The array I want to return is a list of contacts that the user will maintain within the app. So the size of the app will vary for each user. I want to store contactName and contactPhone in array contactList using localStorage then display each object in this array for th...
by Jerry Benzie
Tue Oct 07, 2014 4:18 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

Thank you for the fast response. The link you've provided seems to be for using echo to test a service. The echo would return static data that I would enter into the form. Is it possible to use the echo with dynamic data? Can I return an array via echo?

Jerry

by Jerry Benzie
Tue Oct 07, 2014 3:41 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

Could you please explain the echo part to me? I apologize for making this so difficult.

Thank you,
Jerry

by Jerry Benzie
Fri Oct 03, 2014 7:33 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

Would the service I need to create be a REST service or a generic service? If it's a REST service, I'm not sure what I need as a URL since I'm only accessing LS?

by Jerry Benzie
Fri Oct 03, 2014 4:03 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

I'm sure I'm not doing this correctly. Would you be able to explain the best way for accomplishing what I'd like to do?

thank you,
Jerry

by Jerry Benzie
Fri Oct 03, 2014 2:23 pm
Forum: Issues
Topic: Create a list based on localStorage array
Replies: 19
Views: 1607
 
Jump to post

Create a list based on localStorage array

Oh, and when a list item in the upper list container is pressed, both the "contacts_toStorage" and "contacts_fromStorage" events are initiated.

Go to advanced search