登录
首页 » Java » Android 高德地图驾车导航(位置服务与地图应用-15_146).zip

Android 高德地图驾车导航(位置服务与地图应用-15_146).zip

于 2019-10-07 发布
0 211
下载积分: 1 下载次数: 2

代码说明:

Android 高德地图驾车导航(位置服务与地图应用-15_146).zip

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • android NFC 例子源码下载
    android NFC 例子源码下载
    2021-04-15 20:58:54下载
    积分:1
  • Android二维码扫描源码
    【实例简介】Android二维码扫描源码
    2021-11-16 00:32:59下载
    积分:1
  • android 解锁例子源码
    package com.codeshogun.android.swipesample;import android.app.Activity;import android.os.Bundle;import android.view.GestureDetector;import android.view.MotionEvent;import android.view.View;import android.view.GestureDetector.SimpleOnGestureListener;import android.view.animation.Animation;import android.view.animation.AnimationUtils;import android.widget.ViewFlipper;public class Main extends Activity { private static final int SWIPE_MIN_DISTANCE = 120; private static final int SWIPE_MAX_OFF_PATH = 250; private static final int SWIPE_THRESHOLD_VELOCITY = 200; private GestureDetector gestureDetector; View.OnTouchListener gestureListener; private Animation slideLeftIn; private Animation slideLeftOut; private Animation slideRightIn; private Animation slideRightOut; private ViewFlipper viewFlipper; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); viewFlipper = (ViewFlipper)findViewById(R.id.flipper); slideLeftIn = AnimationUtils.loadAnimation(this, R.anim.slide_left_in); slideLeftOut = AnimationUtils.loadAnimation(this, R.anim.slide_left_out); slideRightIn = AnimationUtils.loadAnimation(this, R.anim.slide_right_in); slideRightOut = AnimationUtils.loadAnimation(this, R.anim.slide_right_out); gestureDetector = new GestureDetector(new MyGestureDetector()); gestureListener = new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { if (gestureDetector.onTouchEvent(event)) { return true; } return false; } }; } class MyGestureDetector extends SimpleOnGestureListener { @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { try { if (Math.abs(e1.getY() - e2.getY()) > SWIPE_MAX_OFF_PATH) return false; // right to left swipe if(e1.getX() - e2.getX() > SWIPE_MIN_DISTANCE && Math.abs(velocityX) > SWIPE_THRESHOLD_VELOCITY) { viewFlipper.setInAnimation(slideLeftIn); viewFlipper.setOutAnimation(slideLeftOut); viewFlipper.showNext(); } else if (e2.getX() - e1.getX() > SWIPE_MIN_DISTANCE && Math.abs(velocityX) > SWIPE_THRESHOLD_VELOCITY) { viewFlipper.setInAnimation(slideRightIn); viewFlipper.setOutAnimation(slideRightOut); viewFlipper.showPrevious(); } } catch (Exception e) { // nothing } return false; } } @Override public boolean onTouchEvent(MotionEvent event) { if (gestureDetector.onTouchEvent(event)) return true; else return false; }}
    2014-04-16下载
    积分:1
  • 远程视频监控
    【核心代码】 public interface CameraSource {  static final String LOG_TAG = "camera";  /**  * Open the camera source for subsequent use via calls to capture().  *   * @return true if the camera source was successfully opened.  */  boolean open();  /**  * Close the camera source. Calling close on a closed CameraSource is  * permitted but has no effect. The camera source may be reopened after  * being closed.  */  void close();  /**  * The width of the captured image.  *   * @return the width of the capture in pixels  */  int getWidth();  /**  * The height of the captured image.  *   * @return the height of the capture in pixels  */  int getHeight();  /**  * Attempts to render the current camera view onto the supplied canvas.  * The capture will be rendered into the rectangle (0,0,width,height).  * Outstanding transformations on the canvas may alter this.  *   * @param canvas the canvas to which the captured pixel data will be written  * @return true iff a frame was successfully written to the canvas  */  boolean capture(Canvas canvas);  boolean saveImage(String savePath, String fileName); }
    2013-12-04下载
    积分:1
  • android 模拟抢微信红包例子源码下载(AccessibilityService实现)
    借助AccessibilityService实现模拟操作
    2015-04-27下载
    积分:1
  • android 常用控件用法与示例源码下载
    其中包含了 framelayout,relativelayout,relativeandlinear,tablelayout,选项卡tabwidget,checkbox多选框,radiogroup单选框,spinner下拉框,autocompleteTextView,Date/TimePicker,ProgressBar进度条,RatingBar投票,ImageSwitcher,GridView,Tab,OptionsMenu,ContextMenu,SubMenu,Activity值传递,4种AlertDialog,Notification 等控件的基本用法,非常适合入门级朋友学习。
    2013-02-05下载
    积分:1
  • 微信公众号获取用户openId及用户信息
    在开发微信公众号时,一旦用户关注了微信公众号,用户后续的操作已经跟用户的信息进行了绑定,那这些绑定的信息其它是通过OpenId进行的,每个用户关注不同的微信公众号时会产生唯一且不同的OpenId, OpenId相应于用户唯一主键
    2018-03-07下载
    积分:1
  • java 文件上传示例源码下载
    文件上传
    2015-05-09下载
    积分:1
  • android 奖转盘示例完整源码下载
    android 开奖转盘示例完整源码下载
    2014-04-29下载
    积分:1
  • 2015嵌入式小车实例
    【实例简介】
    2021-11-06 00:37:29下载
    积分:1
  • 696518资源总数
  • 105958会员总数
  • 18今日下载