Android sends real-time maps and Android real-time maps

Source: Internet
Author: User

Android sends real-time maps and Android real-time maps

In most instant messaging, the sending location function is available. When sending a location, you should note that the items in the chat interface display real-time maps, such:

How is this implemented?

In fact, this is very simple. Every major map provider has a static map API. If you call this API to input relevant parameters, it is equivalent to obtaining an image display from the network, is it easy for everyone to display a network image?

In use is AMAP, we now take Baidu map for example, Baidu map static map API address: http://developer.baidu.com/map/index.php? Title = static/static-1

Call the interface: http://api.map.baidu.com/staticimage? Width = 400 & height = 200 center = Beijing & markers = Baidu tower | 116.403874, 39.914888 & zoom = 17 & markerStyles = s, A, 0xff0000

The parameters you need to input are center, markers, and your current latitude and longitude. Open this link and you will see:



It is actually a network image. Now you know how to get this network image, and you will be able to handle the next thing on your own! For more details, visit the official Baidu MAP website!


How does Android send images to the screen in real time?

Currently, Android does not support this function. However, you can use the 91 mobile assistant or pea pod software to take screenshots of your mobile phone on your computer.
 
I want to create an android program for real-time video transmission.

Hello:
If you want to ensure that there is no delay in real-time transmission, of course, it is best to use a wired connection. If you do not enable a transit device, the distance stability of the valid Wi-Fi transmission should not exceed 20 meters, we also recommend that you do not use this method to conduct behaviors that do not conflict with morality and law.
In fact, the complex things you want, you can simply use the current 3G network to achieve this function, of course, if you want to perform such a synchronization connection for a long time, the power is hard to hurt, the Network Data Synchronization lasts for no more than two hours.
Unfortunately, there is indeed no real-time synchronization of point-to-point cameras based on wifi. This is a type of Local Area Network Software for video calls, but if it is not compressed by network processing, you have to work hard on your Android app and make adjustments based on different models. I wish you a successful Android app. Remember to make it more complete only when you open your shares.

Have a good time =, = ~ If you have other questions, you can directly discuss them with hi or + Q. If you want to know the latest information, you can join Baidu Steel's 7-in-one life-long honor group.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.