# I need help making a census app and pet tracker

**URL:** <https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549>\
**Category:** Questions about Thunkable X\
**Created:** [November 3, 2020, 6:55am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549 "2020-11-03T06:55:18Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 8, 2020, 7:07am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/21 "2020-11-08T07:07:01Z")

</div>

When I live test it on my phone, the app is crashing when it’s time for the location sensor block to come into play.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 8, 2020, 7:09am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/22 "2020-11-08T07:09:07Z")

</div>

happened twice

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 8, 2020, 1:17pm UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/23 "2020-11-08T13:17:45Z")

</div>

The location sensor returns STRING values, but the Map needs NUMERIC values.

(I wish thunkable would fix this)

To solve the problem:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/2/c2b31c1f5ed0ba9a2fd1c9b76716c49d26b3a983.png)

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 8, 2020, 1:44pm UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/24 "2020-11-08T13:44:44Z")

</div>

Thanks very much for this😊 This is the first time I’m using either component, so I wasn’t aware of this.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 9, 2020, 5:52am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/25 "2020-11-09T05:52:50Z")

</div>

Hi!  
The map is showing up now, but its location is San Francisco for some reason. Since that’s _not_ where I am, could you please tell me what the issue might be? I added @drted’s suggestion of +0 blocks. That’s what made the map visible, but there’s no marker, and definitely the wrong location.  
Thanks!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 9, 2020, 7:23am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/26 "2020-11-09T07:23:20Z")

</div>

You have to set the map’s latitude and longitude before placing any markers:

 ![Screen Shot 2020-11-08 at 11.21.46 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/7/e7f32b63d4aa1dce3535f44026aefb41c8ce877c.jpeg)

See [Maps by Google and Apple - ✕ Docs](https://docs.thunkable.com/map) for more details about this.

I recommend always Googling _[component] thunkable_ when starting to use a new component (e.g. map).

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 9, 2020, 7:25am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/27 "2020-11-09T07:25:55Z")

</div>

I do that: [community.thunkable.com](http://community.thunkable.com) always turns up(or docs). Thanks for the help!

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 9, 2020, 7:27am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/28 "2020-11-09T07:27:07Z")

</div>

Without all your answers, I wouldn’t have progressed one bit in the app! Thanks to all the Thunkers!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 9, 2020, 7:32am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/29 "2020-11-09T07:32:06Z")

</div>

You’re welcome.

Here’s a demo I just made to test this:

> **[Thunkable](https://x.thunkable.com/copy/b5469866b4983276310ad1ab43e30dff)**

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 9, 2020, 9:30am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/30 "2020-11-09T09:30:06Z")

</div>

Thanks so much! This is working wonderfully!!

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 10, 2020, 5:28am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/31 "2020-11-10T05:28:50Z")

</div>

Is there any way I can share the map in a SMS? Because the app needs to send the location as well.  
And, the app allows you to take a photo of the dog, or upload one from your phone. When I try the app(live test), it send the file link instead of the image itself. I do know that there is a ‘share image’ option with the share component, but that only allows you to share it on Whatsapp. I’m looking for a SMS here.  
Any ideas?  
Thanks,  
@codeswept

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 10, 2020, 10:02am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/33 "2020-11-10T10:02:13Z")

</div>

Are you trying to send the message to users of your app or non-users?

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 10, 2020, 12:03pm UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/34 "2020-11-10T12:03:11Z")

</div>

From users to non-users

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 10, 2020, 3:24pm UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/35 "2020-11-10T15:24:19Z")

</div>

I don’t have a lot of experience with Cloudinary but I believe you’d upload the images there and then share the url it generates:

[https://docs.thunkable.com/media-db](https://docs.thunkable.com/media-db)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 10, 2020, 3:39pm UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/36 "2020-11-10T15:39:37Z")

</div>

I don’t know for pictures, I would use cloudinary. You can send a Google map url with the location

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 10, 2020, 3:49pm UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/37 "2020-11-10T15:49:29Z")

</div>

> [@drted](#):
>
> I don’t know for pictures, I would use cloudinary. You can send a Google map url with the location

That’s probably a better idea. Just generate a valid Google Map url from the lat/lon info.

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 11, 2020, 1:09am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/38 "2020-11-11T01:09:16Z")

</div>

another design possiblity. It sound like your app is designed so that users who are concerned about animal tracking will download your app and share pictures of animals with their contacts who do NOT have your app. You might think about including a link to your app to recruit users who are concerned about the problem. That would allow friends of friend of friends of friends to communicate more effectively through your app. That would make up for some of the limitations of communicating outside of Thunkable.

Just a thought. I’m getting excited about seeing your app!

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 11, 2020, 5:37am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/39 "2020-11-11T05:37:00Z")

</div>

> [@drted](#):
>
> friends of friend of friends of friends

😃 Yes, that’s true. The app is _also_ supposed to send a SMS to an Animal Care center. Currently I have a default care center, but it would be better to find one near the user. I saw this tutorial by @darren, (Brewbase app) that finds the location , name, and website of nearby microbreweries, but I’m still not so sure on how to do it.

> [@tatiang](#):
>
> I don’t have a lot of experience with Cloudinary

I’ve also never used Cloudinary, even after referring to the docs, but I think I’ll try that. When I tried to place ‘location’ block from location sensor, it seemed to be a number with lots of decimal places. For example, if I’d used the app when at, say, Disney world, it would have generated a number instead of ‘Disney World’. So I don’t really know how to generate the url, because I don’t understand the location number. And, yes, there is going to be a share app feature. Thanks for all the ideas, once again!

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 11, 2020, 5:38am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/40 "2020-11-11T05:38:22Z")

</div>

I’ll definitely give media-db a go. Will the media be accessible to all users of the app?

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [November 11, 2020, 6:37am UTC](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549/41 "2020-11-11T06:37:57Z")

</div>

Thank you so much @tatiang and @drted! I just tested the cloudinary version of my app, and it’s working really well! The link to the image in the cloud is getting sent in an SMS.

> [@tatiang](#):
>
> Just generate a valid Google Map url from the lat/lon info.

Any idea on how to do that?

[Previous page](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549.md?page=1)

[Next page](https://community.thunkable.com/t/i-need-help-making-a-census-app-and-pet-tracker/948549.md?page=3)
