列表 第页
我想使用的用户界面,bootstrap.min.js与外部的模板。I am trying to use ui-bootstrap.min.js with the external templates.我得到的错误是:http://localhost:13132/Place/template/timepicker/...阅读全文
我有一个由控制NG-节目我的网站上下拉菜单。当用户点击一个按钮,他们看到的下拉列表。当他们再次点击,下拉是隐藏的:I have a dropdown menu on my site that is controlled by ng-show. When the user clicks on a button they...阅读全文
我注意到,当我通过一个参数是一个数组$ location.search(),它是连接codeD如下面的例子I notice that when I passed a parameter that is an array to $location.search(), it was encoded as in the f...阅读全文
我刚刚开始接触角,所以这可能是一个常见的错误新手,但我想达到以下URL格式:I'm just starting out with Angular, so this might be a common newbie mistake but I am trying to achieve the following u...阅读全文
我写了jQueryUI的可拖动的指令,但我有一些麻烦在拖动后绑定到我的范围左边和顶部位置。可能有人点我在正确的方向? I'm writing a directive for jqueryui draggable, but I'm having some trouble getting the left and top...阅读全文
我们如何能够增加在布局或使用帆布动态位置添加按钮,而不是在表格布局任何人都可以请帮我在这。How can we add add buttons at dynamic positions in layout or using canvas ,not in table layout Can anyone please h...阅读全文
我发展与谷歌地图一个Android应用程序。目前,我看见里面我的应用程序映射,但是我不知道怎么上的应用程序查看当前位置。I'm developing a android app with google maps. Currently I'm able to view the map inside my app, bu...阅读全文
这将有可能采取的是无线路由器的IP地址,Android手机将连接到并确定应用程序的IP的相对位置? Would it be possible to take the ip address of a wireless router that an android phone would connect to and d...阅读全文
在很多Android的方法,尤其是构造函数和覆盖方法,你应该甚至必须使用调用父类的方法超()。当您使用Eclipse 源代码>覆盖/实现方法... 你得到code从具有TODO标签像这样的模板:In many of Android methods, especially constructors and overri...阅读全文
我知道这是一个非常noobish的问题 - 但什么是转换GeoPoint到Location在Android平台。解决方案 双纬度= geoPoint.getLatitudeE6()/ 1E6;双经度= geoPoint.getLongitudeE6()/ 1E6;location.setLatitude(纬度);...阅读全文
我有几个的ImageView S在一个 RelativeLayout的。现在,当用户点击任何一个ImageView的,我希望它被转移到与微妙的动画指定的位置。例如,我已初步建立与的ImageView 为 layoutparams1.setMargins(90相关的利润率的LayoutParams , 70,0,0);...阅读全文
地图意图不工作与特定的缩放级别以及自定义标记Map Intent not working with specific zoom level as well as custom markerfloat lat = 40.714728f;float lng = -73.998672f;String maplLabel =...阅读全文
我想使用AngularJS的 $ locationProvider 服务而不在我的 NG-视图呈现一个新的HTML模板。I would like to use the $locationProvider service in AngularJS without rendering a new HTML templat...阅读全文
我有一个控制器(春季),返回应用程序版本(版本/获取),我需要使用这个版本,指定的js文件的位置:I have a controller (spring), that returns application version ("version/get") and I need use this version to...阅读全文
有没有一种方法来检测AngularJS全局位置的变化,而不仅仅是单个控制器?我的目标是检测每个位置的变化。还是有看window.location.href更改任何有效的方式?Is there a way to detect global location changes in AngularJS, not just...阅读全文
如何建立AngularJS $位置服务搜索()方法的单元测试?How to create a unit test of AngularJS $location service search() method?我是用茉莉花+噶用于测试和AngularJS 1.3,和单元测试是新的对我说:)I am using Ja...阅读全文
我 JSON数据绑定到 NG-表使用角JS 如果任何值为null,则定位所有列被干扰 任何一个可以帮助我实现与列头固定数据?看到这个plunker http://plnkr.co/edit/Ixvp8B0dRwOBDHflmu2j?p= preVIEW 说明应空,但所有的值转移到左。 或如果所有的值都是空...阅读全文
我有一个控制器登录的保存这样的previous路线: $范围。在$('$ routeChangeSuccess',函数(事件,currentRoute,previousRoute){ 安全previousRoute = previousRoute。}); 所以我保存previousRoute在我厂的安全... 里面...阅读全文
10051005我如何将通过量角器验证这两个跨度的价值是...阅读全文
我在IE中使用自动对焦时,具有光标位置的问题。图像应清晰地显示的问题。 幸运的是,我已经能够重现这在 plunker 。我已经剥离下来到最基本的要素,所以它应该是很容易地看到发生了什么事情。我如何让IE的行为? AngularJS (适用于 plunker也可) app.directive(自动对焦,[ '$超...阅读全文
所以这个人是推动我疯了,每当我试图注入 $位置来我的测试之一,我得到了以下错误:So this one is driving me crazy, whenever i try to inject $location to one of my tests i get the following error:TypeE...阅读全文
我用角指令的引导。我有酥料饼作为他们的榜样: <!你好,世界按钮酥料饼=酥料饼标题=标题级=BTN BTN-默认NG-范围>动态酥料饼< /按钮> 当你点击按钮再次关闭它。我想关闭它 - 以及其他任何打开popovers - 当用户点击任意位置我没有看到一个内置的方式做到这一点。解决方案...阅读全文
我与Twitter的引导模式内的角应用和进出口工作。I am working with an angular application and im inside a twitter bootstrap modal.林试图重新位置中存在的模态,使用固定位置模态页脚的主体上的按钮。该按钮触发独特的电流模式体范围的功能,...阅读全文
在我而言,我需要使用 @ Html.ActionLink 路由到不同的视图,在asp.net AngularJS.In各厂景/ index.cshtml具有< DIV NG-视图>< / DIV> ,将其加载HTML模板In my case, I need use @Html.Action...阅读全文
我正在寻找一个解决方案来承载在一个页面上2角JS应用。额外的要求是,只有这些应用程序1应取决于/影响实际的URL。这里的code:I'm looking for a solution to host 2 Angular JS applications on a single page. The extra requi...阅读全文
背景 我有一个更大的应用程序中,我有/有几个问题,新的谷歌地图API。我试着来形容它in一个不同的问题但因为它似乎太复杂,我决定开始一个新的项目,越简单越好,并尝试重现问题。所以在这儿呢。I have a larger application in which I had/have several problem...阅读全文
下面是一个ListView一个code段。我增加了一个emptyView和headerView。加入headerView导致在onItemClick的位置被增加一。Below is a code snippet with a ListView. I added an emptyView and a headerVie...阅读全文
展望找到prevent的最佳方式/检测GPS欺骗在Android上。如何对此有何建议得以完成,可以做些什么来阻止它?我猜测,用户必须打开模拟地点恶搞GPS,如果这样做,那么他们可以欺骗GPS? Looking to find the best way to prevent / detect GPS spoofing...阅读全文
我现在用的是基础适配器,我有列表,其中包含列表的文本视图(意味着左侧送出的物品及以下的,右边接收的项目,我想点击每个列表中的位置进行回复该消息。I am using the base adapter , i have list which contains list with the text view (mean...阅读全文
OnCreateMethod,OnCreateMethod,LocationManager manager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);LocationListener listener = new Loc...阅读全文
我有把我的意见(MyClass的扩展视图)在一个特定位置时出现问题。我设计了一个游戏,把屏幕作为一个净网格。予从用户x和特定视图的y坐标取(有不同类型的视图)。 I have a problem with placing my views (myclass extends view) in a specific l...阅读全文
我有一个code,它发送的用户1位置,用户2和用户2的位置,用户1。用户1的位置是完全发送给用户2和用户2被连发送一个消息返回到用户1,但它被发送的位置的用户1的位置不是他(用户2)的位置。I have a code which sends location of user 1 to user 2 and user...阅读全文
下面是Java的code的员额数据到一个网站,比被重定向作为响应(状态302)。它完美我的电脑(Eclipse中的Java,Ubuntu的)上,这不正是我想要做的事。 Here is Java code that POSTs data to a website and than gets redirected as...阅读全文
我在活动一ImageView的,我能够获得在用户触摸ImageView的,通过onTouchListener的位置。我把另一个图像,用户触摸了该图像。我需要存储的触摸位置(X,Y),并用它在另一个活动,来显示标记。余存储在第一活动的触摸位置。在第一个活动,我的imageview的在屏幕的顶部。在屏幕底部的第二个活动的。...阅读全文
我有通过注册一个 LocationManager.requestLocationUpdates 接收位置的服务。但也出现了一些手机的一些问题。 I have a service which receives locations through registering a LocationManager.reques...阅读全文
我有两个列表视图。有没有什么办法,当我滚动列表中的任何一个同步列表视图的位置。林实施的 AbsListView.OnScrollListener ,注册到的ListView 。当的ListView 滚动时的 onScroll()方法 OnScrollListener 将被触发,然后我叫'smoothScrollToPo...阅读全文
我正在开发中,我想找出用户的当前位置利用网络提供一个小的Android应用程序。我在以下几个方面尝试过这一点,但它没有给我任何的输出:networklocationManager =(LocationManager)本.getSystemService(Context.LOCATION_SERVICE);//定义...阅读全文
时有替代运行的服务,以接收位置更新吗?Is there an alternative to running a service to receive location updates?推荐答案您可以使用一个PendingIntent这样的 - You could use a PendingIntent lik...阅读全文