Click here to Skip to main content
14,836,883 members

Comments by Member 11944583 (Top 31 by date)

Member 11944583 19-Jan-16 3:43am View
   
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/projectsLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:orientation="vertical"
tools:context="com.annomap.activity.ProjectsListActivity" >

<android.support.v4.widget.swiperefreshlayout
android:id="@+id/swipe_container"
="" android:layout_width="match_parent" android:layout_height="match_parent">

<ListView
android:id="@+id/projectsList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="15dp" />


</LinearLayout>
Member 11944583 19-Jan-16 3:39am View
   
Deleted
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/projectsLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:orientation="vertical"
tools:context="com.annomap.activity.ProjectsListActivity" >
<android.support.v4.widget.swiperefreshlayout
android:id="@+id/swipe_container"
="" android:layout_width="match_parent" android:layout_height="match_parent">

<ListView
android:id="@+id/projectsList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="15dp" />


<android.support.v4.widget.swiperefreshlayout android:id="@+id/swipe_container" android:layout_width="match_parent" android:layout_height="match_parent">

<ListView
android:id="@+id/projectsList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="15dp" />


</LinearLayout>
Member 11944583 5-Jan-16 6:20am View
   
and my jdk version is 1.8.0_45 its also perfect ...i am not understanding why the error is coming.please help me.
Member 11944583 5-Jan-16 6:18am View
   
ya i fallowed all the rules ...the error is
[javac] D:\Work\Android WorkSpace\facebook\src\com\facebook\share\widget\Sha reDialog.java:225: error: diamond operator is not supported in -source 1.5 [javac] ArrayList<modehandler> handlers = new ArrayList<>(); [javac] ^ [javac] (use -source 7 or higher to enable diamond operator)
Member 11944583 5-Jan-16 4:32am View
   
[javac] (use -source 7 or higher to enable diamond operator)
[javac] D:\Work\Android WorkSpace\facebook\src\com\facebook\share\widget\Sha
reDialog.java:225: error: diamond operator is not supported in -source 1.5
[javac] ArrayList<modehandler> handlers = new ArrayList<>();
[javac] ^
[javac] (use -source 7 or higher to enable diamond operator)
[javac] 25 errors
[javac] 3 warnings

BUILD FAILED
D:\AndroidIDE\sdk\tools\ant\build.xml:597: The following error occurred while ex
ecuting this line:
D:\AndroidIDE\sdk\tools\ant\build.xml:716: The following error occurred while ex
ecuting this line:
D:\AndroidIDE\sdk\tools\ant\build.xml:730: Compile failed; see the compiler erro
r output for details.

Total time: 7 seconds
Member 11944583 5-Jan-16 4:24am View
   
Deleted
My total error list Here after executing ant release on project root Directory.
Error List:


[echo] Android Ant Build. Available targets:
[echo] help: Displays this help.
[echo] clean: Removes output files created by other targets.
[echo] This calls the same target on all dependent projects.
[echo] Use 'ant nodeps clean' to only clean the local project

[echo] debug: Builds the application and signs it with a debug key.
[echo] The 'nodeps' target can be used to only build the
[echo] current project and ignore the libraries using:
[echo] 'ant nodeps debug'
[echo] release: Builds the application. The generated apk file must be

[echo] signed before it is published.
[echo] The 'nodeps' target can be used to only build the
[echo] current project and ignore the libraries using:
[echo] 'ant nodeps release'
[echo] instrument:Builds an instrumented package and signs it with a
[echo] debug key.
[echo] test: Runs the tests. Project must be a test project and
[echo] must have been built. Typical usage would be:
[echo] ant [emma] debug install test
[echo] emma: Transiently enables code coverage for subsequent
[echo] targets.
[echo] install: Installs the newly build package. Must either be used
[echo] in conjunction with a build target (debug/release/
[echo] instrument) or with the proper suffix indicating
[echo] which package to install (see below).
[echo] If the application was previously installed, the
[echo] application is reinstalled if the signature matches.
[echo] installd: Installs (only) the debug package.
[echo] installr: Installs (only) the release package.
[echo] installi: Installs (only) the instrumented package.
[echo] installt: Installs (only) the test and tested packages (unless
[echo] nodeps is used as well.
[echo] uninstall: Uninstalls the application from a running emulator or
[echo] device. Also uninstall tested package if applicable
[echo] unless 'nodeps' is used as well.

BUILD SUCCESSFUL
Total time: 1 second

D:\Work\Android WorkSpace\Legodocsandroid>ant release
Buildfile: D:\Work\Android WorkSpace\Legodocsandroid\build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at D:\AndroidIDE\sdk

-setup:
[echo] Project Name: LoginActivity
[gettype] Project Type: Application

-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
[echo] Resolving Build Target for LoginActivity...
[gettarget] Project Target: Android 5.0.1
[gettarget] API level: 21
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for LoginActivity...
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'release'...

nodeps:

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at D:\AndroidIDE\sdk

-setup:
[echo] Project Name: facebook
[gettype] Project Type: Android Library

-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
[echo] Resolving Build Target for facebook...
[gettarget] Project Target: Android 4.4
Member 11944583 5-Jan-16 4:21am View
   
Deleted
My total error list on command prompt here after executing ant release command on project base directory.


Error list:



D:\xxxxxx\xxxxxxx\xxxxxxxxxxxx>ant release
Buildfile: D:\xxxx\xxxxxxx\xxxxxxxxxxxxx\build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at D:\xxxxxxxx\sdk

-setup:
[echo] Project Name: LoginActivity
[gettype] Project Type: Application

-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
[echo] Resolving Build Target for LoginActivity...
[gettarget] Project Target: Android 5.0.1
[gettarget] API level: 21
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for LoginActivity...
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'release'...

nodeps:

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at D:\AndroidIDE\sdk

-setup:
[echo] Project Name: facebook
[gettype] Project Type: Android Library

-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
[echo] Resolving Build Target for facebook...
[gettarget] Proj
Member 11944583 5-Jan-16 4:17am View
   
i am using Eclipse as IDE.for single android project i am able to create signed apk file i am not getting any problem here.when my project has some dependencies it raises some errors.
Member 11944583 13-Nov-15 7:48am View
   
simple explanation.nice
Member 11944583 5-Nov-15 2:05am View
   
got it just we forgot "=" symbol before i variable thats it.thank you for support KR.
Member 11944583 5-Nov-15 1:49am View
   
this is my code:
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<div>


<%foreach(string i in (List<string>)ViewData["countries"])
{%>
<p>
<% i.Tostring(); %>

</p>
<%} %>


</div>
i am getting blank page as output.
Member 11944583 5-Nov-15 1:35am View
   
getting errors could please modify it.
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<div>


<% foreach(var i in ViewData["countries"])%>
{
<p><% i %></p>
}
</div>
Member 11944583 5-Nov-15 1:25am View
   
i am using mvc 2.0 in vs 2010 and .net framework 4.0
in the same environment did u finish this.
Member 11944583 5-Nov-15 1:17am View
   
no use rohit
Member 11944583 5-Nov-15 1:11am View
   
getting output what we written in Div tag.
Member 11944583 5-Nov-15 1:10am View
   
already tried this but no use.actually while typing i am not getting any intellisence is there any problem.
Member 11944583 5-Nov-15 0:51am View
   
then output like this:

@foreach(var i in ViewData["countries"]) {
i

}
Member 11944583 5-Nov-15 0:42am View
   
countries list is not displaying it displaying as it is with in div tag
Member 11944583 5-Nov-15 0:41am View
   
this my code code in view:
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<div>
foreach(var i in ViewData["countries"])
{
<p>i</p>
}
</div>
and i am getting output like:
foreach(var i in ViewData["countries"]) {
i
Member 11944583 5-Nov-15 0:19am View
   
i am not able to create country class instance in conyroller what is the problem behind this.
Member 11944583 5-Nov-15 0:14am View
   
cant i use viewdata for transfer data between controller and view for displaying.
Member 11944583 3-Nov-15 23:45pm View
   
hai Giri
my doubt is that it has created successfully but i am not able to see that application in iis server after refresh Default sites also.Thats what my problem.
Member 11944583 3-Nov-15 0:43am View
   
i am not getting how to run mvc app under iis not for deploy
Member 11944583 7-Oct-15 9:11am View
   
thank you so much for responding my question
Member 11944583 7-Oct-15 2:56am View
   
but i didnt get any perfect answer for any of my question thats why i have posted it again and again.
Member 11944583 7-Oct-15 2:54am View
   
object is required is the error message.I have mentioned in my code part also.see it please.
Member 11944583 7-Oct-15 2:52am View
   
actually in my office i assigned by this task,and need to complete with vba code only.
Member 11944583 7-Oct-15 2:25am View
   
nothing is impossible in our field.k thank you i will try it.
Member 11944583 7-Oct-15 1:22am View
   
i need solution by using customUI editor tool and vba code.If there is any solution to solve this please provide me it will be very useful to me.
Member 11944583 7-Oct-15 1:19am View
   
without using any third party tools i want to achieve this solution.If there is any solution so me the way.
Member 11944583 24-Sep-15 4:36am View
   
k