How can i draw for interactive story in android studio? - draw

I want to create an interactive story for android studio.
This means that the images i draw on paper and put it in my app.
I like when user clicked on some images ,images move.
Thanks

Related

Which web framework or library to use for displaying PNG images and basic shapes on them on a web page with unique url per image?

I would like to create a webpage that displays one image at a time with shapes and annotations shown over it. Each image should have a unique URL address in the address bar.
I have a set of images as PNGs. For each image there is a set of shapes (rectangles, polylines - as pairs of x,y coordinates in pixels) and annotations (location on the image x, y in pixels and a short text as string) to be displayed over it.
When user loads the unique url for an image they should see it with shapes displayed on top of it and annotation markers shown as circles. When user presses a button labeled „next“ the page loads the next PNG with its corresponding shapes and annotations. User can click on an annotation marker and a text balloon should open to show the text for the annotation.
How to approach developing this? I am asking since I don’t have an overview of web app frameworks or the current best practices for databases and graphic formats for online content.
I have experience in programming - Python, datascience, Procedural geometry, Unity for game development (C#), Lua - but not for the web.
I can do a WebGL app using Unity to do what i want and link it to a MySQL database but it feels like shooting a fly with bazooka. Maybe there is an easier, simpler way. Any advice or tips would be appreciated.
The best tip, I think, is in one of the tags of your question: canvas.
Images can be drawn onto it, as well as shapes. To handle your markers you could compare the coordinates of a click on the canvas to the coordinates of your markers (see this post for further info on getting the click coordinates). The annotation balloons could be realised by hiding or showing a simple <div> on click.
As for web app frameworks, depending on how fancy it should be you could do it "by hand" in native html and css, or use something with nice predefined components, like Bootstrap.
Depending on where you will be hosting this webpage, you will, or will not have to worry about the backend/server. There are numerous hosting providers available that provide user-friendly admin panels.

Square Live Tile with image collection

How do I create 150x150 square live tile with image collection in Windows Phone 8.1? There seem to be no template defined however few apps like People have it.
All the tile templates available are listed here: https://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
Built-in native apps, such as the People hub or Cortana, have access to special live tile templates. As far as I know, there is no way for third-party developers to use them.

Windows Phone 8.1 Custom Live Tile Template

I am trying to create a Live Tile with a different layout that the ones defined in the tile template catalog. Specifically, I want text to appear on top of an image for the 150x150 tile. Is there a way to do this for a Windows 8.1 app? I do not see this template for that size. Thanks
http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
if you want to create a custom live tile you have to create image and use it as a background for your live tile.
Take a look at this post: http://spasol.wordpress.com/2013/06/24/creating-custom-live-tiles-for-windows-phone/ the Update Live Tile with custom parameters section.
Additionally If you need to update your live tile using background task you need to use http://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.media.imaging.xamlrenderingbackgroundtask.aspx

How to create Tiles like UI within WP8 app?

How to create Tiles like UI within our app. If I use a button with image, its showing with borders. If I create a secondary tile, then the tile is getting created on the start screen.
Is there any way to create UI which looks similar to Tiles?
Thanks.
You can use Hub Tile from Windows Phone Toolkit. If you want many tiles in your apps, all arranged like in the start screen of Windows Phone device, then you should use Wrap Panel as container for those Hub Tiles. You can also create Tile like UI control as demonstrated very well by #Xin here

Visually aligning a jpeg image to Google Maps in preparation for Photoshop tile cutter

I'm looking to add a custom tile overlay of my university campus on top of a Google Map. What I have is a jpeg image of my university campus layout, and what I'm trying to figure out is how to align it to the existing Google Maps such that I know the top leftmost tile coordinate which I need in order to then run the image through the Photoshop tile cutter script found at http://brokenbytes.info/tuts/documentation/examples/tilecutter.php.
The tool at http://anymap.org/GmapImage2TileGenerator/ sounded perfect for this job, but it looks as though it's only just been moved over to a new server and is proving buggy for me (I enter the image URL of my campus, but then it never shows an overlay of it on top of the map).
Are there any other tools available which can help with visually aligning an image/prepping it for the tile cutter, when the image itself has no geo information immediately attached to it?
The easiest is probably to use the latest MapTiler (from http://www.maptiler.com/) and it's visual georeferencing functionality.
See the video tutorial we prepared: https://www.youtube.com/watch?v=eJxdCe9CNYg