• R/O
  • HTTP
  • SSH
  • HTTPS

android: Commit

FermiSurfer for android


Commit MetaInfo

Revisiond0e7dffb71789583d605e40dcfa6472fd6422c65 (tree)
Zeit2019-09-01 00:20:45
Autormitsuaki1987 <kawamitsuaki@gmai...>
Commitermitsuaki1987

Log Message

Add icon

Ändern Zusammenfassung

Diff

--- a/Android1.NativeActivity/read_file.cpp
+++ b/Android1.NativeActivity/read_file.cpp
@@ -116,7 +116,7 @@ int read_file()
116116 /*
117117 Open input file.
118118 */
119- fp = fopen("/sdcard/Download/vfermi.frmsf", "r");
119+ fp = fopen("/sdcard/Download/frmsf", "r");
120120 /*
121121 k-point grid
122122 */
--- a/Android1.Packaging/Android1.Packaging.androidproj
+++ b/Android1.Packaging/Android1.Packaging.androidproj
@@ -56,6 +56,7 @@
5656 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
5757 <UseDebugLibraries>false</UseDebugLibraries>
5858 <ConfigurationType>Application</ConfigurationType>
59+ <TargetName>FermiSurfer</TargetName>
5960 </PropertyGroup>
6061 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
6162 <UseDebugLibraries>true</UseDebugLibraries>
@@ -119,6 +120,7 @@
119120 </AntPackage>
120121 </ItemDefinitionGroup>
121122 <ItemGroup>
123+ <Content Include="res\drawable\fermisurfer.ico" />
122124 <Content Include="res\values\strings.xml" />
123125 <AntBuildXml Include="build.xml" />
124126 <AndroidManifest Include="AndroidManifest.xml" />
--- a/Android1.Packaging/AndroidManifest.xml
+++ b/Android1.Packaging/AndroidManifest.xml
@@ -4,7 +4,7 @@
44 <!-- This is the platform API where NativeActivity was introduced. -->
55 <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="21"/>
66 <!-- This .apk has no Java code itself, so set hasCode to false. -->
7- <application android:label="@string/app_name" android:hasCode="false">
7+ <application android:label="@string/app_name" android:hasCode="false" android:icon="@drawable/fermisurfer">
88 <!-- Our activity is the built-in NativeActivity framework class.
99 This will take care of integrating with our NDK code. -->
1010 <activity android:name="android.app.NativeActivity" android:label="@string/app_name" android:configChanges="orientation|keyboardHidden">
--- a/Android1.Packaging/build.xml
+++ b/Android1.Packaging/build.xml
@@ -1,5 +1,5 @@
11 <?xml version="1.0" encoding="UTF-8"?>
2-<project name="$(projectname)" default="help">
2+<project name="Fermisurfer" default="help">
33
44 <!-- The ant.properties file can be created by you. It is only edited by the
55 'android' tool to add properties to it.
Binary files /dev/null and b/Android1.Packaging/res/drawable/fermisurfer.ico differ
--- a/Android1.Packaging/res/values/strings.xml
+++ b/Android1.Packaging/res/values/strings.xml
@@ -1,4 +1,4 @@
11 <?xml version="1.0" encoding="utf-8"?>
22 <resources>
3- <string name="app_name">Android1.Packaging</string>
3+ <string name="app_name">FermiSurfer</string>
44 </resources>
Show on old repository browser