资源简介

类似微信发送位置,选择详细地址,api使用的是高德,poi周边搜索,关键字搜索

资源截图

代码片段和文件信息

package com.yufs.wechatlocation;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumentation test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.yufs.wechatlocation“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-18 16:25  WeChatLocation\
     文件         127  2017-04-17 17:49  WeChatLocation\.gitignore
     目录           0  2017-04-18 16:24  WeChatLocation\.gradle\
     目录           0  2017-04-18 16:24  WeChatLocation\.gradle\2.14.1\
     目录           0  2017-04-18 16:24  WeChatLocation\.gradle\2.14.1\taskArtifacts\
     文件          31  2017-04-17 17:49  WeChatLocation\.gradle\2.14.1\taskArtifacts\cache.properties
     文件          17  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\taskArtifacts\cache.properties.lock
     文件      161602  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\taskArtifacts\fileHashes.bin
     文件     3254443  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
     文件       28964  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
     文件      133860  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
     目录           0  2017-04-18 16:24  WeChatLocation\.gradle\2.14.1\tasks\
     目录           0  2017-04-18 16:24  WeChatLocation\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\
     目录           0  2017-04-18 16:24  WeChatLocation\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\
     文件      109731  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2017-04-18 16:24  WeChatLocation\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\
     文件       20066  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-04-18 16:07  WeChatLocation\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2017-04-18 16:24  WeChatLocation\.idea\
     文件         686  2017-04-17 17:49  WeChatLocation\.idea\compiler.xml
     目录           0  2017-04-18 16:24  WeChatLocation\.idea\copyright\
     文件          76  2017-04-17 17:49  WeChatLocation\.idea\copyright\profiles_settings.xml
     文件         626  2017-04-17 17:49  WeChatLocation\.idea\gradle.xml
     目录           0  2017-04-18 16:24  WeChatLocation\.idea\libraries\
     文件         323  2017-04-18 11:24  WeChatLocation\.idea\libraries\AMap2DMap_4_2_0_AMapSearch_4_0_0_AMapLocation_3_3_0_20170120.xml
     文件         670  2017-04-18 11:24  WeChatLocation\.idea\libraries\animated_vector_drawable_25_3_0.xml
     文件         786  2017-04-18 11:24  WeChatLocation\.idea\libraries\appcompat_v7_25_3_0.xml
     文件         652  2017-04-18 11:24  WeChatLocation\.idea\libraries\espresso_core_2_2_2.xml
     文件         707  2017-04-18 11:24  WeChatLocation\.idea\libraries\espresso_idling_resource_2_2_2.xml
     文件         725  2017-04-18 11:24  WeChatLocation\.idea\libraries\exposed_instrumentation_api_publish_0_5.xml
............此处省略115个文件信息

评论

共有 条评论